Browse Source

2003-06-27 Elena Zannoni <ezannoni@redhat.com>

* dwarfread.c (decode_modified_type): Gag new compiler warning.
ezannoni_pie-20030916-branch
Elena Zannoni 23 years ago
parent
commit
3cb3398dc3
  1. 4
      gdb/ChangeLog
  2. 6
      gdb/dwarfread.c

4
gdb/ChangeLog

@ -1,3 +1,7 @@
2003-06-27 Elena Zannoni <ezannoni@redhat.com>
* dwarfread.c (decode_modified_type): Gag new compiler warning.
2003-06-26 Elena Zannoni <ezannoni@redhat.com>
* dwarf2read.c (dwarf2_locate_sections): Ignore empty .eh_frame

6
gdb/dwarfread.c

@ -3198,8 +3198,12 @@ decode_modified_type (char *modifiers, unsigned int modcount, int mtype)
DIE_ID, DIE_NAME); /* FIXME */
break;
default:
if (!(MOD_lo_user <= (unsigned char) modifier
if (!(MOD_lo_user <= (unsigned char) modifier))
#if 0
/* This part of the test would always be true, and it triggers a compiler
warning. */
&& (unsigned char) modifier <= MOD_hi_user))
#endif
{
complaint (&symfile_complaints,
"DIE @ 0x%x \"%s\", unknown type modifier %u", DIE_ID,

Loading…
Cancel
Save