projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
51c6d73
)
* gdbtk.c (gdb_loc): Correct truncation of PC on 64-bit MIPS.
author
Mark Alexander
<marka@cygnus>
Thu, 12 Dec 1996 02:54:55 +0000
(
02:54
+0000)
committer
Mark Alexander
<marka@cygnus>
Thu, 12 Dec 1996 02:54:55 +0000
(
02:54
+0000)
gdb/gdbtk.c
patch
|
blob
|
history
diff --git
a/gdb/gdbtk.c
b/gdb/gdbtk.c
index 6d569f5d92bc76a7d4002ea24bc3efadc0e05520..bb781f0011596b3561b78d44ea8b8656f56af987 100644
(file)
--- a/
gdb/gdbtk.c
+++ b/
gdb/gdbtk.c
@@
-479,7
+479,7
@@
gdb_loc (clientData, interp, argc, argv)
dsprintf_append_element (result_ptr, "%d", sal.line); /* line number */
- dsprintf_append_element (result_ptr, "0x%
lx", pc
); /* PC */
+ dsprintf_append_element (result_ptr, "0x%
s", paddr_nz(pc)
); /* PC */
return TCL_OK;
}