* gdbtypes.c (check_typedef): Document that this function can

throw an exception.
This commit is contained in:
Doug Evans 2011-11-10 06:53:55 +00:00
parent 2c339f710d
commit 9bc118a5d4
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2011-11-09 Doug Evans <dje@google.com>
* gdbtypes.c (check_typedef): Document that this function can
throw an exception.
2011-11-09 Tom Tromey <tromey@redhat.com>
PR c++/13342:

View File

@ -1454,6 +1454,10 @@ stub_noname_complaint (void)
not been computed and we're either in the middle of reading symbols, or
there was no name for the typedef in the debug info.
NOTE: Lookup of opaque types can throw errors for invalid symbol files.
QUITs in the symbol reading code can also throw.
Thus this function can throw an exception.
If TYPE is a TYPE_CODE_TYPEDEF, its length is updated to the length of
the target type.