From a52d8b3391f055d402435934a41fe30218b5c893 Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Tue, 19 Jul 2005 23:12:04 +0000 Subject: [PATCH] Made the debug output more robust. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13773 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/bin/gdb/gdb/solib-haiku.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/gdb/gdb/solib-haiku.c b/src/bin/gdb/gdb/solib-haiku.c index 7c8f22b819..30af10a9fe 100644 --- a/src/bin/gdb/gdb/solib-haiku.c +++ b/src/bin/gdb/gdb/solib-haiku.c @@ -147,7 +147,7 @@ relocate_main_executable (void) TRACE(("relocate_main_executable(): symfile_objfile: %p\n", symfile_objfile)); TRACE(("relocate_main_executable(): symfile_objfile->obfd: %p\n", -symfile_objfile->obfd)); +(symfile_objfile ? symfile_objfile->obfd : NULL))); TRACE(("relocate_main_executable(): app image: %p\n", appImageInfo)); // Relocate the executable here.