Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* mips64 gdb problem
@ 2005-06-24 13:42 Maxim Osipov
  2005-06-24 14:10 ` Daniel Jacobowitz
  2005-06-28 13:20 ` GDB error neuwald
  0 siblings, 2 replies; 10+ messages in thread
From: Maxim Osipov @ 2005-06-24 13:42 UTC (permalink / raw)
  To: gdb

Hello,

I have a problem trying to debug 64-bit mips binary with gdb-6.3. It
fails with the following message:

/home # gdb 64test
GNU gdb 6.3
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or 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.
This GDB was configured as "mips64-linux-gnu"...
../../gdb-6.3/gdb/dwarf2-frame.c:1411: internal-error:
decode_frame_entry_1: Assertion `fde->cie != NULL' failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Quit this debugging session? (y or n)

Sections of this binary looks like the following:

osipov_m@ngcp0:/tftpboot/maxim/mipsroot.64/home>
mips64-linux-gnu-objdump -h 64test

64test:     file format elf64-tradbigmips

Sections:
Idx Name          Size      VMA               LMA               File off  Algn
  0 .note.ABI-tag 00000020  00000001200000e8  00000001200000e8  000000e8  2**2
                  CONTENTS, ALLOC, LOAD, READONLY, DATA
  1 .MIPS.options 00003278  0000000120000108  0000000120000108  00000108  2**3
                  CONTENTS, ALLOC, LOAD, READONLY, DATA
  2 .init         00000080  0000000120003380  0000000120003380  00003380  2**3
                  CONTENTS, ALLOC, LOAD, READONLY, CODE
  3 .text         000699d0  0000000120003400  0000000120003400  00003400  2**4
                  CONTENTS, ALLOC, LOAD, READONLY, CODE
  4 __libc_freeres_fn 00000cb8  000000012006cdd0  000000012006cdd0 
0006cdd0  2**3
                  CONTENTS, ALLOC, LOAD, READONLY, CODE
  5 .fini         0000004c  000000012006da88  000000012006da88  0006da88  2**3
                  CONTENTS, ALLOC, LOAD, READONLY, CODE
  6 .rodata       00015560  000000012006dae0  000000012006dae0  0006dae0  2**4
                  CONTENTS, ALLOC, LOAD, READONLY, DATA
  7 .eh_frame     000014d4  0000000120184000  0000000120184000  00084000  2**3
                  CONTENTS, ALLOC, LOAD, DATA
  8 .ctors        00000010  00000001201854d8  00000001201854d8  000854d8  2**3
                  CONTENTS, ALLOC, LOAD, DATA
  9 .dtors        00000018  00000001201854e8  00000001201854e8  000854e8  2**3
                  CONTENTS, ALLOC, LOAD, DATA
 10 .jcr          00000008  0000000120185500  0000000120185500  00085500  2**3
                  CONTENTS, ALLOC, LOAD, DATA
 11 .data.rel.ro  000045d0  0000000120185508  0000000120185508  00085508  2**3
                  CONTENTS, ALLOC, LOAD, DATA
 12 .data         000014d0  0000000120189ae0  0000000120189ae0  00089ae0  2**4
                  CONTENTS, ALLOC, LOAD, DATA
 13 __libc_subfreeres 00000048  000000012018afb0  000000012018afb0 
0008afb0  2**3
                  CONTENTS, ALLOC, LOAD, DATA
 14 __libc_atexit 00000008  000000012018aff8  000000012018aff8  0008aff8  2**3
                  CONTENTS, ALLOC, LOAD, DATA
 15 .got          00001688  000000012018b000  000000012018b000  0008b000  2**4
                  CONTENTS, ALLOC, LOAD, DATA
 16 .sbss         00000128  000000012018c688  000000012018c688  0008c688  2**3
                  ALLOC
 17 .bss          00001638  000000012018c7b0  000000012018c7b0  0008c688  2**4
                  ALLOC
 18 __libc_freeres_ptrs 00000030  000000012018dde8  000000012018dde8 
0008c688  2**3
                  ALLOC
 19 .comment      000013f8  0000000000000000  0000000000000000  0008c688  2**0
                  CONTENTS, READONLY
 20 .debug_aranges 00000190  0000000000000000  0000000000000000  0008da80  2**4
                  CONTENTS, READONLY, DEBUGGING
 21 .debug_pubnames 000000e0  0000000000000000  0000000000000000  0008dc10  2**0
                  CONTENTS, READONLY, DEBUGGING
 22 .debug_info   00000e9d  0000000000000000  0000000000000000  0008dcf0  2**0
                  CONTENTS, READONLY, DEBUGGING
 23 .debug_abbrev 0000043a  0000000000000000  0000000000000000  0008eb8d  2**0
                  CONTENTS, READONLY, DEBUGGING
 24 .debug_line   00000390  0000000000000000  0000000000000000  0008efc7  2**0
                  CONTENTS, READONLY, DEBUGGING
 25 .debug_frame  00000130  0000000000000000  0000000000000000  0008f358  2**3
                  CONTENTS, READONLY, DEBUGGING
 26 .debug_str    00000169  0000000000000000  0000000000000000  0008f488  2**0
                  CONTENTS, READONLY, DEBUGGING
 27 .pdr          000055c0  0000000000000000  0000000000000000  0008f5f4  2**2
                  CONTENTS, READONLY
 28 .mdebug.abi64 00000000  0000000000000000  0000000000000000  00094bb4  2**0
                  CONTENTS, READONLY

Best regards,
Maxim


^ permalink raw reply	[flat|nested] 10+ messages in thread
* gdb error
@ 2003-12-04  5:34 Tom Kazakoff
  2003-12-04 14:17 ` Andrew Cagney
  0 siblings, 1 reply; 10+ messages in thread
From: Tom Kazakoff @ 2003-12-04  5:34 UTC (permalink / raw)
  To: gdb

I have built gdb as a i586-pc-cygwin x m68k-coff-bdm debugger.
When I type: target at the gdb> prompt, one of the options is cpu32bug, 
which is the debugger my board runs at startup, and that I can talk to via
HyperTerminal. The gdb is running under a cygwin bash shell on NT, service
pack 6a.

I type; target cpu32bug COM1 <ret>

I then get 4 errors that are;
get_tty_state failed: Not a typewriter
get_tty_state failed: Not a typewriter
get_tty_state failed: Not a typewriter
get_tty_state failed: Not a typewriter

Sometimes I just get one error which is:
Not a typewriter

and sometimes the system crashes, with a 
segmentation error.

I have used the   set remotebaud 9600
			set serial 1
commands prior to issuing the target cmd.

I cannot find any meaningful information in the documentation about
this.

Do you have any idea what this error means and how to fix it ????????

Tom Kazakoff


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2005-06-28 20:11 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-06-24 13:42 mips64 gdb problem Maxim Osipov
2005-06-24 14:10 ` Daniel Jacobowitz
2005-06-24 14:43   ` Maxim Osipov
2005-06-24 21:48     ` Mark Kettenis
2005-06-28 13:20 ` GDB error neuwald
2005-06-28 13:24   ` Daniel Jacobowitz
2005-06-28 19:35   ` Mark Kettenis
2005-06-28 20:11     ` Dave Murphy
  -- strict thread matches above, loose matches on Subject: below --
2003-12-04  5:34 gdb error Tom Kazakoff
2003-12-04 14:17 ` Andrew Cagney

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox