Michael Snyder
20b8570d73
2001-04-26 Michael Snyder <msnyder@redhat.com>
...
* thread-db.c (_initialize_thread_db): Add set/show command
"debug-linux-threads" for debugging output.
* lin-lwp.c (various): Use global "debug_linux_threads to
turn on extra debugging output.
2001-04-26 23:14:20 +00:00
Michael Snyder
4c8de859cc
2001-04-26 Michael Snyder <msnyder@redhat.com>
...
* lin-lwp.c: Minor cleanups in comments.
2001-04-26 22:35:08 +00:00
Michael Snyder
f3fb8c8501
2001-04-26 Michael Snyder <msnyder@redhat.com>
...
* target.c (normal_pid_to_str): Get rid of an ancient hack.
* remote.c (remote_pid_to_str): New function for remote target.
2001-04-26 22:10:42 +00:00
Jim Blandy
7f0b5c30f8
* c-typeprint.c (c_type_print_cv_qualifier): Don't print `const'
...
qualifier on C++ references; all references are innately const.
2001-04-24 23:12:50 +00:00
Mark Kettenis
0af5533d75
* event-top.h: Fix formatting.
2001-04-20 14:25:59 +00:00
Andrew Cagney
d036b4d9cf
Obsolete MPW as host.
2001-04-19 23:56:14 +00:00
Mark Kettenis
539ffe0b42
* i386-tdep.c (i386_frameless_function_invocation): New function.
...
* config/i386/tm-i386.h (FRAMELESS_FUNCTION_INVOCATION): Redefine
in terms of i386_frameless_function_invocation. Adjust comment.
(i386_frameless_function_invocation): New prototype.
2001-04-19 11:39:48 +00:00
Martin Hunt
67e1e03acb
2001-04-18 Martin M. Hunt <hunt@redhat.com>
...
* top.c (gdb_init): Don't call cli_out_new() to
create global uiout if init_ui_hook is set. uiout will
have to be initialized there.
2001-04-19 05:28:12 +00:00
Andrew Cagney
fbec36e2cb
#include "regcache.h".
2001-04-19 00:37:24 +00:00
Michael Snyder
c9e030cfcd
2001-04-17 Michael Snyder <msnyder@redhat.com>
...
* i386-nat.c: Fix typo in comment.
2001-04-18 00:37:49 +00:00
Michael Snyder
c60a7562e3
2001-04-17 Michael Snyder <msnyder@redhat.com>
...
* solib.c (no_shared_libraries): New function. Discard all symbols
from shared libraries.
(_initialize_solib): Add command "nosharedlibrary" as complement
to the command "sharedlibrary". Unloads symbols for all solibs.
2001-04-17 23:21:48 +00:00
Mark Kettenis
ed84f6c149
* i386-tdep.c (i386_saved_pc_after_call): New function.
...
* config/i386/tm-i386.h (SAVED_PC_AFTER_CALL): Redefine in terms
of i386_saved_pc_after_call.
(i386_saved_pc_after_call): New prototype.
2001-04-17 23:20:55 +00:00
Andrew Cagney
514e603dc0
Obsolete NEWS and ISI systems (along with a few redundant m68k targets).
2001-04-17 21:20:49 +00:00
Michael Snyder
6240bebf51
2001-04-17 Michael Snyder <msnyder@redhat.com>
...
* remote.c (remote_open_1): On opening the remote target, activate
the solib_create_inferior_hook, so that it can detect when the
target loads shared libraries.
(remote_async_open_1): Ditto.
2001-04-17 20:31:00 +00:00
Michael Snyder
75ac9d7b9d
2001-04-17 Michael Snyder <msnyder@redhat.com>
...
* breakpoint.c (print_one_breakpoint): Handle 64-bit addresses.
* tracepoint.c (tracepoints_info): Handle 64-bit addresses.
* testsuite/gdb.trace/deltrace.exp: Allow for 64-bit addresses.
* testsuite/gdb.trace/infotrace.exp: Ditto.
* testsuite/gdb.trace/passcount.exp: Ditto.
* testsuite/gdb.trace/while-stepping.exp: Ditto.
2001-04-17 20:16:31 +00:00
Michael Snyder
b95697738e
2001-04-17 Michael Snyder <msnyder@redhat.com>
...
* thread-db.c (check_thread_signals): When looping over all
signals, ignore signal zero.
(disable_thread_signals): Ditto.
2001-04-17 19:14:54 +00:00
Michael Snyder
81490ea1cb
2001-04-17 Eirik Fuller <eirik@netapp.com>
...
* thread.c (do_captured_thread_select): Allow the argument to the
thread command to be an expression rather than a literal integer.
2001-04-17 19:01:35 +00:00
Mark Kettenis
e5434c3d1a
* i386-linux-tdep.c (i386_linux_saved_pc_after_call): Use
...
read_memory_unsigned_integer instead of read_memory_integer.
2001-04-17 09:38:52 +00:00
Kevin Buettner
00c7912d77
* solib-aix5.c (map_index_vs_section_name_okay): New function.
...
(aix5_relocate_main_executable): Don't use file offsets for
determining corresponding sections and map file entries. Call
map_index_vs_section_name_okay() to do this instead.
2001-04-17 02:29:23 +00:00
Kevin Buettner
4d1bcd09bd
Add code to retry certain open()s.
2001-04-17 01:24:49 +00:00
Kevin Buettner
097e5c0b4c
Fix date on previous commit.
2001-04-16 21:40:48 +00:00
Kevin Buettner
1186f287dc
Make hw watchpoints work with both the 2.4.2 kernel and the 2.4.3 kernel.
2001-04-16 21:26:46 +00:00
Daniel Berlin
9e0c176c3b
2001-04-16 Daniel Berlin <dan@cgsoftware.com>
...
* demangle.c (_initialize_demangler): Use xcalloc on the
demangling_style_names, and make it a null terminated array of
names, to avoid a crash.
2001-04-16 14:36:16 +00:00
Mark Kettenis
c833a37e77
* i386-tdep.c (i386_frame_chain): New function.
...
* config/i386/tm-i386.h (FRAME_CHAIN): Redefine in terms of
i386_frame_chain.
(i386_frame_chain): New prototype.
2001-04-16 13:03:15 +00:00
J.T. Conklin
46c6cdcf5e
* target.h (target_ops): Removed to_core_file_to_sym_file vector
...
function.
* corelow.c (core_ops): Updated for above change.
* gnu-nat.c (core_ops): Likewise.
* inftarg.c (child_ops): Likewise.
* monitor.c (monitor_ops): Likewise.
* ppc-bdm.c (bdm_ppc_ops): Likewise.
* remote-adapt.c (adapt_ops): Likewise.
* remote-bug.c (bug_ops): Likewise.
* remote-e7000.c (e7000_ops): Likewise.
* remote-eb.c (eb_ops): Likewise.
* remote-es.c (es1800_ops, es1800_child_ops): Likewise.
* remote-mm.c (mm_ops): Likewise.
* remote-nindy.c (nindy_ops): Likewise.
* remote-nrom.c (nrom_ops): Likewise.
* remote-os9k.c (rombug_ops): Likewise.
* remote-rdp.c (remote_rdp_ops): Likewise.
* remote-sim.c (gdbsim_ops): Likewise.
* remote-st.c (st2000_ops): Likewise.
* v850ice.c (v850ice_ops): Likewise.
* target.c (cleanup_target): Likewise
(update_current_target): Likewise.
(setup_target_debug): Likewise
(debug_to_core_file_to_sym_file): Removed.
* corefile.c (core_file_command) [HPUXHPPA]: Removed code that
sets symbol file from information obtained from the core file.
* corelow.c (core_file_to_sym_file): Removed.
2001-04-14 19:23:02 +00:00
Fernando Nasser
d1566ff562
2001-04-13 Fernando Nasser <fnasser@redhat.com>
...
From Adam Mirowski <Adam.Mirowski@Sun.COM>
Fixed Insight on Solaris. It was not possible to debug a process
because of EINTR "errors".
* procfs.c: (procfs_wait): if proc_wait_for_stop() fails
with EINTR, retry the call.
2001-04-13 13:51:54 +00:00
Kevin Buettner
6c98e688d5
Revise way in which mappings are allocated/searched.
2001-04-12 22:27:09 +00:00
Nicholas Duffek
49282387fc
* xcoffread.c (scan_xcoff_symtab): Ignore symbols beginning with
...
"@".
2001-04-12 19:53:09 +00:00
Kevin Buettner
7f6b83a5db
* config/i386/fbsd.mh (NATDEPFILES): Add i386-nat.o.
2001-04-12 18:44:40 +00:00
Andrew Cagney
24f89b6880
Obsolete sun386i.
2001-04-11 22:39:07 +00:00
J.T. Conklin
c114dcd5b7
* maint.c: Fix typo in comment.
2001-04-11 01:01:04 +00:00
Keith Seitz
6755f5adf6
* MAINTAINERS: Swap with Syd Polk as a gdbtk maintainer.
2001-04-10 03:03:28 +00:00
Kevin Buettner
7700434b5c
Add comments noting that vfork might be defined to be fork.
2001-04-08 18:26:03 +00:00
Kevin Buettner
d493eb331e
Use cleanup machinery to invoke ui_out_list_end().
2001-04-08 17:55:13 +00:00
J.T. Conklin
c839c4db61
* dcache.c (dcache_write_line): Fixed bugs where cache line was
...
not written to target correctly.
2001-04-06 22:43:55 +00:00
J.T. Conklin
af471f3cf4
* gdbserver/low-hppabsd.c (read_inferior_memory): Add explicit
...
void return value;
* gdbserver/low-nbsd.c: Likewise.
* gdbserver/low-sparc.c: Likewise.
* gdbserver/low-sun3.c: Likewise.
---------------------------------------------------------------------
2001-04-06 22:25:09 +00:00
Geoffrey Keating
d8e275b49d
* config/rs6000/nm-rs6000.h (PTRACE_ATTACH): Don't define.
...
(PTRACE_DETACH): Don't define.
2001-04-06 21:05:10 +00:00
Christopher Faylor
125503dda0
Correct erroneous ChangeLog.
2001-04-06 19:24:16 +00:00
David Smith
e02bc4cc30
2001-04-06 David Smith <dsmith@redhat.com>
...
* arch-utils.c (default_prepare_to_proceed)
(generic_prepare_to_proceed): Added new functions.
* arch-utils.h: New function declarations for
default_prepare_to_proceed() and generic_prepare_to_proceed().
* gdbarch.sh: Added PREPARE_TO_PROCEED.
* gdbarch.c: Regenerated.
* gdbarch.h: Regenerated.
* inferior.h: Added get_last_target_status() declaration.
* infrun.c (get_last_target_status): Added new function.
(handle_inferior_event): Saves last pid and waitstatus, which will
get returned by get_last_target_status().
* hppa-tdep.c (prepare_to_proceed): Added comment stating that
prepare_to_proceed() is potentially redundant since
default_prepare_to_proceed() has been added.
* linux-thread.c (prepare_to_proceed): Ditto.
* lin-lwp.c (prepare_to_proceed): Ditto.
* m3-nat.c (prepare_to_proceed): Ditto.
2001-04-06 17:53:39 +00:00
Andrew Cagney
1b2b2c1600
Obsolete powerpcle-*-cygwin* and powerpcle-*-solaris* platforms
...
and powerpc-*-netware* target.
2001-04-06 16:25:22 +00:00
Fernando Nasser
063fd66879
2001-04-06 Fernando Nasser <fnasser@redhat.com>
...
* buildsym.c (record_line): Turn off unused addr bits.
2001-04-06 13:14:55 +00:00
Fernando Nasser
a250df2e35
2001-04-06 Fernando Nasser <fnasser@redhat.com>
...
From David Deephanphongs <deephan@telocity.com>
* inferior.h: Fix declarations of get_inferior_args and
set_inferior_args, which were missing the trailing 's'.
2001-04-06 12:09:30 +00:00
Jeff Holcomb
1fcef33420
2001-04-05 Jeff Holcomb <jeffh@redhat.com>
...
* monitor.c (monitor_supply_register): Only report an error if we
don't get a valid value.
2001-04-05 17:44:06 +00:00
Eli Zaretskii
f032fb6e9e
* README: Don't mention gdba.el.
2001-04-05 16:52:30 +00:00
Elena Zannoni
0191bed77d
2001-04-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
...
From Jimmy Guo <guo@cup.hp.com>
* top.c (init_main): set prompt if annotation_level>1,
this is necessary when annotation_level is set to 2 via
--annotate=2 command line option.
2001-04-05 15:19:42 +00:00
Andrew Cagney
4a1968f494
Obsolete a29k-*-* host and a29k-*-sym1* and a29k-*-kern* targets.
2001-04-05 14:49:29 +00:00
Christopher Faylor
608506ed67
* main.c: Remove windows.h use.
...
(gdbtk_test): Use PATH_MAX for home var calculation.
* remote-e7000.c (e7000_parse_device): Accomodate Cygwin as well as Win32 in
test.
* ser-tcp.c: Use modern __CYGWIN__ conditional.
* source.c (mod_path): Add __CYGWIN__ conditional to WIN32 test.
(openp): Ditto.
* symfile.c (symfile_bfd_open): Ditto.
* gdbtk/generic/gdbtk.c: Ditto.
2001-04-05 02:02:13 +00:00
Martin Hunt
6457bd4761
2001-04-04 Martin M. Hunt <hunt@redhat.com>
...
* main.c (captured_main): For GDBtk, don't use tui_fileopen().
Handle all stream setup in gdbtk_init
2001-04-05 00:04:45 +00:00
Mark Kettenis
3df1b9b49d
* i386-tdep.c (i386_extract_return_value): Don't return the return
...
value of a void function.
(i386_store_return_value): Likewise.
2001-04-04 15:09:46 +00:00
Andrew Cagney
76f4ea5303
Obsolete w65-*-* target.
2001-04-03 21:56:01 +00:00