Commit Graph

48647 Commits

Author SHA1 Message Date
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
Nick Roberts 29629dcf1e *** empty log message *** 2005-06-19 03:14:46 +00:00
Nick Roberts ac307ba808 (mi_cmds): Replace entry for -stack-info-frame.
Make it use mi_cmd_stack_info_frame
2005-06-19 03:12:39 +00:00
Nick Roberts 3ba51a77e4 (mi_cmd_stack_info_frame): New declaration. 2005-06-19 03:12:15 +00:00
Nick Roberts 64fd8944d9 (mi_cmd_stack_info_frame): New function. 2005-06-19 03:11:47 +00:00
gdbadmin 7fcae197ab *** empty log message *** 2005-06-19 00:00:32 +00:00
Alan Modra a81c87039a daily update 2005-06-19 00:00:06 +00:00
Mark Kettenis 4ba6a9753f * hppa-tdep.c (hppa_fallback_frame_cache): Don't error out if we
can't find the bounds of the current function.  Wrap some long
lines in the process.
2005-06-18 22:03:41 +00:00
Mark Kettenis 6618125dce * regcache.c (regcache_raw_supply, regcache_raw_collect): Change
type of last argument back to `void *'.
* regcache.h (regcache_raw_supply, regcache_raw_collect): Likewise.
2005-06-18 15:22:55 +00:00
H.J. Lu 73d147dcf0 2005-06-18 H.J. Lu <hongjiu.lu@intel.com>
* reloc.c: Add BFD_RELOC_X86_64_GOTOFF64 and
	BFD_RELOC_X86_64_GOTPC32.
	* bfd-in2.h: Regenerated.
2005-06-18 13:23:06 +00:00
Eli Zaretskii d416eeec97 (Backtrace): Document that free-standing environments do not need
to have a `main' function.
2005-06-18 13:12:04 +00:00
Eli Zaretskii 76d17f347a (Machine Code): Document possible problems with locations in
shared libraries.
2005-06-18 12:54:36 +00:00
Eli Zaretskii 59b7b46f98 (Files): Add more indexing for solib-absolute-prefix and --with-sysroot. 2005-06-18 12:40:48 +00:00
Eli Zaretskii fc8be69e5e (Files): Document the possibility of loading unlinked object files. 2005-06-18 12:36:06 +00:00
Eli Zaretskii 638ac427cd (Threads): Add an @cindex entry for "thread apply". 2005-06-18 12:18:25 +00:00
Eli Zaretskii 5127403546 (Output Formats): More detailed description of the `c' format.
(Memory): List explicitly all the formats supported by `x'.
2005-06-18 12:10:55 +00:00
Eli Zaretskii 397ca11534 (Server): Clarify that `file' should be used before connecting to the server.
(Files): Add an xref to the above description.
2005-06-18 11:39:36 +00:00
Nick Roberts 86f91582c3 (GDB/MI Stack Manipulation): Remove reference to
-stack-info-frame.
2005-06-18 03:01:48 +00:00
Nick Roberts 74f6deaacd *** empty log message *** 2005-06-18 02:51:55 +00:00
Nick Roberts 41083b80d4 (mi_cmds): Remove entry for -stack-info-frame. 2005-06-18 02:49:50 +00:00
Nick Roberts fcf4393226 (mi_cmd_stack_list_frames, mi_cmd_stack_info_depth):
Don't test for stack.
(mi_cmd_stack_select_frame): Make the argument mandatory.
Don't test for stack.
2005-06-18 02:49:18 +00:00
Daniel Jacobowitz 0ffa0ea5bc Correct a typo. 2005-06-18 00:56:23 +00:00
Alan Modra 2fdad614a8 daily update 2005-06-18 00:00:08 +00:00
gdbadmin 400fca7852 *** empty log message *** 2005-06-18 00:00:04 +00:00
Jakub Jelinek aa2ca951cf * elf.c (bfd_section_from_shdr): Kill bogus warning. 2005-06-17 15:48:25 +00:00
Jakub Jelinek a50b216054 * elf.c (bfd_section_from_shdr): Fail if sh_entsize is bogus for
symbol, relocation, group or versym sections.

	* coffcode.h (coff_slurp_reloc_table): Don't crash if native_relocs
	is NULL.
	* peXXigen.c (pe_print_idata): Don't crash if dll_name or start_address
	doesn't point into the section.
2005-06-17 13:39:56 +00:00
Jakub Jelinek 08d8fa1187 * elf/external.h (GRP_ENTRY_SIZE): Define.
* readelf.c (CHECK_ENTSIZE_VALUES, CHECK_ENTSIZE): Define.
	(process_section_headers): Use it.
	(process_relocs): Don't crash if symsec is not SHT_SYMTAB
	or SHT_DYNSYM.
	(process_version_sections): Use sizeof (Elf_External_Versym)
	instead of sh_entsize.
2005-06-17 13:37:26 +00:00