aboutsummaryrefslogtreecommitdiff
path: root/gdb/Makefile.in
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2007-10-22 14:37:36 +0000
committerDaniel Jacobowitz <drow@false.org>2007-10-22 14:37:36 +0000
commitf88e9fd3159d3b7786ccc1bf831d8e255c1df174 (patch)
tree686ebac5b0b25d7788e798595ce1e6e4f4c3b816 /gdb/Makefile.in
parente35879dbf02366bfdf085cfa7c8916f261ea5ce3 (diff)
downloadgdb-f88e9fd3159d3b7786ccc1bf831d8e255c1df174.zip
gdb-f88e9fd3159d3b7786ccc1bf831d8e255c1df174.tar.gz
gdb-f88e9fd3159d3b7786ccc1bf831d8e255c1df174.tar.bz2
* cp-support.c: Include "safe-ctype.h".
(cp_already_canonical): New function. (cp_canonicalize_string): Use it. Return NULL for already canonical strings. (mangled_name_to_comp): Update call to cp_demangled_name_to_comp. (cp_func_name, remove_params): Likewise. (cp_find_first_component_aux): Use ISSPACE. * cp-support.h (cp_demangled_name_to_comp): Correct comment. Remove MEMORY_P argument. * cp-name-parser.y (ALLOC_CHUNK): Define. (struct demangle_info): Add PREV and NEXT. Increase the size of COMPS. (d_grab): Convert to a function. (allocate_info): Rewrite. (cp_demangled_name_to_comp): Remove MEMORY argument. Do not use strlen. Update call to allocate_info. Do not free it on failure. (main): Update calls to cp_demangled_name_to_comp. * Makefile.in (cp-support.o): Update.
Diffstat (limited to 'gdb/Makefile.in')
-rw-r--r--gdb/Makefile.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/Makefile.in b/gdb/Makefile.in
index 722d361..05b1deb 100644
--- a/gdb/Makefile.in
+++ b/gdb/Makefile.in
@@ -1931,7 +1931,7 @@ cp-namespace.o: cp-namespace.c $(defs_h) $(cp_support_h) $(gdb_obstack_h) \
cp-support.o: cp-support.c $(defs_h) $(cp_support_h) $(gdb_string_h) \
$(demangle_h) $(gdb_assert_h) $(gdbcmd_h) $(dictionary_h) \
$(objfiles_h) $(frame_h) $(symtab_h) $(block_h) $(complaints_h) \
- $(gdbtypes_h)
+ $(gdbtypes_h) $(safe_ctype_h)
cp-valprint.o: cp-valprint.c $(defs_h) $(gdb_obstack_h) $(symtab_h) \
$(gdbtypes_h) $(expression_h) $(value_h) $(command_h) $(gdbcmd_h) \
$(demangle_h) $(annotate_h) $(gdb_string_h) $(c_lang_h) $(target_h) \