diff options
author | John Baldwin <jhb@FreeBSD.org> | 2016-06-11 08:15:09 -0700 |
---|---|---|
committer | John Baldwin <jhb@FreeBSD.org> | 2016-06-14 11:49:34 -0700 |
commit | 683cd65eb4787e3e2921076699e0ca9b00762df3 (patch) | |
tree | a22468f6b6c6ee61a6b9428a9f67b5a4cc5d9f4a /gdb/tui | |
parent | bec734b212d68d96560e309f49a584d98b98fbdc (diff) | |
download | gdb-683cd65eb4787e3e2921076699e0ca9b00762df3.zip gdb-683cd65eb4787e3e2921076699e0ca9b00762df3.tar.gz gdb-683cd65eb4787e3e2921076699e0ca9b00762df3.tar.bz2 |
Pass a NULL pointer as the last argument to find_pc_partial_function.
gdb/ChangeLog:
* tui/tui-stack.c (tui_show_frame_info): Fix type mismatch.
Diffstat (limited to 'gdb/tui')
-rw-r--r-- | gdb/tui/tui-stack.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/tui/tui-stack.c b/gdb/tui/tui-stack.c index da6c7b1..b6cf144 100644 --- a/gdb/tui/tui-stack.c +++ b/gdb/tui/tui-stack.c @@ -416,7 +416,7 @@ tui_show_frame_info (struct frame_info *fi) { if (find_pc_partial_function (get_frame_pc (fi), (const char **) NULL, - &low, (CORE_ADDR) 0) == 0) + &low, NULL) == 0) { /* There is no symbol available for current PC. There is no safe way how to "disassemble backwards". */ |