From: Richard Henderson <rth@redhat.com>
To: Kevin Buettner <kevinb@cygnus.com>
Cc: Daniel Berlin <dberlin@redhat.com>, gdb@sources.redhat.com
Subject: Re: [crash] Section index is uninitialized
Date: Fri, 01 Dec 2000 01:35:00 -0000 [thread overview]
Message-ID: <20001201013541.A25734@redhat.com> (raw)
In-Reply-To: <1001201085134.ZM28276@ocotillo.lan>
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 6905 bytes --]
On Fri, Dec 01, 2000 at 01:51:35AM -0700, Kevin Buettner wrote:
> * elfread.c (record_minimal_symbol_and_info): Don't guess
> at the section index to use; just use bfd's index.
That did it. Thanks.
r~
From cadamuro@lit.cpdtt.cefetpr.br Fri Dec 01 07:40:00 2000
From: João Cadamuro Junior <cadamuro@lit.cpdtt.cefetpr.br>
To: gdb <gdb@sources.redhat.com>
Subject: GDB for powerpc-eabi under cygwin
Date: Fri, 01 Dec 2000 07:40:00 -0000
Message-id: <3A27C7CC.F75AE735@lit.cpdtt.cefetpr.br>
X-SW-Source: 2000-12/msg00002.html
Content-length: 6350
Hello GDB,
I have a little questions about debugging powerpc targets and I'll be
grateful for any help...
I'm using gdb+insight to debug my PowerPC target. The debugger was built
using option "--target=powerpc-eabi" and under cygwin (Pentium III
machine with Windows2000 (SP 1) Operating System).
The last successful built for me was 2000-08-16. After this version I
tryied to build a certain number of snapshots without success.
I have two reasons for build a newer gdb version:
1. PowerPC simulator don't work for snapshot 2000-08-16.
If you compile a simple "Hello Word" for the simulator and try to debug
it with GDB, you'll be "ejected"...
2. Sometimes when the target reports a breakpoint to GDB host with a
Breakpoint Signal (SDS monitor target...) gdb "eject" me too. The point
here is that target stop execution, repots the breakpoint signal, and
GDB crashes receiving this signal. Because this problem is not
deterministic, I cannot fix it...
With this problems, my last try to build gdb+insight was 2000-11-30
snapshot, under cygwin-1.1.6 .
Attempting to build it, I get the same errors as reported by earlier
versions, in gdb/gdb directory:
rm -f gdb.exe
gcc -g -O2 -Wl,--subsystem,console -o gdb.exe main.o libgdb.a
../sim/ppc/libsim.a ../bfd/libbfd.a ../readline/libreadline.a
../opcodes/libopcodes.a ./../intl/libintl.a ../libiberty/libiberty.a `if
test -r ../libtermcap/libtermcap.a; then echo
../libtermcap/libtermcap.a; else echo -ltermcap; fi`
../libgui/src/libgui.a -L/tmp/build-ppc/gdb/itcl/itcl/win -litcl30
-L/tmp/build-ppc/gdb/itcl/itk/win -litk30
-L/tmp/build-ppc/gdb/tix/win/tcl8.0 -ltix4180
-L/tmp/build-ppc/gdb/tk/win -ltk80 -L/tmp/build-ppc/gdb/tcl/win
-ltcl80 -lm -lm ../libiberty/libiberty.a -luser32 -lshell32
-lgdi32 -lcomdlg32 -ladvapi32
../readline/libreadline.a(display.o): In function `rl_redisplay':
/src/gdb/insight+dejagnu-20001130/readline/display.c:695: undefined
reference to `_imp__tputs'
../readline/libreadline.a(display.o): In function `update_line':
/src/gdb/insight+dejagnu-20001130/readline/display.c:952: undefined
reference to `_imp__tputs'
../readline/libreadline.a(display.o): In function
`rl_move_cursor_relative':
/src/gdb/insight+dejagnu-20001130/readline/display.c:1175: undefined
reference to `_imp__tputs'
../readline/libreadline.a(display.o): In function `rl_move_vert':
/src/gdb/insight+dejagnu-20001130/readline/display.c:1225: undefined
reference to `_imp__tputs'
/src/gdb/insight+dejagnu-20001130/readline/display.c:1241: undefined
reference to `_imp__tputs'
../readline/libreadline.a(display.o):/src/gdb/insight+dejagnu-20001130/readline/display.c:1454:
more undefined references to `_imp__tputs' follow
../readline/libreadline.a(display.o): In function `insert_some_chars':
/src/gdb/insight+dejagnu-20001130/readline/display.c:1502: undefined
reference to `_imp__tgoto'
/src/gdb/insight+dejagnu-20001130/readline/display.c:1503: undefined
reference to `_imp__tputs'
/src/gdb/insight+dejagnu-20001130/readline/display.c:1512: undefined
reference to `_imp__tputs'
/src/gdb/insight+dejagnu-20001130/readline/display.c:1519: undefined
reference to `_imp__tputs'
/src/gdb/insight+dejagnu-20001130/readline/display.c:1528: undefined
reference to `_imp__tputs'
../readline/libreadline.a(display.o): In function `delete_chars':
/src/gdb/insight+dejagnu-20001130/readline/display.c:1545: undefined
reference to `_imp__tgoto'
/src/gdb/insight+dejagnu-20001130/readline/display.c:1546: undefined
reference to `_imp__tputs'
/src/gdb/insight+dejagnu-20001130/readline/display.c:1552: undefined
reference to `_imp__tputs'
../readline/libreadline.a(display.o): In function `cr':
/src/gdb/insight+dejagnu-20001130/readline/display.c:1600: undefined
reference to `_imp__tputs'
../readline/libreadline.a(display.o): In function
`rl_redisplay_after_sigwinch':
/src/gdb/insight+dejagnu-20001130/readline/display.c:1650: undefined
reference to `_imp__tputs'
/src/gdb/insight+dejagnu-20001130/readline/display.c:1658: undefined
reference to `_imp__tputs'
../readline/libreadline.a(display.o):/src/gdb/insight+dejagnu-20001130/readline/display.c:1662:
more undefined references to `_imp__tputs' follow
../readline/libreadline.a(terminal.o): In function `rl_get_screen_size':
/src/gdb/insight+dejagnu-20001130/readline/terminal.c:199: undefined
reference to `_imp__tgetnum'
/src/gdb/insight+dejagnu-20001130/readline/terminal.c:215: undefined
reference to `_imp__tgetnum'
../readline/libreadline.a(terminal.o): In function
`get_term_capabilities':
/src/gdb/insight+dejagnu-20001130/readline/terminal.c:309: undefined
reference to `_imp__tgetstr'
../readline/libreadline.a(terminal.o): In function
`rl_init_terminal_io':
/src/gdb/insight+dejagnu-20001130/readline/terminal.c:360: undefined
reference to `_imp__tgetent'
/src/gdb/insight+dejagnu-20001130/readline/terminal.c:419: undefined
reference to `_imp__tgetflag'
/src/gdb/insight+dejagnu-20001130/readline/terminal.c:419: undefined
reference to `_imp__tgetflag'
/src/gdb/insight+dejagnu-20001130/readline/terminal.c:431: undefined
reference to `_imp__tgetflag'
/src/gdb/insight+dejagnu-20001130/readline/terminal.c:431: undefined
reference to `_imp__tgetflag'
../readline/libreadline.a(terminal.o): In function `rl_backspace':
/src/gdb/insight+dejagnu-20001130/readline/terminal.c:528: undefined
reference to `_imp__tputs'
../readline/libreadline.a(terminal.o): In function `ding':
/src/gdb/insight+dejagnu-20001130/readline/terminal.c:566: undefined
reference to `_imp__tputs'
../readline/libreadline.a(terminal.o): In function `rl_enable_meta_key':
/src/gdb/insight+dejagnu-20001130/readline/terminal.c:592: undefined
reference to `_imp__tputs'
../readline/libreadline.a(terminal.o): In function `rl_control_keypad':
/src/gdb/insight+dejagnu-20001130/readline/terminal.c:602: undefined
reference to `_imp__tputs'
/src/gdb/insight+dejagnu-20001130/readline/terminal.c:604: undefined
reference to `_imp__tputs'
collect2: ld returned 1 exit status
make[1]: *** [gdb.exe] Error 1
make[1]: Leaving directory `/tmp/build-ppc/gdb/gdb'
make: *** [all-gdb] Error 2
make: Leaving directory `/tmp/build-ppc/gdb'
Someone has some suggestion to build a newer version, or what's the
problem with my old debugger snapshot version???
Thanks in advance,
João Cadamuro Junior
LIT / CPDTT / CEFET-PR
URL.: http://www.lit.cpdtt.cefetpr.br
prev parent reply other threads:[~2000-12-01 1:35 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-11-30 17:41 Richard Henderson
[not found] ` <m3wvdk21xf.fsf@dan2.cygnus.com>
2000-11-30 21:41 ` Kevin Buettner
[not found] ` <20001130232605.A7627@redhat.com>
[not found] ` <1001201085134.ZM28276@ocotillo.lan>
2000-12-01 1:35 ` Richard Henderson [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20001201013541.A25734@redhat.com \
--to=rth@redhat.com \
--cc=dberlin@redhat.com \
--cc=gdb@sources.redhat.com \
--cc=kevinb@cygnus.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox