This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

GDB and DDD replies : (no debugging symbols found)...


Hi all,

I hope I did not spam too many guys at once -- I simply can not determine if
what I'm not doing right
is in GCC or GDB/DDD ... and I'm tried bashing my head to the wall ...

I'm working on SunOS 2.6 and I'm trying to debug small PowerPC assembly
program.

I'm compiling small assembly file using

>powerpc-eabi-gcc -g init4xx.S


rami@sp10 sys403 > powerpc-eabi-gcc --version
2.95.2

rami@sp10 sys403 > powerpc-eabi-as --version
GNU assembler 2.10.1
Copyright 2000 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License.  This program has absolutely no warranty.
This assembler was configured for a target of `powerpc-eabi'.

rami@sp10 sys403 > powerpc-eabi-gdb --version
GDB 4.16 (sparc-sun-solaris2.6 --target powerpc--eabi), Copyright 1996 Free
Software Foundation, Inc.

I start powerpc-eabi-gdb in the following manner :

============================================================================
===========
rami@sp10 sys403 > powerpc-eabi-gdb init4xx.o
GDB is free software and you are welcome to distribute copies of it
 under certain conditions; type "show copying" to see the conditions.
There is absolutely no warranty for GDB; type "show warranty" for details.
GDB 4.16 (sparc-sun-solaris2.6 --target powerpc--eabi),
Copyright 1996 Free Software Foundation, Inc...(no debugging symbols
found)...
(gdb) list
No symbol table is loaded.  Use the "file" command.
(gdb)
============================================================================
===========

And I can not see the assembly lines list --- there is not debugging info in
the system ....

I tried all the combination of -gstabs+ ...  It clear I'm doing something
wrong ...

Any assistance will be appreciated.

Thanks in advance

RamiG



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]