This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

gdb under sparc64-sun-solaris2.9


hi everybody!

I've got a problem debuging programs which are using the 64-bit mode under
solaris 9.

I use gcc/g++ 3.3 on a clean solaris 9/sparc installation.

I build gdb-5.3 and gdb-6.0 with no special configure options.
It works well with 32-bit executables, but if I try to run a 64-bit
excuteable i get following messages:

  bash-2.05$ gdb 64bit.debug
  GNU gdb 5.3
  ...
  This GDB was configured as "sparc64-sun-solaris2.9"...
  (gdb) break main
  Breakpoint 1 at 0x100000850: file sizeof.c, line 48.

  (gdb) run
  Starting program: /export/shared/home/run/test/64bit.debug
  procfs: target_wait (wait_for_stop) line 3907, /proc/20752: Value too
large for defined data type.

  (gdb) continue
  Continuing.
  Warning:
  Cannot insert breakpoint 1.
  Error accessing memory address 0x100000850: I/O error.
  The same program may be running in another process.
  (gdb)


it's the same with gdb-6.0.
I would be grateful for any suggestions,
   Eric.


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