gdbadmin [Thu, 11 Sep 2003 00:00:31 +0000 (00:00 +0000)]
*** empty log message ***
Jeff Johnston [Wed, 10 Sep 2003 00:06:20 +0000 (00:06 +0000)]
2003-09-09 Jeff Johnston <jjohnstn@redhat.com>
* ia64-tdep.c (ia64_sigtramp_frame_init_saved_regs):
Fix typo for high range of floating registers.
gdbadmin [Wed, 10 Sep 2003 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
Adam Fedor [Tue, 9 Sep 2003 03:57:17 +0000 (03:57 +0000)]
* linespec.c (is_objc_method_format): New function
(decode_line_1, locate_first_half): Use it.
Andrew Cagney [Tue, 9 Sep 2003 03:27:10 +0000 (03:27 +0000)]
2003-09-08 Andrew Cagney <cagney@redhat.com>
* dwarf2-frame.c (enum dwarf2_reg_rule): New, replace anonymous
enum. Add REG_UNSPECIFIED, rename REG_UNSAVED to REG_UNDEFINED
and REG_UNMODIFIED to REG_SAME_VALUE.
(execute_cfa_program): Update.
(dwarf2_frame_cache): Update. Initialize table to
REG_UNSPECIFIED, complain if CFI fails to specify a register's
location.
(dwarf2_frame_prev_register): Update. Handle REG_UNSPECIFIED.
gdbadmin [Tue, 9 Sep 2003 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***
Daniel Jacobowitz [Mon, 8 Sep 2003 18:58:13 +0000 (18:58 +0000)]
* frame.c (deprecated_safe_get_selected_frame): New function.
* frame.h (deprecated_safe_get_selected_frame): Add prototype.
* findvar.c (read_var_value): Call it.
gdbadmin [Mon, 8 Sep 2003 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
gdbadmin [Sun, 7 Sep 2003 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***
gdbadmin [Sat, 6 Sep 2003 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
gdbadmin [Fri, 5 Sep 2003 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
gdbadmin [Thu, 4 Sep 2003 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Andreas Schwab [Wed, 3 Sep 2003 18:45:50 +0000 (18:45 +0000)]
* Makefile.in (FLAGS_TO_PASS): Pass down $(bindir) and $(mandir).
gdbadmin [Wed, 3 Sep 2003 00:00:31 +0000 (00:00 +0000)]
*** empty log message ***
gdbadmin [Tue, 2 Sep 2003 15:00:31 +0000 (15:00 +0000)]
*** empty log message ***
gdbadmin [Tue, 2 Sep 2003 14:39:27 +0000 (14:39 +0000)]
Let the version time roll.
gdbadmin [Tue, 2 Sep 2003 14:37:14 +0000 (14:37 +0000)]
Bump to 53.91.
gdbadmin [Tue, 2 Sep 2003 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***
gdbadmin [Mon, 1 Sep 2003 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
gdbadmin [Sun, 31 Aug 2003 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
gdbadmin [Sat, 30 Aug 2003 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
gdbadmin [Fri, 29 Aug 2003 00:00:31 +0000 (00:00 +0000)]
*** empty log message ***
Michael Chastain [Thu, 28 Aug 2003 04:08:43 +0000 (04:08 +0000)]
2003-08-27 Michael Chastain <mec@shout.net>
* config/djgpp/fnchange.lst: Add gdb/testsuite/gdb.mi/mi2-var-*.
gdbadmin [Thu, 28 Aug 2003 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***
Jeff Johnston [Wed, 27 Aug 2003 18:25:20 +0000 (18:25 +0000)]
2003-08-27 Jeff Johnston <jjohnstn@redhat.com>
Sync ia64-tdep.c with mainline.
2003-08-26 Jeff Johnston <jjohnstn@redhat.com>
* ia64-tdep.c (examine_prologue): Only stop at predicated insns if
we are frameless or the return address register is already known.
2003-08-26 Jeff Johnston <jjohnstn@redhat.com>
* ia64-tdep.c (ia64_convert_from_func_addr): New function.
(ia64_gdbarch_init): Call set_gdbarch_convert_from_func_addr().
2003-08-25 Jeff Johnston <jjohnstn@redhat.com>
* ia64-tdep.c (pseudo_regs): New enum that lists gr32-gr127, p0-p63,
bof, and nat0-nat127 as pseudo-registers.
(ia64_frame_cache): New struct used to cache frame info.
(ia64_register_reggroup_p): New routine used to override default
register grouping so registers without names are still saved and
restored.
(ia64_dwarf_reg_to_regnum): New routine to map gr32-gr127 to their
pseudo values.
(ia64_pseudo_register_read): New routine to read pseudo-registers.
(ia64_pseudo_register_write): New routine to write pseudo-registers.
(ia64_alloc_frame_cache): New routine to create a new
ia64_frame_cache.
(examine_prologue): Change prototype to add next_frame pointer.
Assume frameless until otherwise proven. Verify that the cfm for
current frame matches the cfm that should occur for the prologues
alloc insn and if equal, mark as not frameless. At end of routine,
if not frameless, calculate registers for the previous frame and store
in the cache, if a cache is provided.
(ia64_skip_prologue): Use new prototype when calling examine_prologue
and pass 0 for next_frame.
(ia64_store_return_value): Change to use convert_typed_floating()
instead of calling ia64_convert_to_raw().
(ia64_extract_return_value): Change to use convert_typed_floating()
instead of calling ia64_convert_to_virtual().
(ia64_frame_cache): New routine to support new frame model.
(ia64_frame_this_id, ia64_frame_prev_register): Ditto.
(ia64_frame_sniffer): Ditto.
(ia64_sigtramp_frame_init_saved_regs): Ditto.
(ia64_sigtramp_frame_cache, ia64_sigtramp_frame_this_id): Ditto.
(ia64_sigtramp_frame_prev_register): Ditto.
(ia64_sigtramp_frame_sniffer): Ditto.
(ia64_frame_base_address): Ditto.
(ia64_extract_struct_value_address): Change to issue error message.
(ia64_frame_align): New routine to align sp.
(ia64_push_dummy_call): New routine based on ia64_push_arguments().
(ia64_push_arguments): Removed. Logic moved to
ia64_push_dummy_call().
(ia64_push_return_address): Ditto.
(ia64_unwind_dummy_id): New function.
(ia64_unwind_pc): Ditto.
(ia64_convert_register_p): Ditto.
(ia64_register_to_value): Ditto.
(ia64_value_to_register): Ditto.
(ia64_pop_frame, ia64_pop_frame_regular): Removed.
(ia64_register_byte, ia64_register_raw_size): Ditto.
(ia64_register_virtual_size, ia64_register_virtual_byte): Ditto.
(ia64_saved_pc_after_call): Ditto.
(ia64_frame_chain, ia64_frame_saved_pc): Ditto.
(ia64_frame_init_saved_regs, ia64_get_saved_register): Ditto.
(ia64_register_convertible, ia64_register_convert_to_virtual): Ditto.
(ia64_register_convert_to_raw): Ditto.
(ia64_store_struct_return, ia64_call_dummy_words): Ditto.
(ia64_init_extra_frame_info): Ditto.
(ia64_frame_args_address, ia64_frame_locals_address): Ditto.
(ia64_gdbarch_init): Remove registering of deprecated functions that
are no longer used. Add registration of new gdbarch functions.
Remove registering deprecated_write_sp. Replace
set_gdbarch_register_virtual_type() with set_gdbarch_register_type().
Delete set_gdbarch_deprecated_register_convertible(),
set_gdbarch_deprecated_register_convert_to_virtual(), and
set_gdbarch_deprecated_register_convert_to_raw() calls. Remove
set_gdbarch_deprecated_register_size(),
set_gdbarch_deprecated_register_bytes(),
set_gdbarch_pcregnum(),
set_gdbarch_deprecated_register_byte(),
set_gdbarch_deprecated_register_raw_size(),
set_gdbarch_deprecated_max_register_raw_size(),
set_gdbarch_deprecated_register_virtual_size(),
and set_gdbarch_deprecated_max_register_virtual_size() calls.
Replace set_gdbarch_deprecated_extract_return_value() with
set_gdbarch_extract_return_value(). Remove calls to:
set_gdbarch_deprecated_saved_pc_after_call();
set_gdbarch_deprecated_frame_chain(),
set_gdbarch_deprecated_frame_saved_pc(),
set_gdbarch_deprecated_frame_init_saved_regs(),
set_gdbarch_deprecated_get_saved_register(),
set_gdbarch_deprecated_call_dummy_words(),
set_gdbarch_deprecated_sizeof_call_dummy_words(),
set_gdbarch_deprecated_init_extra_frame_info(),
set_gdbarch_deprecated_frame_args_address(),
set_gdbarch_deprecated_frame_locals_address(),
and set_gdbarch_deprecated_dummy_write_sp().
Add set_gdbarch_convert_register_p(),
set_gdbarch_register_to_value(),
set_gdbarch_value_to_register(),
set_gdbarch_push_dummy_call(),
set_gdbarch_frame_align(),
set_gdbarch_unwind_dummy_id(),
set_gdbarch_unwind_pc(),
frame_unwind_append_sniffer(),
frame_unwind_append_sniffer(),
and frame_base_set_default().
gdbadmin [Wed, 27 Aug 2003 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***
Andrew Cagney [Tue, 26 Aug 2003 20:39:24 +0000 (20:39 +0000)]
2003-08-26 Andrew Cagney <cagney@redhat.com>
* i386-linux-nat.c (ps_get_thread_area): Make "desc" four "int"s
in size. Add comments.
gdbadmin [Tue, 26 Aug 2003 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
Chris Demetriou [Mon, 25 Aug 2003 22:57:50 +0000 (22:57 +0000)]
2003-08-25 Chris Demetriou <cgd@broadcom.com>
* configure.tgt: Document need for special "mipsisa64" handling.
(mipsisa64*-*-linux64): Handle as target linux64.
(mipsisa64*-*-*): Handle as target embed64.
Michael Chastain [Mon, 25 Aug 2003 18:19:26 +0000 (18:19 +0000)]
2003-08-18 Michael Chastain <mec@shout.net>
* PROBLEMS: Document pr gdb/1322, the Java anonymous
objfile bug.
Michael Chastain [Mon, 25 Aug 2003 03:57:20 +0000 (03:57 +0000)]
2003-08-22 Michael Chastain <mec@shout.net>
* config/djgpp/fnchange.lst: Remove gdb/testsuite/gdb.c++/*.
Add lines for files in gdb/testsuite/gdb.cp/* that are
still not 8.3 unique.
Michael Chastain [Mon, 25 Aug 2003 03:53:48 +0000 (03:53 +0000)]
2003-08-22 Michael Chastain <mec@shout.net>
* gdb.cp: New directory.
* gdb.cp/*: Copy from gdb.c++/*.
* gdb.c++/*: Remove.
* Makefile.in: Change gdb.c++ to gdb.cp.
* configure.in: Ditto.
* configure: Regnerate.
gdbadmin [Mon, 25 Aug 2003 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***
Daniel Jacobowitz [Sun, 24 Aug 2003 16:45:31 +0000 (16:45 +0000)]
* gnu-v3-abi.c (gnuv3_baseclass_offset): Check whether
TYPE_VPTR_FIELDNO is valid.
gdbadmin [Sun, 24 Aug 2003 00:00:31 +0000 (00:00 +0000)]
*** empty log message ***
nobody [Sat, 23 Aug 2003 03:56:00 +0000 (03:56 +0000)]
This commit was manufactured by cvs2svn to create branch 'gdb_6_0-branch'.
Cherrypick from master 2003-08-23 03:55:59 UTC Michael Chastain <mec@google.com> '2003-08-22 Michael Chastain <mec@shout.net>':
gdb/testsuite/gdb.cp/Makefile.in
gdb/testsuite/gdb.cp/ambiguous.cc
gdb/testsuite/gdb.cp/ambiguous.exp
gdb/testsuite/gdb.cp/annota2.cc
gdb/testsuite/gdb.cp/annota2.exp
gdb/testsuite/gdb.cp/annota3.cc
gdb/testsuite/gdb.cp/annota3.exp
gdb/testsuite/gdb.cp/anon-union.cc
gdb/testsuite/gdb.cp/anon-union.exp
gdb/testsuite/gdb.cp/casts.cc
gdb/testsuite/gdb.cp/casts.exp
gdb/testsuite/gdb.cp/classes.exp
gdb/testsuite/gdb.cp/cplusfuncs.cc
gdb/testsuite/gdb.cp/cplusfuncs.exp
gdb/testsuite/gdb.cp/ctti.exp
gdb/testsuite/gdb.cp/cttiadd.cc
gdb/testsuite/gdb.cp/cttiadd1.cc
gdb/testsuite/gdb.cp/cttiadd2.cc
gdb/testsuite/gdb.cp/cttiadd3.cc
gdb/testsuite/gdb.cp/demangle.exp
gdb/testsuite/gdb.cp/derivation.cc
gdb/testsuite/gdb.cp/derivation.exp
gdb/testsuite/gdb.cp/hang.H
gdb/testsuite/gdb.cp/hang.exp
gdb/testsuite/gdb.cp/hang1.C
gdb/testsuite/gdb.cp/hang2.C
gdb/testsuite/gdb.cp/hang3.C
gdb/testsuite/gdb.cp/inherit.exp
gdb/testsuite/gdb.cp/local.cc
gdb/testsuite/gdb.cp/local.exp
gdb/testsuite/gdb.cp/m-data.cc
gdb/testsuite/gdb.cp/m-data.exp
gdb/testsuite/gdb.cp/m-static.cc
gdb/testsuite/gdb.cp/m-static.exp
gdb/testsuite/gdb.cp/m-static.h
gdb/testsuite/gdb.cp/m-static1.cc
gdb/testsuite/gdb.cp/maint.exp
gdb/testsuite/gdb.cp/member-ptr.cc
gdb/testsuite/gdb.cp/member-ptr.exp
gdb/testsuite/gdb.cp/method.cc
gdb/testsuite/gdb.cp/method.exp
gdb/testsuite/gdb.cp/misc.cc
gdb/testsuite/gdb.cp/misc.exp
gdb/testsuite/gdb.cp/namespace.cc
gdb/testsuite/gdb.cp/namespace.exp
gdb/testsuite/gdb.cp/namespace1.cc
gdb/testsuite/gdb.cp/overload.cc
gdb/testsuite/gdb.cp/overload.exp
gdb/testsuite/gdb.cp/ovldbreak.cc
gdb/testsuite/gdb.cp/ovldbreak.exp
gdb/testsuite/gdb.cp/pr-1023.cc
gdb/testsuite/gdb.cp/pr-1023.exp
gdb/testsuite/gdb.cp/pr-1210.cc
gdb/testsuite/gdb.cp/pr-1210.exp
gdb/testsuite/gdb.cp/pr-574.cc
gdb/testsuite/gdb.cp/pr-574.exp
gdb/testsuite/gdb.cp/printmethod.cc
gdb/testsuite/gdb.cp/printmethod.exp
gdb/testsuite/gdb.cp/psmang.exp
gdb/testsuite/gdb.cp/psmang1.cc
gdb/testsuite/gdb.cp/psmang2.cc
gdb/testsuite/gdb.cp/ref-types.cc
gdb/testsuite/gdb.cp/ref-types.exp
gdb/testsuite/gdb.cp/rtti.exp
gdb/testsuite/gdb.cp/rtti.h
gdb/testsuite/gdb.cp/rtti1.cc
gdb/testsuite/gdb.cp/rtti2.cc
gdb/testsuite/gdb.cp/templates.cc
gdb/testsuite/gdb.cp/templates.exp
gdb/testsuite/gdb.cp/try_catch.cc
gdb/testsuite/gdb.cp/try_catch.exp
gdb/testsuite/gdb.cp/userdef.cc
gdb/testsuite/gdb.cp/userdef.exp
gdb/testsuite/gdb.cp/virtfunc.cc
gdb/testsuite/gdb.cp/virtfunc.exp
gdbadmin [Sat, 23 Aug 2003 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Daniel Jacobowitz [Fri, 22 Aug 2003 21:14:39 +0000 (21:14 +0000)]
* linux-nat.c (PTRACE_O_TRACEVFORKDONE, PTRACE_O_TRACEEXIT): Define.
(PTRACE_EVENT_VFORKDONE, PTRACE_EVENT_EXIT): Define.
(linux_parent_pid, linux_supports_tracevforkdone_flag): New variable.
(linux_test_for_tracefork): Set linux_supports_tracevforkdone_flag.
(linux_supports_tracevforkdone): New function.
(linux_enable_event_reporting): Enable TRACEVFORK, TRACEEXEC, and
TRACEVFORKDONE.
(child_follow_fork): Handle vfork.
(linux_handle_extended_wait): Likewise. Also handle exec.
(child_insert_vfork_catchpoint, child_insert_exec_catchpoint): Enable.
* NEWS: Mention fork tracing.
gdbadmin [Fri, 22 Aug 2003 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
gdbadmin [Thu, 21 Aug 2003 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
gdbadmin [Wed, 20 Aug 2003 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
gdbadmin [Tue, 19 Aug 2003 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***
Andrew Cagney [Mon, 18 Aug 2003 20:12:32 +0000 (20:12 +0000)]
Index: ChangeLog
2003-08-18 Andrew Cagney <cagney@redhat.com>
* gdbarch.sh (FRAME_RED_ZONE_SIZE): New architecture method.
* gdbarch.h, gdbarch.c: Re-generate.
* infcall.c (call_function_by_hand): Adjust the SP by
frame_red_zone_size before allocating any stack space.
* rs6000-tdep.c (rs6000_gdbarch_init): Set "frame_red_zone_size".
* x86-64-tdep.c (x86_64_frame_align): New function.
(x86_64_init_abi): Set "frame_red_zone_size" and "frame_align".
* x86-64-tdep.c (x86_64_push_arguments): Revert 2003-08-07 change.
Remove code adjusting SP so that it skips over the Red Zone.
Index: doc/ChangeLog
2003-08-18 Andrew Cagney <cagney@redhat.com>
* gdbint.texinfo (Target Architecture Definition): Document
"frame_red_zone_size".
Mark Kettenis [Mon, 18 Aug 2003 18:23:12 +0000 (18:23 +0000)]
* NEWS (New native configurations): Mention FreeBSD/amd64.
Mark Kettenis [Mon, 18 Aug 2003 18:10:53 +0000 (18:10 +0000)]
* configure.host: Add x86_64-*-freebsd*.
* configure.tgt: Add x86_64-*-freebsd*.
* Makefile.in (amd64fbsd-nat.o, amd64fbsd-tdep.o): New targets.
* x86-64-tdep.h (amd64fbsd_sigtramp_start, amd64fbsd_sigtramp_end,
amd64fbsd_sc_reg_offset): Add extern declarations.
(X86_64_RAX_REGNUM, X86_64_RDX_REGNUM, X86_64_RDI_REGNUM,
X86_64_RBP_REGNUM, X86_64_RSP_REGNUM, X86_64_RIP_REGNUM,
X86_64_EFLAGS_REGNUM, X86_64_ST0_REGNUM, X86_64_XMM0_REGNUM,
X86_64_XMM1_REGNUM): Moved here ...
* x86-64-tdep.c: ... from here.
* amd64fbsd-nat.c: New file.
* amd64fbsd-tdep.c: New file.
* config/i386/nm-fbsd64.h: New file.
* config/i386/fbsd64.mh: New file.
* config/i386/fbsd64.mt: New file.
Mark Kettenis [Mon, 18 Aug 2003 17:14:16 +0000 (17:14 +0000)]
* i386-tdep.c (i386_analyze_register_saves): Handle register saves
at the start of a frameless function. This probably fixes PR
backtrace/1338.
Michal Ludvig [Mon, 18 Aug 2003 13:33:19 +0000 (13:33 +0000)]
2003-08-18 Michal Ludvig <mludvig@suse.cz>
* config/i386/nm-x86-64linux.h (LINUX_CHILD_POST_STARTUP_INFERIOR):
Define.
* i386-linux-nat.c: Include "linux-nat.h".
(child_post_startup_inferior): New function.
Michael Chastain [Mon, 18 Aug 2003 06:35:13 +0000 (06:35 +0000)]
2003-08-15 Michael Chastain <mec@shout.net>
* src-release (do-proto-toplev): Remove junk files
dejagnu/example/calc/config.status,
dejagnu/example/calc/config.log.
Michael Chastain [Mon, 18 Aug 2003 05:06:40 +0000 (05:06 +0000)]
Add 'src-release'. 'src-release' was carved out of 'Makefile.in',
so use the same policy for it.
gdbadmin [Mon, 18 Aug 2003 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Daniel Jacobowitz [Sun, 17 Aug 2003 18:53:12 +0000 (18:53 +0000)]
* lin-lwp.c (child_wait): Call linux_record_stopped_pid.
Daniel Jacobowitz [Sun, 17 Aug 2003 18:22:34 +0000 (18:22 +0000)]
* Makefile.in (i386-linux-nat.o): Update dependencies.
* config/i386/nm-linux.h (LINUX_CHILD_POST_STARTUP_INFERIOR): Define.
* config/nm-linux.h (CHILD_POST_STARTUP_INFERIOR, CHILD_POST_ATTACH)
(CHILD_FOLLOW_FORK, KILL_INFERIOR): Define.
* i386-linux-nat.c: Include "linux-nat.h".
(child_post_startup_inferior): New function.
* i386-nat.c (child_post_startup_inferior): Wrap in #ifdef.
* infptrace.c (kill_inferior): Wrap in #ifdef.
* lin-lwp.c (lin_lwp_attach_lwp): Call child_post_attach after
attaching to each LWP.
(child_wait, lin_lwp_wait): Call linux_handle_extended_wait.
(init_lin_lwp_ops): Fill in some more operations.
* linux-nat.h (linux_enable_event_reporting)
(linux_handle_extended_wait, linux_child_post_startup_inferior): New
prototypes.
* linux-nat.c (linux_enable_event_reporting): New function.
(child_post_attach, linux_child_post_startup_inferior)
(child_post_startup_inferior, child_follow_fork)
(linux_handle_extended_wait, kill_inferior): New functions.
Daniel Jacobowitz [Sun, 17 Aug 2003 17:23:41 +0000 (17:23 +0000)]
* mi-var-display.exp (-var-list-children weird): Accept function
pointers with argument types.
* mi1-var-display.exp (-var-list-children weird): Likewise.
* mi2-var-display.exp (-var-list-children weird): Likewise.
Daniel Jacobowitz [Sun, 17 Aug 2003 16:51:31 +0000 (16:51 +0000)]
* gdb.base/annota3.exp: Add missing newline.
gdbadmin [Sun, 17 Aug 2003 00:00:31 +0000 (00:00 +0000)]
*** empty log message ***
gdbadmin [Sat, 16 Aug 2003 00:00:31 +0000 (00:00 +0000)]
*** empty log message ***
gdbadmin [Fri, 15 Aug 2003 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
Elena Zannoni [Thu, 14 Aug 2003 20:12:31 +0000 (20:12 +0000)]
2003-08-14 Elena Zannoni <ezannoni@redhat.com>
* symfile.c (symbol_file_add_with_addrs_or_offsets): Make sure
orig_addrs is set up properly.
gdbadmin [Thu, 14 Aug 2003 00:00:31 +0000 (00:00 +0000)]
*** empty log message ***
Mark Kettenis [Wed, 13 Aug 2003 22:05:37 +0000 (22:05 +0000)]
Fix up merge botch.
Mark Kettenis [Wed, 13 Aug 2003 22:03:21 +0000 (22:03 +0000)]
Based on a patch from Michael Elizabeth Chastain (mec@shout.net):
* i386-tdep.c (i386_analyze_frame_setup): Recognize more
instructions that GCC likes to mingle into the prologue. Fixes
gdb/1253 and gdb/1255.
Jeff Johnston [Wed, 13 Aug 2003 19:14:03 +0000 (19:14 +0000)]
2003-08-13 Jeff Johnston <jjohnstn@redhat.com>
From 2003-07-24 Jeff Johnston <jjohnstn@redhat.com>
* ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Verify
that we have a SIGTRAP before returning non-zero.
gdbadmin [Wed, 13 Aug 2003 00:00:31 +0000 (00:00 +0000)]
*** empty log message ***
Andrew Cagney [Tue, 12 Aug 2003 17:48:50 +0000 (17:48 +0000)]
2003-08-12 Andrew Cagney <cagney@redhat.com>
* frame.c (deprecated_frame_xmalloc): Use XMALLOC, instead of
FRAME_OBSTACK_ZALLOC.
gdbadmin [Tue, 12 Aug 2003 00:00:31 +0000 (00:00 +0000)]
*** empty log message ***
nobody [Mon, 11 Aug 2003 16:55:22 +0000 (16:55 +0000)]
This commit was manufactured by cvs2svn to create branch 'gdb_6_0-branch'.
Cherrypick from master 2003-08-11 16:55:21 UTC Mark Kettenis <kettenis@gnu.org> '* x86-64-tdep.h (amd64fbsd_sigtramp_start, amd64fbsd_sigtramp_end,':
gdb/amd64fbsd-nat.c
gdbadmin [Mon, 11 Aug 2003 00:00:31 +0000 (00:00 +0000)]
*** empty log message ***
Mark Kettenis [Sun, 10 Aug 2003 14:59:28 +0000 (14:59 +0000)]
* frame.c (_initialize_frame): Add missing backslash.
Mark Kettenis [Sun, 10 Aug 2003 14:08:39 +0000 (14:08 +0000)]
* sol-thread.c (sol_thread_store_registers): Use regcache_collect
and supply_register instead of manipulating the register buffer
directly.
From Peter Schauer (Peter.Schauer@regent.e-technik.tu-muenchen.de):
Mark Kettenis [Sun, 10 Aug 2003 13:55:34 +0000 (13:55 +0000)]
From Peter Schauer (Peter.Schauer@regent.e-technik.tu-muenchen.de):
* config/i386/nm-i386sol2.h
(TARGET_REGION_SIZE_OK_FOR_HW_WATCHPOINT): Define to one.
gdbadmin [Sun, 10 Aug 2003 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Andrew Cagney [Sat, 9 Aug 2003 15:10:35 +0000 (15:10 +0000)]
2003-08-09 Andrew Cagney <cagney@redhat.com>
Fix GDB PR cli/926.
* cli/cli-decode.c (add_setshow_uinteger_cmd): New function.
* command.h (add_setshow_uinteger_cmd): Declare.
* frame.c (set_backtrace_cmd): New function.
(show_backtrace_cmd): New function.
* frame.c (_initialize_frame): Replace "set/show
backtrace-below-main" with "set/show backtrace past-main". Add
command "set/show backtrace limit".
(backtrace_past_main): Rename "backtrace_below_main".
(backtrace_limit): New variable.
(get_prev_frame): Update. Check the backtrace_limit.
2003-08-09 Andrew Cagney <cagney@redhat.com>
* gdb.texinfo (Backtrace): Replace "set/show backtrace-below-main"
with "set/show backtrace past-main" and "set/show backtrace
limit".
Index: doc/gdb.texinfo
===================================================================
RCS file: /cvs/src/src/gdb/doc/gdb.texinfo,v
retrieving revision 1.174
diff -u -r1.174 gdb.texinfo
--- doc/gdb.texinfo 8 Aug 2003 01:58:00 -0000 1.174
+++ doc/gdb.texinfo 9 Aug 2003 14:57:10 -0000
@@ -3922,27 +3922,40 @@
value, indicating that your program has stopped at the beginning of the
code for line @code{993} of @code{builtin.c}.
-@kindex set backtrace-below-main
-@kindex show backtrace-below-main
+@kindex set backtrace past-main
+@kindex show backtrace past-main
+@kindex set backtrace limit
+@kindex show backtrace limit
-Most programs have a standard entry point---a place where system libraries
-and startup code transition into user code. For C this is @code{main}.
-When @value{GDBN} finds the entry function in a backtrace it will terminate
-the backtrace, to avoid tracing into highly system-specific (and generally
-uninteresting) code. If you need to examine the startup code, then you can
-change this behavior.
+Most programs have a standard user entry point---a place where system
+libraries and startup code transition into user code. For C this is
+@code{main}. When @value{GDBN} finds the entry function in a backtrace
+it will terminate the backtrace, to avoid tracing into highly
+system-specific (and generally uninteresting) code.
+
+If you need to examine the startup code, or limit the number of levels
+in a backtrace, you can change this behavior:
@table @code
-@item set backtrace-below-main off
+@item set backtrace past-main
+@itemx set backtrace past-main on
+Backtraces will continue past the user entry point.
+
+@item set backtrace past-main off
Backtraces will stop when they encounter the user entry point. This is the
default.
-@item set backtrace-below-main
-@itemx set backtrace-below-main on
-Backtraces will continue past the user entry point to the top of the stack.
+@item show backtrace past-main
+Display the current user entry point backtrace policy.
+
+@item set backtrace limit @var{n}
+@itemx set backtrace limit 0
+@cindex backtrace limit
+Limit the backtrace to @var{n} levels. A value of zero means
+unlimited.
-@item show backtrace-below-main
-Display the current backtrace policy.
+@item show backtrace limit
+Display the current limit on backtrace levels.
@end table
@node Selection
Andrew Cagney [Sat, 9 Aug 2003 14:39:26 +0000 (14:39 +0000)]
2003-08-09 Andrew Cagney <cagney@redhat.com>
* MAINTAINERS (language support): List Adam Fedor as Objective C
maintainer.
Andrew Cagney [Sat, 9 Aug 2003 14:14:12 +0000 (14:14 +0000)]
2003-08-09 Andrew Cagney <cagney@redhat.com>
* MAINTAINERS: Andrew Cagney (mips) and Geoff Keating (ppc) drop
maintenance. List igen and sh maintainers. Mention that target
and global maintainers pick up the slack.
gdbadmin [Sat, 9 Aug 2003 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
Joel Brobecker [Fri, 8 Aug 2003 22:27:58 +0000 (22:27 +0000)]
* NEWS (Multi-arched targets): Document that all hppa-hpux targets
are now multiarched.
Stephane Carrez [Fri, 8 Aug 2003 21:04:44 +0000 (21:04 +0000)]
* dv-m68hc11tim.c (cycle_to_string): Add flags parameter to better
control the translation.
(m68hc11tim_print_timer): Update cycle_to_string conversion.
(m68hc11tim_timer_event): Fix handling of output
compare register with its interrupts.
(m68hc11tim_io_write_buffer): Check output compare
after setting M6811_TMSK1.
(m68hc11tim_io_read_buffer): Fix compilation warning.
* dv-m68hc11.c (m68hc11_option_handler): Likewise.
* dv-m68hc11spi.c (m68hc11spi_info): Likewise.
* dv-m68hc11sio.c (m68hc11sio_info): Likewise.
* interrupts.c (interrupts_info): Likewise.
(interrupts_reset): Recognize bootstrap mode.
* sim-main.h (PRINT_CYCLE, PRINT_TIME): New defines.
(_sim_cpu): Add cpu_start_mode.
(cycle_to_string): Add flags member.
* m68hc11_sim.c (OPTION_CPU_BOOTSTRAP): New option.
(cpu_options): Declare new option bootstrap.
(cpu_option_handler): Handle it.
(cpu_info): Update call to cycle_to_string.
Stephane Carrez [Fri, 8 Aug 2003 20:45:31 +0000 (20:45 +0000)]
* sim-main.h (phys_to_virt): Use memory bank parameters to translate
the physical address in virtual address.
(struct _sim_cpu): Add memory bank members.
* m68hc11_sim.c (cpu_initialize): Clear memory bank parameters.
* interp.c (sim_hw_configure): Create memory bank according to memory
bank parameters.
(sim_get_bank_parameters): New function to obtain memory bank config
from the symbol table.
(sim_prepare_for_program): Call it to obtain the memory bank parameters.
(sim_open): Call sim_prepare_for_program.
* dv-m68hc11.c (m68hc11cpu_io_write_buffer): Use memory bank parameters
to check if address is within bank window.
(m68hc11cpu_io_read_buffer): Likewise.
(attach_m68hc11_regs): Map the memory bank according to memory bank
parameters.
Stephane Carrez [Fri, 8 Aug 2003 20:34:15 +0000 (20:34 +0000)]
* sim-main.h (PAGE_REGNUM, Z_REGNUM): Use same numbering as gdb.
Stephane Carrez [Fri, 8 Aug 2003 20:26:28 +0000 (20:26 +0000)]
* m68hc11_sim.c (print_io_word): New function to print 16-bit value.
* sim-main.h (print_io_word): Declare.
* dv-m68hc11tim.c (tmsk1_desc): New description table for TMSK1.
(tflg1_desc): Likewise for TFLG1.
(m68hc11tim_info): Print input and output compare registers
Andrew Cagney [Fri, 8 Aug 2003 18:35:23 +0000 (18:35 +0000)]
2003-08-08 Andrew Cagney <cagney@redhat.com>
* interps.c (interp_set): Check for a NULL "old_interp".
Index: mi/ChangeLog
2003-08-08 Andrew Cagney <cagney@redhat.com>
* mi-main.c (captured_mi_execute_command): Add "mi2" and "mi3" to
interpreters that hack around CLI.
* mi-interp.c (mi3_command_loop): New function.
(mi_interpreter_resume): Check for "mi3", default to "mi2".
H.J. Lu [Fri, 8 Aug 2003 18:00:08 +0000 (18:00 +0000)]
gdb/
2003-08-08 H.J. Lu <hongjiu.lu@intel.com>
* Makefile.in (FLAGS_TO_PASS): Add DESTDIR.
(install-only): Support DESTDIR.
(uninstall): Likewise.
(install-gdbtk): Likewise.
gdb/doc/
2003-08-08 H.J. Lu <hongjiu.lu@intel.com>
* Makefile.in (install-info): Support DESTDIR.
(install-html): Likewise.
gdb/gdbserver/
2003-08-08 H.J. Lu <hongjiu.lu@intel.com>
* Makefile.in (install-only): Create dest dir. Support DESTDIR.
(uninstall): Support DESTDIR.
mmalloc/
2003-08-08 H.J. Lu <hongjiu.lu@intel.com>
* Makefile.in (install-info): Create dest dir. Support DESTDIR.
(install): Likewise.
Elena Zannoni [Fri, 8 Aug 2003 14:06:26 +0000 (14:06 +0000)]
2003-08-08 Elena Zannoni <ezannoni@redhat.com>
* symtab.c (lookup_symbol_aux): Make sure that is_a_field_of_this
contains something meaningful at all times.
Andrew Cagney [Fri, 8 Aug 2003 01:59:05 +0000 (01:59 +0000)]
2003-08-07 Andrew Cagney <cagney@redhat.com>
Patch from Nick Roberts.
* gdb.texinfo (Using GDB under GNU Emacs): Fix/update key
bindings. Remove description of send-gdb-command.
gdbadmin [Fri, 8 Aug 2003 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***
Elena Zannoni [Thu, 7 Aug 2003 18:16:42 +0000 (18:16 +0000)]
2003-08-07 Elena Zannoni <ezannoni@redhat.com>
* gdb.base/completion.exp: Remove reduntant completion test
on filename.
2003-08-07 Elena Zannoni <ezannoni@redhat.com>
* gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
gdb.trace/save-trace.exp: Make sure that full pathnames are
escaped correctly.
2003-08-07 Elena Zannoni <ezannoni@redhat.com>
* configure.in: Don't generate config.h from config.hin.
* configure: Regenerate.
* config.hin: Remove file.
* gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
* gdb.threads/pthreads.c: Ditto.
Andrew Cagney [Thu, 7 Aug 2003 18:09:30 +0000 (18:09 +0000)]
Index: ChangeLog
2003-08-07 Andrew Cagney <cagney@redhat.com>
* interps.h (INTERP_MI2, INTERP_MI3): Define.
Index: doc/ChangeLog
2003-08-07 Andrew Cagney <cagney@redhat.com>
* gdb.texinfo (Mode Options): Mention that "mi2" was included in
GDB 6.0.
Index: mi/ChangeLog
2003-08-07 Andrew Cagney <cagney@redhat.com>
* mi-interp.c (_initialize_mi_interp): Register "mi2" and "mi3".
Make "mi" select "mi2".
Index: testsuite/gdb.mi/ChangeLog
2003-08-07 Andrew Cagney <cagney@redhat.com>
* mi2-basics.exp: Copy base MI .exp file, set MIFLAGS to -i=mi2.
* mi2-break.exp, mi2-cli.exp, mi2-console.exp: Ditto.
* mi2-disassemble.exp, mi2-eval.exp, mi2-file.exp: Ditto.
* mi2-hack-cli.exp, mi2-pthreads.exp, mi2-read-memory.exp: Ditto.
* mi2-regs.exp, mi2-return.exp, mi2-simplerun.exp: Ditto.
* mi2-stack.exp, mi2-stepi.exp, mi2-syn-frame.exp: Ditto.
* mi2-until.exp, mi2-var-block.exp, mi2-var-child.exp: Ditto.
* mi2-var-cmd.exp, mi2-var-display.exp, mi2-watch.exp: Ditto.
nobody [Thu, 7 Aug 2003 17:47:43 +0000 (17:47 +0000)]
This commit was manufactured by cvs2svn to create branch 'gdb_6_0-branch'.
Cherrypick from master 2003-08-07 17:47:42 UTC Andrew Cagney <cagney@redhat.com> 'Index: ChangeLog':
gdb/testsuite/gdb.mi/mi2-basics.exp
gdb/testsuite/gdb.mi/mi2-break.exp
gdb/testsuite/gdb.mi/mi2-cli.exp
gdb/testsuite/gdb.mi/mi2-console.exp
gdb/testsuite/gdb.mi/mi2-disassemble.exp
gdb/testsuite/gdb.mi/mi2-eval.exp
gdb/testsuite/gdb.mi/mi2-file.exp
gdb/testsuite/gdb.mi/mi2-hack-cli.exp
gdb/testsuite/gdb.mi/mi2-pthreads.exp
gdb/testsuite/gdb.mi/mi2-read-memory.exp
gdb/testsuite/gdb.mi/mi2-regs.exp
gdb/testsuite/gdb.mi/mi2-return.exp
gdb/testsuite/gdb.mi/mi2-simplerun.exp
gdb/testsuite/gdb.mi/mi2-stack.exp
gdb/testsuite/gdb.mi/mi2-stepi.exp
gdb/testsuite/gdb.mi/mi2-syn-frame.exp
gdb/testsuite/gdb.mi/mi2-until.exp
gdb/testsuite/gdb.mi/mi2-var-block.exp
gdb/testsuite/gdb.mi/mi2-var-child.exp
gdb/testsuite/gdb.mi/mi2-var-cmd.exp
gdb/testsuite/gdb.mi/mi2-var-display.exp
gdb/testsuite/gdb.mi/mi2-watch.exp
Michal Ludvig [Thu, 7 Aug 2003 11:21:58 +0000 (11:21 +0000)]
2003-08-07 Michal Ludvig <mludvig@suse.cz>
* x86-64-tdep.c (x86_64_push_arguments): Skip the red zone.
Michal Ludvig [Thu, 7 Aug 2003 08:09:22 +0000 (08:09 +0000)]
(Oops, now the correct version :-)
2003-08-07 Michal Ludvig <mludvig@suse.cz>
* x86-64-tdep.c (x86_64_dwarf_regmap): Correct register numbers.
Michal Ludvig [Thu, 7 Aug 2003 07:49:52 +0000 (07:49 +0000)]
2003-08-07 Michal Ludvig <mludvig@suse.cz>
* x86-64-tdep.c (x86_64_dwarf_regmap): Correct register numbers.
Daniel Jacobowitz [Thu, 7 Aug 2003 04:05:59 +0000 (04:05 +0000)]
From Kei Sakamoto <sakamoto.kei@renesas.com>:
* gdb.asm/asm-source.exp : Add -lgloss to link-flags.
* gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
Replace ld24 with seth/add3.
gdbadmin [Thu, 7 Aug 2003 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***
Andrew Cagney [Wed, 6 Aug 2003 15:15:19 +0000 (15:15 +0000)]
2003-08-06 Andrew Cagney <cagney@redhat.com>
* gdb.texinfo (Mode Options): Mention that level three is the
highest available and that level 2 is deprecated.
(Annotations Overview): Mention annotation levels. Cross reference
to "Limitations of the Annotation Interface" in annotate.texi.
(TODO, Value Annotations, Frame Annotations): Delete section.
(Displays, Breakpoint Info): Delete.
gdbadmin [Wed, 6 Aug 2003 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
Daniel Jacobowitz [Tue, 5 Aug 2003 14:59:59 +0000 (14:59 +0000)]
./
* Makefile.in (tui-interp.o): Update dependencies.
tui/
* tui-interp.c: Include "cli-out.h".
(tui_resume): Update tui_old_uiout's stream to gdb_stdout.
gdbadmin [Tue, 5 Aug 2003 00:00:31 +0000 (00:00 +0000)]
*** empty log message ***
Andrew Cagney [Mon, 4 Aug 2003 20:43:36 +0000 (20:43 +0000)]
2003-08-04 Andrew Cagney <cagney@redhat.com>
* agentexpr.texi: Delete @bye.
* Makefile.in (STABS_DOC_SOURCE_INCLUDES): Add "fdl.texi"
(stabs.info): Add $(srcdir) to include search path.
(html): Depend on "annotate_toc.html", and not "annotate.html".
* stabs.texinfo: Ditto. Include "fdl.texi".
* gdbint.texinfo: Update copyright statement's list of invariant
sections.
David Carlton [Mon, 4 Aug 2003 17:12:07 +0000 (17:12 +0000)]
2003-08-04 David Carlton <carlton@kealia.com>
* charset.c (cached_iconv_convert): Add __FILE__ and __LINE__ args
to internal_error call.
Andrew Cagney [Mon, 4 Aug 2003 15:55:07 +0000 (15:55 +0000)]
2003-08-04 Andrew Cagney <cagney@redhat.com>
* frame.c (frame_func_unwind): Use frame_unwind_address_in_block.