diff options
author | Mark Alexander <marka@cygnus> | 1996-12-12 02:54:55 +0000 |
---|---|---|
committer | Mark Alexander <marka@cygnus> | 1996-12-12 02:54:55 +0000 |
commit | 78b9b1703921a4ae313d760970c090d3f2e85095 (patch) | |
tree | 1fd11ab845bc672616caf73e937f6007b19cc865 /gdb/gdbtk.c | |
parent | 51c6d73375141769320965074a80c05f109475f0 (diff) | |
download | gdb-78b9b1703921a4ae313d760970c090d3f2e85095.zip gdb-78b9b1703921a4ae313d760970c090d3f2e85095.tar.gz gdb-78b9b1703921a4ae313d760970c090d3f2e85095.tar.bz2 |
* gdbtk.c (gdb_loc): Correct truncation of PC on 64-bit MIPS.
Diffstat (limited to 'gdb/gdbtk.c')
-rw-r--r-- | gdb/gdbtk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/gdbtk.c b/gdb/gdbtk.c index 6d569f5..bb781f0 100644 --- 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; } |