diff options
author | David Carlton <carlton@bactrian.org> | 2003-02-20 17:17:25 +0000 |
---|---|---|
committer | David Carlton <carlton@bactrian.org> | 2003-02-20 17:17:25 +0000 |
commit | de5ad195ef7f521cd021746f49f8c4c5c64e7872 (patch) | |
tree | ebe0ce7efe28150de24e5a0ff8fa35bb0f4abaff /gdb/printcmd.c | |
parent | f796e4be8018a412bc738614a70e6459518b7a5b (diff) | |
download | gdb-de5ad195ef7f521cd021746f49f8c4c5c64e7872.zip gdb-de5ad195ef7f521cd021746f49f8c4c5c64e7872.tar.gz gdb-de5ad195ef7f521cd021746f49f8c4c5c64e7872.tar.bz2 |
2003-02-20 David Carlton <carlton@math.stanford.edu>
* symtab.h (SYMBOL_PRINT_NAME): Rename from SYMBOL_SOURCE_NAME;
expand comment.
* ada-lang.c (user_select_syms, ada_finish_decode_line_1): Replace
SYMBOL_PRINT_NAME with SYMBOL_SOURCE_NAME.
* ada-typeprint.c (ada_typedef_print): Ditto.
* ax-gdb.c (gen_var_ref): Ditto.
* breakpoint.c (print_one_breakpoint): Ditto.
* buildsym.c (finish_block): Ditto.
* c-valprint.c (c_val_print): Ditto.
* expprint.c (print_subexp): Ditto.
* findvar.c (locate_var_value): Ditto.
* infcmd.c (jump_command): Ditto.
* linespec.c (decode_line_2, decode_compound): Ditto.
* maint.c (maintenance_translate_address): Ditto.
* objc-lang.c (compare_selectors, compare_classes): Ditto.
* printcmd.c (build_address_symbolic, sym_info, print_frame_args):
Ditto.
* p-valprint.c (pascal_val_print): Ditto.
* stabsread.c (define_symbol): Ditto.
* stack.c (print_frame, frame_info, print_block_frame_locals)
(print_frame_arg_vars, return_command): Ditto.
* symfile.c (compare_symbols, compare_psymbols): Ditto.
* symmisc.c (print_symbol): Ditto.
* symtab.c (lookup_partial_symbol, lookup_block_symbol)
(compare_search_syms, print_symbol_info, print_msymbol_info)
(rbreak_command): Ditto.
* tracepoint.c (tracepoints_info): Ditto.
* typeprint.c (typedef_print): Ditto.
* valops.c (value_of_variable, hand_function_call): Ditto.
* cli/cli-cmds.c (edit_command, list_command): Ditto.
* ada-typeprint.c: Update Copyright.
* infcmd.c, objc-lang.c, p-valprint.c, symmisc.c: Ditto.
* tracepoint.c, cli/cli-cmds.c: Ditto.
Diffstat (limited to 'gdb/printcmd.c')
-rw-r--r-- | gdb/printcmd.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gdb/printcmd.c b/gdb/printcmd.c index 99a822d..9b0c641 100644 --- a/gdb/printcmd.c +++ b/gdb/printcmd.c @@ -641,7 +641,7 @@ build_address_symbolic (CORE_ADDR addr, /* IN */ { name_location = BLOCK_START (SYMBOL_BLOCK_VALUE (symbol)); if (do_demangle || asm_demangle) - name_temp = SYMBOL_SOURCE_NAME (symbol); + name_temp = SYMBOL_PRINT_NAME (symbol); else name_temp = SYMBOL_NAME (symbol); } @@ -656,7 +656,7 @@ build_address_symbolic (CORE_ADDR addr, /* IN */ symtab = 0; name_location = SYMBOL_VALUE_ADDRESS (msymbol); if (do_demangle || asm_demangle) - name_temp = SYMBOL_SOURCE_NAME (msymbol); + name_temp = SYMBOL_PRINT_NAME (msymbol); else name_temp = SYMBOL_NAME (msymbol); } @@ -1044,10 +1044,10 @@ sym_info (char *arg, int from_tty) offset = sect_addr - SYMBOL_VALUE_ADDRESS (msymbol); if (offset) printf_filtered ("%s + %u in ", - SYMBOL_SOURCE_NAME (msymbol), offset); + SYMBOL_PRINT_NAME (msymbol), offset); else printf_filtered ("%s in ", - SYMBOL_SOURCE_NAME (msymbol)); + SYMBOL_PRINT_NAME (msymbol)); if (pc_in_unmapped_range (addr, sect)) printf_filtered ("load address range of "); if (section_is_overlay (sect)) @@ -1882,7 +1882,7 @@ print_frame_args (struct symbol *func, struct frame_info *fi, int num, annotate_arg_begin (); list_chain = make_cleanup_ui_out_tuple_begin_end (uiout, NULL); - fprintf_symbol_filtered (stb->stream, SYMBOL_SOURCE_NAME (sym), + fprintf_symbol_filtered (stb->stream, SYMBOL_PRINT_NAME (sym), SYMBOL_LANGUAGE (sym), DMGL_PARAMS | DMGL_ANSI); ui_out_field_stream (uiout, "name", stb); annotate_arg_name_end (); |