This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: how does GDB find the symbols?
"Lucy Zhang" <lucyz@uclink4.berkeley.edu> writes:
> I'm converting a coredump into the ELF format. At first, the outputs in GDB
> came out blank, i.e.
> #0 0x40091aa5 in ?? ()
>
>
> But after I added some other infomation, now I get the symbols filled in.
> i.e.
>
> #0 0x40091aa5 in sigset (sig=-1073747472, disp=0x20) at
> ../sysdeps/posix/sigset.c:69
>
> Where does GDB find the function names, the arg lists, and other such
> information?
>From the executable file's debugging info.