Bug 17446 - gdb --batch broken since 7.8
Summary: gdb --batch broken since 7.8
Status: RESOLVED FIXED
Alias: None
Product: gdb
Classification: Unclassified
Component: backtrace (show other bugs)
Version: 7.8
: P2 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-30 12:44 UTC by Martin Sandsmark
Modified: 2014-10-24 18:53 UTC (History)
4 users (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Sandsmark 2014-09-30 12:44:08 UTC
gdb after 7.8 just prints two garbage frames when in batch mode. confirmed on ubuntu and archlinux.

# How to reproduce
echo "thread apply all bt" > /tmp/instr
gdb --batch -x /tmp/instr -p `pidof kate` /usr/bin/kate

|
|
v

Thread 1 (process 23159):
#0 0x00007ff7ffafb39d in ?? ()
#1 0x0000000000000000 in ?? ()

this breaks the crash handler/reporter used for all KDE applications.

ubuntu launchpad bug: https://bugs.launchpad.net/ubuntu/+source/gdb/+bug/1371043
Comment 1 Martin Sandsmark 2014-09-30 12:48:11 UTC
KDE bug: https://bugs.kde.org/show_bug.cgi?id=339476
Comment 2 Doug Evans 2014-10-03 08:11:10 UTC
Data point: This could be a dupe of 17347.
The fix for that is in the 7.8 branch and will be in 7.8.1.
Comment 3 Pedro Alves 2014-10-24 18:53:41 UTC
> Data point: This could be a dupe of 17347.

Yeah, this is fixed in mainline, and bisecting pointed at the fix for 17347.

Closing as fixed then.