diff options
author | Simon Marchi <simon.marchi@polymtl.ca> | 2021-08-03 11:31:12 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@polymtl.ca> | 2021-08-04 15:26:11 -0400 |
commit | d40947728b7f5d42acf5711a0a5f2edec0c1a82a (patch) | |
tree | 178ecb2ea663cddb0df0d27412d37d36cd4c27d9 /gdb | |
parent | ed0dcb1fd3356fa0c4ddef81eb395fbe27ec07a3 (diff) | |
download | gdb-d40947728b7f5d42acf5711a0a5f2edec0c1a82a.zip gdb-d40947728b7f5d42acf5711a0a5f2edec0c1a82a.tar.gz gdb-d40947728b7f5d42acf5711a0a5f2edec0c1a82a.tar.bz2 |
gdb: fix typo in complaint in dwarf2/macro.c
I saw this complaint when my code had some bug, and spotted the typo.
Fix it, and while at it mention DW_MACRO as well (it would be confusing
to only see DW_MACINFO with a file that uses a DWARF 5 .debug_macro
section). I contemplated the idea of passing the knowledge of whether
we are dealing with a .debug_macro section or .debug_macinfo section, to
print only the right one. But in the end, I don't think that trouble is
necessary for a complaint nobody is going to see.
Change-Id: I276ce8da65c3eac5304f64a1e246358ed29cdbbc
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/dwarf2/macro.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/dwarf2/macro.c b/gdb/dwarf2/macro.c index 2ecebe6..bf687da 100644 --- a/gdb/dwarf2/macro.c +++ b/gdb/dwarf2/macro.c @@ -330,7 +330,7 @@ skip_unknown_opcode (unsigned int opcode, if (opcode_definitions[opcode] == NULL) { - complaint (_("unrecognized DW_MACFINO opcode 0x%x"), + complaint (_("unrecognized DW_MACINFO or DW_MACRO opcode 0x%x"), opcode); return NULL; } |