aboutsummaryrefslogtreecommitdiff
path: root/gdb/target-debug.h
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@polymtl.ca>2022-09-29 15:13:09 -0400
committerSimon Marchi <simon.marchi@polymtl.ca>2022-09-29 16:42:34 -0400
commit3fe639b81b452b79460a8527aa57011f1c42ec8b (patch)
tree21ac377df7dfa287c46d00b11045fdb1b0fa8388 /gdb/target-debug.h
parent31282a849107d95d3cfe115ba160f976dd99844c (diff)
downloadgdb-3fe639b81b452b79460a8527aa57011f1c42ec8b.zip
gdb-3fe639b81b452b79460a8527aa57011f1c42ec8b.tar.gz
gdb-3fe639b81b452b79460a8527aa57011f1c42ec8b.tar.bz2
gdb: constify auxv parse functions
Constify the input parameters of the various auxv parse functions, they don't need to modify the raw auxv data. Change-Id: I13eacd5ab8e925ec2b5c1f7722cbab39c41516ec
Diffstat (limited to 'gdb/target-debug.h')
-rw-r--r--gdb/target-debug.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/target-debug.h b/gdb/target-debug.h
index ab89c0a..77033f0 100644
--- a/gdb/target-debug.h
+++ b/gdb/target-debug.h
@@ -76,7 +76,7 @@
target_debug_do_print (host_address_to_string (X))
#define target_debug_print_gdb_byte_p(X) \
target_debug_do_print (host_address_to_string (X))
-#define target_debug_print_gdb_byte_pp(X) \
+#define target_debug_print_const_gdb_byte_pp(X) \
target_debug_do_print (host_address_to_string (*(X)))
#define target_debug_print_enum_gdb_signal(X) \
target_debug_do_print (gdb_signal_to_name (X))