From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11275 invoked by alias); 15 Jan 2013 17:04:48 -0000 Mailing-List: contact archer-commits-help@sourceware.org; run by ezmlm Sender: Precedence: bulk List-Post: List-Help: List-Subscribe: Received: (qmail 11252 invoked by uid 306); 15 Jan 2013 17:04:47 -0000 Date: Tue, 15 Jan 2013 17:04:00 -0000 Message-ID: <20130115170445.11229.qmail@sourceware.org> From: tromey@sourceware.org To: archer-commits@sourceware.org Subject: [SCM] archer-tromey-pr-12707-physname-cleanup: reverse-20080717-branchpoint-13628-gb947d45 X-Git-Refname: refs/heads/archer-tromey-pr-12707-physname-cleanup X-Git-Reftype: branch X-Git-Oldrev: 0000000000000000000000000000000000000000 X-Git-Newrev: b947d45cfaa19122fd3c42f02bf8eb4ae84772bd X-SW-Source: 2013-q1/txt/msg00012.txt.bz2 List-Id: The branch, archer-tromey-pr-12707-physname-cleanup has been created at b947d45cfaa19122fd3c42f02bf8eb4ae84772bd (commit) - Log ----------------------------------------------------------------- commit b947d45cfaa19122fd3c42f02bf8eb4ae84772bd Author: Tom Tromey Date: Mon Jan 14 11:07:09 2013 -0700 fix PR 12707 PR symtab/12707: * dwarf2read.c (new_symbol_full): Preserve the mangled name. * symtab.c (symbol_find_demangled_name): Pass DMGL_RET_DROP to cplus_demangle. * gdb.cp/cmpd-minsyms.exp: Don't expect return type. * gdb.cp/print-demangle.exp: New file. * gdb.python/py-symbol.exp: Fix expected linkage name. commit 73858592b4914c249b42bae1f48a0bc2592f1e41 Author: Tom Tromey Date: Mon Jan 14 08:55:11 2013 -0700 fix race in py-explore * gdb.python/py-explore.exp: Expect the gdb prompt. commit 42e16ef9d5d766986745f3dde496b81860c2dd9d Author: Tom Tromey Date: Mon Jan 14 08:02:38 2013 -0700 move processing_has_namespace_info into CU * dwarf2read.c (processing_has_namespace_info): Remove. (struct dwarf2_cu) : New field. (process_die, read_func_scope, dwarf2_start_symtab) (new_symbol_full): Update. commit 28b360bfa4da61505bff3ec105c5e789b6cabca4 Author: Tom Tromey Date: Mon Jan 14 07:56:32 2013 -0700 remove cp_set_block_scope * cp-namespace.c (cp_set_block_scope): Remove. * cp-support.h (cp_set_block_scope): Remove. * dbxread.c: Include block.h. (cp_set_block_scope): New function. (process_one_symbol): Update. * dwarf2read.c (read_func_scope): Use block_set_scope. commit 26221f8bf54605d570ad490c75d5e9b73bf39318 Author: Tom Tromey Date: Mon Jan 14 07:51:38 2013 -0700 constify in using_direct; add copy_name argument to namespace func * cp-namespace.c (cp_scan_for_anonymous_namespaces): Update. (cp_add_using_directive): Add 'copy_names' argument. * cp-support.h (cp_add_using_directive): Update. (struct using_direct) : Now const. * dwarf2read.c (read_import_statement): Use obconcat. Don't copy names passed to cp_add_using_directive. commit d52faf58d1b5a3ef25ebf58e39c99c866506a5a4 Author: Tom Tromey Date: Fri Jan 11 14:20:00 2013 -0700 fix (null) print in c-exp.y * c-exp.y (qualified_name): Use TYPE_SAFE_NAME. commit b94518e98f39fa2582c996db5234337cfe64793b Author: Tom Tromey Date: Fri Jan 11 11:50:43 2013 -0700 move obconcat to utils.c and gdb_obstack.h * gdb_obstack.h (obconcat): Move declaration here, from... * symfile.h (obconcat): ... here. * gdb_obstack.c: New file. (obconcat): Move from... * symfile.c (obconcat): ... here. * Makefile.in (SFILES): Add gdb_obstack.c. (COMMON_OBS): Add gdb_obstack.o. commit 63ba330ddfbc22bf94cc06a26dbdab4a9398a72f Author: Tom Tromey Date: Fri Jan 11 11:47:49 2013 -0700 zap obsavestring * symfile.h (obsavestring): Don't declare. * symfile.c (obsavestring): Remove. * ada-exp.y: Use obstack_copy0, not obsavestring. * ada-lang.c: Use obstack_copy0, not obsavestring. * coffread.c: Use obstack_copy0, not obsavestring. * cp-namespace.c: Use obstack_copy0, not obsavestring. * dbxread.c: Use obstack_copy0, not obsavestring. * dwarf2read.c: Use obstack_copy0, not obsavestring. * jit.c: Use obstack_copy0, not obsavestring. * mdebugread.c: Use obstack_copy0, not obsavestring. * psymtab.c: Use obstack_copy0, not obsavestring. * stabsread.c: Use obstack_copy0, not obsavestring. * xcoffread.c: Use obstack_copy0, not obsavestring. commit f295eaebc0bb25197098c0fcaa14448332c4bf33 Author: Tom Tromey Date: Fri Jan 11 11:37:10 2013 -0700 save memory in init_type * dwarf2read.c (fixup_go_packaging): Save package name on objfile obstack. * gdbtypes.c (init_type): Don't copy name. commit 0c54f1faa4ed314634e0a41165f0082f170a9c26 Author: Tom Tromey Date: Fri Jan 11 11:22:34 2013 -0700 constify dwarf2read * dwarf2read.c (struct partial_die_info) : Now const. (struct attribute) : Now const. (struct fnfieldlist) : Now const. (dw2_get_file_names_reader, init_cutu_and_read_dies): Update. (partial_die_parent_scope): Make return type const. (partial_die_full_name, add_partial_symbol): Update. (dwarf2_compute_name, dwarf2_full_name, dwarf2_physname): Make 'name' const. (find_file_and_directory): Make 'name' and 'comp_dir' const. (read_file_scope, read_func_scope, dwarf2_add_field) (dwarf2_add_member_fn, read_structure_type) (process_enumeration_scope, read_array_type, read_module_type) (read_base_type, read_subrange_type): Update. (dwarf2_start_symtab): Make 'name' and 'comp_dir' const. (new_symbol_full, guess_full_die_structure_name): Update. (dwarf2_canonicalize_name): Return const type. Make 'name' const. (dwarf2_name): Return const type. (dwarf_decode_macro_bytes, dwarf_decode_macros): Make 'comp_dir' const. commit ca34f6b73a1a3c01f2b73eb2f99970720bfc23ab Author: Tom Tromey Date: Fri Jan 11 11:22:24 2013 -0700 constify init_type * gdbtypes.c (init_type): Make 'name' const. * gdbtypes.h (init_type): Update. commit d4a15131bac68d900d249d5ea441568763b2dc6e Author: Tom Tromey Date: Fri Jan 11 11:21:02 2013 -0700 constify last_source_file * buildsym.c (patch_subfile_names): Use set_last_source_file. (start_symtab): Make 'name' and 'dirname' const. Use set_last_source_file. (restart_symtab, reset_symtab_globals): Use set_last_source_file. (last_source_file): Define. Now static. (set_last_source_file, get_last_source_file): New functions. * buildsym.h (last_source_file): Don't declare. (start_symtab): Update. (set_last_source_file, get_last_source_file): Declare. * coffread.c (complete_symtab): Use set_last_source_file. (coff_end_symtab): Likewise. (coff_symtab_read): Use set_last_source_file, get_last_source_file. * dbxread.c (read_dbx_symtab, read_ofile_symtab): Use set_last_source_file. (process_one_symbol): Use get_last_source_file. * mdebugread.c (parse_partial_symbols): Use set_last_source_file. (psymtab_to_symtab_1): Use get_last_source_file. * xcoffread.c (process_linenos): Use get_last_source_file. (complete_symtab): Use set_last_source_file. (read_xcoff_symtab): Use set_last_source_file, get_last_source_file. (scan_xcoff_symtab): Use set_last_source_file. commit 0c817237f79df3a92b98a6ae7b6cc1e1d864cdc9 Author: Tom Tromey Date: Fri Jan 11 10:34:18 2013 -0700 make mangled field const * symtab.c (struct demangled_name_entry) : Now const. (symbol_set_names): Remove casts. Handle field const-ness. commit 942b8f91208724466e0098836fc9d613bd1f8bc0 Author: Tom Tromey Date: Fri Jan 11 10:21:28 2013 -0700 constify symbol_set_demangled_name * dwarf2read.c (new_symbol_full): Remove cast. * symtab.c (symbol_set_demangled_name): Make 'name' const. * symtab.h (symbol_set_demangled_name): Update. ----------------------------------------------------------------------- hooks/post-receive -- Repository for Project Archer.