Commit Graph

36931 Commits

Author SHA1 Message Date
Andrew Cagney 4caf0990c1 2002-11-02 Andrew Cagney <cagney@redhat.com>
* regcache.h (deprecated_read_register_gen): Rename
	read_register_gen.
	(deprecated_write_register_gen): Rename write_register_gen.
	* i387-tdep.c: Update.
	* x86-64-linux-nat.c: Update
	* wince.c: Update.
	* thread-db.c: Update.
	* win32-nat.c: Update.
	* mips-tdep.c: Update.
	* d10v-tdep.c: Update.
	* cris-tdep.c: Update.
	* remote-sim.c: Update.
	* remote-rdi.c: Update.
	* remote-rdp.c: Update.
	* frame.c: Update.
	* target.c: Update.
	* blockframe.c: Update.
	* x86-64-tdep.c: Update.
	* xstormy16-tdep.c: Update.
	* sh-tdep.c: Update.
	* s390-tdep.c: Update.
	* rs6000-tdep.c: Update.
	* sparc-tdep.c: Update.
	* i386-tdep.c: Update.
	* dwarf2cfi.c: Update.
	* regcache.c: Update.
2002-11-02 14:59:10 +00:00
gdbadmin 8f104e6b1f *** empty log message *** 2002-11-02 00:00:02 +00:00
Alan Modra 856695231a daily update 2002-11-01 23:00:07 +00:00
Joel Brobecker 7a7adcdf1d New interix-specific files:
* config/i386/nm-interix.h: New file.
       * config/i386/interix.mh: New file.
       * config/i386/interix.mt: New file.
       * i386-interix-nat.c: New file.
       * i386-interix-tdep.c: New file.
2002-11-01 22:08:44 +00:00
Andrew Cagney bdcdd53569 2002-11-01 Andrew Cagney <cagney@redhat.com>
* frame.h (deprecated_generic_get_saved_register): Rename
	generic_get_saved_register.
	* blockframe.c (deprecated_generic_get_saved_register): Update.
	* xstormy16-tdep.c (xstormy16_get_saved_register): Update.
	(xstormy16_frame_saved_register): Update.
	* sh-tdep.c (sh_gdbarch_init): Update.
	* m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
	* ia64-tdep.c (ia64_get_saved_register): Update.
	* cris-tdep.c (cris_gdbarch_init): Update.
	* config/m32r/tm-m32r.h (GET_SAVED_REGISTER): Update.
	* arm-tdep.c (arm_gdbarch_init): Update.
2002-11-01 21:21:49 +00:00
H.J. Lu 4dd8d67b6a 2002-11-01 H.J. Lu <hjl@gnu.org>
* gas/i386/i386.exp: Add "sub".

	* gas/i386/sub.d: New.
	* gas/i386/sub.s: New.
2002-11-01 20:41:48 +00:00
Alan Modra 4f3cafa2eb * write.c (TC_FORCE_RELOCATION_SUB_ABS): Default to zero.
(TC_FORCE_RELOCATION_SUB_LOCAL): Likewise when DIFF_EXPR_OK.
	* doc/internals.texi (TC_FORCE_RELOCATION_SUB_ABS): Document changed
	default.
2002-11-01 10:42:26 +00:00
Alan Modra 4d0b322074 * dep-in.sed: Fix typo. 2002-11-01 10:35:43 +00:00
gdbadmin 36b3ec1e7f *** empty log message *** 2002-11-01 00:00:03 +00:00
Daniel Jacobowitz 2a4b7c459e * lin-lwp.c (lin_lwp_resume): Remove resume_all test for !step. 2002-10-31 21:00:08 +00:00
Daniel Jacobowitz ef17e74bbb * i386-linux-tdep.c (i386_linux_pc_in_sigtramp): Check for
trampolines in sigaction.
2002-10-31 20:51:15 +00:00
Andrew Cagney 4904ba5b9a 2002-10-31 Andrew Cagney <cagney@redhat.com>
* h8300-tdep.c: Include "gdb_assert.h".
	(h8300_print_register): Add gdbarch, file and frame parameters.
	Use frame_read_unsigned_register to read the register's value.
	Use fprintf_filtered to display output.
	(h8300_print_registers_info): Replace h8300_do_registers_info.
	(h8300_gdbarch_init): Set print_registers_info.
2002-10-31 20:22:45 +00:00
Andrew Cagney f908a0eb77 2002-10-31 Andrew Cagney <cagney@redhat.com>
* frame.c (frame_read_unsigned_register): New function.
	(frame_read_signed_register): New function.
	* frame.h (frame_read_unsigned_register): Declare.
	(frame_read_signed_register): Declare.
2002-10-31 20:14:33 +00:00
Andrew Cagney c5646e1120 2002-10-31 Andrew Cagney <cagney@redhat.com>
* h8500-tdep.c (h8500_print_registers_info): New static function,
	clone of infcmd.c's default_print_registers_info.
	(h8500_do_registers_info): New funtion.
	(h8500_print_register_hook): Rename print_register_hook, make
	static.

	* config/h8500/tm-h8500.h: Update copyright.
	(DEPRECATED_DO_REGISTERS_INFO): Define.
	(h8500_do_registers_info: Declare.
	(PRINT_REGISTER_HOOK): Delete macro.
	(print_register_hook): Delete function.
2002-10-31 19:49:34 +00:00
Andrew Cagney 0bdd672b8c 2002-10-31 Andrew Cagney <cagney@redhat.com>
* z8k-tdep.c (z8k_print_register_hook): Make static.
	(z8k_print_registers_info): New static function, clone of
	infcmd.c's default_print_registers_info.
	(z8k_do_registers_info): New function.  Wrap
	z8k_print_registers_info.
	* config/z8k/tm-z8k.h: Update copyright.
	(PRINT_REGISTER_HOOK): Delete macro.
	(z8k_print_register_hook): Delete declaration.
	(DEPRECATED_DO_REGISTERS_INFO): Define.
	(z8k_do_registers_info): Declare.
2002-10-31 19:14:07 +00:00
David O'Brien e68cc12e04 2002-10-31 David O'Brien <obrien@FreeBSD.org>
* elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Don't mix
	signed and unsigned in comparison.

Approved by:  Alan Modra <amodra@bigpond.net.au>
              Message-ID: <20021012185224.Y979@bubble.sa.bigpond.net.au>
2002-10-31 09:18:48 +00:00
gdbadmin 0727d3d1f0 *** empty log message *** 2002-10-31 00:00:02 +00:00
Joel Brobecker bf9c25dc04 * hppa-tdep.c (find_function_in_inferior): Remove this extern,
as this is already provided by value.h, and was actually causing
       a compilation error because of a conflict in parameter type
       declaration due to a missing const keyword.
       (low_text_segment_addres): Fix a compilation warning.
2002-10-30 20:42:54 +00:00
Daniel Jacobowitz 54847c7622 * configure.in: Update ARM CPU patterns.
* configure: Regenerated.
2002-10-30 17:05:41 +00:00
Daniel Jacobowitz db4b6d0145 * coffcode.h: Remove extraneous '\'. 2002-10-30 15:50:17 +00:00
Daniel Jacobowitz 2c665b51d2 * mips-linux-nat.c (mips_linux_cannot_fetch_register): Don't fetch
registers without a name.
        (mips_linux_cannot_store_register): Don't store registers without
        a name.
2002-10-30 04:10:06 +00:00
Daniel Jacobowitz df2a731323 * emultempl/aix.em: Use include <> for generated headers.
* emultempl/beos.em: Likewise.
	* emultempl/elf32.em: Likewise.
	* emultempl/pe.em: Likewise.
	* ldctor.c: Likewise.
	* ldexp.c: Likewise.
	* ldfile.c: Likewise.
	* ldlang.c: Likewise.
	* ldlex.c: Likewise.
	* ldlex.l: Likewise.
	* ldmain.c: Likewise.
	* ldmisc.c: Likewise.
	* ldwrite.c: Likewise.
	* lexsup.c: Likewise.
	* mri.c: Likewise.
	* pe-dll.c: Likewise.
2002-10-30 03:57:39 +00:00
Daniel Jacobowitz 3d82a647ca * itbl-lex.l: Use #include <> for generated headers.
* itbl-ops.c: Likewise.
2002-10-30 03:56:39 +00:00
gdbadmin 8ffbbda408 *** empty log message *** 2002-10-30 00:00:34 +00:00
Alan Modra 8c05f9b85d daily update 2002-10-29 00:20:31 +00:00
gdbadmin c92cfda37b *** empty log message *** 2002-10-29 00:00:15 +00:00
H.J. Lu 840f024325 2002-10-28 H.J. Lu <hjl@gnu.org>
* Makefile.am (targets.lo): Depend on Makefile instead of
	config.status.
	(archures.lo): Likewise.
	* Makefile.in: Regenerated.
2002-10-28 22:30:29 +00:00
David Carlton e70ea697bd 2002-10-28 David Carlton <carlton@math.stanford.edu>
* symtab.c (find_addr_symbol): Delete.  (It was already commented
	out.)
	* symtab.h: Delete prototype for find_addr_symbol.
2002-10-28 17:05:56 +00:00
Daniel Jacobowitz b1744eabdd * doc/gasp.texi: Fix typo in deprecation note. 2002-10-28 15:44:08 +00:00
gdbadmin 018d7ae331 *** empty log message *** 2002-10-28 00:00:33 +00:00
Alan Modra f6e80f3298 daily update 2002-10-27 23:00:04 +00:00
DJ Delorie 2e1a9c3c9d merge from gcc 2002-10-27 01:02:05 +00:00
DJ Delorie ca9da28eb9 merge from gcc 2002-10-27 01:01:04 +00:00
gdbadmin 89feeecabc *** empty log message *** 2002-10-27 00:00:02 +00:00
Alan Modra 5f3f153c88 daily update 2002-10-26 23:00:05 +00:00
Andrew Cagney 903ad3a6ad 2002-10-26 Andrew Cagney <cagney@redhat.com>
* gdbint.texinfo (Target Architecture Definition): Delete
	definition of DO_REGISTERS_INFO.

2002-10-26  Andrew Cagney  <cagney@redhat.com>

	* gdbarch.sh (DEPRECATED_DO_REGISTERS_INFO): Rename
	DO_REGISTERS_INFO.
	gdbarch.h, gdbarch.c: Re-generate.
	* infcmd.c (default_print_registers_info): Update reference.
	* mips-tdep.c (mips_gdbarch_init): Set deprecated_do_registers_info.
	(mips_dump_tdep): Do not print DO_REGISTERS_INFO.
	* sh-tdep.c (sh_gdbarch_init): Ditto.
	* mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
	* h8300-tdep.c (h8300_gdbarch_init): Ditto.
2002-10-26 17:19:28 +00:00
Mark Kettenis e3033f1585 * x86-64-tdep.c (x86_64_init_abi): Set init_extra_frame_info to
cfi_init_extra_frame_info.
* x86-64-tdep.h (x86_64_init_extra_frame_info): Remove prototype.
* x86-64-linux-tdep.c (x86_64_init_extra_frame_info): Remove function.
2002-10-26 17:04:37 +00:00
Mark Kettenis b83b026cdc * x86-64-tdep.c (x86_64_init_abi): Add calls to override the i386
target where necessary.  Add more comments and remove the ones
that don't provide any useful information.
2002-10-26 16:56:34 +00:00
Mark Kettenis 267bf4bb32 * i386-tdep.c (i386_frame_saved_pc): Replace call to
deprecated_read_register_dummy with
frame_unwind_unsigned_register.
2002-10-26 14:58:42 +00:00
Mark Kettenis 751f1375d6 * i386-tdep.c (i386_extract_struct_value_address): Use
regcache_raw_read_unsigned instead of
regcache_cooked_read_unsigned since we know that the register
we're reading isn't a pseudo register.  Rename variable 'val' into
the more descriptive 'addr'.
2002-10-26 14:41:37 +00:00
Stephane Carrez 57266a339f * tuiIO.c (tui_prep_terminal): Save the prompt registered in readline.
(tui_redisplay_readline): Use the last saved prompt.
	(tui_rl_saved_prompt): New.
2002-10-26 10:38:57 +00:00
Mark Kettenis 26abbdc424 * x86-64-tdep.c: Fix some formatting problems, mostly in comments.
(x86_64_push_return_address): Add comment.
(x86_64_pop_frame): Make static.
(examine_argument): Clarify comment.
(x86_64_skip_prologue): Make prolog_expact variable static.
2002-10-26 10:37:45 +00:00
Mark Kettenis 9f1549cccc * dwarf2cfi.c: Fix some formatting problems.
(context_cpy, read_encoded_pointer): Clarify comments.
2002-10-26 10:13:53 +00:00
Mark Kettenis ab91194c40 * x86-64-tdep.c (x86_64_breakpoint_from_pc): Constify.
(x86_64_init_abi): Move set_gdbarch_* calls that overlap with the
i386 target back into x86_64_gdbarch_init.  Add some comments and
remove meaningless ones.
2002-10-26 09:36:34 +00:00
DJ Delorie 1aa8389d23 * Makefile.tpl (bootstrap): Add bubblestrap, quickstrap, cleanstrap,
and restrap targets to this rule.
* Makefile.in:  Regenerate.
2002-10-26 03:57:38 +00:00
Alan Modra d57f790f58 daily update 2002-10-26 00:00:04 +00:00
gdbadmin 582a671da0 *** empty log message *** 2002-10-26 00:00:02 +00:00
Andrew Cagney 72367fb45b 2002-10-25 Andrew Cagney <cagney@redhat.com>
* complaints.h (struct deprecated_complaint): Rename `struct
	complaint'.
	* complaints.c (complain): Update.
	* remote-vx68.c, remote-vxmips.c, remote-vxsparc.c: Delete
	incorrect comment indicating that "symfile.h" was being included
	for the `struct complaint' definition.
	* remote-vx.c: Update.
	* objc-lang.c: Update.
	* xcoffread.c: Update.
	* hpread.c: Update.
	* mdebugread.c: Update.
	* stabsread.c: Update.
	* dwarf2read.c: Update.
	* dwarfread.c: Update.
	* elfread.c: Update.
	* coffread.c: Update.
	* stabsread.h: Update.
	* dbxread.c: Update.
	* buildsym.c: Update.
	* gdbtypes.c: Update.
	* macrotab.c: Update.
2002-10-25 22:25:55 +00:00
Mark Kettenis 0c1a73d616 * x86-64-tdep.c (x86_64_gdbarch_init): Make a bit more similar to
the version in i386-tdep.c.  Move set_gdbarch_* calls out into...
(x86_64_init_abi): ...new function.
2002-10-25 21:53:08 +00:00
Jason Thorpe 05a7e2dba5 * config.bfd (mips*el-*-netbsd*, mips*-*-netbsd*): Add
bfd_elf64_bigmips_vec and bfd_elf64_littlemips_vec to
targ_selvecs.
2002-10-25 21:48:58 +00:00