753f5e6d3e
- Fix debuginfo addresses resolving for --emit-relocs Linux kernels (BZ 203661, from Jan Kratochvil, like the remaining changes). - Bugfix segv on the source display by ^X 1 (fixes Patch130, BZ 200048). - Do not step into the PPC solib trampolines (BZ 200533). - Fix exec() from threaded program, partial CVS backport (BZ 182116). - Fix occasional failure to load shared libraries (BZ 146810). - Bugfix object names completion (fixes Patch116, BZ 193763). - Avoid crash of 'info threads' if stale threads exist (BZ 195429). - Handle corrupted or missing location list information (BZ 196439).
31 lines
1010 B
Diff
31 lines
1010 B
Diff
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=200048
|
|
|
|
|
|
diff -ru gdb-6.5-orig/gdb/tui/tui-layout.c gdb-6.5-pr200048/gdb/tui/tui-layout.c
|
|
--- gdb-6.5-orig/gdb/tui/tui-layout.c 2006-08-07 21:33:42.000000000 +0200
|
|
+++ gdb-6.5-pr200048/gdb/tui/tui-layout.c 2006-08-13 02:26:39.000000000 +0200
|
|
@@ -519,13 +519,17 @@
|
|
{
|
|
case SRC_COMMAND:
|
|
case SRC_DATA_COMMAND:
|
|
- find_line_pc (cursal.symtab,
|
|
+ if (find_line_pc (cursal.symtab,
|
|
TUI_SRC_WIN->detail.source_info.start_line_or_addr.u.line_no,
|
|
- &pc_list, &num_pc_values);
|
|
- /* FIXME: What do we do with multiple pc values for ctors/dtors or
|
|
- inlined functions? */
|
|
- addr = pc_list[0];
|
|
- xfree (pc_list);
|
|
+ &pc_list, &num_pc_values))
|
|
+ {
|
|
+ /* FIXME: What do we do with multiple pc values for ctors/dtors or
|
|
+ inlined functions? */
|
|
+ addr = pc_list[0];
|
|
+ xfree (pc_list);
|
|
+ }
|
|
+ else
|
|
+ addr = 0;
|
|
break;
|
|
case DISASSEM_COMMAND:
|
|
case SRC_DISASSEM_COMMAND:
|