Eli Zaretskii
e23194cb3c
Update NEWS.
2001-07-25 14:46:46 +00:00
Kazu Hirata
2dcee5388a
* d10v-dis.c: Fix formatting.
...
* d30v-dis.c: Likewise.
2001-07-25 01:42:14 +00:00
gdbadmin
c1c905b7fb
*** empty log message ***
2001-07-25 00:00:04 +00:00
Stephen P. Smith
7c54200984
Fixed email address and line spacing.
2001-07-24 21:51:37 +00:00
Stephane Carrez
2611b1a5bd
* tui-hooks.c: New file, gdb hooks for tui.
...
* tui-out.c: New file, image copied from cli-out.c.
(tui_field_int): Identify "line" fields and keep track of them.
(tui_field_string): Likewise for "file".
(tui_out_new): Use flags = 0 to avoid printing the sources.
2001-07-24 20:40:39 +00:00
Stephane Carrez
114bf287e2
Missed changelog entries for previous 2 commits
2001-07-24 20:39:34 +00:00
Stephen P. Smith
a3f3e5359d
Added Stephen P. Smith to write after approval list in MAINTAINERS file.
2001-07-24 20:13:19 +00:00
Stephen P. Smith
7fc069e641
Add Stephen P. Smith (ssmith@sources.redhat.com) to the write after approval
...
list.
2001-07-24 19:58:32 +00:00
H.J. Lu
25268c03b9
2001-07-24 H.J. Lu <hjl@gnu.org>
...
* binutils-all/windres/windres.exp: Set xfail on none-ix86/pe
targets.
2001-07-24 19:24:09 +00:00
Stephane Carrez
c4555f8227
* gdb.texinfo (TUI): New chapter, document the TUI.
...
(Mode Options): Document the -tui option.
2001-07-24 18:48:15 +00:00
Andrew Cagney
675fb869a9
Doco LE O32 sizeof(struct) < 4 problem.
2001-07-24 16:28:36 +00:00
Alan Modra
067f207480
* ld-selective/selective.exp: Support g++ V3 ABI (along side
...
the old ABI). Make comparisons against normalized (to
V3-style) demangled nm output.
2001-07-24 11:09:24 +00:00
Alan Modra
992c450de8
* config/default.exp (ld_nm): Add "nmflags" arg.
...
* lib/ld-lib.exp (default_ld_nm): Likewise.
* ld-empic/empic.exp: Adjust call to ld_nm.
* ld-scripts/defined.exp: Likewise.
* ld-scripts/script.exp: Likewise.
* ld-scripts/sizeof.exp: Likewise.
* ld-selective/selective.exp: Likewise.
* ld-sh/sh.exp: Likewise.
2001-07-24 11:07:16 +00:00
Mark Kettenis
2f45a6e05b
* gdbint.texinfo (Host Definition): Remove description of
...
NEED_POSIX_SETPGID.
2001-07-24 10:35:42 +00:00
Alan Modra
d623142740
Update dependencies with "make dep-am".
2001-07-24 10:08:32 +00:00
Alan Modra
3817f22269
* Makefile.am (DEP_FLAGS): Define, add -DOBJ_MAYBE_ELF.
...
(DEP1, DEPTC, DEPOBJ, DEP2): Use it.
Update dependencies with "make dep-am".
2001-07-24 10:07:15 +00:00
Alan Modra
8a5cc6beb1
Update dependencies with "make dep-am".
2001-07-24 10:02:00 +00:00
Kazu Hirata
33822a8e75
* alpha-dis.c: Fix formatting.
...
* cris-dis.c: Likewise.
* m10300-dis.c: Likewise.
* tic54x-dis.c: Likewise.
2001-07-24 04:10:19 +00:00
Elena Zannoni
a7019e234a
2001-07-23 Elena Zannoni <ezannoni@redhat.com>
...
* config/powerpc/aix.mh (MH_LDFLAGS): Don't set these, the Gnu linker
doesn't understand them.
2001-07-24 01:33:18 +00:00
Kazu Hirata
ec22bddae2
* m68k-dis.c: Fix formatting.
...
* pj-dis.c: Likewise.
* z8k-dis.c: Likewise.
2001-07-24 00:48:04 +00:00
gdbadmin
ca8fca25cd
*** empty log message ***
2001-07-24 00:00:04 +00:00
Stephane Carrez
d75e970c9d
* tuiIO.c (tui_cont_sig): Update cursor position on the screen to
...
leave it in the command window.
(tui_redisplay_readline): Save cursor position to restore the
cursor after we go back from background.
* tuiData.h (TuiCommandInfo): Add start_line member.
2001-07-23 21:16:20 +00:00
Stephane Carrez
c6f60bcd2c
* tuiStack.c (tuiUpdateLocatorFilename): Use const char*.
...
* tuiStack.h (tuiUpdateLocatorFilename): Update prototype.
* tuiWin.c (_initialize_tuiWin): Don't cast table of enum in calls
to add_set_enum_cmd.
* tui.c (tui_show_source): New function.
(tuiGetLowDisassemblyAddress): Use CORE_ADDR for newLow.
(tui_switch_mode): Prep or deprep readline terminal;
make sure the \n we return does not redo the last command.
* tui.h (tui_show_source): Declare.
(tui_out_new, tui_install_hooks, tui_remove_hooks): Likewise.
(tui_active, tui_initialize_io, tui_initialize_readline): Likewise.
2001-07-23 21:13:57 +00:00
Elena Zannoni
ab35b6115a
2001-07-23 Elena Zannoni <ezannoni@redhat.com>
...
* memattr.c (mem_info_command): Reformat output to look more like
'info break' output.
(_initialize_mem): Improve help.
2001-07-23 19:53:08 +00:00
Mark Kettenis
0200359f12
* configure.in (AC_CHECK_FUNCS): Add setpggrp.
...
(AC_FUNC_SETPGRP): Add.
* aclocal.m4, configure, config.in: Regenerated.
* inflow.c (gdb_setpgid): Get rid of NEED_POSIX_SETPGID and
SETPGRP_ARGS. Always use setpgid if it is available, fall back on
setpgrp if it isn't. Use SETPGRP_VOID (defined by autoconf) to
distinguish between the two setpgrp flavours.
* config/xm-sysv4.h, config/arm/xm-linux.h,
config/i386/xm-i386aix.h, config/i386/xm-sco.h,
config/i386/xm-linux.h, config/i386/xm-ptx.h,
config/m68k/xm-linux.h, config/powerpc/xm-linux.h,
config/sparc/xm-linux.h, config/sparc/xm-sun4sol2.h,
config/ia64/xm-linux.h (NEED_POSIX_SETPGID): Remove.
* config/rs6000/xm-rs6000.h (SETPGRP_ARGS): Remove.
2001-07-23 19:21:57 +00:00
Keith Seitz
413eca6f96
* lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
...
the empty string, do not run the tests.
2001-07-23 19:02:31 +00:00
Eli Zaretskii
9f20bf26f8
Add new DJGPP-specific commands and document them in the manual.
...
Make the function which reads memory regions be more defensive
about buggy DPMI providers.
2001-07-23 16:10:24 +00:00
Kazu Hirata
0772685173
* config/tc-alpha.h: Fix formatting.
...
* config/tc-arc.c: Likewise.
* config/tc-d10v.h: Likewise.
* config/tc-hppa.c: Likewise.
* config/tc-i370.c: Likewise.
* config/tc-i386.h: Likewise.
* config/tc-i960.h: Likewise.
* config/tc-ia64.c: Likewise.
* config/tc-ia64.h: Likewise.
* config/tc-m32r.c: Likewise.
* config/tc-m68k.c: Likewise.
* config/tc-m88k.c: Likewise.
* config/tc-ns32k.c: Likewise.
* config/tc-pdp11.c: Likewise.
* config/tc-pj.h: Likewise.
* config/tc-s390.c: Likewise.
* config/tc-sparc.c: Likewise.
* config/tc-sparc.h: Likewise.
* config/tc-tic80.c: Likewise.
* config/tc-w65.h: Likewise.
2001-07-23 14:02:13 +00:00
Kazu Hirata
44f2a95d95
* s390-dis.c: Fix formatting.
2001-07-23 13:41:14 +00:00
Alan Modra
ac62c3468d
* symbols.c (S_GET_VALUE): Don't treat O_constant and local
...
symbols specially. Always resolve, adding fr_address to value.
* write.c (write_object_file): Don't add fr_address to sym values.
(relax_frag): Likewise.
(relax_segment): Likewise.
* config/obj-ieee.c (do_symbols): Likewise.
* config/tc-cris.c (md_convert_frag): Likewise.
* config/tc-fr30.c (md_convert_frag): Likewise.
* config/tc-i386.c (md_convert_frag): Likewise.
* config/tc-m32r.c (md_convert_frag): Likewise.
* config/tc-m68hc11.c (md_convert_frag): Likewise.
* config/tc-mcore.c (md_convert_frag): Likewise.
* config/tc-mips.c (mips16_extended_frag): Likewise.
* config/tc-ns32k.c (md_convert_frag): Likewise.
* config/tc-m68k.c (md_convert_frag_1): Likewise.
(BRANCHBWL, BRABSJUNC, BRABSJCOND, BRANCHBW, FBRANCH, DBCCLBR,
DBCCABSJ, PCREL1632, PCINDEX, ABSTOPCREL): Decrement.
(md_relax_table): Remove first four entries. Format.
(md_estimate_size_before_relax): Remove old_fix. Don't bother
setting fr_var. Simplify byte branch checks.
2001-07-23 13:03:40 +00:00
Alan Modra
677537c186
* config/tc-hppa.c (pa_parse_nonneg_cmpsub_cmpltr): Remove
...
"isbranch" param as all calls have it set.
(pa_parse_neg_cmpsub_cmpltr): Likewise.
(pa_parse_nonneg_add_cmpltr): Likewise. Remember result of
strcasecmp in "nullify" var.
(pa_parse_neg_add_cmpltr): Likewise.
(pa_ip): Don't "save_s" unnecessarily. Update calls to above
functions. Don't print wrong conditions in error messages.
2001-07-23 12:50:22 +00:00
Andreas Jaeger
c745b67a33
* config/tc-s390.c (s390_force_relocation): Removed.
...
* config/tc-s390.h: Remove double declaration of
TC_FORCE_RELOCATION.
2001-07-23 10:21:22 +00:00
Alan Modra
e14ec88b39
* ldcref.c (check_section_sym_xref): New function.
...
(check_nocrossrefs): Call it.
(check_nocrossref): Interate over h->refs here instead of..
(check_refs): ..here. Pass in the symbol name, section, and bfd
rather than hash_entry pointers.
(struct check_refs_info): Keep symbol name rather than hash entry.
Remove "same".
(check_reloc_refs): Tweak for above changes in check_refs_info.
Only report references to section syms when symname is NULL to
prevent duplicate messages for the same reloc.
2001-07-23 07:54:04 +00:00
Alan Modra
2e7a08de77
* gas/i386/opcode.d: Tweak lgdt for 2001-07-18 change.
...
* gas/i386/intel.d: Likewise.
2001-07-23 07:43:09 +00:00
gdbadmin
c01204bde4
*** empty log message ***
2001-07-23 00:00:03 +00:00
Mark Kettenis
383d750bf3
* i386gnu-nat.c: Include "i387-nat.h".
...
(struct env387): Removed.
(reg_offset): Fix comment.
(fetch_fpregs): Use FCTRL_REGNUM and FOP_REGNUM instead of
FIRST_FPU_CONTROL_REGNUM and LAST_FPU_CONTROL_REGNUM. Rewrite to
use i387_supply_fsave.
(gnu_fetch_registers): Remove spurious whitespace.
(convert_to_env387): Remove.
(store_fpregs): Add argument regno. Use i387_fill_fsave instead
of convert_to_env387.
(gnu_store_registers): Remove spurious whitespace. Pass REGNO to
store_fpregs.
* config/i386/i386gnu.mt (TDEPFILES): Add i387-tdep.o.
* config/i386/i386gnu.mh (XDEPFILES): Remove i387-tdep.o.
(NATDEPFILES): Add i387-nat.o.
2001-07-22 20:35:14 +00:00
H.J. Lu
2b3c5a5dc1
2001-07-22 H.J. Lu <hjl@gnu.org>
...
* config/tc-mips.c (s_mips_end): Remove unused variables.
(s_mips_frame): Add ATTRIBUTE_UNUSED.
2001-07-22 18:11:29 +00:00
Stephane Carrez
1a12f22f57
* Makefile.in (ALLDEPFILES): Add m68hc11-tdep.c.
...
(m68hc11-tdep.o): Define dependencies.
2001-07-22 12:41:49 +00:00
Stephane Carrez
7d32ba20c1
* m68hc11-tdep.c (m68hc11_gdbarch_init): Define int at 16-bits.
2001-07-22 12:37:02 +00:00
Stephane Carrez
00d0c012ef
* Makefile.in (SIM_OBJS): Remove sim-resume.o
...
* interp.c (sim_resume): New function from sim-resume.c, install
the stepping event after having processed the pending ticks.
(has_stepped): Likewise.
(sim_info): Produce an output only if verbose or STATE_VERBOSE_P.
2001-07-22 12:33:58 +00:00
gdbadmin
308a7829db
*** empty log message ***
2001-07-22 00:00:02 +00:00
Stephane Carrez
9d876a16bb
* tuiIO.c (tui_initialize_io): Install tui_cont_sig signal handler
...
if SIGCONT is defined.
(tui_cont_sig): New function when SIGCONT is defined.
(tui_setup_io): Save tty setting to restore by SIGCONT.
2001-07-21 22:35:40 +00:00
Stephane Carrez
5ecb18062a
* utils.c (init_page_info): Use tui_get_command_dimension.
...
* printcmd.c (disassemble_command): Simplify tui specific code,
use tui_is_window_visible, tui_show_assembly.
2001-07-21 22:31:14 +00:00
Stephane Carrez
1403b519de
* tui.h (tui_show_assembly): Declare.
...
(tui_is_window_visible): Declare.
* tui.c (tui_show_assembly): New function.
(tui_is_window_visible): New function.
(tui_get_command_dimension): New function.
2001-07-21 22:24:44 +00:00
Stephane Carrez
3e266828da
* tuiWin.c (tuiRefreshAll): Use clearok to force a refresh.
2001-07-21 20:57:17 +00:00
Stephane Carrez
174a4a09a4
* tui-file.c (tui_file_fputs): Use tui_puts.
2001-07-21 20:55:34 +00:00
Stephane Carrez
c7c228ed4b
* tuiStack.c (tuiSetLocatorInfo): Cleanup.
...
* tuiStack.h (tuiGetLocatorFilename): Declare.
* tuiRegs.h (tuiFirstRegElementNoInLine): Declare.
* tuiData.h (addToSourceWindows): Declare.
2001-07-21 20:52:56 +00:00
Stephane Carrez
377c38eacc
* tui.c (tui_change_windows): New function.
...
(tui_delete_other_windows): New function.
(tui_initialize_readline): Bind them to C-X 1 and C-X 2.
(tui_enable): Enable the keypad; call tui_update_variables.
(strcat_to_buf_with_fmt): Remove.
2001-07-21 20:49:56 +00:00
Chris Demetriou
209fd66729
2001-07-21 Chris Demetriou <cgd@broadcom.com>
...
* mips-opc.c (mips_builtin_opcodes): Sort c.le.s and c.lt.s
into the rest of the surrounding definitions.
2001-07-21 20:46:51 +00:00
Mark Kettenis
256304449f
* i386bsd-nat.c: Do not include <sys/sysctl.h>.
...
(_initialize_i386bsd_nat) [KERN_PS_STRINGS]: Move FreeBSD-specific
code to ...
* i386fbsd-nat.c: ... here. New file.
* config/i386/fbsd.mh (NATDEPFILES): Add i386-fbsd.o.
* config/i386/nm-fbsd.h (CHILD_RESUME): Define.
* Makefile.in (ALLDEPFILES): Add i386fbsd-nat.c.
(i386fbsd-nat.o): Add dependencies.
2001-07-21 20:16:44 +00:00