aboutsummaryrefslogtreecommitdiff
path: root/gnu/usr.bin
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2008-05-09 18:20:35 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2008-05-09 18:20:35 +0000
commitfd1d2f0229c4357190949973795d259ada1bd253 (patch)
treea9a6a5e6238bcedb206a939cf84e33a5e9678e12 /gnu/usr.bin
parentb6e6045d79a0c2e91183f9b33f21f51434b90a78 (diff)
Notes
Diffstat (limited to 'gnu/usr.bin')
-rw-r--r--gnu/usr.bin/gdb/libgdb/fbsd-threads.c13
1 files changed, 11 insertions, 2 deletions
diff --git a/gnu/usr.bin/gdb/libgdb/fbsd-threads.c b/gnu/usr.bin/gdb/libgdb/fbsd-threads.c
index 0000cb8ff38b..730d0f69524c 100644
--- a/gnu/usr.bin/gdb/libgdb/fbsd-threads.c
+++ b/gnu/usr.bin/gdb/libgdb/fbsd-threads.c
@@ -1375,8 +1375,9 @@ static void
init_fbsd_core_ops (void)
{
fbsd_core_ops.to_shortname = "FreeBSD-core";
- fbsd_core_ops.to_longname = "FreeBSD core thread.";
- fbsd_core_ops.to_doc = "FreeBSD threads support for core files.";
+ fbsd_core_ops.to_longname = "FreeBSD multithreaded core dump file";
+ fbsd_core_ops.to_doc =
+ "Use a core file as a target. Specify the filename of the core file.";
fbsd_core_ops.to_open = fbsd_core_open;
fbsd_core_ops.to_close = fbsd_core_close;
fbsd_core_ops.to_attach = 0;
@@ -1506,9 +1507,17 @@ thread_db_load (void)
int coreops_suppress_target = 1;
+/* similarly we allow this target to be completely skipped. This is used
+ by kgdb which uses its own core target. */
+
+int fbsdcoreops_suppress_target;
+
void
_initialize_thread_db (void)
{
+
+ if (fbsdcoreops_suppress_target)
+ return;
init_fbsd_thread_ops ();
init_fbsd_core_ops ();