diff options
author | Tom Tromey <tromey@adacore.com> | 2024-03-21 11:02:10 -0600 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2024-03-22 13:17:43 -0600 |
commit | 9f1c94481f875134df177bfc6ba1ad4e4e50b478 (patch) | |
tree | b6237e308403b883f1b6a60e99a621c8f0eec633 /gdb/disasm.h | |
parent | 319719bb2921e978738acd408e6b16dabf0e7f5e (diff) | |
download | gdb-9f1c94481f875134df177bfc6ba1ad4e4e50b478.zip gdb-9f1c94481f875134df177bfc6ba1ad4e4e50b478.tar.gz gdb-9f1c94481f875134df177bfc6ba1ad4e4e50b478.tar.bz2 |
Constify get_disassembler_options
This changes get_disassembler_options to return a const char *.
Approved-By: John Baldwin <jhb@FreeBSD.org>
Diffstat (limited to 'gdb/disasm.h')
-rw-r--r-- | gdb/disasm.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/disasm.h b/gdb/disasm.h index a225144..9282632 100644 --- a/gdb/disasm.h +++ b/gdb/disasm.h @@ -385,7 +385,7 @@ extern int gdb_buffered_insn_length (struct gdbarch *gdbarch, /* Returns GDBARCH's disassembler options. */ -extern char *get_disassembler_options (struct gdbarch *gdbarch); +extern const char *get_disassembler_options (struct gdbarch *gdbarch); /* Sets the active gdbarch's disassembler options to OPTIONS. */ |