Commit Graph

42684 Commits

Author SHA1 Message Date
Daniel Jacobowitz 5544ad8993 * linux-low.c: Update copyright year.
(check_removed_breakpoint): Clear pending_is_breakpoint.
	(linux_set_resume_request, linux_queue_one_thread)
	(resume_status_pending_p): New functions.
	(linux_continue_one_thread): Use process->resume.
	(linux_resume): Only resume threads if there are no pending events.
	* linux-low.h (struct process_info): Add resume request
	pointer.
2004-01-31 22:19:32 +00:00
Daniel Jacobowitz 9709f61c0f * breakpoint.c (bpstat_stop_status): Remove not_a_sw_breakpoint
argument, and change first argument to a CORE_ADDR.
	* breakpoint.h (bpstat_stop_status): Update prototype.
	* infrun.c (adjust_pc_after_break): Add a new comment.
	(handle_inferior_event): Update calls to bpstat_stop_status.
2004-01-31 19:59:06 +00:00
Daniel Jacobowitz 4f1280bb71 * breakpoint.h: Update copyright years. 2004-01-31 19:24:18 +00:00
Daniel Jacobowitz 4fa8626cb3 * breakpoint.c (software_breakpoint_inserted_here_p): New function.
(bpstat_stop_status): Don't decrement PC.
	* breakpoint.h (software_breakpoint_inserted_here_p): Add
	prototype.
	* infrun.c (adjust_pc_after_break): New function.
	(handle_inferior_event): Call it, early.  Remove later references
	to DECR_PC_AFTER_BREAK.
	(normal_stop): Add commentary.
2004-01-31 19:18:13 +00:00
Daniel Jacobowitz fad0733a64 * breakpoint.c (breakpoint_re_set_one): Add missing chunk of
2004-01-27 double-free fix.
2004-01-31 18:14:08 +00:00
Daniel Jacobowitz abbab9d3eb * gdb.base/chng-syms.exp: Remove stray newline. 2004-01-31 18:11:25 +00:00
Mark Kettenis 42cdca6c41 * sparc-tdep.c (sparc_fetch_wcookie): New function.
(sparc32_frame_prev_register): Handle StackGhost.
(sparc_supply_rwindow, sparc_collect_rwindow): Likewise.
2004-01-31 15:42:24 +00:00
Mark Kettenis 53904d1e5f * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
*-*-openbsd*.
* gdb.asm/openbsd.inc: New file.
2004-01-31 14:32:24 +00:00
gdbadmin f7f58dbed2 *** empty log message *** 2004-01-31 00:00:33 +00:00
H.J. Lu 03609792ae 2004-01-30 H.J. Lu <hongjiu.lu@intel.com>
* elfxx-ia64.c (elfNN_ia64_relax_brl): New function.
	(elfNN_ia64_relax_section): Optimize brl to br during the relax
	finalize pass.
2004-01-30 23:13:28 +00:00
Alan Modra 5bbce64e0e daily update 2004-01-30 23:00:35 +00:00
Mark Kettenis 3a4b3aac5a * gdb.asm/asm-source.exp: Strip -Wl, from link-flags. Don't
append -static to link-flags for *-*-freebsd*, *-*netbsd* and
*-*solaris2*.  Remove commented out default settings for
asm-flags.  Replace gdb_compile with target_link.
2004-01-30 21:23:46 +00:00
Alexandre Oliva ea01195e38 * elf32-frv.c (elf32_frv_always_size_sections): Initialize pointer
to bfd_link_hash_entry passed by reference to
_bfd_generic_link_add_one_symbol.
2004-01-30 21:11:37 +00:00
Daniel Jacobowitz 2a68b70e96 * regcache.c (new_register_cache): Clear the allocated register
buffer.  Suggested by Atsushi Nemoto <anemo@mba.ocn.ne.jp>.
2004-01-30 15:08:57 +00:00
Michael Chastain ebac27b4c3 2004-01-29 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/inherit.exp: Rewrite.  Use gdb_test_multiple and gdb
	for all tests.  Remove old hp-ux and cygnus xfail cases.
2004-01-30 01:37:42 +00:00
gdbadmin 367b6c920c *** empty log message *** 2004-01-30 00:00:02 +00:00
Alan Modra 1a40fbf0f6 daily update 2004-01-29 23:00:06 +00:00
Roland McGrath 932d541674 . 2004-01-29 21:54:54 +00:00
Roland McGrath e7c61be38f 2004-01-29 Roland McGrath <roland@redhat.com>
* configure.in (NEW_PROC_API): Also match solaris2.9 for this test.
	* configure: Regenerated.
2004-01-29 21:54:34 +00:00
Roland McGrath 199587082a 2004-01-29 Roland McGrath <roland@redhat.com>
* procfs.c: Include gdb_string.h for str* decls, otherwise warnings.
	* Makefile.in (procfs.o): Add dep.
2004-01-29 21:54:22 +00:00
Paul N. Hilfinger d8679d841d New test to check that GDB does not crash due to memory corruption
when a reload caused by a change in an executable invalidates
a breakpoint condition.
2004-01-29 11:15:44 +00:00
Roland McGrath 481fedf372 . 2004-01-29 02:41:25 +00:00
Roland McGrath de302dfb20 2004-01-28 Roland McGrath <roland@redhat.com>
* common.h (AT_SECURE): New macro.
2004-01-29 02:41:18 +00:00
Roland McGrath 7e67eb11e5 . 2004-01-29 00:37:46 +00:00
Roland McGrath 56e4fcc9d2 2004-01-21 Roland McGrath <roland@redhat.com>
* common.h (AT_SUN_UID, AT_SUN_RUID, AT_SUN_GID): New macros.
	(AT_SUN_RGID, AT_SUN_LDELF, AT_SUN_LDSHDR, AT_SUN_LDNAME,
	AT_SUN_LPAGESZ, AT_SUN_PLATFORM, AT_SUN_HWCAP, AT_SUN_IFLUSH,
	AT_SUN_CPU, AT_SUN_EMUL_ENTRY, AT_SUN_EMUL_EXECFD,
	AT_SUN_EXECNAME) AT_SUN_MMU, AT_SUN_LDDATA): Likewise.
2004-01-29 00:37:41 +00:00
Roland McGrath 9d2410855d . 2004-01-29 00:27:46 +00:00
Roland McGrath 0de14b54fa 2004-01-21 Roland McGrath <roland@redhat.com>
* readelf.c (get_note_type): Match NT_AUXV.
2004-01-29 00:27:30 +00:00
gdbadmin 79cf253c04 *** empty log message *** 2004-01-29 00:00:02 +00:00
Andrew Cagney 47d3492a0e 2004-01-28 Andrew Cagney <cagney@redhat.com>
* tui/tui-stack.h: Update copyright.
	(struct frame_info): Add opaque declaration.
	(tui_update_locator_filename): Rename tuiUpdateLocatorFilename.
	(tui_show_locator_content): Rename tuiShowLocatorContent.
	(tui_show_frame_info): Rename tuiShowFrameInfo.
	* tui/tui-stack.c: Update copyright.  Update references.
	* tui/tui-winsource.c: Update references.
	* tui/tui-win.c: Update references.
	* tui/tui-layout.c: Update references.
	* tui/tui-hooks.c: Update copyright, update references.
	* tui/tui.c: Update copyright, update references.
	* tui/tui-disasm.c: Update references.
2004-01-28 23:16:50 +00:00
Alan Modra 98c6820a65 daily update 2004-01-28 23:00:07 +00:00
H.J. Lu 127cab001a 2004-01-28 H.J. Lu <hongjiu.lu@intel.com>
* config/tc-ia64.c (emit_one_bundle): Add proper indentation.
2004-01-28 23:00:02 +00:00
David Carlton 5d51ca5457 2004-01-28 David Carlton <carlton@kealia.com>
* dwarf2read.c (add_partial_structure): Use demangled name if
	namespace equals "".
2004-01-28 18:43:06 +00:00
Alan Modra 586196d51c * genscripts.sh: Fix typo. 2004-01-28 13:42:26 +00:00
Alan Modra 1dd3bf6876 * genscripts.sh: Apply $LIBPATH_SUFFIX to $tool_lib and $libdir too. 2004-01-28 13:31:30 +00:00
Jim Blandy 2a35147e4a * dwarf2read.c (read_func_scope): Re-indent comment. 2004-01-28 04:05:22 +00:00
Jim Blandy 086ed43dbd Clean up misapplied patch:
* dwarf2read.c (determine_prefix): Change one of the two forward
declarations for 'determine_prefix_aux' to a declaration for this.
(read_func_scope): Use cu->language, not cu_language.  Pass 'cu'
argument to 'die_specification'.
2004-01-28 04:02:52 +00:00
Andrew Cagney a355c7de35 2004-01-27 Paul N. Hilfinger <hilfinger@gnat.com>
* breakpoint.c (breakpoint_re_set_one): Set b->cond, b->val, and
	b->exp to NULL after freeing so that error during re-parsing or
	evaluation of expressions associated with breakpoint don't
	eventually lead to re-freeing of storage.
	Committed by Andrew Cagney.
2004-01-28 01:39:51 +00:00
Michael Snyder 17707c23a8 2004-01-27 Michael Snyder <msnyder@redhat.com>
* sh-opc.h (sh_table): "fsrra", not "fssra".
2004-01-28 00:05:47 +00:00
gdbadmin a9991af858 *** empty log message *** 2004-01-28 00:00:32 +00:00
Michael Snyder 0145ab2e52 2004-01-27 Michael Snyder <msnyder@redhat.com>
* gencode.c: (op tab): Some refs and defs fixes.
	"fsrra" -> "fsrra <FREG_N>".
        "sleep": replace array ref with array addr.
        "trapa": ditto.
2004-01-27 23:30:01 +00:00
Michael Snyder 4ae0cff4ca 2004-01-27 Michael Snyder <msnyder@redhat.com>
* gencode.c: Comment and whitespace clean-ups.
2004-01-27 23:23:57 +00:00
Andrew Cagney 63ff5125e3 2004-01-27 Andrew Cagney <cagney@redhat.com>
* source.c (ambiguous_line_spec): Delete undefined declaration.
	* m32r-rom.c (m32r_set_board_address): Delete unused function.
	(m32r_set_server_address, m32r_set_download_path): Ditto.
	* remote-fileio.c (remote_fileio_to_fio_int): Ditto.
2004-01-27 23:19:51 +00:00
Alan Modra 26b24bd6a7 daily update 2004-01-27 23:00:05 +00:00
Elena Zannoni 5af408ce2f 2004-01-27 Elena Zannoni <ezannoni@redhat.com>
Merge in official patches to readline-4.3 from
	ftp://ftp.cwru.edu/pub/bash/readline-4.3-patches:
	NOTE: Patch-ID readline-43-004 was already applied (see below).

	* bind.c (rl_generic_bind): Pressing certain key sequences
	causes an infinite loop in _rl_dispatch_subseq with the `key' argument
	set to 256.  This eventually causes bash to exceed the stack size
	limit and crash with a segmentation violation.
	Patch-ID: readline43-001.

	* readline.c (_rl_dispatch_subseq): Repeating an edit in
	vi-mode with `.' does not work.
	Patch-ID: readline43-002.

	* mbutil.c (_rl_get_char_len, _rl_compare_chars,
	_rl_adjust_point): When in a locale with multibyte characters, the
	readline display updater will occasionally cause a
	segmentation fault when attempting to compute the length of the first
	multibyte character on the line.
	Patch-ID: readline43-003.

	* vi_mode.c (_rl_vi_change_mbchar_case): Using the vi editing
	mode's case-changing commands in a locale with multibyte characters
	will cause garbage characters to be inserted into the editing buffer.
	Patch-ID: readline43-005.
2004-01-27 22:25:15 +00:00
Daniel Jacobowitz e142c38c71 * dwarf2read.c: Update calls to changed and renamed functions, and
references to moved variables.

	(struct dwarf2_cu): Add first_fn, last_fn, cached_fn,
	language, language_defn, list_in_scope, and ftypes members.
	(cu_first_fn, cu_last_fn, cu_cached_fn, cu_language)
	(cu_language_defn, list_in_scope, ftypes, cu_header_offset)
	(baseaddr): Remove globals.

	(dwarf_attr): Renamed to dwarf2_attr.  Add CU argument.
	(set_cu_language, die_is_declaration, die_specification)
	(determine_prefix, determin_prefix_aux, class_name, namespace_name)
	(dwarf2_linkage_name, dwarf2_name, dwarf2_extension)
	(dwarf2_get_ref_die_offset, dwarf2_fundamental_type)
	(initialize_cu_func_list, add_to_cu_func_list): Add CU argument.

	(dwarf2_build_psymtabs_hard): Add local baseaddr.  Initialize
	cu.list_in_scope.  Don't initialize cu_header_offset.
	(add_partial_symbol): Add local baseaddr.
	(psymtab_to_symtab_1): Add local baseaddr.  Use
	objfile->section_offsets for consistency.  Don't initialize
	cu_header_offset; do initialize cu.header.offset and
	cu.list_in_scope.
	(read_file_scope, read_func_scope, read_lexical_block_scope)
	(dwarf_decode_lines, new_symbol): Add local baseaddr.
2004-01-27 20:47:20 +00:00
Michael Chastain fb328ecc90 Fix capitalization in my last ChangeLog entry.
"Add".
2004-01-27 14:07:02 +00:00
Andrew Cagney 54273454d0 2004-01-27 Andrew Cagney <cagney@redhat.com>
* ppc-instructions: Update copyright.
	(convert_to_integer): Add trailing ";" to label.
2004-01-27 13:21:09 +00:00
Michael Chastain c6e06edef4 2004-01-27 Michael Chastain <mec.gnu@mindspring.com>
* PROBLEMS: add gdb/1516.
2004-01-27 09:46:16 +00:00
Andrew Cagney 48184fd4b3 2003-12-29 Robert Millan <robertmh@gnu.org>
Patch committed by Andrw Cagney.
	* configure.host: Match knetbsd*-gnu and kfreebsd*-gnu.
	* configure.tgt: Match knetbsd*-gnu.
2004-01-27 04:10:38 +00:00
Andrew Cagney f3699be3e9 2004-01-26 Andrew Cagney <cagney@redhat.com>
* breakpoint.c (catch_command_1): Delete #ifdef code.
	(catch_fork_command_1): Delete #ifdef wrapper.
	(catch_exec_command_1): Ditto.
	(catch_load_command_1): Ditto.
	(catch_unload_command_1): Ditto.
2004-01-27 03:13:34 +00:00