[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [cdt-debug-dev] info "shared library" call for embedded device with self contained code ?
|
I fixed this problem and I'm on to the next one. The problem was indeed
no symbols. The lack of symbols was caused by the debugger needing to
reset things and load the symbols before it got to that point.
Thanks for your help.
On Fri, 2005-12-09 at 15:12 -0500, Mikhail Khodjaiants wrote:
> The "info sharedlibrary" command is issued regardless whether your program
> is using shared libraries or not. It shouldn't affect your debug session.
> So what is the problem with this? I can see that your program is suspended
> because of "SIGTRAP". Then you try to step and you get the "Cannot find
> bounds of current function" message, because you are stepping in the code
> that doesn't have symbol information.
>
> ----- Original Message -----
> From: "Kim Lux" <lux@xxxxxxxxxxxxxxxxxxx>
> To: "CDT Debug developers list" <cdt-debug-dev@xxxxxxxxxxx>
> Sent: Friday, December 09, 2005 12:53 PM
> Subject: [cdt-debug-dev] info "shared library" call for embedded device with
> self contained code ?
>
>
> >I am looking at the debug output of a cdt-debug process.
> >
> > I see this:
> > ==================================================================
> >
> > ...(gdb)
> > [1,134,150,642,106] 105 info sharedlibrary
> > [1,134,150,642,107] &"info sharedlibrary\n"
> > [1,134,150,642,107] &"Undefined info command: \"sharedlibrary\". Try
> > \"help info\".\n"
> > [1,134,150,642,107] 105^error,msg="Undefined info command:
> > \"sharedlibrary\". Try \"help info\"."
> > [1,134,150,642,108] (gdb)
> > [1,134,150,642,108] 106 info signal SIGTRAP
> > [1,134,150,642,108] &"info signal SIGTRAP\n"
> > [1,134,150,642,109] ~"Signal Stop\tPrint\tPass to program
> > \tDescription\n"
> > [1,134,150,642,109] ~"SIGTRAP Yes\tYes\tNo\t\tTrace/breakpoint
> > trap\n"
> > [1,134,150,642,109] 106^done
> > [1,134,150,642,110] (gdb)
> > [1,134,150,646,627] 107-exec-next 1
> > [1,134,150,646,628] 107^running
> > [1,134,150,646,629] (gdb)
> > [1,134,150,646,630] &"Cannot find bounds of current function\n"
> > [1,134,150,646,630] 107^error,msg="Cannot find bounds of current
> > function"
> > [1,134,150,646,630] (gdb)
> >
> >
> > ====================================================================
> >
> > The code I am running is fully self contained. It doesn't call any
> > external code.
> >
> > What is a shared library and why does cdt-debug emit this request of my
> > gdb ?
> >
> > My gdb doesn't have any problems with finding vars when running
> > manually ?
> >
> > Thanks.
> >
> >
> > --
> > Kim Lux, Diesel Research Inc.
> >
> >
> > _______________________________________________
> > cdt-debug-dev mailing list
> > cdt-debug-dev@xxxxxxxxxxx
> > https://dev.eclipse.org/mailman/listinfo/cdt-debug-dev
>
> _______________________________________________
> cdt-debug-dev mailing list
> cdt-debug-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/cdt-debug-dev
>
--
Kim Lux, Diesel Research Inc.