aboutsummaryrefslogtreecommitdiff
path: root/gdb/registry.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2017-01-12 14:56:13 +0000
committerNick Clifton <nickc@redhat.com>2017-01-12 14:56:13 +0000
commit1181551ef0a9a7f611a3d1130d2b284280882870 (patch)
treeb40313309126c08dd0958ee0506f41910c2ef9ce /gdb/registry.c
parentd95014a2ef6e9aee927c13960fa37e509d46eb32 (diff)
downloadgdb-1181551ef0a9a7f611a3d1130d2b284280882870.zip
gdb-1181551ef0a9a7f611a3d1130d2b284280882870.tar.gz
gdb-1181551ef0a9a7f611a3d1130d2b284280882870.tar.bz2
Prevent internal assembler errors if a stabs creation function builds an badly formatted input string.
* read.c (temp_ilp): New function. Installs a temporary input line pointer. (restore_ilp): New function. Restores the original input line pointer. * read.h (temp_ilp): Prototype. (restore_ilp): Prototype. * stabs.c (dot_func_p): Use bfd_boolean type. (generate_asm_file): Use temp_ilp and restore_ilp. (stabs_generate_asm_lineno): Likewise. (stabs_generate_asm_endfunc): Likewise.
Diffstat (limited to 'gdb/registry.c')
0 files changed, 0 insertions, 0 deletions