aboutsummaryrefslogtreecommitdiff
path: root/gdb/gnu-nat.c
AgeCommit message (Collapse)AuthorFilesLines
2000-03-122000-03-11 Mark Kettenis <kettenis@gnu.org>Mark Kettenis1-5/+5
* gnu-nat.c: Fix the formatting where indent misinterpreted `&' as a binary operator. (gnu_attach): Change error message for missing argument to be identical to the corresponding message in `inftarg.c'. This makes the testsuite happy.
2000-02-262000-02-26 Mark Kettenis <kettenis@gnu.org>Mark Kettenis1-216/+301
* gnu-nat.c: Include "gdbthread.h". Include <hurd.h>. Reorder headers a bit. Overall cleanup and minor reformatting. (MIG_SERVER_DIED): Remove define. (proc_update_sc): Add braces to silence compiler warning. (proc_steal_exc_port): Initialize err to zero. (make_proc): Add braces to silence compiler warning. (inf_validate_task_sc): Add cast to silence compiler warning. (inf_set_traced): Reorganize a bit to silence compiler warning. (inf_validate_procs): Use mach_msg_type_number_t for all thread numbers and add braces to silence compiler warning. (gnu_wait): Add prototypes for server functions and add braces to silence compiler warnings. (S_exception_raise_request): Pass subcode to inf_debug call. (gnu_write_inferior): Remove unused variable `protection_changed'. (gnu_xfer_memory): Remove unused variable `result'. (set_sig_thread_cmd): Remove unused varible `tid'. (set_signals_cmd): Remve unused variable `trace'. (add_task_commands): Provide complete prototype. Reformat help strings a bit to make sure the first line is a full sentence. Call info_port_rights_cmd instead of info_send_rights_cmd for the "info port-rights" command. (add_thread_commands): Provide complete prototype. Make static. Reformat help strings a bit to make sure the first line is a full sentence. (_initialize_gnu_nat): Provide complete prototype.
2000-02-112000-02-09 Mark Kettenis <kettenis@gnu.org>Jim Kingdon1-19/+44
* gnu-nat.c (proc_string): Make global. (do_mach_notify_dead_name): Suppress dead name notifications if we know that the task is dead. 1999-12-13 Mark Kettenis <kettenis@gnu.org> * gnu-nat.c (inf_validate_task_sc): Get task info via proc server instead of directly from the kernel. Add some hackery to make sure that the info isn't influenced by suspension of the task in the proc server itself.
2000-02-09Replace ../include/wait.h with gdb_wait.h.Andrew Cagney1-1/+1
2000-02-01import gdb-2000-01-31 snapshotJason Molenda1-4/+1
1999-12-22import gdb-1999-12-21 snapshotJason Molenda1-29/+30
1999-10-05import gdb-1999-10-04 snapshotJason Molenda1-1/+1
1999-07-07import gdb-1999-07-07 post reformatJason Molenda1-350/+362
1999-07-07import gdb-1999-07-07 pre reformatJason Molenda1-4/+2
1999-06-07import gdb-1999-06-07 snapshotJason Molenda1-17/+73
1999-05-05import gdb-19990504 snapshotStan Shebs1-0/+4
1999-04-26import gdb-19990422 snapshotStan Shebs1-9/+8
1999-04-16Initial creation of sourceware repositorygdb-4_18-branchpointStan Shebs1-0/+3201
1999-04-16Initial creation of sourceware repositoryStan Shebs1-3201/+0
1998-12-31all remaining *.c *.h files from hp merge.David Taylor1-1/+1
1998-12-28hp merge changes -- too numerous to mention here; see ChangeLog andDavid Taylor1-1/+31
ChangeLog-gdbtk for details.
1998-05-21Thu May 21 13:14:25 1998 John Metzler <jmetzler@cygnus.com>John Metzler1-46/+47
* gnu-nat.c (init_gnu_ops): Initialization of target ops by assignment. (_initialize_gnu_nat): Call new init * mac-nat.c (init_child_ops): Ditto (_initialize_mac_nat): Ditto * monitor.c (init_base_monitor_ops): Ditto (_initialize_remote_monitors) : Ditto * ppc-bdm.c (init_bdm_ppc_ops): Ditto (_initialize_bdm_ppc): Ditto * remote-adapt.c ( init_adapt_ops): Ditto (_initialize_remote_adapt): Ditto * remote-array.c (init_array_ops) : Ditto (_initialize_array): Ditto * remote-bug (init_bug_ops) : Ditto (_initialize_remote_bug): Ditto * remote-e7000.c (init_e7000_ops): Ditto (_initialize_remote_e7000) : Ditto * remote-eb.c (init_eb_ops) : Ditto (_initialize_remote_eb) : Ditto *remote-es.c (init_es1800_ops) : Ditto (init_es1800_child_ops) : Ditto (_initialize_es1800) ; Ditto *remote-hms.c (init_hms_ops): Ditto (_initialize_remote_hms) : Ditto * remote-mm.c (init_mm_ops): Ditto (_initialize_remote_mm) : Ditto * remote-nindy.c (init_nindy_ops): Ditto (_initialize_nindy): Ditto * remote_nrom.c (init_nrom_ops) : Ditto (_initialize_remote_nrom) : Ditto *remote-os9k (init_rombug_ops) : Ditto (_initialize_remote_os9k) : Ditto *remote-rdi.c (init_rdi_ops) : Ditto (_initialize_remote_rdi) : Ditto * remote-rdp.c (init_remote_rdp_ops) : Ditto (_initialize_remote_rdp) : Ditto * remote-sds.c (init_sds_ops) : Ditto (_initialize_remote_sds) : Ditto * remote-sim.c (init_gdbsim_ops) : Ditto (_initialize_remote_sim) : Ditto * remote-st.c (init_st2000_ops): Ditto (_initialize_remote_st2000): Ditto *remote-udi.c (init_udi_ops) : Ditto (_initialize_remote_udi) : Ditto * remote-vx.c (init_vx_ops) : Ditto (init_vx_run_ops) : Ditto (_initialize_vx) : Ditto * remote.c (init_remote_ops): Ditto (init_extended_remote_ops): Ditto (_initialize_remote): Ditto * sparcl-tdep.c (init_sparclite_ops): Ditto (_initialize_sparcl_tdep): Ditto * v850ice.c (init_850ice_ops): Ditto (_initialize_v850ice): Ditto *win32-nat.c: (init_child_ops): Ditto (_initialize_inftarg): Ditto
1997-05-01Thu May 1 11:44:46 1997 Michael Snyder <msnyder@cleaver.cygnus.com>Michael Snyder1-108/+106
* Finalize merge from Hurd folk. Mon Oct 30 16:41:04 1995 Miles Bader <miles@gnu.ai.mit.edu> * thread.c (thread_apply_command, thread_apply_all_command, thread_command): Make sure TP is alive. (thread_alive): New function. Tue Nov 14 14:31:03 1995 Miles Bader <miles@gnu.ai.mit.edu> * infrun.c (sig_print_info): Deal better with long signal names. Wed Nov 22 15:23:35 1995 Miles Bader <miles@gnu.ai.mit.edu> * thread.c (thread_id_to_pid): New function. Fri Dec 1 13:25:25 1995 Miles Bader <miles@gnu.ai.mit.edu> * gnu-nat.c: (set_thread_cmd_list, show_thread_cmd_list, set_thread_default_cmd_list, show_thread_default_cmd_list): New variables. (set_thread_cmd, show_thread_cmd, set_thread_default_cmd, show_thread_default_cmd): New functions. Fri Apr 18 15:20:16 1997 Miles Bader <miles@gnu.ai.mit.edu> * gnu-nat.c (inf_startup): remove TASK parameter. (inf_set_task): replace with new function (inf_set_pid). * gdbthread.h: Add extern decl for thread_cmd_list.
1997-04-29Mon Apr 28 21:25:32 1997 Michael Snyder <msnyder@cleaver.cygnus.com>Michael Snyder1-85/+156
* Makefile.in: Add rule for gnu-nat.o and i386gnu-nat.o (Gnu Hurd) * config/i386/i386gnu.mh: remove rules for [i386]gnu-nat.o, now in Makefile.in (as for other targets); add NATDEPFILE corelow.o to satisfy symbol dependancy in solib.c (core_ops). * target.[ch] conditionalize Mach-specific signals so that they won't show up in non-Mach gdb's! * thread.c: add function thread_id_to_pid; change name of static function "thread_switch" to "switch_to_thread", to avoid conflict with Mach global symbol; move thread_cmd_list to global scope so targets can add their own thread commands. * infrun.c: sig_print_info: allow for long signal names. * gnu-nat.[ch]: tidying up comments. * gnu-nat.c: move several functions to static scope, just for tidy; remove calls to prune_threads and renumber_threads; gnu_wait must not return -1 when inferior exits; attach_to_child will modify inferior_pid in a way that allows fork_inferior to remain unchanged; remove extra arg from startup_inferior; move mach-specific thread commands here from thread.c.
1996-07-17Changes from the FSF for Hurd thread support.Stu Grossman1-96/+383
1996-04-08 From: Miles Bader <miles@gnu.ai.mit.edu>Fred Fish1-0/+2814
* gnu-nat.c, gnu-nat.h, msg.defs, exc_request.defs, i386gnu-nat.c, msg_reply.defs, notify.defs, process_reply.defs, reply_mig_hack.awk, config/nm-gnu.h, config/i386/{i386gnu.mh, i386gnu.mt, nm-gnu.h, m-i386gnu.h, xm-i386gnu.h}: New files for GNU hurd.