Jeff Johnston [Tue, 3 Feb 2004 00:05:49 +0000 (00:05 +0000)]
2004-02-02 Jeff Johnston <jjohnstn@redhat.com>
* COPYING.NEWLIB: Update Red Hat license to 2004.
gdbadmin [Tue, 3 Feb 2004 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Mon, 2 Feb 2004 23:00:06 +0000 (23:00 +0000)]
daily update
Mark Kettenis [Mon, 2 Feb 2004 22:00:14 +0000 (22:00 +0000)]
* dwarf2-frame.c (dwarf2_frame_cache): Deal with a return address
column that's "empty" or "same value" when eliminating REG_RA
rules.
Fred Fish [Mon, 2 Feb 2004 21:30:02 +0000 (21:30 +0000)]
Reviewed and approved by drow@mvista.com.
2004-02-02 Fred Fish <fnf@redhat.com>
* gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
remote targets. Update copyright years.
Jeff Johnston [Mon, 2 Feb 2004 21:14:33 +0000 (21:14 +0000)]
2004-02-02 Jeff Johnston <jjohnstn@redhat.com>
* lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
support.
* gdb.base/langs.exp: Fix test which attempts to create
breakpoint on non-existent function to handle new pending
support.
* gdb.base/shlib-call.exp: Use gdb_breakpoint to set
a breakpoint.
* gdb.base/pending.exp: New test.
* gdb.base/pending.c: New file.
* gdb.base/pendshr.c: Ditto.
Jeff Johnston [Mon, 2 Feb 2004 21:10:49 +0000 (21:10 +0000)]
2004-02-02 Jeff Johnston <jjohnstn@redhat.com>
* breakpoint.h (struct breakpoint): Add new flag, from_tty,
and pending fields for pending breakpoint support.
* breakpoint.c (breakpoint_enabled): Add check for not pending.
(condition_command): Only parse condition if not a pending
breakpoint.
(print_one_breakpoint): Add support for pending breakpoints.
(describe_other_breakpoints): Add checks to verify we are not
dealing with pending breakpoints.
(check_duplicates): Don't check pending breakpoints.
(set_raw_breakpoint): Initialize pending flag.
(do_restore_lang_radix_cleanup): New cleanup routine.
(resolve_pending_breakpoint): New function.
(re_enable_breakpoints_in_shlibs): Try and resolve any
pending breakpoints via resolve_pending_breakpoint.
(mention): Add pending breakpoint support.
(parse_breakpoint_sals): Add new parameter to pass to
decode_line_1 to indicate silent errors when files or functions
are not found. Change all callers.
(do_captured_parse_breakpoint): New function.
(break_command_1): Change prototype to return an rc value and to
take an optional pending breakpoint pointer. Support creating
a pending breakpoint if a "not found" form of error occurs when
parsing the breakpoint. Also support resolving an existing pending
breakpoint and be silent if the resolution fails.
(create_breakpoints): Change prototype to take pending breakpoint
pointer. When resolving a pending breakpoint, use the new pointer
to provide a conditional or commands added by the end-user.
(delete_breakpoint): Add appropriate check for pending.
(breakpoint_re_set_one): Ditto.
(do_enable_breakpoint): Ditto.
Jeff Johnston [Mon, 2 Feb 2004 21:07:53 +0000 (21:07 +0000)]
2004-02-02 Jeff Johnston <jjohnstn@redhat.com>
* gdb.texinfo (Breakpoints): Add information about pending
breakpoint support.
David Carlton [Mon, 2 Feb 2004 20:44:53 +0000 (20:44 +0000)]
2004-02-02 David Carlton <carlton@kealia.com>
* valops.c (enum oload_classification): New.
(find_overload_match): Break implementation into separate
functions; delete #if 0'd code; look for symbols within
namespaces.
(find_oload_champ_namespace,find_oload_champ_namespace_loop)
(find_oload_champ,oload_method_static,classify_oload_match): New.
* cp-support.h: Add declaration for cp_func_name; update
declaration for make_symbol_overload_list.
* cp-support.c (cp_func_name): New.
(overload_list_add_symbol): Fix comment, use
SYMBOL_LINKAGE_NAME and SYMBOL_NATURAL_NAME.
(make_symbol_overload_list): Take a function name and a namespace
instead of a symbol; change implementation.
(make_symbol_overload_list_using): New.
(make_symbol_overload_list_qualified, read_in_psymtabs): New.
2004-02-02 David Carlton <carlton@kealia.com>
* gdb.cp/overload.exp: Add overloadNamespace tests.
* gdb.cp/overload.cc (dummyClass, dummyInstance): New.
(overloadNamespace, XXX): New.
(main): Call XXX::marker2.
Fred Fish [Mon, 2 Feb 2004 16:16:09 +0000 (16:16 +0000)]
Forgot copyright updates in previous checkin
Fred Fish [Mon, 2 Feb 2004 16:14:36 +0000 (16:14 +0000)]
Forgot to update copyrights in previous check in.
Fred Fish [Mon, 2 Feb 2004 16:12:49 +0000 (16:12 +0000)]
Reviewed and approved by cagney@redhat.com.
2004-02-02 Fred Fish <fnf@redhat.com>
* main.c (gdb_stdtarg): Move definition to group with other
gdb_stdtarg definitions.
* remote-sim.c (gdb_os_write_stderr): Write output to
gdb_stdtargerr stream instead of gdb_stdtarg stream.
(gdb_os_flush_stderr): Flush gdb_stdtargerr steam instead of
gdb_stderr stream.
Fred Fish [Mon, 2 Feb 2004 16:07:26 +0000 (16:07 +0000)]
Fix typo in comment
Maciej W. Rozycki [Mon, 2 Feb 2004 12:48:21 +0000 (12:48 +0000)]
gas/
* config/tc-mips.c (add_got_offset_hilo): New function.
(macro): Use load_register() and add_got_offset_hilo() to load
constants instead of hardcoding code sequences throughout.
gas/testsuite/
* gas/mips/div.d: Update to accomodate changes in macro
expansions.
gas/mips/elf-rel-got-n32.d: Likewise.
gas/mips/elf-rel-got-n64.d: Likewise.
gas/mips/elf-rel-xgot-n32.d: Likewise.
gas/mips/elf-rel-xgot-n64.d: Likewise.
gas/mips/la-svr4pic.d: Likewise.
gas/mips/la-xgot.d: Likewise.
gas/mips/lca-svr4pic.d: Likewise.
gas/mips/lca-xgot.d: Likewise.
Fred Fish [Mon, 2 Feb 2004 05:15:27 +0000 (05:15 +0000)]
Reviewed and approved by drow@mvista.com:
2004-02-01 Fred Fish <fnf@redhat.com>
* gdb.base/dump.exp: Use runto_main instead of "runto main".
* gdb.base/finish.exp: Ditto.
* gdb.base/gcore.exp: Ditto.
* gdb.base/huge.exp: Ditto.
* gdb.base/info-proc.exp: Ditto.
* gdb.base/return2.exp: Ditto.
* gdb.threads/gcore-thread.exp: Ditto.
Daniel Jacobowitz [Mon, 2 Feb 2004 03:12:32 +0000 (03:12 +0000)]
* Makefile.in (mips-linux-nat.o): Update dependencies.
* mips-linux-nat.c: Include mips-tdep.h.
Daniel Jacobowitz [Mon, 2 Feb 2004 01:57:56 +0000 (01:57 +0000)]
* gdb.threads/thread-specific.exp: Add missing anchor to regexp.
gdbadmin [Mon, 2 Feb 2004 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sun, 1 Feb 2004 23:00:06 +0000 (23:00 +0000)]
daily update
Kaz Kojima [Sun, 1 Feb 2004 22:59:43 +0000 (22:59 +0000)]
* gas/sh/sh4a-fp.d: Fix opcode name fssra to fsrra.
* gas/sh/sh4a-fp.s: Likewise.
* gas/sh/err-sh4a-fp.s: Likewise.
Roland McGrath [Sun, 1 Feb 2004 22:35:35 +0000 (22:35 +0000)]
.
Roland McGrath [Sun, 1 Feb 2004 22:35:28 +0000 (22:35 +0000)]
2004-01-28 Roland McGrath <roland@redhat.com>
* sol-thread.c (sol_thread_xfer_partial): New function.
(init_sol_thread_ops): Use that for to_xfer_partial hook.
(init_sol_core_ops): Likewise.
Roland McGrath [Sun, 1 Feb 2004 22:35:24 +0000 (22:35 +0000)]
2004-01-28 Roland McGrath <roland@redhat.com>
* auxv.h: New file.
* auxv.c: New file.
* Makefile.in (auxv_h): New variable.
(COMMON_OBS): Add auxv.o here.
(auxv.o): New target.
Roland McGrath [Sun, 1 Feb 2004 22:35:22 +0000 (22:35 +0000)]
2004-01-28 Roland McGrath <roland@redhat.com>
* config/nm-linux.h (NATIVE_XFER_AUXV): New macro, uses auxv.c's
procfs_xfer_auxv function.
Roland McGrath [Sun, 1 Feb 2004 22:35:20 +0000 (22:35 +0000)]
2004-01-28 Roland McGrath <roland@redhat.com>
* corelow.c (core_xfer_partial): New function.
(init_core_ops): Use it for core_ops.to_xfer_partial.
Roland McGrath [Sun, 1 Feb 2004 22:35:15 +0000 (22:35 +0000)]
2004-01-28 Roland McGrath <roland@redhat.com>
* procfs.c (procfs_make_note_section): If we can read
TARGET_OBJECT_AUXV data, add an NT_AUXV note containing it.
* linux-proc.c (linux_make_note_section): Likewise.
Roland McGrath [Sun, 1 Feb 2004 22:35:13 +0000 (22:35 +0000)]
2004-01-28 Roland McGrath <roland@redhat.com>
* procfs.c (procfs_xfer_partial): New function.
(init_procfs_ops): Use that for procfs_ops.to_xfer_partial.
* Makefile.in (procfs.o): Add $(auxv_h) dep.
* procfs.c (procfs_make_note_section): If we can read
TARGET_OBJECT_AUXV data, add an NT_AUXV note containing it.
* linux-proc.c (linux_make_note_section): Likewise.
Roland McGrath [Sun, 1 Feb 2004 22:35:10 +0000 (22:35 +0000)]
2004-01-28 Roland McGrath <roland@redhat.com>
* target.h (enum target_object): Add TARGET_OBJECT_AUXV.
* inftarg.c (child_xfer_partial): Support it using NATIVE_XFER_AUXV
macro if that is defined.
Roland McGrath [Sun, 1 Feb 2004 22:35:08 +0000 (22:35 +0000)]
2004-01-28 Roland McGrath <roland@redhat.com>
* procfs.c (procfs_xfer_partial): New function.
(init_procfs_ops): Use that for procfs_ops.to_xfer_partial.
* Makefile.in (procfs.o): Add $(auxv_h) dep.
* auxv.h: New file.
* auxv.c: New file.
* Makefile.in (auxv_h): New variable.
(COMMON_OBS): Add auxv.o here.
(auxv.o): New target.
Mark Kettenis [Sun, 1 Feb 2004 18:51:29 +0000 (18:51 +0000)]
* gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
that opening the file succeeds on OpenBSD.
Daniel Jacobowitz [Sun, 1 Feb 2004 18:05:09 +0000 (18:05 +0000)]
* breakpoint.c (bpstat_stop_status): Take a ptid_t argument,
and check the specified thread for each breakpoint.
* breakpoint.h (bpstat_stop_status): Update prototype.
* infrun.c (handle_inferior_event): Update calls to
bpstat_stop_status.
Daniel Jacobowitz [Sun, 1 Feb 2004 18:04:37 +0000 (18:04 +0000)]
* gdb.threads/thread-specific.c: New file.
* gdb.threads/threads-specific.exp: New test script.
* lib/gdb.exp (gdb_test_multiple): Allow user patterns access
to expect_out.
Mark Kettenis [Sun, 1 Feb 2004 10:17:36 +0000 (10:17 +0000)]
* gdb.base/call-ar-st.exp: Call get_debug_format. Remove xfail on
sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
only on the "print_small_structs from print_long_arg_list" test.
Daniel Jacobowitz [Sun, 1 Feb 2004 05:50:53 +0000 (05:50 +0000)]
* Makefile.in (cli-cmds.o): Add $(readline_h).
Daniel Jacobowitz [Sun, 1 Feb 2004 05:49:28 +0000 (05:49 +0000)]
* cli/cli-cmds.c: Include readline.h.
(complete_command): Pass the start of the last word to
complete_line.
Daniel Jacobowitz [Sun, 1 Feb 2004 05:49:07 +0000 (05:49 +0000)]
* gdb.base/completion.exp: Kill a stray backslash.
From Jim Ingham <jingham@apple.com>:
* gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
agrees with the result from sending a tab.
gdbadmin [Sun, 1 Feb 2004 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sat, 31 Jan 2004 23:00:05 +0000 (23:00 +0000)]
daily update
Daniel Jacobowitz [Sat, 31 Jan 2004 22:19:32 +0000 (22:19 +0000)]
* 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.
Daniel Jacobowitz [Sat, 31 Jan 2004 19:59:06 +0000 (19:59 +0000)]
* 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.
Daniel Jacobowitz [Sat, 31 Jan 2004 19:24:18 +0000 (19:24 +0000)]
* breakpoint.h: Update copyright years.
Daniel Jacobowitz [Sat, 31 Jan 2004 19:18:13 +0000 (19:18 +0000)]
* 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.
Daniel Jacobowitz [Sat, 31 Jan 2004 18:14:08 +0000 (18:14 +0000)]
* breakpoint.c (breakpoint_re_set_one): Add missing chunk of
2004-01-27 double-free fix.
Daniel Jacobowitz [Sat, 31 Jan 2004 18:11:25 +0000 (18:11 +0000)]
* gdb.base/chng-syms.exp: Remove stray newline.
Mark Kettenis [Sat, 31 Jan 2004 15:42:24 +0000 (15:42 +0000)]
* sparc-tdep.c (sparc_fetch_wcookie): New function.
(sparc32_frame_prev_register): Handle StackGhost.
(sparc_supply_rwindow, sparc_collect_rwindow): Likewise.
Mark Kettenis [Sat, 31 Jan 2004 14:32:24 +0000 (14:32 +0000)]
* gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
*-*-openbsd*.
* gdb.asm/openbsd.inc: New file.
gdbadmin [Sat, 31 Jan 2004 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
H.J. Lu [Fri, 30 Jan 2004 23:13:28 +0000 (23:13 +0000)]
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.
Alan Modra [Fri, 30 Jan 2004 23:00:35 +0000 (23:00 +0000)]
daily update
Mark Kettenis [Fri, 30 Jan 2004 21:23:46 +0000 (21:23 +0000)]
* 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.
Alexandre Oliva [Fri, 30 Jan 2004 21:11:37 +0000 (21:11 +0000)]
* 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.
Daniel Jacobowitz [Fri, 30 Jan 2004 15:08:57 +0000 (15:08 +0000)]
* regcache.c (new_register_cache): Clear the allocated register
buffer. Suggested by Atsushi Nemoto <anemo@mba.ocn.ne.jp>.
Michael Chastain [Fri, 30 Jan 2004 01:37:42 +0000 (01:37 +0000)]
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.
gdbadmin [Fri, 30 Jan 2004 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Thu, 29 Jan 2004 23:00:06 +0000 (23:00 +0000)]
daily update
Roland McGrath [Thu, 29 Jan 2004 21:54:54 +0000 (21:54 +0000)]
.
Roland McGrath [Thu, 29 Jan 2004 21:54:34 +0000 (21:54 +0000)]
2004-01-29 Roland McGrath <roland@redhat.com>
* configure.in (NEW_PROC_API): Also match solaris2.9 for this test.
* configure: Regenerated.
Roland McGrath [Thu, 29 Jan 2004 21:54:22 +0000 (21:54 +0000)]
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.
Paul N. Hilfinger [Thu, 29 Jan 2004 11:15:44 +0000 (11:15 +0000)]
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.
Roland McGrath [Thu, 29 Jan 2004 02:41:25 +0000 (02:41 +0000)]
.
Roland McGrath [Thu, 29 Jan 2004 02:41:18 +0000 (02:41 +0000)]
2004-01-28 Roland McGrath <roland@redhat.com>
* common.h (AT_SECURE): New macro.
Roland McGrath [Thu, 29 Jan 2004 00:37:46 +0000 (00:37 +0000)]
.
Roland McGrath [Thu, 29 Jan 2004 00:37:41 +0000 (00:37 +0000)]
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.
Roland McGrath [Thu, 29 Jan 2004 00:27:46 +0000 (00:27 +0000)]
.
Roland McGrath [Thu, 29 Jan 2004 00:27:30 +0000 (00:27 +0000)]
2004-01-21 Roland McGrath <roland@redhat.com>
* readelf.c (get_note_type): Match NT_AUXV.
gdbadmin [Thu, 29 Jan 2004 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Andrew Cagney [Wed, 28 Jan 2004 23:16:50 +0000 (23:16 +0000)]
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.
Alan Modra [Wed, 28 Jan 2004 23:00:07 +0000 (23:00 +0000)]
daily update
H.J. Lu [Wed, 28 Jan 2004 23:00:02 +0000 (23:00 +0000)]
2004-01-28 H.J. Lu <hongjiu.lu@intel.com>
* config/tc-ia64.c (emit_one_bundle): Add proper indentation.
David Carlton [Wed, 28 Jan 2004 18:43:06 +0000 (18:43 +0000)]
2004-01-28 David Carlton <carlton@kealia.com>
* dwarf2read.c (add_partial_structure): Use demangled name if
namespace equals "".
Alan Modra [Wed, 28 Jan 2004 13:42:26 +0000 (13:42 +0000)]
* genscripts.sh: Fix typo.
Alan Modra [Wed, 28 Jan 2004 13:31:30 +0000 (13:31 +0000)]
* genscripts.sh: Apply $LIBPATH_SUFFIX to $tool_lib and $libdir too.
Jim Blandy [Wed, 28 Jan 2004 04:05:22 +0000 (04:05 +0000)]
* dwarf2read.c (read_func_scope): Re-indent comment.
Jim Blandy [Wed, 28 Jan 2004 04:02:52 +0000 (04:02 +0000)]
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'.
Andrew Cagney [Wed, 28 Jan 2004 01:39:51 +0000 (01:39 +0000)]
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.
Michael Snyder [Wed, 28 Jan 2004 00:05:47 +0000 (00:05 +0000)]
2004-01-27 Michael Snyder <msnyder@redhat.com>
* sh-opc.h (sh_table): "fsrra", not "fssra".
gdbadmin [Wed, 28 Jan 2004 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
Michael Snyder [Tue, 27 Jan 2004 23:30:01 +0000 (23:30 +0000)]
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.
Michael Snyder [Tue, 27 Jan 2004 23:23:57 +0000 (23:23 +0000)]
2004-01-27 Michael Snyder <msnyder@redhat.com>
* gencode.c: Comment and whitespace clean-ups.
Andrew Cagney [Tue, 27 Jan 2004 23:19:51 +0000 (23:19 +0000)]
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.
Alan Modra [Tue, 27 Jan 2004 23:00:05 +0000 (23:00 +0000)]
daily update
Elena Zannoni [Tue, 27 Jan 2004 22:25:15 +0000 (22:25 +0000)]
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.
Daniel Jacobowitz [Tue, 27 Jan 2004 20:47:20 +0000 (20:47 +0000)]
* 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.
Michael Chastain [Tue, 27 Jan 2004 14:07:02 +0000 (14:07 +0000)]
Fix capitalization in my last ChangeLog entry.
"Add".
Andrew Cagney [Tue, 27 Jan 2004 13:21:09 +0000 (13:21 +0000)]
2004-01-27 Andrew Cagney <cagney@redhat.com>
* ppc-instructions: Update copyright.
(convert_to_integer): Add trailing ";" to label.
Michael Chastain [Tue, 27 Jan 2004 09:46:16 +0000 (09:46 +0000)]
2004-01-27 Michael Chastain <mec.gnu@mindspring.com>
* PROBLEMS: add gdb/1516.
Andrew Cagney [Tue, 27 Jan 2004 04:10:38 +0000 (04:10 +0000)]
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.
Andrew Cagney [Tue, 27 Jan 2004 03:13:34 +0000 (03:13 +0000)]
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.
Michael Chastain [Tue, 27 Jan 2004 02:43:35 +0000 (02:43 +0000)]
2004-01-24 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/local.exp: Rewrite "ptype Local". Add "ptype l".
Provide arms for current output in all my configurations.
Andrew Cagney [Tue, 27 Jan 2004 00:11:39 +0000 (00:11 +0000)]
2004-01-26 Andrew Cagney <cagney@redhat.com>
* breakpoint.c (watchpoint_check): Delete #if0ed variable.
(catch_breakpoint): Delete #if0ed function.
(disable_catch_breakpoint): Ditto.
(delete_catch_breakpoint, enable_catch_breakpoint): Ditto.
(disable_catch, enable_catch, delete_catch): Ditto.
Index: breakpoint.c
===================================================================
RCS file: /cvs/src/src/gdb/breakpoint.c,v
retrieving revision 1.149
diff -u -r1.149 breakpoint.c
--- breakpoint.c 17 Jan 2004 21:56:12 -0000 1.149
+++ breakpoint.c 27 Jan 2004 00:11:06 -0000
@@ -2455,9 +2455,6 @@
struct breakpoint *b;
struct frame_info *fr;
int within_current_scope;
-#if 0
- struct frame_id current_frame_id;
-#endif
b = bs->breakpoint_at;
@@ -5879,30 +5876,6 @@
do_cleanups (old_chain);
}
-#if 0
-/* These aren't used; I don't konw what they were for. */
-/* Set a breakpoint at the catch clause for NAME. */
-static int
-catch_breakpoint (char *name)
-{
-}
-
-static int
-disable_catch_breakpoint (void)
-{
-}
-
-static int
-delete_catch_breakpoint (void)
-{
-}
-
-static int
-enable_catch_breakpoint (void)
-{
-}
-#endif /* 0 */
-
static void
ep_skip_leading_whitespace (char **s)
{
@@ -6482,30 +6455,6 @@
b->thread = -1;
return b;
}
-
-#if 0
-/* These aren't used; I don't know what they were for. */
-/* Disable breakpoints on all catch clauses described in ARGS. */
-static void
-disable_catch (char *args)
-{
- /* Map the disable command to catch clauses described in ARGS. */
-}
-
-/* Enable breakpoints on all catch clauses described in ARGS. */
-static void
-enable_catch (char *args)
-{
- /* Map the disable command to catch clauses described in ARGS. */
-}
-
-/* Delete breakpoints on all catch clauses in the active scope. */
-static void
-delete_catch (char *args)
-{
- /* Map the delete command to catch clauses described in ARGS. */
-}
-#endif /* 0 */
static void
catch_command (char *arg, int from_tty)
gdbadmin [Tue, 27 Jan 2004 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
Andrew Cagney [Mon, 26 Jan 2004 23:07:01 +0000 (23:07 +0000)]
Index: ChangeLog
2004-01-26 Andrew Cagney <cagney@redhat.com>
* remote.c (echo_check, quit_flag): Delete variables.
(cisco_kernel_mode): Delete variable.
(minitelnet_return, tty_input, escape_count): Delete variables.
(remote_cisco_mode): Delete variable.
(remote_cisco_open, remote_cisco_close): Delete function.
(remote_cisco_mourn, remote_cisco_wait): Delete function.
(init_remote_cisco_ops): Delete function.
(_initialize_remote): Do not install "remote cisco" code.
(read_frame): Delete cisco specific code.
(remote_info_process): Delete function.
(remote_wait): Delete cisco specific code.
(remote_cisco_section_offsets): Delete function.
(remote_cisco_objfile_relocate): Delete function.
(remote_async_wait): Delete cisco specific code.
(minitelnet, readtty, readsocket): Delete function.
Index: doc/ChangeLog
2004-01-26 Andrew Cagney <cagney@redhat.com>
* gdb.texinfo (Overview): Delete references to the cisco protocol
including the "N" response.
Alan Modra [Mon, 26 Jan 2004 23:00:06 +0000 (23:00 +0000)]
daily update
Andrew Cagney [Mon, 26 Jan 2004 20:52:13 +0000 (20:52 +0000)]
2004-01-26 Andrew Cagney <cagney@redhat.com>
* gdbarch.sh (EXTRACT_STRUCT_VALUE_ADDRESS): Deprecate. Add
comments mentioning extract_returned_value_address.
* infcmd.c (print_return_value): Update. Add comments on
extract_returned_value_address.
* stack.c (return_command): Add comments on
extract_returned_value_address.
* values.c: Update comment.
* m32r-tdep.c: Update comment.
* sparc-tdep.c: Update comment.
* ia64-tdep.c (ia64_use_struct_convention): Update comment.
* xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
* sh64-tdep.c (sh64_gdbarch_init): Update.
* sh-tdep.c (sh_gdbarch_init): Update.
* s390-tdep.c (s390_gdbarch_init): Update.
* rs6000-tdep.c (rs6000_gdbarch_init): Update.
* m68klinux-tdep.c (m68k_linux_init_abi): Update.
* m68k-tdep.c (m68k_gdbarch_init): Update.
* m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
* m32r-tdep.c (m32r_gdbarch_init): Update.
* ia64-tdep.c (ia64_gdbarch_init): Update.
* h8300-tdep.c (h8300_gdbarch_init): Update.
* frv-tdep.c (frv_gdbarch_init): Update.
* arm-tdep.c (arm_gdbarch_init): Update.
* alpha-tdep.c (alpha_gdbarch_init): Update.
Index: doc/ChangeLog
2004-01-26 Andrew Cagney <cagney@redhat.com>
* gdbint.texinfo (Target Architecture Definition): Rename
EXTRACT_STRUCT_VALUE_ADDRESS to
DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS.
Andrew Cagney [Mon, 26 Jan 2004 20:36:32 +0000 (20:36 +0000)]
2004-01-26 Andrew Cagney <cagney@redhat.com>
* dwarf2loc.c (dwarf_expr_frame_base): Use SYMBOL_OPS instead of
SYMBOL_LOCATION_FUNCS
(dwarf2_loclist_funcs, dwarf2_locexpr_funcs): Change type to
"struct symbol_ops".
* dwarf2loc.h (dwarf2_locexpr_funcs, dwarf2_loclist_funcs): Change
type to "struct symbol_ops".
* symtab.h (struct symbol_ops): Rename "struct location_funcs".
(struct symbol): Replace ".aux_value.loc.funcs" and
".aux_value.loc.baton" with ".ops" and ".aux_value.ptr".
(SYMBOL_OBJFILE): Delete macro.
(SYMBOL_LOCATION_FUNCS): Delete macro.
(SYMBOL_LOCATION_BATON): Update.
* dwarf2read.c (dwarf2_symbol_mark_computed): Set SYMBOL_OPS
intead of SYMBOL_LOCATION_FUNCS.
* ax-gdb.c (gen_var_ref): Ditto.
* printcmd.c (address_info): Ditto.
* findvar.c (read_var_value): Ditto.
(symbol_read_needs_frame): Ditto.
H.J. Lu [Mon, 26 Jan 2004 20:32:08 +0000 (20:32 +0000)]
2004-01-25 H.J. Lu <hongjiu.lu@intel.com>
* elfxx-ia64.c (elfNN_ia64_relocate_section): Disallow imm
relocations against dynamic symbols.
Andrew Cagney [Mon, 26 Jan 2004 19:55:45 +0000 (19:55 +0000)]
Index: ChangeLog
2004-01-26 Andrew Cagney <cagney@redhat.com>
* dwarf2read.c (read_func_scope): Document frame-base hack.
Nick Clifton [Mon, 26 Jan 2004 18:09:30 +0000 (18:09 +0000)]
(EXTERN_FORCE_RELOC): Handle m68k-uclinux specially, like m68k-elf.
(RELAXABLE_SYMBOL): Use EXTERN_FORCE_RELOC instead of hard-coded test for
TARGET_OS=elf.
DJ Delorie [Mon, 26 Jan 2004 12:52:10 +0000 (12:52 +0000)]
merge from gcc
Chris Demetriou [Mon, 26 Jan 2004 08:12:44 +0000 (08:12 +0000)]
[ sim/ChangeLog ]
2004-01-26 Chris Demetriou <cgd@broadcom.com>
* configure.in (mips*-*-*): Configure in testsuite.
* configure: Regenerate.
[ sim/testsuite/ChangeLog ]
2004-01-26 Chris Demetriou <cgd@broadcom.com>
* sim/mips: New directory. Tests for the MIPS simulator.
[ sim/testsuite/sim/mips/ChangeLog ]
2004-01-26 Chris Demetriou <cgd@broadcom.com>
* basic.exp: New file.
* testutils.inc: New file.
* sanity.s: New file.