gdb
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 64bit gdb not recognizing XCOFF executables


From: swamy sangamesh
Subject: Re: 64bit gdb not recognizing XCOFF executables
Date: Tue, 31 May 2011 19:11:36 +0530

  Hi All,

  Looks like 64-bit gdb is it not able to register XCOFF BFD  in sym_fns using  _initialize_xcoffread function from xcoffread.c, perhaps when i checked my build envirnoment xcoffread.c was not 
  compiled at all,  hence we are not able to read any XCOFF executables.

  Please let me know any suggestions on how to compile xcoffread.c in 64-bit mode am i missing any configuration option ?


On Sun, May 29, 2011 at 10:21 PM, swamy sangamesh <address@hidden> wrote:
Hi All,

I am getting below error message for 64-bit gdb-7.2 build on AIX5.3

my environment details are

CC=gcc
CFLAGS="-maix64"
OBJECT_MODE=64

# ./configure --disable-werror --disable-nls --enable-64-bit-bfd --target=powerpc64-ibm-aix5.3.0.0

(0) root @ : : /opt/freeware/src/packages/BUILD/gdb-7.2/gdb
# file ./gdb
./gdb: 64-bit XCOFF executable or object module not stripped
# file /tmp/test
/tmp/test: 64-bit XCOFF executable or object module not stripped

(0) root @ : : /opt/freeware/src/packages/BUILD/gdb-7.2/gdb
# ./gdb /tmp/test
GNU gdb (GDB) 7.2
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "--host=powerpc-ibm-aix5.3.0.0 --target=powerpc64-ibm-aix5.3.0.0".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /tmp/test...I'm sorry, Dave, I can't do that.  Symbol format `aix5coff64-rs6000' unknown.
Setting up the environment for debugging gdb.
No symbol table is loaded.  Use the "file" command.
Make breakpoint pending on future shared library load? (y or [n]) [answered N; input not from terminal]
No symbol table is loaded.  Use the "file" command.
Make breakpoint pending on future shared library load? (y or [n]) [answered N; input not from terminal]
.gdbinit:8: Error in sourced command file:
Argument required (one or more breakpoint numbers).
(gdb) file /tmp/test
Reading symbols from /tmp/test...I'm sorry, Dave, I can't do that.  Symbol format `aix5coff64-rs6000' unknown.

(gdb)

64-bit gdb is not recognizing the either 32-bit or 64-bit XCOFF executable. 32-bit gbd is working fine.

Please let me know am i missing any configuration options ??


--
Thanks & Regards,
Sangamesh 




--
Thanks & Regards,
Sangamesh 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]