diff options
author | Simon Marchi <simon.marchi@ericsson.com> | 2017-12-03 13:01:03 -0500 |
---|---|---|
committer | Simon Marchi <simon.marchi@polymtl.ca> | 2017-12-03 13:06:14 -0500 |
commit | 1e97a22796cced8bba3359df46e8c2883653516f (patch) | |
tree | cacb220a7ed41c9552b15f8529bde38c31679f3c /gdb/target-debug.h | |
parent | 10f64178412d9c6e4f2faade0da271ab8be273c9 (diff) | |
download | binutils-gdb-1e97a22796cced8bba3359df46e8c2883653516f.tar.gz |
Remove mem_region_vector typedef
Now that make-target-delegates understands namespaces and templates,
this typedef is no longer useful.
gdb/ChangeLog:
* target.h (mem_region_vector): Remove.
(struct target_ops) <to_memory_map>: Change return type to
std::vector<mem_region>.
* target-debug.h (target_debug_print_mem_region_vector): Rename
to ...
(target_debug_print_std_vector_mem_region): ... this.
* target-delegates.c: Re-generate.
Diffstat (limited to 'gdb/target-debug.h')
-rw-r--r-- | gdb/target-debug.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/target-debug.h b/gdb/target-debug.h index 068495e4804..d1d7fb5b832 100644 --- a/gdb/target-debug.h +++ b/gdb/target-debug.h @@ -114,7 +114,7 @@ target_debug_do_print (host_address_to_string (X)) #define target_debug_print_bfd_p(X) \ target_debug_do_print (host_address_to_string (X)) -#define target_debug_print_mem_region_vector(X) \ +#define target_debug_print_std_vector_mem_region(X) \ target_debug_do_print (host_address_to_string (X.data ())) #define target_debug_print_VEC_static_tracepoint_marker_p_p(X) \ target_debug_do_print (host_address_to_string (X)) |