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.
Daniel Jacobowitz [Mon, 4 Aug 2003 03:07:01 +0000 (03:07 +0000)]
PR c++/1267
* minsyms.c (lookup_minimal_symbol_by_pc_section): If SECTION is
NULL, default to the section containing PC.
gdbadmin [Mon, 4 Aug 2003 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***
Andrew Cagney [Sun, 3 Aug 2003 02:35:25 +0000 (02:35 +0000)]
2003-08-02 Andrew Cagney <cagney@redhat.com>
* config/djgpp/fnchange.lst: Fix up testsuite/gdb.c++/annota3.cc,
gdb/testsuite/gdb.c++/annota3.exp, amd64fbsd-tdep.c and
amd64fbsd-nat.c.
Andrew Cagney [Sun, 3 Aug 2003 02:05:46 +0000 (02:05 +0000)]
2003-08-02 Andrew Cagney <cagney@redhat.com>
* gdb.base/annota3.exp: New file.
* gdb.base/annota3.c: New file.
* gdb.c++/annota3.exp: New file.
* gdb.c++/annota3.cc: New file.
nobody [Sun, 3 Aug 2003 01:57:14 +0000 (01:57 +0000)]
This commit was manufactured by cvs2svn to create branch 'gdb_6_0-branch'.
Cherrypick from master 2003-08-03 01:57:13 UTC Andrew Cagney <cagney@redhat.com> '2003-08-02 Andrew Cagney <cagney@redhat.com>':
gdb/testsuite/gdb.base/annota3.c
gdb/testsuite/gdb.base/annota3.exp
gdb/testsuite/gdb.c++/annota3.cc
gdb/testsuite/gdb.c++/annota3.exp
gdbadmin [Sun, 3 Aug 2003 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Andrew Cagney [Sat, 2 Aug 2003 20:12:24 +0000 (20:12 +0000)]
2003-08-02 Andrew Cagney <cagney@redhat.com>
* Makefile.in: Update all dependencies and definitions.
gdbadmin [Sat, 2 Aug 2003 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Andrew Cagney [Fri, 1 Aug 2003 21:56:58 +0000 (21:56 +0000)]
2003-08-01 Andrew Cagney <cagney@redhat.com>
Import mainline multi-arch changes from Kei Sakamoto.
* gdb/NEWS: Mention that m32r is multi-arch.
* configure.tgt: Recognize m32r-*-*.
* config/m32r/m32r.mt: New file.
* m32r-rom.c, m32r-stub.c, m32r-tdep.c: Import
gdbadmin [Fri, 1 Aug 2003 00:00:31 +0000 (00:00 +0000)]
*** empty log message ***
Andrew Cagney [Thu, 31 Jul 2003 21:00:34 +0000 (21:00 +0000)]
2003-07-31 Andrew Cagney <cagney@redhat.com>
* regcache.c (struct regcache_descr): Update comments on
nr_raw_registers.
(init_legacy_regcache_descr): Don't set nr_raw_registers or
sizeof_raw_register_valid_p.
(init_regcache_descr): Set nr_raw_registers and
sizeof_raw_register_valid_p before calling
init_legacy_regcache_descr.
gdbadmin [Thu, 31 Jul 2003 00:00:31 +0000 (00:00 +0000)]
*** empty log message ***
Andrew Cagney [Wed, 30 Jul 2003 04:17:02 +0000 (04:17 +0000)]
2003-07-28 Andrew Cagney <cagney@redhat.com>
* Makefile.in (INFO_DEPS): Add annotate.info.
(dvi, ps, html, pdf): Add annotate.
(ANNOTATE_DOC_SOURCE_INCLUDES): New macro.
(ANNOTATE_DOC_BUILD_INCLUDES): New macro.
(ANNOTATE_DOC_FILES): New macro.
(ANNOTATE_TEX_TMPS): New macro.
(annotate.info, annotate_toc.html): Specify dependencies.
(annotate.ps, annotate.pdf, annotate.dvi): Ditto.
* annotate.texinfo: Rename annotate.texi. Get building. Add
"Migrating to GDB/MI" and "Limitations of the Annotation
Interface" chapters. Mention why it is not part of the user
guide. Update copyright notice. Include "fdl.texi".
nobody [Wed, 30 Jul 2003 04:14:39 +0000 (04:14 +0000)]
This commit was manufactured by cvs2svn to create branch 'gdb_6_0-branch'.
Cherrypick from master 2003-07-30 04:14:38 UTC Andrew Cagney <cagney@redhat.com> '2003-07-28 Andrew Cagney <cagney@redhat.com>':
gdb/doc/annotate.texinfo
gdbadmin [Wed, 30 Jul 2003 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
Andrew Cagney [Tue, 29 Jul 2003 03:18:46 +0000 (03:18 +0000)]
2003-07-28 Andrew Cagney <cagney@redhat.com>
* annotate.c (annotate_breakpoints_headers): Restrict annotation
to level 2.
(annotate_breakpoints_table, annotate_record): Ditto.
(annotate_breakpoints_table_end, annotate_field_begin): Ditto.
(annotate_field_name_end, annotate_field_value): Ditto.
(annotate_field_end, annotate_frame_source_begin): Ditto.
(annotate_frame_source_file, annotate_frame_source_file_end): Ditto.
(annotate_frame_source_line, annotate_frame_source_end): Ditto.
(annotate_frame_begin, annotate_frame_function_name): Ditto.
(annotate_frame_address_end, annotate_frame_address): Ditto.
(annotate_frame_args, annotate_frame_end): Ditto.
(annotate_frame_where, annotate_arg_begin): Ditto.
(annotate_arg_name_end, annotate_arg_value): Ditto.
(annotate_arg_end, annotate_signal_handler_caller): Ditto.
(annotate_function_call, annotate_signal_name): Ditto.
(annotate_signal_string, annotate_signal_name_end): Ditto.
(annotate_signal_string_end, annotate_value_history_begin): Ditto.
(annotate_value_begin, annotate_value_history_value): Ditto.
(annotate_value_history_end, annotate_value_end): Ditto.
(annotate_display_begin, annotate_display_number_end): Ditto.
(annotate_display_format, annotate_display_expression): Ditto.
(annotate_display_expression_end, annotate_display_value): Ditto.
(annotate_display_end, annotate_array_section_begin): Ditto.
(annotate_elt_rep, annotate_elt_rep_end): Ditto.
(annotate_elt, annotate_array_section_end): Ditto.
gdbadmin [Tue, 29 Jul 2003 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
Andrew Cagney [Mon, 28 Jul 2003 15:34:02 +0000 (15:34 +0000)]
2003-07-28 Andrew Cagney <cagney@redhat.com>
* mips-tdep.c (print_gp_register_row): Print the GPR's register
MOD NUM_REGS.
Daniel Jacobowitz [Mon, 28 Jul 2003 13:02:41 +0000 (13:02 +0000)]
* thread.c (info_threads_command): Use get_selected_frame ().
Check that there is at least one non-sentinel frame.
Daniel Jacobowitz [Mon, 28 Jul 2003 00:58:47 +0000 (00:58 +0000)]
* gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
pattern.
gdbadmin [Mon, 28 Jul 2003 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***
Stephane Carrez [Sun, 27 Jul 2003 21:40:50 +0000 (21:40 +0000)]
* m68hc11-tdep.c (struct frame_extra_info): Remove.
(m68hc11_pop_frame): Remove.
(m68hc11_frame_saved_pc): Remove.
(m68hc11_frame_chain): Remove.
(m68hc11_frame_init_saved_regs): Remove.
(m68hc11_init_extra_frame_info): Remove.
(m68hc11_store_struct_return): Remove.
(m68hc11_saved_pc_after_call): Remove.
(m68hc11_call_dummy_address): Remove.
Stephane Carrez [Sun, 27 Jul 2003 21:26:00 +0000 (21:26 +0000)]
* m68hc11-tdep.c (struct m68hc11_unwind_cache): New struct to hold
frame unwind information.
(m68hc11_scan_prologue): New function from m68hc11_guess_from_prologue
and adapted for frame unwinding.
(m68hc11_skip_prologue): Update to scan prologue in temporary object.
(m68hc11_unwind_pc): New function.
(m68hc11_frame_unwind_cache): New function to analyze frames.
(m68hc11_frame_this_id): New function to create new frame struct.
(m68hc11_frame_prev_register): New function to unwind a register from
the frame.
(m68hc11_frame_unwind): Default 68hc11/68hc12 unwinder.
(m68hc11_frame_p): New function for the above.
(m68hc11_frame_base_address): New function to return fp of frame.
(m68hc11_frame_args_address): Update for frame.
(m68hc11_frame_base): Default 68hc11/68hc12 frame.
(m68hc11_unwind_sp): New function.
(m68hc11_unwind_dummy_id): New function.
(m68hc11_gdbarch_init): Install the above frames; remove deprecated
calls.
Andrew Cagney [Sun, 27 Jul 2003 21:14:37 +0000 (21:14 +0000)]
2003-07-27 Andrew Cagney <cagney@redhat.com>
* gdb.base/fileio.exp: Use SH when running commands using
remote_exec.
Stephane Carrez [Sun, 27 Jul 2003 20:54:38 +0000 (20:54 +0000)]
* m68hc11-tdep.c (m68hc11_analyze_instruction): Don't advance the pc.
(m68hc11_guess_from_prologue): Advance the pc and frame size only
when we are beyond the current pc.
Stephane Carrez [Sun, 27 Jul 2003 20:28:09 +0000 (20:28 +0000)]
* m68hc11-tdep.c (m68hc11_push_dummy_call): New function adapted
from m68hc11_push_arguments.
(m68hc11_push_arguments): Remove.
(m68hc11_push_return_address): Remove.
(m68hc11_gdbarch_init): Install the above; remove above deprecated
handlers; remove deprecated_extra_stack_alignment_needed.
Andrew Cagney [Sun, 27 Jul 2003 17:19:58 +0000 (17:19 +0000)]
2003-07-27 Andrew Cagney <cagney@redhat.com>
Sync HP/UX with mainline:
* config/pa/tm-hppa.h (init_frame_pc_default): Declare.
* infcall.c (legacy_push_dummy_code) [GDB_TARGET_IS_HPPA]: Update
REAL_PC and not the pointer.
* hppa-hpux-tdep.c: Include frame.h
* config/pa/tm-hppa64.h (GDB_MULTI_ARCH): Set to
GDB_MULTI_ACH_PARTIAL.
* config/pa/tm-hppa64.h (FRAME_SAVED_PC_IN_SIGTRAMP): Use
get_frame_base.
(FRAME_BASE_BEFORE_SIGTRAMP): Ditto.
(FRAME_FIND_SAVED_REGS_IN_SIGTRAMP): Ditto.
(struct value): Add opaque declaration.
(DEPRECATED_FRAME_ARGS_ADDRESS): Delete.
* config/pa/tm-hppa64.h (REGISTER_NAMES): Delete macro.
(REGISTER_NAME): Define.
(hppa64_register_name): Declare.
* config/pa/tm-hppa.h (REGISTER_NAMES): Delete macro.
* hppa-tdep.c (hppa_gdbarch_init): Set hppa_register_name.
(hppa64_register_name): New function.
(hppa_register_name): New function.
gdbadmin [Sun, 27 Jul 2003 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Andrew Cagney [Sat, 26 Jul 2003 22:57:56 +0000 (22:57 +0000)]
2003-07-26 Andrew Cagney <cagney@redhat.com>
* m68hc11-tdep.c (m68hc11_gdbarch_init): Set non-deprecated
store_return_value and extract_struct_value_address.
Stephane Carrez [Sat, 26 Jul 2003 07:40:14 +0000 (07:40 +0000)]
* gdb.texinfo (TUI Keys): Document C-x o key to switch active window.