Commit Graph

48673 Commits

Author SHA1 Message Date
gdbadmin 10e34f7ca3 *** empty log message *** 2005-06-28 00:00:33 +00:00
Alan Modra b119384778 daily update 2005-06-28 00:00:06 +00:00
Dave Anglin a63e02c7f8 * bfd/elf32-hppa.c (struct elf32_hppa_stub_hash_entry):
Use bh_root, and hh.
	(struct elf32_hppa_link_hash_entry): Use eh, and hsh_cache.
	(struct elf32_hppa_dyn_reloc_entry): Use hdh_next.
	(struct elf32_hppa_link_hash_table): Use etab and bstab.
	(stub_hash_newfunc): Use hh.
	(hppa_link_hash_newfunc): Use hsh_cache.
	(elf32_hppa_link_hash_table_create): Use etab, and bstab.
	(elf32_hppa_link_hash_table_free): Use bstab.
	(hppa_stub_name): Use eh.
	(hppa_get_stub_entry): Use hh, hsh_entry, and hsh_cache.
	(hppa_add_stub): Use bstab.
	(hppa_type_of_stub): Use eh.
	(hppa_build_one_stub): Use hh and bh_root.
	(elf32_hppa_copy_indirect_symbol): Use hdh_next.
	(elf32_hppa_check_relocs): Use eh, etab, and hdh_next.
	(elf32_hppa_gc_sweep_hook): Use hdh_next.
	(elf32_hppa_adjust_dynamic_symbol): Use hdh_next, and etab.
	(allocate_plt_static): Use etab.
	(allocate_dynrelocs): Use etab, and hdh_next.
	(readonly_dynrelocs): Use hdh_next.
	(elf32_hppa_size_dynamic_sections): Use etab, and hdh_next.
	(get_local_syms): Use eh, bstab, and hh.
	(elf32_hppa_size_stubs): Use eh, bstab, and hh.
	(elf32_hppa_set_gp): Use etab.
	(elf32_hppa_build_stubs): Use bstab.
	(final_link_relocate): Use eh, bh_root.
	(elf32_hppa_relocate_section): Use elf, etab.
	(elf32_hppa_finish_dynamic_sections): Use etab.
2005-06-27 23:43:43 +00:00
H.J. Lu 5f1cb35385 2005-06-27 H.J. Lu <hongjiu.lu@intel.com>
* elfxx-ia64.c (elfNN_hpux_backend_symbol_processing): Remove
	the extra `;'.
2005-06-27 21:08:10 +00:00
Wu Zhou c54d24cb8b * gdbtypes.c (get_discrete_bounds): Fix a comment typo. 2005-06-27 08:38:13 +00:00
gdbadmin 4929784d4e *** empty log message *** 2005-06-27 00:00:32 +00:00
Alan Modra 55b494d39b daily update 2005-06-27 00:00:06 +00:00
Alan Modra 7048393c8d daily update 2005-06-26 00:00:06 +00:00
gdbadmin 4ee8543cb7 *** empty log message *** 2005-06-26 00:00:02 +00:00
Mark Kettenis b6958cfb8f * sol-thread.c (sol_thread_xfer_memory): Change type of second
argument to `gdb_byte *'.
(sol_thread_xfer_partial): Change type of readbuf and writebuf
arguments to `gdb_byte *'.
2005-06-25 12:49:01 +00:00
Mark Kettenis 870cd05e24 * mips-tdep.c (mips_xfer_register, mips_o32_return_value)
(mips_integer_to_address): Use gdb_byte instead of bfd_byte.
2005-06-25 11:58:35 +00:00
Mark Kettenis 57b025345d * ppcobsd-nat.c: Include "gdbcore.h", <sys/signal.h>,
<machine/frame.h>, <machine/pcb.h> and "bsd-kvm.h".
(ppcobsd_supply_pcb): New function.
(_initialize_ppcobsd_nat): Enable libkvm interface.
* Makefile.in (ppcobsd-nat.o): Update dependencies.
* config/powerpc/obsd.mh (NATDEPFILES): Add bsd-kvm.o.
(LOADLIBES): New variable.
2005-06-25 11:54:29 +00:00
gdbadmin a9bb6d8ab6 *** empty log message *** 2005-06-25 00:00:33 +00:00
Alan Modra 9139537c21 daily update 2005-06-25 00:00:06 +00:00
Mark Kettenis c32adc783a * config/powerpc/obsd.mh (NATDEPFILES): Add bsd-kvm.o.
(LOADLIBES): New variable.
2005-06-24 21:15:38 +00:00
Mark Kettenis 0ae4f2cb51 * ppcobsd-nat.c: Include "gdbcore.h", <sys/signal.h>,
<machine/frame.h>, <machine/pcb.h> and "bsd-kvm.h".
(ppcobsd_supply_pcb): New function.
(_initialize_ppcobsd_nat): Enable libkvm interface.
* Makefile.in (ppcobsd-nat.o): Update dependencies.
2005-06-24 21:11:39 +00:00
Corinna Vinschen 772562f8ac * i386-tdep.c (struct i386_frame_cache): Define sp_offset as LONGEST. 2005-06-24 08:12:32 +00:00
Alan Modra fd266575fb daily update 2005-06-24 00:00:11 +00:00
gdbadmin e9b986c736 *** empty log message *** 2005-06-24 00:00:08 +00:00
Ben Elliston 8f738565e3 * config/m68k-parse.h: Use ISO C90.
* config/m68k-parse.y: Likewise.
	* config/tc-m68k.h: Likewise.
2005-06-23 11:40:29 +00:00
Andreas Schwab aa20706882 * ld-elfweak/size_foo.c (foo): Fix warning about implicit return
type.
2005-06-23 11:36:22 +00:00
Ben Elliston cc16ba8c4f * m68k-dis.c: Use ISC C90.
* m68k-opc.c: Formatting fixes.
2005-06-23 11:18:26 +00:00
Andreas Schwab 4247cafddf * gdb_ptrace.h: Fix typos when checking for PT_ATTACH. Reported
by Chad Harrington <harrington.chad@gmail.com>.
2005-06-23 09:21:45 +00:00
Paolo Bonzini 7d329e61da 2005-06-22 Paolo Bonzini <bonzini@gnu.org>
* Makefile.def (stagefeedback): Come after profile.
	Define profiledbootstrap target.
	* Makefile.tpl (profiledbootstrap): Remove.
	(stageprofile-end): Zap stagefeedback.
	(stagefeedback-start): Copy all .gcda files, not only GCC's.
	* Makefile.in: Regenerate.
2005-06-23 07:34:15 +00:00
Alan Modra 00cbea1679 daily update 2005-06-23 00:00:07 +00:00
gdbadmin a92ee4bac9 *** empty log message *** 2005-06-23 00:00:03 +00:00
Mark Kettenis c8d511af85 * remote.c (extended_remote_restart): Pass buffer in call to
xsnprintf instead of a pointer to the buffer.
2005-06-22 11:42:54 +00:00
Nick Roberts d620b259fb (History) Rename "Command History".
(Command History): Move node "Server Prefix" from section on
Annotations here.
2005-06-22 06:20:00 +00:00
Nick Roberts d1b6db76f0 *** empty log message *** 2005-06-22 06:15:43 +00:00
Alan Modra 355650ebcc daily update 2005-06-22 00:00:08 +00:00
gdbadmin aac843bd47 *** empty log message *** 2005-06-22 00:00:05 +00:00
Andrew Cagney e990a46e0d 2005-06-21 Andrew Cagney <cagney@gnu.org>
* MAINTAINERS: List GDB's Steering Committee as responsible for
	GDB's maintenance.
2005-06-21 14:34:42 +00:00
Dave Anglin 875c087201 * bfd/elf32-hppa.c (hppa_elf_hash_entry): Define.
(hppa_stub_hash_entry): Define.
	(stub_hash_newfunc): Rename variables.
	(hppa_link_hash_newfunc): Likewise.
	(elf32_hppa_link_hash_table_free): Likewise.
	(hppa_stub_name): Likewise.
	(hppa_get_stub_entry): Likewise.
	(hppa_add_stub): Likewise.
	(hppa_type_of_stub): Likewise.
	(hppa_build_one_stub): Likewise.
	(hppa_size_one_stub): Likewise.
	(elf32_hppa_create_dynamic_sections): Likewise.
	(elf32_hppa_copy_indirect_symbol): Likewise.
	(elf32_hppa_check_relocs): Likewise.
	(elf32_hppa_gc_mark_hook): Likewise.
	(elf32_hppa_gc_sweep_hook): Likewise.
	(elf32_hppa_grok_psinfo): Likewise.
	(elf32_hppa_hide_symbol): Likewise.
	(elf32_hppa_adjust_dynamic_symbol): Likewise.
	(allocate_dynrelocs): Likewise.
	(clobber_millicode_symbols): Likewise.
	(readonly_dynrelocs): Likewise.
	(elf32_hppa_size_dynamic_sections): Likewise.
	(get_local_syms): Likewise.
	(elf32_hppa_size_stubs): Likewise.
	(hppa_record_segment_addr): Likewise.
	(final_link_relocate): Likewise.
	(elf32_hppa_relocate_section): Likewise.
	(elf32_hppa_finish_dynamic_symbol): Likewise.
2005-06-21 13:53:55 +00:00
Mark Kettenis 7a4609f7bb * inf-ttrace.c (inf_ttrace_xfer_partial): Change type of readbuf
and writebuf arguments to `gdb_byte *'.
2005-06-21 11:58:39 +00:00
Wu Zhou 72429025ee * MAINTAINERS (Write After Approval): Add myself. 2005-06-21 08:36:30 +00:00
Mark Kettenis dc28f363f5 * hppabsd-tdep.c: Include "symtab.h", "objfiles.h", "target.h",
"value.h" and "elf/common.h".
(hppabsd_supply_gregset): Use `gdb_byte *' for byte buffer.
(hppabsd_find_global_pointer): New function.
(hppabsd_init_abi): Set TDEP->find_global_pointer to
hppabsd_find_global_pointer.
* Makefile.in (hppabsd-tdep.o): Update dependencies.
2005-06-21 05:32:00 +00:00
Geoffrey Keating 67f3cb056f Index: include/ChangeLog
2005-06-20  Geoffrey Keating  <geoffk@apple.com>

	* libiberty.h (strverscmp): Prototype.

Index: libiberty/ChangeLog
2005-06-20  Geoffrey Keating  <geoffk@apple.com>

	* strverscmp.c: New.
	* Makefile.in (CFILES): Add strverscmp.c.
	(CONFIGURED_OFILES): Add strverscmp.o.
	(strverscmp.o): New rule.
	(stamp-functions): Add $(srcdir) to files in source directory.
	* configure.ac (funcs): Add strverscmp.
	(AC_CHECK_FUNCS): Add strverscmp.
	* configure: Regenerate.
	* functions.texi: Regenerate.
2005-06-21 00:28:25 +00:00
Alan Modra 9c0a3ed4ce daily update 2005-06-21 00:00:06 +00:00
gdbadmin 8e9ef7a65a *** empty log message *** 2005-06-21 00:00:04 +00:00
H.J. Lu b300c311a0 gas/
2005-06-20  H.J. Lu  <hongjiu.lu@intel.com>

	PR 1013
	* config/tc-i386.c (md_assemble): Don't call optimize_disp on
	movabs.
	(optimize_disp): Optimize only if possible. Don't use 64bit
	displacement on non-constants and do same on constants if
	possible.

gas/testsuite/

2005-06-20  H.J. Lu  <hongjiu.lu@intel.com>

	PR 1013
	* i386/x86_64.s: Add absolute 64bit addressing tests for mov.
	* i386/x86_64.s: Updated.

include/opcode/

2005-06-20  H.J. Lu  <hongjiu.lu@intel.com>

	PR 1013
	* i386.h (i386_optab): Update comments for 64bit addressing on
	mov. Allow 64bit addressing for mov and movq.
2005-06-20 23:18:39 +00:00
H.J. Lu 973a3492d5 2005-06-20 H.J. Lu <hongjiu.lu@intel.com>
PR 1025
	* elf-m10300.c (mn10300_elf_check_relocs): Handle indirect
	symbol.
	* elf32-arm.c (elf32_arm_check_relocs): Likewise.
	* elf32-avr.c (elf32_avr_check_relocs): Likewise.
	* elf32-cris.c (cris_elf_check_relocs): Likewise.
	* elf32-d10v.c (elf32_d10v_check_relocs): Likewise.
	* elf32-dlx.c (elf32_dlx_check_relocs): Likewise.
	* elf32-fr30.c (fr30_elf_check_relocs): Likewise.
	* elf32-frv.c (elf32_frv_check_relocs): Likewise.
	* elf32-i370.c (i370_elf_check_relocs): Likewise.
	* elf32-iq2000.c (iq2000_elf_check_relocs): Likewise.
	* elf32-m32r.c (m32r_elf_check_relocs): Likewise.
	* elf32-m68hc1x.c (elf32_m68hc11_check_relocs): Likewise.
	* elf32-m68k.c (elf_m68k_check_relocs): Likewise.
	* elf32-mcore.c (mcore_elf_check_relocs): Likewise.
	* elf32-ms1.c (ms1_elf_check_relocs): Likewise.
	* elf32-msp430.c (elf32_msp430_check_relocs): Likewise.
	* elf32-openrisc.c (openrisc_elf_check_relocs): Likewise.
	* elf32-ppc.c (ppc_elf_check_relocs): Likewise.
	* elf32-s390.c (elf_s390_check_relocs): Likewise.
	* elf32-sh.c (sh_elf_check_relocs): Likewise.
	* elf32-v850.c (v850_elf_check_relocs): Likewise.
	* elf32-vax.c (elf_vax_check_relocs): Likewise.
	* elf64-mmix.c (mmix_elf_check_relocs): Likewise.
	* elf64-ppc.c (ppc64_elf_check_relocs): Likewise.
	* elf64-s390.c (elf_s390_check_relocs): Likewise.
	* elf64-sh64.c (sh_elf64_check_relocs): Likewise.
	* elfxx-mips.c (_bfd_mips_elf_check_relocs): Likewise.
	* elfxx-sparc.c (_bfd_sparc_elf_check_relocs): Likewise.
2005-06-20 18:12:11 +00:00
H.J. Lu f7c5057a52 2005-06-20 H.J. Lu <hongjiu.lu@intel.com>
PR 1022
	* elf32-hppa.c (elf32_hppa_check_relocs): Handle indirect
	symbol.
2005-06-20 13:06:27 +00:00
H.J. Lu 71cb94647f 2005-06-20 H.J. Lu <hongjiu.lu@intel.com>
PR 1025:
	* elf32-i386.c (elf_i386_check_relocs): Handle indirect symbol.
	* elf64-x86-64.c (elf64_x86_64_check_relocs): Likewise.
2005-06-20 12:59:49 +00:00
Nick Roberts 1ed91682d1 (test_stack_locals_listing): Remove test for -stack-select-frame without
arguments.
(test_stack_frame_listing): Add test for newly implemented command
-stack-info-frame.
2005-06-20 03:38:20 +00:00
Nick Roberts fe03833f9a *** empty log message *** 2005-06-20 03:37:15 +00:00
gdbadmin c9b5d3341f *** empty log message *** 2005-06-20 00:00:34 +00:00
Alan Modra 23dc103238 daily update 2005-06-20 00:00:06 +00:00
Mark Kettenis 99d64d771c * hppa-tdep.c (hppa_pointer_to_address_hack): Remove function.
(unwind_command): Use %lx to print pointer.
2005-06-19 21:25:47 +00:00
Mark Kettenis 8d7337bf3d * remote-sim.c (gdbsim_xfer_inferior_memory): Remove prototype.
Change type of second argument to`gdb_byte *'.
2005-06-19 20:08:37 +00:00
Nick Roberts dcaaae044f (GDB/MI Stack Manipulation):
Re-instate -stack-info-frame with example.  Say that it gets
info on selected frame, not current frame.
2005-06-19 03:16:32 +00:00