Re: Attach gdb to program?

2010-04-09 Thread George Kiagiadakis
On Fri, Apr 9, 2010 at 8:10 AM, Adrian von Bidder wrote: > On Thursday 08 April 2010 16.04:39 Carsten Pfeiffer wrote: >> Am Donnerstag, 8. April 2010 schrieb Adrian von Bidder: >> > Given a Debian package (kmail, in this case, with installed kdepim-dbg >> > package) and an extracted source package

Re: Attach gdb to program?

2010-04-09 Thread Adrian von Bidder
On Thursday 08 April 2010 07.21:59 Adrian von Bidder wrote: > Just gdb -p /usr/bin/kmail doesn't work :-( Arrgh! As it turns out, gdb 7.0 (squeeze) doesn't really work with binarries from sid (or experimental), at least onn 32bit x86. gdb 7.1 (sid) works fine. cheers -- vbi -- As we found o

Re: Attach gdb to program?

2010-04-09 Thread Adrian von Bidder
On Thursday 08 April 2010 16.04:39 Carsten Pfeiffer wrote: > Am Donnerstag, 8. April 2010 schrieb Adrian von Bidder: > > Given a Debian package (kmail, in this case, with installed kdepim-dbg > > package) and an extracted source package: how do I properly start gdb > > (or ddd or ...) so that it fi

Re: Attach gdb to program?

2010-04-08 Thread Carsten Pfeiffer
Am Donnerstag, 8. April 2010 schrieb Adrian von Bidder: > Given a Debian package (kmail, in this case, with installed kdepim-dbg > package) and an extracted source package: how do I properly start gdb (or > ddd or ...) so that it finds both the debugging symbols and the source > code? > > Just gd

Attach gdb to program?

2010-04-07 Thread Adrian von Bidder
Heyho! Given a Debian package (kmail, in this case, with installed kdepim-dbg package) and an extracted source package: how do I properly start gdb (or ddd or ...) so that it finds both the debugging symbols and the source code? Just gdb -p /usr/bin/kmail doesn't work :-( (I've only ever used