diff options
Diffstat (limited to 'gdb')
-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; } |