aboutsummaryrefslogtreecommitdiff
path: root/gdb/tui
diff options
context:
space:
mode:
authorThiemo Seufer <ths@networkno.de>2006-08-02 10:24:00 +0000
committerThiemo Seufer <ths@networkno.de>2006-08-02 10:24:00 +0000
commit87177905630953bf5b7ba6ed7938c2a483873e07 (patch)
tree48a4df97ee6f56f8d9a44d60e101432a540fb432 /gdb/tui
parent172553c73378f3fc8d86df061b6443ed63f302e7 (diff)
downloadgdb-87177905630953bf5b7ba6ed7938c2a483873e07.zip
gdb-87177905630953bf5b7ba6ed7938c2a483873e07.tar.gz
gdb-87177905630953bf5b7ba6ed7938c2a483873e07.tar.bz2
* linux-thread-db.c (thread_db_get_thread_local_address): Fix type
mismatch. * tui/tui-stack.c (tui_show_frame_info): Likewise.
Diffstat (limited to 'gdb/tui')
-rw-r--r--gdb/tui/tui-stack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/tui/tui-stack.c b/gdb/tui/tui-stack.c
index 05230da..907f00a 100644
--- a/gdb/tui/tui-stack.c
+++ b/gdb/tui/tui-stack.c
@@ -356,7 +356,7 @@ tui_show_frame_info (struct frame_info *fi)
else
{
if (find_pc_partial_function (get_frame_pc (fi), (char **) NULL,
- &low, (CORE_ADDR) NULL) == 0)
+ &low, (CORE_ADDR) 0) == 0)
error (_("No function contains program counter for selected frame."));
else
low = tui_get_low_disassembly_address (low, get_frame_pc (fi));