HP WDB GUI 5.7 Reference Manual (September 2007)
Troubleshooting WDB GUI
Known Problems
Chapter 4 95
Known Problems
• Problem:gdb prompt gets disabled in WDB-GUI
Workaround:Giving a on gdb prompt in WDB-GUI, and disables gdb prompt.
• Problem:WDB GUI Opens Multiple Windows
Workaround:WDB GUI opens the same source file twice in the source window, when
TERM the working directory is changed to an NFS mounted directory which has a
canonical reference. For example, /tmp can canonically refer to /disk3/tmp.
You might encounter the problem if you follow these steps:
— Change the working directory of WDB GUI to some NFS mounted directory which has
canonical reference (cd /tmp). WDB GUI prints this message in the Command
window:
(gdb) cd /tmp
Working directory /tmp
(canonically /disk3/tmp)
— Load an executable in the GUI and step into the code:
(gdb) file a.out
(gdb) b main
Breakpoint 1 at 0x2f24: file /tmp/a.c, line 44
(gdb) r
Starting program: /tmp/a.out
(gdb) s
— Now open the source file of the executable, say a.c, in both of the following two ways:
1. Right-click in the Source window and select Edit File from the Source popup
menu.
2. Use the Open File option in the Tool bar menu
You will find that the same file will be opened twice in the Source window from the
following locations:
— /disk3/tmp/a.c
— /tmp/a.c