Commit Graph

30816 Commits

Author SHA1 Message Date
Mark Kettenis 846a440c9c * config/i386/tm-i386.h (STAB_REG_TO_REGNUM, SDB_REG_TO_REGNUM,
DWARF_REG_TO_REGNUM, DWARF2_REG_TO_REGNUM): New defines.
(i386_stab_reg_to_regnum, i386_dwarf_reg_to_regnum): New
prototypes.
* config/i386/tm-fbsd.h, config/i386/tm-i386gnu.h,
config/i386/tm-linux.h (STAB_REG_TO_REGNUM): Redefine to call
i386_dwarf_reg_to_regnum.
* i386-tdep.c (i386_stab_reg_to_regnum, i386_dwarf_reg_to_regnum):
New functions.
2001-07-30 10:17:46 +00:00
Alan Modra 468cced8b9 * config/obj-elf.c (obj_elf_symver): Temporarily modify lex_type
to include '@' in symbol names when parsing versioned symbols
	rather than calling get_symbol_end multiple times.
	* config/tc-i370.c (register_name): Format fixes.  Don't call
	get_symbol_end after parsing number.
	* config/tc-mn10200.c (data_register_name): Format fixes.  Hoist
	code out of conditional.
	(address_register_name): Likewise.
	(other_register_name): Likewise.
	* config/tc-mn10300.c (r_register_name): Likewise.
	(xr_register_name): Likewise.
	(data_register_name): Likewise.
	(address_register_name): Likewise.
	(other_register_name): Likewise.
	* config/tc-ppc.c (register_name): Likewise.
	* config/tc-s390.c (register_name): Likewise.
2001-07-30 06:15:49 +00:00
gdbadmin 5b2e4f117f *** empty log message *** 2001-07-30 00:00:02 +00:00
Eli Zaretskii f959bc4156 Unset CDPATH before doing annything else. 2001-07-29 10:12:49 +00:00
Eli Zaretskii a3b9cbb339 * go32-nat.c (get_cr3): Temporary disable support for page tables
in UMBs, as it is incomplete.
2001-07-29 08:06:28 +00:00
Eli Zaretskii 6c56c06965 Support for stepping through longjmp in DJGPP programs:
* config/i386/tm-go32.h (JB_ELEMENT_SIZE, JB_PC): New macros.
	(GET_LONGJMP_TARGET): Define to call get_longjmp_target.
	(get_longjmp_target): Add prototype.
2001-07-29 08:03:36 +00:00
Alan Modra 2f83960e2c * bucomm.c (list_supported_architectures): New function.
* bucomm.h (list_supported_architectures): Declare.
	* objdump.c (usage): Call the above.
2001-07-29 05:31:43 +00:00
Kazu Hirata 6608db5792 * i386-dis.c: Fix formatting. 2001-07-29 05:00:14 +00:00
gdbadmin 6977cc6f14 *** empty log message *** 2001-07-29 00:00:02 +00:00
Andrew Cagney de6ee55865 Fix some PID/TPID fallout for HP/UX.
From 2001-07-22 Rodney Brown <rbrown64@csc.com.au>:
* infttrace.c (ptrace_wait): Match external declaration,
and match target_post_wait declaration.
2001-07-28 22:44:53 +00:00
Andrew Cagney 158ff1e6fb (cris): Set --enable-gdb-build-warnings flag to -w. 2001-07-28 21:21:30 +00:00
Andrew Cagney 93755ae6c4 * MAINTAINERS: Add Orjan Friberg as cris target maintainer. 2001-07-28 20:23:53 +00:00
Andrew Cagney 16f769f344 From 2001-07-23 Andreas Schwab <schwab@suse.de>:
* config/m68k/tm-m68k.h (TARGET_LONG_DOUBLE_FORMAT): Define.
(TARGET_LONG_DOUBLE_BIT): Define.
(REGISTER_VIRTUAL_SIZE): Return 12 for floating point registers.
(MAX_REGISTER_VIRTUAL_SIZE): Increase to 12.
(REGISTER_VIRTUAL_TYPE): Return builtin_type_long_double for
floating point registers.
(REGISTER_CONVERTIBLE, REGISTER_CONVERT_TO_VIRTUAL)
(REGISTER_CONVERT_TO_RAW): Remove.
* config/m68k/xm-linux.h (HOST_LONG_DOUBLE_FORMAT): Define.
2001-07-28 20:05:15 +00:00
Andrew Cagney 5b7f31a409 Move libgdb library functions to gdb.h (new file).
Update everything related to this.
2001-07-28 19:48:15 +00:00
Stephane Carrez 8aaf581c5d * Makefile.in (SUBDIR_TUI_OBS): Add tui-out.o, tui-hooks.o.
(SUBDIR_TUI_SRCS): Add tui-out.c tui-hooks.c
	(SFILES): Likewise.
	(tui-out.o): Define dependencies.
	(tui-hooks.o): Likewise.
2001-07-28 19:45:04 +00:00
Stephane Carrez 732b300251 * gdb.texinfo (TUI Configuration): Rename tui configuration variables. 2001-07-28 19:35:20 +00:00
Stephane Carrez c968487932 * tuiWin.c (_initialize_tuiWin): Use specific tui prefix for
set/show configuration variables.
	(show_tui_cmd): New function.
	(set_tui_cmd): New function.
2001-07-28 19:30:54 +00:00
Mark Kettenis a2585ce735 * config/i386/tm-i386.h (STAB_REG_TO_REGNUM, SDB_REG_TO_REGNUM,
DWARF_REG_TO_REGNUM, DWARF2_REG_TO_REGNUM): New defines.
(i386_stab_reg_to_regnum, i386_dwarf_reg_to_regnum): New
prototypes.
* config/i386/tm-fbsd.h, config/i386/tm-i386gnu.h,
config/i386/tm-linux.h (STAB_REG_TO_REGNUM): Redefine to call
i386_dwarf_reg_to_regnum.
* i386-tdep.c (i386_stab_reg_to_regnum, i386_dwarf_reg_to_regnum):
New functions.
2001-07-28 19:30:41 +00:00
Stephane Carrez 13283e2df1 * config/tc-m68hc11.c (md_estimate_size_before_relax): Fix bsr
and bra relax: update fragP->fr_fix after the fixup.
2001-07-28 19:28:04 +00:00
Stephane Carrez eefde3513e * dv-m68hc11eepr.c (m68hc11eepr_info): Fix print of current write
address.
	(m68hc11eepr_port_event): Fix detach/attach logic.
2001-07-28 19:19:05 +00:00
Andrew Cagney f9e2d83049 * MAINTAINERS: Update e-mail address of active @cygnus.com
maintainers to @redhat.com.
2001-07-28 17:24:47 +00:00
Andrew Cagney de6ed73f14 * README (Known bugs): Delete section.
(Kernel debugging): Delete section.
(Languages other than C): Delete section.
(Host/target specific installation notes) New section.
2001-07-28 17:13:42 +00:00
Mark Kettenis 85540d8c4a * config/i386/tm-i386.h (STAB_REG_TO_REGNUM, SDB_REG_TO_REGNUM,
DWARF_REG_TO_REGNUM, DWARF2_REG_TO_REGNUM): New defines.
(i386_stab_reg_to_regnum, i386_dwarf_reg_to_regnum): New
prototypes.
* config/i386/tm-fbsd.h, config/i386/tm-i386gnu.h,
config/i386/tm-linux.h (STAB_REG_TO_REGNUM): Redefine to call
i386_dwarf_reg_to_regnum.
* i386-tdep.c (i386_stab_reg_to_regnum, i386_dwarf_reg_to_regnum):
New functions.
2001-07-28 17:03:38 +00:00
Mark Kettenis 3d2615808f * i386-tdep.c: Include "gdb_assert.h"
(i386_register_convert_to_virtual): Fix such that it can handle
conversion to any floating-point type.  Assert that we are dealing
with a floating-point first.
(i386_register_convert_to_raw): Assert that TYPE is a
floating-point type with length 12.
2001-07-28 16:48:59 +00:00
Alan Modra d708bcbabb * i386-dis.c: Change formatting conventions for architecture
i386:intel to better match the format of various intel i386
	assemblers, like nasm, tasm or masm.
2001-07-28 07:13:34 +00:00
gdbadmin a2a45089d5 *** empty log message *** 2001-07-28 00:00:03 +00:00
H.J. Lu e0d85c2645 2001-07-27 H.J. Lu <hjl@gnu.org>
* ld-selective/selective.exp: Fix the error in the last change.
2001-07-27 17:48:27 +00:00
John R. Moore 2db5ca22ef Added dependency of gdb/insight on tcl and tk libraries. 2001-07-27 16:38:32 +00:00
John R. Moore dd2504abf3 Added dependency on tcl/tk libraries. 2001-07-27 16:35:27 +00:00
H.J. Lu 8bd8d2153f 2001-07-27 H.J. Lu <hjl@gnu.org>
* binutils-all/windres/windres.exp: Don't set xfail for
	bmpalign (compare) on none-ix86/pe targets.
2001-07-27 16:16:07 +00:00
Alan Modra 409d19c41a * read.c (s_set): Check for missing symbol name. 2001-07-27 08:35:56 +00:00
Chris Demetriou 411e0b6d6c 2001-07-26 Chris Demetriou <cgd@broadcom.com>
* gas/mips/lif-empic.d: Add back dollar signs before floating
        point register names.
2001-07-27 06:26:23 +00:00
Elena Zannoni 88e04cc199 2001-07-26 Elena Zannoni <ezannoni@redhat.com>
* sh-tdep.c (sh_gdbarch_init): Use SH_DEFAULT_NUM_REGS instead of
	NUM_REGS.
	(SH_DEFAULT_NUM_REGS): Define.
2001-07-27 03:29:08 +00:00
gdbadmin ceeea5f68b *** empty log message *** 2001-07-27 00:01:04 +00:00
Andrew Cagney 89437448ae * gdbint.texinfo (libgdb): Rewrite. 2001-07-26 18:38:29 +00:00
Eli Zaretskii 2033c18a5f * go32-nat.c (read_memory_region): Make sure the segment limit was
indeed set, to work around a Windows 2000 bug.
2001-07-26 14:41:16 +00:00
DJ Delorie 4dca840345 * MAINTAINERS: Clarify libiberty merge rules and procedures. 2001-07-26 14:20:05 +00:00
DJ Delorie a5d8f731bf merge from gcc 2001-07-26 14:14:49 +00:00
Eli Zaretskii 9a1c15c5b4 Makefile.in (gdbgui.dvi, gdb-gui, gdbgui.info): Targets deleted. 2001-07-26 07:29:24 +00:00
Eli Zaretskii 45c54937db Removed. 2001-07-26 07:26:01 +00:00
Alan Modra bc4aa73fe2 * gas/i386/relax.s: Test rs_space.
* gas/i386/relax.d: Update.
2001-07-26 04:14:44 +00:00
Alan Modra 050be34e82 * write.c (relax_segment <rs_space>): Account for fr_fix. 2001-07-26 03:39:29 +00:00
Daniel Jacobowitz 9f30d7f540 * infptrace.c (child_xfer_memory): Add cast to CORE_ADDR.
* infttrace.c (child_xfer_memory): Likewise.
        * symm-nat.c (child_xfer_memory): Likewise.
        * gdbserver/low-hppabsd.c (read_inferior_memory): Likewise.
        (write_inferior_memory): Likewise.
        * gdbserver/low-linux.c (read_inferior_memory): Likewise.
        (write_inferior_memory): Likewise.
        * gdbserver/low-lynx.c (read_inferior_memory): Likewise.
        (write_inferior_memory): Likewise.
        * gdbserver/low-nbsd.c (read_inferior_memory): Likewise.
        (write_inferior_memory): Likewise.
        * gdbserver/low-sparc.c (read_inferior_memory): Likewise.
        (write_inferior_memory): Likewise.
        * gdbserver/low-sun3.c (read_inferior_memory): Likewise.
        (write_inferior_memory): Likewise.
2001-07-26 02:23:58 +00:00
gdbadmin ad3dd7ab75 *** empty log message *** 2001-07-26 00:00:04 +00:00
Michael Snyder c2b8fa57f7 2001-07-25 Michael Snyder <msnyder@redhat.com>
* gdb.base/consecutive.exp: New file.  Test stepping over
	breakpoints on consecutive instructions.
	* gdb.base/consecutive.c: New file.
2001-07-25 23:16:40 +00:00
Michael Snyder c70819faea 2001-07-25 Michael Snyder <msnyder@redhat.com>
* gdb.base/call-rt-st.exp: Use double-backslash to quote
	curly braces in regular expressions.
2001-07-25 22:45:25 +00:00
Michael Snyder 2b1a1355c5 2001-07-25 Michael Snyder <msnyder@redhat.com>
* gdb.base/ending-run.exp: Accept "Program exited normally" as
	legitimate output from stepping out of main.
2001-07-25 22:41:43 +00:00
H.J. Lu 46bac6de18 2001-07-25 H.J. Lu <hjl@gnu.org>
* config/tc-mips.c (md_estimate_size_before_relax): Make sure
	we treat weak like extern only for ELF.
	(mips_fix_adjustable): Make sure we don't adjust extern/weak
	symbols only for ELF.
2001-07-25 22:27:46 +00:00
Chris Demetriou 2f4dcb115b 2001-07-25 Chris Demetriou <cgd@broadcom.com>
* config/tc-mips.c: Fix spelling error in comment.
2001-07-25 20:34:39 +00:00
Dave Brolley 20fe064957 2001-07-25 Dave Brolley <brolley@redhat.com>
* objdump.c (SKIP_ZEROES): Only define it if it is not already defined.
	(SKIP_ZEROES_AT_END): Only define it if it is not already defined.
2001-07-25 15:25:11 +00:00