Commit Graph

32921 Commits

Author SHA1 Message Date
Andrew Cagney 3d6e1b5afe Remove libgdb.texinfo 2002-01-23 21:08:19 +00:00
Nick Clifton 1319fb9c00 Import StrongARM and XScale target_configdirs from FSF GCC version. 2002-01-23 16:40:51 +00:00
Nick Clifton 8b53311e10 Tidy up formatting of --help output. 2002-01-23 16:12:56 +00:00
Nick Clifton c69539487b Add: bfd_elf32_ia64_hpux_big_vec, bfd_elf64_ia64_hpux_big_vec and
bfd_elf32_h8300_vec to DEFAULT_VECTOR.
2002-01-23 12:21:07 +00:00
Nick Clifton d0de30261d Add Danish translation 2002-01-23 11:48:53 +00:00
Alan Modra 41bd81abfa * elf64-ppc.c: Remove stale part of ABI comment.
(NO_OPD_RELOCS): Define.
	(ppc64_elf_check_relocs): Use it.
	(ppc64_elf_relocate_section): Here too.
	(build_one_stub): Don't point function syms at the stub.  Instead,
	hijack plt.offset.
	(ppc64_elf_relocate_section): Check whether REL24 relocs should
	really go to the stub.  Make all dynamic relocs in opd against
	locals.
	(ppc64_elf_finish_dynamic_symbol): Allow for non-standard use of
	plt.offset.
2002-01-23 11:21:18 +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
Alexandre Oliva 08d4406b19 oops 2002-01-23 02:01:54 +00:00
Alexandre Oliva 3095869f5c * gas/mn10300/basic.exp (run_list_test): New proc, from alpha.
* gas/mn10300/movpc.s, gas/mn10300/movpc.l: New tests.
2002-01-23 01:53:01 +00:00
Alexandre Oliva b386f24b4a * config/tc-mn10300.c (xr_registers): Move `pc'...
(other_registers): ... here.
2002-01-23 01:52:18 +00:00
gdbadmin 3d2c237685 *** empty log message *** 2002-01-23 00:00:38 +00:00
Alan Modra 9d7c87e6b6 daily update 2002-01-22 23:00:05 +00:00
Richard Henderson 58b1717a5e * configure.in (variable detection): Use arrays of unspecified
size instead of plain integers.
2002-01-22 22:32:35 +00:00
Graydon Hoare 9a2e995d8a [ include/opcode/ChangeLog ]
2002-01-22  Graydon Hoare  <graydon@redhat.com>

	* cgen.h (CGEN_MAYBE_MULTI_IFLD): New structure.
	(CGEN_OPERAND): Add CGEN_MAYBE_MULTI_IFLD field.

[ opcodes/ChangeLog ]

2002-01-22  Graydon Hoare  <graydon@redhat.com>

	* fr30-asm.c: Regenerate.
	* fr30-desc.c: Likewise.
	* fr30-desc.h: Likewise.
	* fr30-dis.c: Likewise.
	* fr30-ibld.c: Likewise.
	* fr30-opc.c: Likewise.
	* fr30-opc.h: Likewise.
	* m32r-asm.c: Likewise.
	* m32r-desc.c: Likewise.
	* m32r-desc.h: Likewise.
	* m32r-dis.c: Likewise.
	* m32r-ibld.c: Likewise.
	* m32r-opc.c: Likewise.
	* m32r-opc.h: Likewise.
	* m32r-opinst.c: Likewise.
	* openrisc-asm.c: Likewise.
	* openrisc-desc.c: Likewise.
	* openrisc-desc.h: Likewise.
	* openrisc-dis.c: Likewise.
	* openrisc-ibld.c: Likewise.
	* openrisc-opc.c: Likewise.
	* openrisc-opc.h: Likewise.
	* xstormy16-desc.c: Likewise.

[ cgen/ChangeLog ]

2002-01-22  Graydon Hoare  <graydon@redhat.com>

	* desc-cpu.scm (ifld-number-cache): Add.
	(ifld-number): Add.
	(gen-maybe-multi-ifld-of-op): Add.
	(gen-maybe-multi-ifld): Add.
	(gen-multi-ifield-nodes): Add.
	(cgen-desc.c): Add call to gen-multi-ifield-nodes.
2002-01-22 21:45:36 +00:00
DJ Delorie cc096b7166 merge from gcc 2002-01-22 20:14:53 +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
Richard Henderson f304919d26 * elf64-alpha.c (INSN_UNOP): Encode with RB as $sp. 2002-01-22 09:51:58 +00:00
Richard Henderson a9ed1e1b4e * emulparams/elf64alpha.sh (NOP): Use unop. 2002-01-22 09:51:15 +00:00
Richard Henderson 199f4802a7 * gas/alpha/unop.s, gas/alpha/unop.d: New test.
* gas/alpha/alpha.exp: Run it.
2002-01-22 09:45:49 +00:00
Richard Henderson 98c0272052 * alpha-dis.c (print_insn_alpha): Also mask the base opcode for
comparison.
2002-01-22 09:44:09 +00:00
Alan Modra 60ee0d4a8b * elf64-ppc.c (ppc64_elf_finish_dynamic_sections): Correct sign of
TOC_BASE_OFF adjustment.
2002-01-22 09:05:07 +00:00
Alan Modra c0ef99a773 run "make dep-am"; automake
regenerate po/POTFILES.in
2002-01-22 08:58:00 +00:00
DJ Delorie 23deb9235a * config/obj-coff.c (obj_coff_init_stab_section): Make the
stabstr_name allocation permanent, as it will be referenced from
the section hash.
2002-01-22 01:09:49 +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
Alan Modra 64328b468d * configure.host (hppa*64*-*-hpux*, hppa*64*-*-linux*): Add new
host defines.
2002-01-22 00:47:21 +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
Alan Modra 95cc1d377b daily update 2002-01-21 23:00:04 +00:00
Hans-Peter Nilsson 54893deb51 * ld-cris: New testsuite directory. 2002-01-21 22:04:02 +00:00
Hans-Peter Nilsson 5995366531 Correct attribution 2002-01-21 22:00:00 +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
Hans-Peter Nilsson 58255df39c * elf32-cris.c (cris_elf_relocate_section) <case R_CRIS_32_GOTREL>:
Check for and emit error if sgot is NULL at this point.
2002-01-21 21:57:48 +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
Fred Fish 3d74b771bd Approved by fnasser@redhat.com:
2002-01-21  Fred Fish  <fnf@redhat.com>
	* arm-tdep.c (thumb_skip_prologue): Quit scanning prologue
	when we have found all instructions we are looking for.
2002-01-21 20:12:36 +00:00
Andreas Jaeger 968ec2b9ac * ldlex.l: Use fread instead of read. 2002-01-21 19:53:44 +00:00
Andrew Cagney 6f05cf9ffa * gdb.texinfo (Remote): Move the sub-section ``The GDB remote
serial protocol'' from here.
(Remote Debugging): To here.  New chapter.
2002-01-21 18:56:05 +00:00
Jim Blandy 808a31f526 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
call `fflush' after every `printf', so that the output is produced
at predictable points, regardless of whatever buffering does (or
doesn't) take place.
* gdb.base/ending-run.exp: Adjust tests to expect output to appear
at different points.
2002-01-21 18:46:33 +00:00
Jason Thorpe 9596feeafe bfd:
* config.bfd (ia64*-*-netbsd*): New target.

gas:
* configure.in (ia64-*-netbsd*): New target.
* configure: Regenerate.

ld:
* configure.tgt (ia64-*-netbsd*): New target.
2002-01-21 18:17:28 +00:00
Richard Earnshaw 966fbf700a * arm-tdep.c (arm_register_name): New function.
(arm_registers_names): Make static.
* config/arm/tm-arm.h (arm_register_names): Delete declaration.
(arm_register_name): Declare.
(REGISTER_NAME): Use it.
2002-01-21 17:36:11 +00:00
H.J. Lu 493a6d4755 2002-01-21 H.J. Lu <hjl@gnu.org>
* emulparams/elf32btsmip.sh (SHLIB_TEXT_START_ADDR): Change to
	0.
	* emulparams/elf64btsmip.sh (SHLIB_TEXT_START_ADDR): Likewise.
2002-01-21 17:19:09 +00:00
Richard Earnshaw c3b4394c3a Richard Earnshaw <rearnsha@arm.com>
and Kevin Buettner  <kevinb@redhat.com>
Convert arm targets to new FRAME interface.
* arm-tdep.c (struct frame_extra_info): Remove fsr.
(arm_frame_find_save_regs): Delete.
(arm_frame_init_saved_regs): New.
(arm_init_extra_frame_info): Alloacte saved_regs as required.
Allocate extra_info as required.  Convert all uses of fsr.regs
to use saved_regs, similarly all uses of EXTRA_FRAME_INFO fields
to use extra_info.
(thumb_scan_prologue, arm_scan_prologue, arm_find_callers_reg)
(arm_frame_chain, arm_frame_saved_pc, arm_pop_frame): Likewise.
(check_prologue_cache, save_prologue_cache): Likewise.
(_initialize_arm_tdep): Ensure prologue_cache is correctly set up.
* config/arm/tm-arm.h (EXTRA_FRAME_INFO): Delete.
(FRAME_FIND_SAVED_REGS): Delete.
(arm_frame_find_saved_regs): Delete prototype.
(arm_frame_init_saved_regs): New prototype.
(FRAME_INIT_SAVED_REGS): Define.
2002-01-21 16:27:42 +00:00