diff options
author | Tom Tromey <tromey@redhat.com> | 2013-12-18 14:47:06 -0700 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2014-02-19 07:48:16 -0700 |
commit | 7e35c012fb79ca35105f0d1b299014adef61be88 (patch) | |
tree | 77d3c39f06d58637328e98837cd9746fe42337eb /gdb/target.h | |
parent | 770234d33bd301dd1893457a90e4b02cfec5c87a (diff) | |
download | gdb-7e35c012fb79ca35105f0d1b299014adef61be88.zip gdb-7e35c012fb79ca35105f0d1b299014adef61be88.tar.gz gdb-7e35c012fb79ca35105f0d1b299014adef61be88.tar.bz2 |
convert to_get_section_table
2014-02-19 Tom Tromey <tromey@redhat.com>
* target-delegates.c: Rebuild.
* target.c (target_get_section_table): Unconditionally delegate.
* target.h (struct target_ops) <to_get_section_table>: Use
TARGET_DEFAULT_RETURN.
Diffstat (limited to 'gdb/target.h')
-rw-r--r-- | gdb/target.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/target.h b/gdb/target.h index 29d210a..38046eb 100644 --- a/gdb/target.h +++ b/gdb/target.h @@ -576,7 +576,8 @@ struct target_ops TARGET_DEFAULT_RETURN (0); void (*to_log_command) (struct target_ops *, const char *) TARGET_DEFAULT_IGNORE (); - struct target_section_table *(*to_get_section_table) (struct target_ops *); + struct target_section_table *(*to_get_section_table) (struct target_ops *) + TARGET_DEFAULT_RETURN (0); enum strata to_stratum; int (*to_has_all_memory) (struct target_ops *); int (*to_has_memory) (struct target_ops *); |