diff options
author | Michael Tiemann <tiemann@cygnus> | 1991-04-30 20:19:02 +0000 |
---|---|---|
committer | Michael Tiemann <tiemann@cygnus> | 1991-04-30 20:19:02 +0000 |
commit | aec4cb918e549e6eafb8a49c741d0b417956d445 (patch) | |
tree | b4787df0a972acd17e51b5362d07ba285cc798c9 /gdb/symtab.c | |
parent | 98c1b9e79b2344c48de7900574035670c3f91afb (diff) | |
download | gdb-aec4cb918e549e6eafb8a49c741d0b417956d445.zip gdb-aec4cb918e549e6eafb8a49c741d0b417956d445.tar.gz gdb-aec4cb918e549e6eafb8a49c741d0b417956d445.tar.bz2 |
Tue Apr 30 13:13:33 1991 Michael Tiemann (tiemann at cygint.cygnus.com)
* valprint.c (type_print_base): If the type being printed is a
struct containing undefined types, print "<undefine type>"
as the type instead of crashing.
* values.c (value_headof): Get the vtable pointer taking
TYPE_VPTR_BASETYPE into account.
* symtab.c, symtab.h, dbxread.c: Fix various whitespace splotches.
Diffstat (limited to 'gdb/symtab.c')
-rw-r--r-- | gdb/symtab.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/symtab.c b/gdb/symtab.c index 15e2ad6..17cc626 100644 --- a/gdb/symtab.c +++ b/gdb/symtab.c @@ -1933,7 +1933,7 @@ decode_line_1 (argptr, funfirstline, default_symtab, default_line) p = *argptr; while (*p && *p != ' ' && *p != '\t' && *p != ',' && *p !=':') p++; q = operator_chars (*argptr, &q1); - + copy = (char *) alloca (p - *argptr + 1 + (q1 - q)); if (q1 - q) { |