Commit Graph

10919 Commits

Author SHA1 Message Date
Andrew Cagney f5a96129d2 * defs.h (vwarning): Declare.
(warning_begin): Delete declaration.
* utils.c (vwarning): New function.
(warning): Call vwarning.
(warning_begin): Delete function.

* rs6000-nat.c (vmap_ldinfo): Use the function warning to print
the warning message.
* d10v-tdep.c (d10v_address_to_pointer) [0]: Delete call to
warning_begin.
2002-01-31 04:10:51 +00:00
Michael Snyder 1a70374818 2002-01-30 Michael Snyder <msnyder@redhat.com>
* NEWS: Mention "set trust-readonly-sections" command.
2002-01-31 03:57:42 +00:00
Michael Snyder cefd4ef53f 2002-01-30 Michael Snyder <msnyder@redhat.com>
* NEWS: Mention generate-core-file command.
2002-01-31 02:33:20 +00:00
Michael Snyder 3a11626da1 2002-01-15 Michael Snyder <msnyder@redhat.com>
* target.c: New command, "set trust-readonly-sections on".
	(do_xfer_memory): Honor the suggestion to trust readonly sections
	by reading them from the object file instead of from the target.
	(initialize_targets): Register command "set trust-readonly-sections".
2002-01-31 02:31:06 +00:00
Andrew Cagney d1c7e53bc5 * parse.c (target_map_name_to_register): Simplify, search regs and
pseudo-regs using a single loop.
2002-01-31 02:13:56 +00:00
Andrew Cagney e2c9a72cc0 Mention i386 FP problem. 2002-01-31 01:31:54 +00:00
gdbadmin ee16815532 *** empty log message *** 2002-01-31 00:00:02 +00:00
Daniel Jacobowitz f038d31b6c 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
From Neil Booth <neil@daikokuya.demon.co.uk>:
        * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
        warnings.
2002-01-30 22:38:56 +00:00
Mark Kettenis 69824b4e99 * config/i386/tm-i386v4.h: Define HAVE_I387_REGS.
* config/i386/i386v42mp.mh: Add i387-nat.o .
* i386v4-nat.c: Include i387-nat.h.
(supply_fpregset): Use i387_supply_fsave.
(fill_fpregset): Use i387_fill_fsave.
2002-01-30 22:32:38 +00:00
Richard Earnshaw 6eb69eab29 * arm-tdep.c (arm_call_dummy_words): Define.
* arm-linux-tdep.c (arm_linux_call_dummy_words): Define.
* config/arm/tm-arm.h (CALL_DUMMY_P): Define.
(CALL_DUMMY_WORDS): Define.
(arm_call_dummy_words): Declare.
* config/arm/tm-linux.h (CALL_DUMMY_WORDS): Define.
(arm_linux_call_dummy_words): Declare.
2002-01-30 16:35:51 +00:00
Andreas Schwab 9852326a86 * m68klinux-nat.c: Fix last change to use regcache_collect
instead of referencing registers[] directly.
2002-01-30 13:57:33 +00:00
Andrew Cagney 977a303014 Delete REGISTER_NAME_ALIAS_HOOK. 2002-01-30 00:18:17 +00:00
gdbadmin d07daa9780 *** empty log message *** 2002-01-30 00:00:04 +00:00
Andrew Cagney ba997f4882 Zap >>>> 2002-01-29 21:37:15 +00:00
Michael Snyder 2076c72b06 2002-01-28 Michael Snyder <msnyder@redhat.com>
* regcache.c (legacy_read_register_gen): Need to be able to
	read pseudo-register as well as real register.
	(legacy_write_register_gen): Ditto.
2002-01-29 20:24:27 +00:00
Andrew Cagney 8642bc8fb0 Revise and update ``Releasing GDB''. 2002-01-29 16:32:02 +00:00
Andrew Cagney 8fcc723b1c Eliminate TARGET_BYTE_ORDER. 2002-01-29 04:42:45 +00:00
Andrew Cagney afe64c1a68 * arch-utils.c (TARGET_BYTE_ORDER_DEFAULT): Delete macro.
(target_byte_order): Initialize to BFD_ENDIAN_BIG.
(initialize_current_architecture): Update target_byte_order using
information from BFD.
* config/powerpc/tm-ppcle-eabi.h (TARGET_BYTE_ORDER_DEFAULT):
* config/mcore/tm-mcore.h (TARGET_BYTE_ORDER_DEFAULT):
* config/arm/tm-arm.h (TARGET_BYTE_ORDER_DEFAULT): Delete.

Update doco.
2002-01-29 03:51:19 +00:00
Andrew Cagney 75bc7ddf1b * config/vax/tm-vax.h (INVALID_FLOAT): Move macro from here...
* vax-tdep.c (INVALID_FLOAT): To here.  Document why it is broken.

* rs6000-tdep.c (rs6000_do_registers_info): Delete code wrapped in
#ifdef INVALID_FLOAT.
* infcmd.c (do_registers_info): Ditto.
* values.c (unpack_double): Ditto.  Add comment.

* config/ns32k/tm-umax.h (INVALID_FLOAT): Delete macro that was
already commented out.
2002-01-29 03:08:28 +00:00
gdbadmin 806dedcd0c *** empty log message *** 2002-01-29 00:00:03 +00:00
gdbadmin 7a2c05236d *** empty log message *** 2002-01-28 00:00:02 +00:00
Eli Zaretskii 59649f2e83 * gdb.texinfo: Fix typos and markup. From Dmitry Sivachenko
<mitya@cavia.pp.ru>.
2002-01-27 09:34:24 +00:00
gdbadmin af2dc4b8c3 *** empty log message *** 2002-01-27 00:00:02 +00:00
Andreas Schwab 0280a90a33 * config/m68k/nm-linux.h (FETCH_INFERIOR_REGISTERS): Define.
* m68klinux-nat.c: Update ptrace interface for fetching/storing
	registers and add support for PTRACE_GETREGS.
2002-01-26 22:23:23 +00:00
gdbadmin 09114b8784 *** empty log message *** 2002-01-26 00:00:04 +00:00
gdbadmin c895725ba0 *** empty log message *** 2002-01-25 00:00:03 +00:00
Andrew Cagney 7072a9542f Merge in 5.1.1 tweeks. 2002-01-24 08:05:31 +00:00
Fred Fish 86f902e0d1 Approved by msynder@redhat.com
2002-01-23  Fred Fish  <fnf@redhat.com>
	* mdebugread.c (parse_partial_symbols): Only copy stabstring1 to
	stabstring on initial malloc.  Reallocing will copy it for us,
	if necessary.
2002-01-24 04:08:33 +00:00
Elena Zannoni 8af51c360e 2002-01-23 Elena Zannoni <ezannoni@redhat.com>
* Makefile.in (hpread_h): Delete.
        (HFILES_NO_SRCDIR): Remove hpread.h.
        (ALLDEPFILES): Remove hp-psymtab-read.c and hp-symtab-read.c.
        (hpread.o): Update dependencies.
        (hp-psymtab-read.o, hp-symtab-read.o): Remove.

        * hp-psymtab-read.c: Remove file.
        * hp-symtab-read.c: Remove file.
        * hpread.h: Remove file.

        * hpread.c: Merge all contents of hp-psymtab-read.c,
        hp-symtab-read.c and hpread.h into this file, as it was prior to
        January 1999.

        * config/pa/hpux11w.mh, config/pa/hpux11.mh,
        config/pa/hpux1020.mh, config/pa/hppaosf.mh,
        config/pa/hppahpux.mh, config/pa/hppabsd.mh (NATDEPFILES):
        Remove hp-psymtab-read.o and hp-symtab-read.o, add hpread.o.
2002-01-24 03:44:10 +00:00
Elena Zannoni dc5cfeb6a3 2002-01-23 Elena Zannoni <ezannoni@redhat.com>
* ppc-linux-nat.c (ppc_register_u_addr, supply_gregset,
	fill_gregset): Call gdbarch_tdep() just once, assign result to
	variable and use that, instead of calling the function several
	times.
2002-01-24 02:58:24 +00:00
Alexandre Oliva ea87b71bed * configure.host: Accept sparcv9 as alias for sparc64.
* configure.tgt: Likewise.
2002-01-24 02:48:04 +00:00
gdbadmin 97c39797f4 *** empty log message *** 2002-01-24 00:00:34 +00:00
Andrew Cagney 3d6e1b5afe Remove libgdb.texinfo 2002-01-23 21:08:19 +00:00
Kevin Buettner 13fc0c2f38 Fix xcalloc() calls so order of arguments is not reversed. 2002-01-23 06:24:20 +00:00
Elena Zannoni 7bd872fe05 2002-01-22 Elena Zannoni <ezannoni@redhat.com>
* sh-tdep.c (sh_pseudo_register_read): New function. Renamed and
	modified version of obsolete sh_fetch_pseudo_register.
	(sh_fetch_pseudo_register): Rename to sh_pseudo_register_read.
	(sh4_register_read): New function.
	(sh_pseudo_register_write): New function. Renamed and modified
	version of obsolete sh_store_pseudo_register.
	(sh_store_pseudo_register): Rename to sh_pseudo_register_write.
	(sh4_register_write): New function.
	(sh_gdbarch_init): Remove setting of gdbarch function
	fetch_pseudo_register and store_pseudo_register. Remove setting of
	register_convert_to_raw, register_convert_to_virtual,
	register_convertible.
	(sh_sh4_register_convertible): Delete. No longer needed. All is
	taken care by architecture specific functions
	register_read/register_write.
	(sh_sh4_register_convert_to_virtual): Make static.
	(sh_sh4_register_convert_to_raw): Ditto.
2002-01-23 04:00:55 +00:00
gdbadmin 3d2c237685 *** empty log message *** 2002-01-23 00:00:38 +00:00
Andrew Cagney 069e84fd96 Initialize the TYPE_FLOATFORMAT field of the h/w floating-point
builtin types.
2002-01-22 19:57:40 +00:00
Andrew Cagney 6c0e9fb3d2 Eliminate texinfo 3.12 hacks. 2002-01-22 17:15:57 +00:00
Andrew Cagney e0ce93ac9c Remove->Remote 2002-01-22 16:58:30 +00:00
Andrew Cagney be298bcc5f Use texi2dvi instead of TEX/TEXINDEX. 2002-01-22 16:37:08 +00:00
Andrew Cagney 8e04817fcd Move remote protocol specification to an appendix. 2002-01-22 16:25:57 +00:00
Corinna Vinschen 211a4f6935 * xstormy16-tdep.c (xstormy16_scan_prologue): Add frameless
parameter.  Set frameless flag if it exists and depended of
	whether the scanned function is frameless or not.
	(xstormy16_skip_prologue): If function is frameless, return
	result of xstormy16_scan_prologue().
	(xstormy16_frame_init_saved_regs): Adjust xstormy16_scan_prologue()
	call.
2002-01-22 11:22:23 +00:00
Fred Fish b3ff9d9a65 2002-01-21 Fred Fish <fnf@redhat.com>
* gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
	not caller.
2002-01-22 01:05:06 +00:00
Elena Zannoni f81353e4f9 2002-01-21 Elena Zannoni <ezannoni@redhat.com>
* sh-tdep.c (sh_fp_frame_init_saved_regs, sh_push_arguments,
	sh_generic_show_regs, sh3_show_regs, sh3e_show_regs,
	sh3_dsp_show_regs, sh4_show_regs, sh_dsp_show_regs,
	sh_sh4_register_byte, sh_sh4_register_raw_size,
	sh_sh3e_register_virtual_type, sh_sh4_register_virtual_type,
	sh_sh4_register_convertible, sh_sh4_register_convert_to_virtual,
	sh_sh4_register_convert_to_raw, sh_fetch_pseudo_register,
	sh_store_pseudo_register, sh_do_pseudo_register): Call
	gdbarch_tdep() just once, assign result to variable and use that,
	instead of calling the function several times.
2002-01-22 00:22:38 +00:00
Andrew Cagney e9afe819c3 FOOBAR, didn't ChangeLog UI_OUT removal. 2002-01-22 00:08:55 +00:00
gdbadmin f6841f210f *** empty log message *** 2002-01-22 00:00:32 +00:00
Andrew Cagney 6b2f586db6 Add menu entries for ``Remote Debugging''. 2002-01-21 23:27:40 +00:00
Mark Kettenis 63c73a17b2 * go32-nat.c (fetch_register): Use FP_REGNUM_P and FPC_REGNUM_P
macros instead of LAST_FPU_CTRL_REGNUM.
(store_register): Likewise.
2002-01-21 23:03:13 +00:00
Jim Blandy 39ad761d6d * infcmd.c (run_command): Check that the `exec' target layer's BFD
is up-to-date before running the program, not just when a program
exits.

* testsuite/gdb.base/reread.exp: Check that GDB properly re-reads the
executable file when it changes while no inferior is running.
2002-01-21 21:57:55 +00:00
Fred Fish aaf320fa4a Approved by fnasser@redhat.com:
2002-01-21  Fred Fish  <fnf@redhat.com>
        * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
        optionally accept the "shlib events" variation.
2002-01-21 20:25:18 +00:00