aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Schauer <Peter.Schauer@mytum.de>1995-11-18 12:19:25 +0000
committerPeter Schauer <Peter.Schauer@mytum.de>1995-11-18 12:19:25 +0000
commit2e11fdd8f835aa724cc74ee1a2fc4c693529ee47 (patch)
treed59179014ecf1515825098614dd6ad7b174fae6a /gdb/annotate.c
parent * armdefs.h (ARMul_State): New member `verbose'. (diff)
downloadbinutils-gdb-2e11fdd8f835aa724cc74ee1a2fc4c693529ee47.tar.gz
binutils-gdb-2e11fdd8f835aa724cc74ee1a2fc4c693529ee47.tar.bz2
binutils-gdb-2e11fdd8f835aa724cc74ee1a2fc4c693529ee47.zip
* annotate.c (annotate_source, annotate_frame_begin): Issue
`0x' prefix for the pc value, to remain consistent with previous GDB versions. * blockframe.c (find_pc_partial_function), config/pa/tm-hppa.h: Remove Sun shared library transfer hack and INHIBIT_SUNSOLIB_TRANSFER_TABLE_HACK, it is obsoleted by the mst_solib_trampoline minimal symbols. * blockframe.c (inside_main_func): Check main_func_*pc against INVALID_ENTRY_*PC, not zero. * symfile.c (init_entry_point_info): Initialize ei.*pc with INVALID_ENTRY_*PC. * mipsread.c (mipscoff_symfile_read): If the entry_file bounds are still unknown after processing the partial symbols, then try to set them from the minimal symbols. * infcmd.c (registers_info): Error out if selected_frame is NULL. * stack.c (return_command): Select new current frame silently if not interactive. * mipsread.c (read_alphacoff_dynamic_symtab): Ignore additional DT_MIPS_LOCAL_GOTNO and DT_MIPS_GOTSYM entries. * irix5-nat.c (solib_create_inferior_hook): Call solib_add only if auto_solib_add_at_startup is nonzero. (_initialize_solib): Add "set auto-solib-add" command. * osfsolib.c (solib_create_inferior_hook): Call solib_add only if auto_solib_add_at_startup is nonzero. (_initialize_solib): Add "set auto-solib-add" command.
Diffstat (limited to 'gdb/annotate.c')
-rw-r--r--gdb/annotate.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/annotate.c b/gdb/annotate.c
index 8d36676571c..282e171710a 100644
--- a/gdb/annotate.c
+++ b/gdb/annotate.c
@@ -1,5 +1,5 @@
/* Annotation routines for GDB.
- Copyright 1986, 1989, 1990, 1991, 1992 Free Software Foundation, Inc.
+ Copyright 1986, 1989, 1990, 1991, 1992, 1995 Free Software Foundation, Inc.
This file is part of GDB.
@@ -369,7 +369,7 @@ annotate_source (filename, line, character, mid, pc)
else
printf_filtered ("\032\032");
- printf_filtered ("%s:%d:%d:%s:", filename,
+ printf_filtered ("%s:%d:%d:%s:0x", filename,
line, character,
mid ? "middle" : "beg");
print_address_numeric (pc, 0, gdb_stdout);
@@ -383,7 +383,7 @@ annotate_frame_begin (level, pc)
{
if (annotation_level > 1)
{
- printf_filtered ("\n\032\032frame-begin %d ", level);
+ printf_filtered ("\n\032\032frame-begin %d 0x", level);
print_address_numeric (pc, 0, gdb_stdout);
printf_filtered ("\n");
}