diff options
author | Pedro Alves <palves@redhat.com> | 2012-07-20 16:57:32 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2012-07-20 16:57:32 +0000 |
commit | 09826ec59df0c34fb49e483b88436b0ea0a7bb30 (patch) | |
tree | 2977e95bb21d81ba0042e2cd4b7ad528d09dbe2f /gdb/target.h | |
parent | f7a35f025bd80233c01edb9321aad6f7b523c756 (diff) | |
download | gdb-09826ec59df0c34fb49e483b88436b0ea0a7bb30.zip gdb-09826ec59df0c34fb49e483b88436b0ea0a7bb30.tar.gz gdb-09826ec59df0c34fb49e483b88436b0ea0a7bb30.tar.bz2 |
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 54c58d6..95cfbe2 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 |