diff options
author | Pedro Alves <palves@redhat.com> | 2012-07-20 16:57:29 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2012-07-20 16:57:29 +0000 |
commit | 2a2696dcb32f202052aee2f874b23b5a1dab2f19 (patch) | |
tree | edace621014213785243026ab8925aaddd7ac2fc /gdb/target.h | |
parent | a2d46894fe06ff4a5960efa7493b72e42098c06f (diff) | |
download | gdb-2a2696dcb32f202052aee2f874b23b5a1dab2f19.tar.gz |
2012-07-20 Pedro Alves <palves@redhat.com>
* linux-nat.c (linux_nat_wait): Dump the passed in target options.
* target.c (target_wait): Likewise.
(str_comma_list_concat_elem, do_option, target_options_to_string):
New functions.
* target.h (target_options_to_string): Declare.
Diffstat (limited to 'gdb/target.h')
-rw-r--r-- | gdb/target.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/target.h b/gdb/target.h index 54c58d63448..95cfbe2dcda 100644 --- a/gdb/target.h +++ b/gdb/target.h @@ -198,6 +198,10 @@ struct syscall Space for the result is malloc'd, caller must free. */ extern char *target_waitstatus_to_string (const struct target_waitstatus *); +/* Return a pretty printed form of TARGET_OPTIONS. + Space for the result is malloc'd, caller must free. */ +extern char *target_options_to_string (int target_options); + /* Possible types of events that the inferior handler will have to deal with. */ enum inferior_event_type |