Commit Graph

30444 Commits

Author SHA1 Message Date
Nick Clifton 12ab83a9ae Add DWARF 2.1 attributes 2001-06-29 14:17:31 +00:00
Alan Modra e45bf86378 * elflink.h (elf_link_output_extsym): Revert 1999-04-10. 2001-06-29 07:00:33 +00:00
Andrew Cagney a1337894c1 * remote-array.c (SWAP_TARGET_AND_HOST): Delete macro.
(get_hex_word): Don't use HOST_BYTE_ORDER.
(array_fetch_registers): Add variable ``reg''.  Use
store_unsigned_integer to byte-swap the register.  Delete unused
local ``regs''.
2001-06-29 04:41:20 +00:00
Andrew Cagney aa8aac6823 Per Bothner as Java maintainer (joint). 2001-06-29 03:01:33 +00:00
Andrew Cagney a80163397d * rdi-share/unixcomm.c (SERIAL_PREFIX): Always provide a default.
* rdi-share/hostchan.h (__unix): Hack, provide a default value.
* rdi-share/host.h (__unix): Hack, define when __NetBSD__.
* TODO: Update.
* MAINTAINERS: Update.  arm-elf builds.
2001-06-29 01:19:23 +00:00
Geoffrey Keating 5e91c3b431 * cgen-asm.c (cgen_parse_keyword): Allow any first character.
* cgen-opc.c (cgen_keyword_add): Ignore special first
	character when building nonalpha_chars field.
2001-06-29 00:09:16 +00:00
gdbadmin 461b96748f *** empty log message *** 2001-06-29 00:00:02 +00:00
Jim Blandy bf93dfed85 * d10v-tdep.c (d10v_ts2_dmap_register): Doc fix. 2001-06-28 23:12:18 +00:00
Jim Blandy f5e1cf12f7 * d10v-tdep.c (10v_frame_chain_valid, d10v_use_struct_convention,
d10v_breakpoint_from_pc, d10v_register_byte,
d10v_register_raw_size, d10v_register_virtual_size,
d10v_register_virtual_type, d10v_register_convertible,
d10v_register_convert_to_virtual, d10v_register_convert_to_raw,
d10v_make_daddr, d10v_make_iaddr, d10v_daddr_p, d10v_iaddr_p,
d10v_convert_iaddr_to_raw, d10v_convert_daddr_to_raw,
d10v_store_struct_return, d10v_store_return_value,
d10v_extract_struct_value_address, d10v_frame_saved_pc,
d10v_saved_pc_after_call, d10v_pop_frame, d10v_skip_prologue,
d10v_frame_chain, d10v_frame_init_saved_regs,
d10v_init_extra_frame_info, d10v_read_pc, d10v_write_pc,
d10v_read_sp, d10v_write_sp, d10v_write_fp, d10v_read_fp,
d10v_push_return_address, d10v_push_arguments,
d10v_extract_return_value): Make these functions static.
2001-06-28 22:10:41 +00:00
Andrew Cagney 8afc772b05 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
of files to delete.
From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
* gdb.disasm/h8300s.exp: New file.
gdb.disasm/h8300s.s: Likewise.
2001-06-28 22:01:22 +00:00
Andrew Cagney 100a02e1de From Fernando Nasser:
* infrun.c (handle_inferior_event): Handle "nexti" inside function
prologues.
2001-06-28 21:48:41 +00:00
Michael Snyder 80b34fabd3 2001-06-28 Michael Snyder <msnyder@redhat.com>
* infrun.c (handle_inferior_event): Replace prev_pc test in all
	calls to bpstat_stop_status (removed in 1999-09-24).  This test
	helps distinguish stepping over a breakpoint trap from stepping
	thru a jump to the instruction after a breakpoint trap.
	(handle_inferior_event): Don't bother writing the PC if
	DECR_PC_AFTER_BREAK is zero (optimization).
	* breakpoint.c (bpstat_stop_status): Add comment explaining the
	purpose and usage of the "not_a_breakpoint" argument in computing
	the breakpoint address.
2001-06-28 21:34:03 +00:00
Andrew Cagney 1456ad8e67 From 2000-12-03 Stephane Carrez <Stephane.Carrez@worldnet.fr>:
* monitor.c (setmem_resp_delim_pattern): New regexp pattern.
(setreg_resp_delim_pattern): Likewise.
(setmem_resp_delim_fastmap): New buffer.
(setreg_resp_delim_fastmap): Likewise.
(monitor_open): Initialize above regexp if they are defined.
(monitor_write_memory): Use regexp to check the result of write.
(monitor_store_register): Likewise to check result of register set.
2001-06-28 20:03:10 +00:00
Andrew Cagney 399371f6c0 From 2000-06-14 John Marshall <john_w_marshall@palm.com>:
* coff-solib.c: Include symfile.h and objfiles.h to make
OBJF_SHARED visible.
2001-06-28 19:54:41 +00:00
Andrew Cagney d6ba65f6c1 Some how this never got removed when ChangeLog was created :-( 2001-06-28 19:14:22 +00:00
Andrew Cagney b0e2e90ab4 Build MI by default. 2001-06-28 19:04:10 +00:00
Alan Modra a6e9f9dfd0 * readelf.c (GET_DATA_ALLOC): Remove.
(GET_DATA): Remove.
	(get_data): New function combining above macros, with an extra
	test for zero size.
	Use get_data, and catch error return throughout file.
2001-06-28 13:58:36 +00:00
Joel Brobecker ad98fdaf51 Add entry for change in solib-osf.c (osf_in_dynsym_resolve_code). 2001-06-28 10:38:12 +00:00
Joel Brobecker b184b2876a (osf_in_dynsym_resolve_code): Add a comment explaining the consequences of
always returning zero. No code change.
2001-06-28 10:36:19 +00:00
Andrew Cagney 49dd83ba17 From 2001-06-08 Daniel Jacobowitz <djacobowitz@mvista.com>:
* defs.h (enum target_signal): Add TARGET_SIGNAL_REALTIME_65
to TARGET_SIGNAL_REALTIME_127.
* target.c (struct signals): Add SIG63 to SIG127.
(target_signal_from_host): Handle up to 127 signals.
(do_target_signal_to_host): Likewise.
2001-06-28 04:31:36 +00:00
Andrew Cagney 29372230ea * remote-sds.c (sds_start_remote): Change type of ``c'' to int
from possibly unsigned char.
2001-06-28 03:40:27 +00:00
Andrew Cagney a196c81c19 Exterminate ser-ocd.c. 2001-06-28 03:33:26 +00:00
Andrew Cagney f4c100a72c Dan Berlin stepped down as C++ maintainer. 2001-06-28 02:40:39 +00:00
Andrew Cagney e7745bde5c Sort write after approval. 2001-06-28 02:37:02 +00:00
gdbadmin 64fc7bdd68 *** empty log message *** 2001-06-28 00:00:05 +00:00
Andrew Cagney cff22675c6 For MI>0, output full breakpoint table header information. Output the
breakpoint table body as a list.
2001-06-27 17:27:08 +00:00
Nick Clifton 38b87a1b80 Do not set finalize_syms until after the segments have been sized.
Some backends may still need to access the syms's frags in order to
adjust relaxed frags.
2001-06-27 08:49:42 +00:00
Alan Modra 9f22353f5b * emulparams/hppa64linux.sh: New file.
* configure.tgt: hppa*64*-*-linux* uses hppa64linux.sh
	* Makefile.am (ALL_64_EMULATIONS): Add ehppa64linux.o
	(ehppa64linux.c): Add rule to make it.
	Run "make dep-am".
	* Makefile.in: Regenerate.
2001-06-27 08:42:29 +00:00
Nick Clifton d827344236 Use MVN to build simple inverted constants. 2001-06-27 08:15:52 +00:00
Alan Modra 1a16aca4b4 * write.c (fixup_segment <Difference of 2 syms same seg>): Don't
subtract MD_PCREL_FROM_SECTION for 68k.
	(fixup_segment <Difference of 2 syms different seg>): Only fudge
	by adding MD_PCREL_FROM_SECTION for 68k or if not already pcrel.
2001-06-27 07:02:24 +00:00
Alan Modra d48019e088 * write.c (fixup_segment <Difference of 2 syms same seg>): If
pcrel, subtract MD_PCREL_FROM_SECTION value.
2001-06-27 03:14:47 +00:00
Alan Modra 446f286313 Avoid creating COPY relocs.
* elf32-hppa.c (elf32_hppa_check_relocs): Don't make syms dynamic
	here..
	(elf32_hppa_adjust_dynamic_symbol): ..nor here..
	(allocate_plt_and_got_and_discard_relocs): .. instead do so here
	after gc has run.
	* elf32-hppa.c (RELATIVE_DYNAMIC_RELOCS): Delete.
	(IS_ABSOLUTE_RELOC): Define.
	(elf32_hppa_link_hash_entry): Always include reloc_entries field.
	(hppa_link_hash_newfunc): Always init it.
	(elf32_hppa_check_relocs): Mark symbols as ELF_LINK_NON_GOT_REF to
	create COPY relocs only when the reloc is in a read-only section.
	Instead, allocate space for a dynamic reloc to reference the
	library symbol directly.  Keep track of space we allocate using
	relocs_entries.
	(hppa_discard_copies): Delete, and move code to..
	(allocate_plt_and_got): ..here.  Rename to
	allocate_plt_and_got_and_discard_relocs.  Remove unneeded dynamic
	relocs for non-shared link.
	(elf32_hppa_size_dynamic_sections): Update calls to above.
	(elf32_hppa_relocate_section): Write out the dynamic relocs used
	in lieu of COPY relocs.
2001-06-27 02:42:09 +00:00
Alan Modra 5a15f56fea * elf32-i386.c (elf_i386_check_relocs): Don't make syms dynamic
here..
	(elf_i386_adjust_dynamic_symbol): ..nor here..
	(allocate_plt_and_got_and_discard_relocs): .. instead do so here
	after gc has run.
	(elf_i386_size_dynamic_sections): Fix a comment.
	(elf_i386_relocate_section <R_386_32, R_386_PC32>): Rearrange code
	involved in writing reloc out.
2001-06-27 01:46:17 +00:00
Andrew Cagney d7faa9e713 Always send the breakpoint table headers to ui-out. MI/CLI can
internally decide if they should be displayed.
2001-06-27 00:09:01 +00:00
gdbadmin 605121c0ec *** empty log message *** 2001-06-27 00:00:02 +00:00
Andrew Cagney 8eb6914741 delete reference to query output 2001-06-26 19:11:48 +00:00
Andrew Cagney dc61bc6d40 * mi-cmd-stack.c (list_args_or_locals): Output a list of "args" or
"locals" entries.
* gdbmi.texinfo (stack-list-locals, stack-list-arguments)
(exec-interrupt, target-select, thread-select): Update
documentation.
* mi-stack.exp: Update.  Output for args=... and
locals=... changed to a list.
2001-06-26 18:50:51 +00:00
Andrew Cagney d5e5643b98 * mi-cmd-stack.c (mi_cmd_stack_list_frames): Output a list of
"stack" entries.
(mi_cmd_stack_list_args): Ditto for "stack-args".
* gdbmi.texinfo (stack-list-frames, stack-list-arguments): Update
documentation.
(GDB/MI Stack Manipulation Commands): Fix section title.  Was
Stack Manipulation Commands in GDB/MI.
* mi-stack.exp: Update. Output for stack=..., args=... and
stack-args=... changed to a list.
2001-06-26 18:13:46 +00:00
Andrew Cagney 42a74a599a Unscramble two merged patches. This puts memory lists back to normal. 2001-06-26 05:12:37 +00:00
Andrew Cagney 68c81b5495 * stack.c (print_frame): For ui_out, output a list of arguments.
Update all tests.  Update doco.
2001-06-26 04:48:49 +00:00
Kevin Buettner 834091c8e9 Update paper trail entry. 2001-06-26 00:41:44 +00:00
Michael Snyder ef5cf84e21 2001-06-25 Michael Snyder <msnyder@redhat.com>
* infrun.c: Eliminate the "thread_step_needed" state variable,
	and replace it with a relatively simple test in resume.
	(resume): Replace thread_step_needed logic with a test for
	stepping, breakpoint_here_p and breakpoints_inserted.
	Move CANNOT_STEP_BREAKPOINT logic to after thread_step logic.
	(proceed): Discard thread_step_needed logic.
	(wait_for_inferior, fetch_inferior_event, handle_inferior_event):
	Discard thread_step_needed logic.
2001-06-26 00:26:42 +00:00
gdbadmin 36d4f36439 *** empty log message *** 2001-06-26 00:00:03 +00:00
Andrew Cagney 45399be4ec Update data-read-memory so that it outputs lists. 2001-06-25 21:05:11 +00:00
Andrew Cagney 80f43b40c5 For data-list-register-values output a list of register values. 2001-06-25 20:08:53 +00:00
Andrew Cagney 173d689456 Output register-names as a list. 2001-06-25 19:02:18 +00:00
Andrew Cagney 40d5d7e983 data-list-changed-registers outputs a list of registers. 2001-06-25 18:34:25 +00:00
Alan Modra 28d0b90eb7 * elf32-i386.c (elf_i386_check_relocs <R_386_32, R_386_PC32>):
Ensure syms are dynamic if we might be emitting a reloc.
	(allocate_plt_and_got_and_discard_relocs): Don't discard relocs
	for undefweak or undefined syms..
	(elf_i386_relocate_section <R_386_32, R_386_PC32>): .. and emit.
2001-06-25 08:16:44 +00:00
Ben Elliston 37ffda1076 2001-06-24 Ben Elliston <bje@redhat.com>
* stabs.c (generate_asm_file): Make local variable `len' a size_t.
2001-06-25 07:57:09 +00:00
Alan Modra af3fc3bcb3 * readelf.c (dump_relocations): Print "bad symbol index" if
symtab == NULL with non-zero symtab_index.
	(process_relocs): Don't bomb if reloc section has no symsec.
2001-06-25 03:30:26 +00:00