Skip to content
Snippets Groups Projects
  • Tom Tromey's avatar
    6d16e460
    Fix crash in libcc1 · 6d16e460
    Tom Tromey authored
    The gdb tests of the libcc1 plugin have been failing lately.  I
    tracked this down to a crash trying to access an enum's underlying
    type.  This patch fixes the crash by setting this type.
    
    
    	* libcc1plugin.cc (plugin_build_enum_type): Set
    	ENUM_UNDERLYING_TYPE.
    6d16e460
    History
    Fix crash in libcc1
    Tom Tromey authored
    The gdb tests of the libcc1 plugin have been failing lately.  I
    tracked this down to a crash trying to access an enum's underlying
    type.  This patch fixes the crash by setting this type.
    
    
    	* libcc1plugin.cc (plugin_build_enum_type): Set
    	ENUM_UNDERLYING_TYPE.