projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Multi-target support
[deliverable/binutils-gdb.git]
/
gdb
/
break-catch-sig.c
diff --git
a/gdb/break-catch-sig.c
b/gdb/break-catch-sig.c
index 40861616f0d39d1e9349b6235618fd09aa158e33..c645746aa834f83f3eabdd9db809b1b94961863e 100644
(file)
--- a/
gdb/break-catch-sig.c
+++ b/
gdb/break-catch-sig.c
@@
-1,6
+1,6
@@
/* Everything about signal catchpoints, for GDB.
/* Everything about signal catchpoints, for GDB.
- Copyright (C) 2011-20
17
Free Software Foundation, Inc.
+ Copyright (C) 2011-20
20
Free Software Foundation, Inc.
This file is part of GDB.
This file is part of GDB.
@@
-28,6
+28,7
@@
#include "valprint.h"
#include "cli/cli-utils.h"
#include "completer.h"
#include "valprint.h"
#include "cli/cli-utils.h"
#include "completer.h"
+#include "cli/cli-style.h"
#include <string>
#include <string>
@@
-180,12
+181,11
@@
static enum print_stop_action
signal_catchpoint_print_it (bpstat bs)
{
struct breakpoint *b = bs->breakpoint_at;
signal_catchpoint_print_it (bpstat bs)
{
struct breakpoint *b = bs->breakpoint_at;
- ptid_t ptid;
struct target_waitstatus last;
const char *signal_name;
struct ui_out *uiout = current_uiout;
struct target_waitstatus last;
const char *signal_name;
struct ui_out *uiout = current_uiout;
- get_last_target_status (
&ptid
, &last);
+ get_last_target_status (
nullptr, nullptr
, &last);
signal_name = signal_to_name_or_int (last.value.sig);
signal_name = signal_to_name_or_int (last.value.sig);
@@
-241,7
+241,8
@@
signal_catchpoint_print_one (struct breakpoint *b,
}
else
uiout->field_string ("what",
}
else
uiout->field_string ("what",
- c->catch_all ? "<any signal>" : "<standard signals>");
+ c->catch_all ? "<any signal>" : "<standard signals>",
+ metadata_style.style ());
uiout->text ("\" ");
if (uiout->is_mi_like_p ())
uiout->text ("\" ");
if (uiout->is_mi_like_p ())
This page took
0.027044 seconds
and
4
git commands to generate.