Commit Graph

43210 Commits

Author SHA1 Message Date
Andrew Cagney 168efedae1 Branch didn't get cut, remove reference. 2004-02-29 03:39:04 +00:00
Andrew Cagney 01cf0b9f2c Fix tipo. 2004-02-29 02:59:16 +00:00
Daniel Jacobowitz 7574fd5374 * gdb.base/relocate.c (dummy): Initialize. 2004-02-29 02:58:28 +00:00
Andrew Cagney faae5abe9a 2004-02-28 Andrew Cagney <cagney@redhat.com>
* NEWS: Refer to GDB 6.1.
	* README: Refer to GDB 6.1.
	* PROBLEMS: Refer to GDB 6.1.

Index: doc/ChangeLog
2004-02-28  Andrew Cagney  <cagney@redhat.com>

	* gdb.texinfo (Contributors): Mention GDB 6.1 release engineer.
2004-02-29 02:57:24 +00:00
Daniel Jacobowitz a195357fd2 * gdb.base/chng-syms.exp: Anchor exit pattern. Allow
a breakpoint at exit.
2004-02-29 02:55:21 +00:00
Daniel Jacobowitz 2227a3c550 * thread-db.c (disable_thread_signals): Remove unused function. 2004-02-29 02:39:47 +00:00
Andrew Cagney 7a3ccebe9b Oops, move branch message to correct position. 2004-02-29 02:16:56 +00:00
Andrew Cagney ae92b7d67a GDB 6.1 branch created. 2004-02-29 02:09:34 +00:00
gdbadmin 0f0f2dd5b5 *** empty log message *** 2004-02-29 00:00:02 +00:00
Alan Modra 75fba9fba7 daily update 2004-02-28 23:00:05 +00:00
Nathanael Nerode 3dee29daf4 PR bootstrap/7087
* Makefile.tpl: Guard XFOO sed statements better.
	* Makefile.tpl: Add dependency for configure-target-libada.
	* Makefile.in: Regenerate (incidentally fixes broken
	commit when libada-branch was merged).
2004-02-28 22:03:47 +00:00
Mark Kettenis 041bd74ba6 * amd64-nat.c: Include "gdb_string.h".
(amd64_collect_native_gregset): Zero-extend the 32-bit
general-purpose registers and %eip.
2004-02-28 21:55:48 +00:00
Andrew Cagney 0558264b6b 2004-02-28 Andrew Cagney <cagney@redhat.com>
* src-release (CVS_NAMES): Define.
	(do-tar, do-tar): Prune $(CVS_NAMES).
2004-02-28 21:52:04 +00:00
Mark Kettenis 3c017e4024 * amd64-tdep.h: (amd64_collect_fxsave): New prototype.
* amd64-tdep.c (amd64_collect_fxsave): New function.
(amd64_fill_fxsave): Simply call amd64_collect_fxsave.
2004-02-28 20:48:57 +00:00
Mark Kettenis 80571bffe3 * i387-tdep.h: Update copyright year.
(i387_collect_fxsave): New prototype.
* i387-tdep.c: Update copyright year.
(i387_collect_fxsave): New function containing most of the code
from i387_fill_fxsave.
(i387_fill_fxsave): Call i387_collect_fxsave.
2004-02-28 20:43:51 +00:00
Andrew Cagney 50d71875b9 2004-02-28 Andrew Cagney <cagney@redhat.com>
* amd64-linux-nat.c (ps_get_thread_area): When architecture is
	i386 use PTRACE_GET_THREAD_AREA.  Suggested by Roland McGrath.
2004-02-28 19:38:21 +00:00
Andrew Cagney b6d42148e9 Oops, wrong patch :-( 2004-02-28 18:54:31 +00:00
Andrew Cagney 394023e238 2004-02-28 Andrew Cagney <cagney@redhat.com>
* amd64-linux-nat.c (ps_get_thread_area): When architecture is
	i386 use PTRACE_GET_THREAD_AREA.  Suggested by Roland McGrath.
2004-02-28 18:52:19 +00:00
Mark Kettenis 4a28816e79 * amd64-tdep.c (amd64_frame_cache): Fix comment. 2004-02-28 18:07:58 +00:00
Andrew Cagney dbda997201 2004-02-28 Andrew Cagney <cagney@redhat.com>
* utils.c: Use "", instead of <>, to include readline.
	tui/tui-win.c, tui/tui.c, tui/tui-hooks.c: Ditto.
	* tracepoint.c, top.c, symmisc.c, symfile.c: Ditto.
	* source.c, solib.c, exec.c, event-top.c: Ditto.
	* corelow.c, completer.c, cli/cli-setshow.c: Ditto.
	* cli/cli-dump.c, cli/cli-cmds.c: Ditto.
	* Makefile.in: Update all dependencies.
	(readline_tilde_h, readline_history_h): Define.
	(readline_headers): Delete.
2004-02-28 18:04:37 +00:00
Mark Kettenis 91ae43031c * config/djgpp/fnchange.lst: Rename "config/i386/nm-linux64.h" to
"config/i386/nm-lx64.h" and "config/i386/tm-linux64.h" to
"config/i386/tm-lx64.h".
2004-02-28 18:01:48 +00:00
Mark Kettenis 83277a992f * config/djgpp/fnchange.lst: Rename "amd64-linux-tdep.c" to
"amd64-ltdep.c" and "amd64-linux-nat.c" to "amd64-lnat.c".  Remove
rules for "x86-64-linux-tdep.c" and "x86-64-linux-nat.c".
2004-02-28 17:55:39 +00:00
Andrew Cagney ecc9ac844c 2004-02-28 Andrew Cagney <cagney@redhat.com>
* dwarf2-frame.h (struct gdbarch): Add opaque declaration.
2004-02-28 16:59:32 +00:00
Andrew Cagney 6e1d7d6c23 2004-02-28 Andrew Cagney <cagney@redhat.com>
* breakpoint.c (_initialize_breakpoint): Use
	"add_setshow_auto_boolean_cmd.  Better word-wrap help messages.
	Add help to show command.
2004-02-28 16:56:12 +00:00
Mark Kettenis 7fa2737c9e * i386-nat.c: Reformat to be closer to coding standards.
(i386_handle_nonaligned_watchpoint): Rename local variable `rv' to
`retval'.  Make variables `align' and `size' local to while-loop.
(i386_stopped_data_address): Rename local variable `ret' to `addr'.
(_initialize_i386_nat): New prototype.
2004-02-28 15:38:04 +00:00
Mark Kettenis 9671aeef93 * tui/tui.c: Include <readline/readline.h> instead of
"readline/readline.h".  Include it after <term.h> and
"gdb_curses.h".
2004-02-28 15:02:35 +00:00
Fred Fish 72fd54a966 Reviewed and approved by drow@false.org.
2004-02-27  Fred Fish  <fnf@redhat.com>
	* gdb.base/chng-syms.exp: Add expect condition to match failing
	case that isn't a timeout.
2004-02-28 05:40:46 +00:00
Alexandre Oliva ec3391e704 * elf-bfd.h (struct elf_backend_data): Added
elf_backend_can_make_relative_eh_frame,
elf_backend_can_make_lsda_relative_eh_frame and
elf_backend_encode_eh_address.
(_bfd_elf_encode_eh_address): Declare.
(_bfd_elf_can_make_relative): Declare.
* elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Use new
hooks to decide whether to attempt to make_relative and
make_lsda_relative.
(_bfd_elf_write_section_eh_frame_hdr): Call encode_eh_address.
(_bfd_elf_can_make_relative): New.
(_bfd_elf_encode_eh_address): New.
* elf32-frv.c (frv_elf_use_relative_eh_frame): New.
(frv_elf_encode_eh_address): New.
(elf_backend_can_make_relative_eh_frame): Define.
(elf_backend_can_make_lsda_relative_eh_frame): Define.
(elf_backend_encode_eh_address): Define.
* elfxx-target.h
(elf_backend_can_make_relative_eh_frame): Define.
(elf_backend_can_make_lsda_relative_eh_frame): Define.
(elf_backend_encode_eh_address): Define.
(elfNN_bed): Add them.
2004-02-28 00:35:45 +00:00
Alexandre Oliva e6deed0a00 * elf32-frv.c (elf32_frv_howto_table) <R_FRV_LABEL16>: Set
complain_on_overflow to signed.
2004-02-28 00:33:33 +00:00
gdbadmin 65592fb1e5 *** empty log message *** 2004-02-28 00:00:33 +00:00
Alan Modra 8c9c8ebf32 daily update 2004-02-27 23:00:04 +00:00
Andrew Cagney 412275d567 2004-02-27 Andrew Cagney <cagney@redhat.com>
* hppa-tdep.c (hppa_gdbarch_init): On 32-bit systems always use
	the new frame unwind code.
	(hppa_frame_cache): Use PCOQ_HEAD_REGNUM instead of PC_REGNUM.
	(hppa_frame_prev_register): Compute PCOQ_TAIL_REGNUM from
	PCOQ_HEAD_REGNUM.
2004-02-27 21:47:53 +00:00
Andrew Cagney fca7aa43b0 Index: ChangeLog
2004-02-27  Andrew Cagney  <cagney@redhat.com>

	* hppa-tdep.c (hppa_gdbarch_init): On 32-bit systems always
	"return_value" and "push_dummy_call".
	(hppa32_use_struct_convention): Delete unused function.
	(hppa32_store_return_value): Delete unused function.
	(hppa32_extract_return_value): Delete unused function.
	(hppa32_stack_align): Delete function.
2004-02-27 19:06:16 +00:00
Eli Zaretskii e6a8a7d2ae 2004-02-27 Eli Zaretskii <eliz@elta.co.il>
* coffread.c (enter_linenos): Don't let rawptr reference memory
	outside linetab[]'s limits.
2004-02-27 17:46:11 +00:00
H.J. Lu b60d7a1a49 2004-02-27 H.J. Lu <hongjiu.lu@intel.com>
* elflink.h (sort_symbol): New.
	(elf_link_add_object_symbols): Use a sorted symbol array for
	weakdef.
2004-02-27 17:02:48 +00:00
Andrew Cagney b9d2313780 2004-02-27 Andrew Cagney <cagney@redhat.com>
* gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile
	support.
2004-02-27 16:48:03 +00:00
Andrew Cagney 1797a8f623 2004-02-27 Andrew Cagney <cagney@redhat.com>
* hppa-tdep.c (hppa32_push_dummy_call): Fix code reserving
	inferior stack space - the stack needs to grow upwards.
	(hppa32_frame_align): New function.
	(hppa64_frame_align): Replace hppa_frame_align.
	(hppa_gdbarch_init): Update.
2004-02-27 16:38:39 +00:00
Joern Rennecke ce11586c0b 2004-02-26 Andrew Stubbs <andrew.stubbs@superh.com>
* sh-opc.h: Move fsca and fsrra instructions from sh4a to sh4.
	Also correct mistake in the comment.
2004-02-27 14:17:36 +00:00
Nick Clifton bd337dde66 Add -no-bitinst switch for M32R2 2004-02-27 14:13:18 +00:00
Nick Clifton 7887817579 Undo previous delta
Fix underlying problem by changing the order of tests of rel->howto.
2004-02-27 13:16:39 +00:00
Orjan Friberg 2e4b588910 2004-02-26 Orjan Friberg <orjanf@axis.com>
* cris-tdep.c (frame_unwind.h, frame-base.h, trad-frame.h)
	(dwarf2-frame.h): Include.
	(enum cris_regnums): New enum CRIS_FP_REGNUM.
	Remove static variables related to ABI setting.
	(struct gdbarch_tdep): Remove cris_abi member.
	(struct frame_extra_info): Remove.
	(cris_unwind_cache, stack_item): New structs.
	(cris_frame_unwind, cris_frame_base): New variables.
	(push_stack_item, pop_stack_item)
	(cris_frame_unwind_cache, cris_frame_this_id)
	(cris_frame_prev_register, cris_unwind_dummy_id, cris_frame_align)
	(cris_push_dummy_code, cris_push_dummy_call, cris_frame_sniffer)
	(cris_frame_base_address, cris_scan_prologue, cris_unwind_pc)
	(cris_unwind_sp, cris_store_return_value, cris_extract_return_value)
	(cris_reg_struct_has_addr): New functions.
	(cris_examine, cris_frame_init_saved_regs, cris_frame_chain)
	(cris_frame_saved_pc, cris_saved_pc_after_call,
	(cris_store_struct_return, cris_frameless_function_invocation)
	(cris_pop_frame, cris_skip_prologue_main)
	(cris_abi_original_store_return_value)
	(cris_abi_v2_store_return_value)
	(cris_abi_original_extract_return_value)
	(cris_abi_v2_extract_return_value)
	(cris_abi_original_reg_struct_has_addr)
	(cris_abi_v2_reg_struct_has_addr)
	(cris_abi_original_push_arguments, cris_abi_v2_push_arguments)
	(cris_push_return_address, cris_abi_update): Remove.
	(_initialize_cris_tdep): Remove ABI command.
	(cris_dump_tdep): Ditto.
	(cris_gdbarch_init): Remove ABI command.
	Set store_return_value, extract_return_value, push_dummy_code,
	push_dummy_call, frame_align, unwind_pc, unwind_sp, unwind_dummy_id,
	frame_unwind_append_sniffer, frame_base_set_default.
	Clear deprecated init_frame_pc, push_arguments, store_return_value,
	extract_return_value, fp_regnum, pc_in_call_dummy, call_dummy_words,
	sizeof_call_dummy_words, get_saved_register, push_return_address,
	pop_frame, store_struct_return, frame_init_saved_regs,
	init_extra_frame_info, frameless_function_invocation, frame_chain,
	frame_saved_pc, saved_pc_after_call, save_dummy_frame_tos,
	dummy_write_sp.
2004-02-27 12:39:26 +00:00
Martin Schwidefsky 1d6d62a482 * config/tc-s390.c (s390_insn): Correct range check for opcode in
.insn pseudo operation.
2004-02-27 12:33:11 +00:00
Nick Clifton 4aa3e325e0 Fix seg fault on erroneous input 2004-02-27 12:21:57 +00:00
Andreas Schwab af865222e0 * ar.c (main): Support POSIX-compatible argument parsing.
testsuite:
	* binutils-all/ar.exp (argument_parsing): New test.
2004-02-27 11:04:36 +00:00
Martin Schwidefsky 1c3ff0f2a5 * elf32-s390.c (allocate_dynrelocs): Use SYMBOL_REFERENCES_LOCAL
for pc relative relocs.
	(elf_s390_relocate_section): Likewise.
	* elf64-s390.c (allocate_dynrelocs): Use SYMBOL_REFERENCES_LOCAL
	for pc relative relocs.
	(elf_s390_relocate_section): Likewise.
2004-02-27 10:03:05 +00:00
Jeff Johnston 6b9acc27a9 2004-02-26 Jeff Johnston <jjohnstn@redhat.com>
* valprint.h (print_hex_chars, print_char_chars): New prototypes.
        * valprint.c (print_hex_chars): Change from static to external.
        (print_char_chars): New function.
        * printcmd.c (print_scalar_formatted): For integer and enum types
        that are longer than LONGEST, perform processing via appropriate
        print_*_chars routines.
2004-02-27 00:01:14 +00:00
gdbadmin e99183ebed *** empty log message *** 2004-02-27 00:00:02 +00:00
Andrew Cagney a431654a6d Index: ChangeLog
2004-02-26  Andrew Cagney  <cagney@redhat.com>

	* Makefile.in: Update dependencies.
	Changes from Ulrich Weigand,
	* s390-tdep.c: Include "dwarf2-frame.h".
	(s390_dwarf2_frame_init_reg): New function.
	(s390_gdbarch_init): Install dwarf2_frame_sniffer and
	dwarf2_frame_base_sniffer.  Call dwarf2_frame_set_init_reg.
2004-02-26 23:48:01 +00:00
Jeff Johnston fa8d40aba5 2004-02-26 Jeff Johnston <jjohnstn@redhat.com>
* breakpoint.c (pending_break_support): New setting variable.
        (break_command_1): Account for pending_break_support setting
        when creating pending breakpoints.
        (set_breakpoint_cmd, show_breakpoint_cmd): New functions.
        (_initialize_breakpoint): Add "set breakpoint pending" and
        "show breakpoint pending" commands.
2004-02-26 23:46:47 +00:00
Jeff Johnston dd79a6cf0b 2004-02-26 Jeff Johnston <jjohnstn@redhat.com>
* gdb.texinfo (breakpoints): Add information about the
        new "set breakpoint pending" and "show breakpoint pending"
        commands.
2004-02-26 23:21:23 +00:00