Jim Blandy
d0ad30c93c
* s390-tdep.c (s390_frame_saved_pc_nofix): If the prologue didn't
...
save the return address register, assume that the return address
is still in there.
2001-11-29 05:02:37 +00:00
gdbadmin
b18d0ba541
*** empty log message ***
2001-11-29 00:00:32 +00:00
Andrew Cagney
54c92070ce
clarify obvious fix.
2001-11-28 22:47:30 +00:00
Jim Blandy
62f81eda5c
* mn10300-tdep.c (mn10300_analyze_prologue): Doc fixes.
2001-11-28 21:56:40 +00:00
Jim Blandy
5c3cf190c0
* s390-tdep.c: Get frame chains and saved pc values properly from
...
dummy frames.
(s390_frame_saved_pc_nofix): if `*fi' is a dummy frame, get the
saved PC from the dummy frame's registers.
(s390_frame_chain): Same for the saved SP.
(s390_gdbarch_init): Register `generic_save_dummy_frame_tos' as
the `SAVE_DUMMY_FRAME_TOS' method, so the dummy frame's `top' gets
set correctly.
2001-11-28 03:40:50 +00:00
Jim Blandy
31c4d430c4
* s390-tdep.c (s390_frame_chain): Remember that the SP's element
...
of the frame's saved_regs array is special.
2001-11-28 03:36:36 +00:00
gdbadmin
c0851fd2d2
*** empty log message ***
2001-11-28 00:00:02 +00:00
Jim Blandy
b1d4dcac5b
* s390-tdep.c (s390_push_dummy_frame): Delete function; it's no
...
longer used.
2001-11-27 22:48:26 +00:00
Jim Blandy
4ed90530f6
* s390-tdep.c (register_names): Call the general-purpose registers
...
`r0' -- `r15', and the floating-point registers `f0' -- `f15', to
match the assembly language.
2001-11-27 22:19:55 +00:00
Christopher Faylor
3bccec6316
fix white space.
2001-11-27 05:16:39 +00:00
Christopher Faylor
97da3b2016
* config/i386/tm-cygwin.h: Define HAVE_SSE_REGS if
...
HAVE_CONTEXT_EXTENDED_REGISTERS is defined.
* win32-nat.c: Define CONTEXT_DEBUGGER_DR that will also include extended
registers if HAVE_SSE_REGS is defined.
(mappings array): Add offset of extended registers.
(thread_rec): Use new CONTEXT_DEBUGGER_DR macro.
2001-11-27 05:15:58 +00:00
Tom Tromey
467d85198f
* NEWS: Updated.
...
* event-loop.c (start_event_loop): Call
after_char_processing_hook.
* event-top.h (after_char_processing_hook): Declare.
* event-top.c (rl_callback_read_char_wrapper): Call
after_char_processing_hook.
(after_char_processing_hook): New global.
* top.c (operate_saved_history): New global.
(gdb_rl_operate_and_get_next): New function.
(init_main): Add the operate-and-get-next defun.
(gdb_rl_operate_and_get_next_completion): New function.
2001-11-27 04:15:09 +00:00
Tom Tromey
88118b3abf
* gdb.texinfo (Command Syntax): Document C-o binding.
2001-11-27 04:14:37 +00:00
Tom Tromey
c2a727faa2
* NEWS: Update for --args.
...
* infcmd.c (construct_inferior_arguments): Moved from ...
* fork-child.c: ... here.
2001-11-27 03:09:44 +00:00
Michael Snyder
756caa3d89
2001-11-21 Michael Snyder <msnyder@redhat.com>
...
* gdb.asm/sparc.inc: New file.
* gdb.asm/asm-source.exp: Recognize sparc target.
* gdb.asm/configure.in: Recognize sparc target.
* gdb.asm/configure: Regenerate.
2001-11-27 01:29:03 +00:00
Jim Blandy
b77b1eb785
* symtab.c (find_pc_sect_line): Revert change of 2001-11-13; add
...
comment explaining that hand-written assembly code can have line
number info but no debug info for an enclosing function.
2001-11-27 00:03:22 +00:00
gdbadmin
b82eaaea7a
*** empty log message ***
2001-11-27 00:00:08 +00:00
Fernando Nasser
184d0bc81c
2001-11-26 Fernando Nasser <fnasser@redhat.com>
...
From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
* gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
to a local (non-static) variable. Copy tstruct.a to a static buffer
and return a pointer to that buffer.
* gdb.base/callfwmall.c (t_structs_a): Ditto.
2001-11-26 21:29:31 +00:00
Christopher Faylor
96565e9166
* gdb.texinfo (Options): Eliminate attempt to explain .gdbinit/gdb.ini use
...
since it is described in the referenced section. From Eli Zaretskii
<eliz@is.elta.co.il>
* gdb.texinfo (Command Files): Reword to make gdb.ini requirement clearer when
using DJGPP.
2001-11-26 20:34:56 +00:00
Fernando Nasser
d0e6697627
2001-11-26 Fernando Nasser <fnasser@redhat.com>
...
From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
* gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
to a local (non-static) variable. Copy tstruct.a to a static buffer
and return a pointer to that buffer.
* gdb.base/callfwmall.c (t_structs_a): Ditto.
2001-11-26 19:40:19 +00:00
Jakub Jelinek
7d69eeecda
* sparc-nat.c (fetch_inferior_registers): Don't rely
...
on CORE_ADDR being 32-bit.
(store_inferior_registers): Likewise.
2001-11-26 16:42:11 +00:00
gdbadmin
870fdb3280
*** empty log message ***
2001-11-26 00:00:02 +00:00
Jim Blandy
03a0cf8a7a
* mn10300-tdep.c (mn10300_analyze_prologue): Doc fixes.
2001-11-25 23:43:43 +00:00
Eli Zaretskii
c64a283540
* config/djgpp/config.sed: Fix an error in etc/ at "make install"
...
time on non-LFN systems where standards*.inf* expands to nothing.
2001-11-25 11:32:51 +00:00
Eli Zaretskii
1f5dc6706d
* go32-nat.c (save_npx): Avoid a warning from GCC 3.x.
2001-11-25 11:29:31 +00:00
gdbadmin
07700ae600
*** empty log message ***
2001-11-25 00:00:03 +00:00
Fred Fish
93c2c7505f
Fix obvious typo (Bourn -> Bourne)
2001-11-24 21:47:51 +00:00
Christopher Faylor
d3ff4a77ad
* win32-nat.c (struct so_stuff): Add objfile *objfile field needed to be able
...
to remove the DLL when unloaded. Remove unused last field.
(handle_unload_dll): New function to handle unloading of DLL.
(solib_symbols_add): Change return type to struct objfile *.
(get_child_debug_event): Call handle_unload_dll function.
2001-11-24 19:00:03 +00:00
Christopher Faylor
2a3d564525
* win32-nat.c (_initialize_check_for_gdb_ini): New function.
...
* config/i386/xm-cygwin.h: Remove obsolete handling of __CYGWIN32__.
(GDBINIT_FILENAME): Remove.
2001-11-24 18:21:27 +00:00
Mark Kettenis
e2334072bd
* gdb.asm/configure.in: Fix recognition of ix86 target.
...
* gdb.asm/configure: Regenerate.
2001-11-24 14:43:57 +00:00
gdbadmin
cf938522ea
*** empty log message ***
2001-11-24 00:00:02 +00:00
Mark Kettenis
eb7cedd985
Add x86 OpenBSD native configuration.
...
* config/i386/obsd.mt, config/i386/tm-obsd.h, config/i386/obsd.mh,
config/i386/nm-obsd.h: New files.
* configure.host (i[3456]86-*-openbsd*): New host.
* configure.tgt (i[3456]86-*-openbsd*): New target.
* NEWS: Update.
2001-11-23 23:01:54 +00:00
gdbadmin
82e831844a
*** empty log message ***
2001-11-23 00:00:03 +00:00
Andrew Cagney
172d914f22
Mention 5.1 release.
2001-11-22 05:52:23 +00:00
Michael Snyder
9a4d72d52a
2001-11-21 Michael Snyder <msnyder@redhat.com>
...
* gdb.asm/m32r.inc: New file.
* gdb.asm/asm-source.exp: Recognize m32r target.
* gdb.asm/configure.in: Recognize m32r target.
* gdb.asm/configure: Regenerate.
2001-11-22 01:13:10 +00:00
Michael Snyder
017ac23d72
2001-11-20 Michael Snyder <msnyder@redhat.com>
...
* gdb.asm/i386.inc: New file.
* gdb.asm/asm-source.exp: Recognize ix86 target.
* gdb.asm/configure.in: Recognize ix86 target.
* gdb.asm/configure: Regenerate.
2001-11-22 01:07:24 +00:00
Tom Tromey
552c04a742
Fix for PR gdb/209, PR gdb/156:
...
* gdbarch.c, gdbarch.h: Rebuilt.
* gdbarch.sh: Added `construct_inferior_arguments'.
* cli/cli-decode.h (cmd_list_element): Added pre_show_hook.
Typo fix.
* cli/cli-setshow.c (do_setshow_command): Call the pre_show_hook.
* infcmd.c (_initialize_infcmd): Set sfunc on `set args' command.
(inferior_argc, inferior_argv): New globals.
(notice_args_set): New function.
(set_inferior_args): Clear inferior_argc and inferior_argv.
(set_inferior_args_vector): New function.
(get_inferior_args): Handle inferior argument vector.
(run_command): Use get_inferior_args().
(notice_args_read): New function.
(_initialize_infcmd): Don't call set_inferior_args.
* command.h: Typo fix.
(cmd_list_element): Added pre_show_hook.
* main.c (captured_main): Added --args option.
(print_gdb_help): Document --args.
* inferior.h (construct_inferior_arguments): Declare.
(set_inferior_args_vector): Likewise.
* fork-child.c (construct_inferior_arguments): New function.
2001-11-22 00:23:13 +00:00
Tom Tromey
aa26fa3a7e
* gdb.texinfo (Invoking GDB): Document --args.
...
(Mode Options): Likewise.
2001-11-22 00:21:45 +00:00
gdbadmin
ba41d0fa86
*** empty log message ***
2001-11-22 00:00:03 +00:00
Jim Blandy
4f8ada0682
* gdbint.texinfo (TARGET_RANGE_PROFITABLE_FOR_HW_WATCHPOINT):
...
Delete documentation; this macro has been removed from the
sources.
2001-11-21 22:26:48 +00:00
Kevin Buettner
da9c7185df
Fix two ``attach'' related bugs involving threads.
2001-11-21 21:56:47 +00:00
Jim Blandy
98eedd63d0
* target.h (TARGET_RANGE_PROFITABLE_FOR_HW_WATCHPOINT): Delete
...
default definition; this is never used.
2001-11-21 02:01:29 +00:00
Michael Snyder
a773d1cdf8
2001-11-20 Michael Snyder <msnyder@redhat.com>
...
* gdb.c++/namespace.exp: Fix quotes in output messages.
2001-11-21 00:13:30 +00:00
Michael Snyder
bb632afbec
2001-11-14 Michael Snyder <msnyder@redhat.com>
...
* gdb.base/code-exprs.exp: New file. Tests use of the "@code"
qualifier in a type cast expression, to designate an address
in the instruction space (Harvard architecture).
2001-11-21 00:12:01 +00:00
gdbadmin
71c7a32578
*** empty log message ***
2001-11-21 00:00:34 +00:00
Keith Seitz
5bbc1a8e41
* varobj.c (c_value_of_child): Release memory for "name" when
...
finshed using it.
(c_type_of_child): Likewise.
(cplus_value_of_child): Isolate the use of name_of_child to
one case that needs it.
Release memory for "name" when finished using it.
2001-11-20 18:08:14 +00:00
Keith Seitz
1ad24239ce
* top.c (gdb_init): Call init_ui_hook before initializing
...
the default UI.
2001-11-20 16:54:39 +00:00
Elena Zannoni
4cb0dbef42
2001-11-19 Elena Zannoni <ezannoni@redhat.com>
...
* config/powerpc/nm-linux.h (ppc_register_u_addr): Add extern
declaration.
2001-11-20 16:36:44 +00:00
Elena Zannoni
f00d375378
2001-11-19 Elena Zannoni <ezannoni@redhat.com>
...
* ppc-linux-nat.c (COPY_REG): Use regcache_collect instead of
accessing registers[].
(fill_fpregset): Ditto.
2001-11-20 16:35:24 +00:00
gdbadmin
ee396359a5
*** empty log message ***
2001-11-20 00:00:33 +00:00