Re: [yocto] using gdb with externalsrc

2015-07-20 Thread Dave Kimble
16, 2015 11:20 AM To: Khem Raj Cc: yocto@yoctoproject.org Subject: RE: [yocto] using gdb with externalsrc The path is S (externalsrc path). compiler flags: i586-poky-linux-gcc -m32 -march=i586 --sysroot=[sysroot dir] -DHAVE_CONFIG_H -I. -I[externalsrc dir] -I.. -D_ANSC_LINUX -D_ANSC_USER -D

Re: [yocto] using gdb with externalsrc

2015-07-20 Thread Dave Kimble
Cc: yocto@yoctoproject.org Subject: Re: [yocto] using gdb with externalsrc On Wed, Jul 15, 2015 at 2:52 PM, Dave Kimble wrote: > Yes, I'm able to debug the externalsrc component. I can see variables, set > breakpoints, step/next through the code etc. (so the symbols are valid). And &

Re: [yocto] using gdb with externalsrc

2015-07-20 Thread Dave Kimble
gdb if externalsrc source files are put in a different place (although, it'd be ideal if they were put in the same place). Thanks From: Khem Raj Sent: Wednesday, July 15, 2015 1:49 PM To: Dave Kimble Cc: yocto@yoctoproject.org Subject: Re: [yocto] usi

Re: [yocto] using gdb with externalsrc

2015-07-16 Thread Paul Eggleton
On Wednesday 15 July 2015 19:54:08 Khem Raj wrote: > On Wed, Jul 15, 2015 at 2:52 PM, Dave Kimble wrote: > > Yes, I'm able to debug the externalsrc component. I can see variables, set > > breakpoints, step/next through the code etc. (so the symbols are valid). > > And local changes to the external

Re: [yocto] using gdb with externalsrc

2015-07-15 Thread Khem Raj
On Wed, Jul 15, 2015 at 2:52 PM, Dave Kimble wrote: > Yes, I'm able to debug the externalsrc component. I can see variables, set > breakpoints, step/next through the code etc. (so the symbols are valid). And > local changes to the externalsrc component are reflected when I debug. > > But I can't l

Re: [yocto] using gdb with externalsrc

2015-07-15 Thread Khem Raj
On Wed, Jul 15, 2015 at 9:36 AM, Dave Kimble wrote: > We've got a component of an existing Yocto project under active development > that we'd like to debug with gdb. > > We’ve added these features to get gdb and the debug symbol packages into the > image: > > EXTRA_IMAGE_FEATURES = "debug-tweaks t

[yocto] using gdb with externalsrc

2015-07-15 Thread Dave Kimble
We've got a component of an existing Yocto project under active development that we'd like to debug with gdb.? We've added these features to get gdb and the debug symbol packages into the image: EXTRA_IMAGE_FEATURES = "debug-tweaks tools-debug" IMAGE_FEATURES = "ssh-server-openssh dbg-pkgs"