From: KRUMPOLEC Martin <krumpo@pobox.sk>
To: "'gdb@cygnus.com'" <gdb@cygnus.com>
Subject: gdb 4.17 on powerpc-ibm-aix4.2.1.0 fails
Date: Wed, 16 Sep 1998 01:09:00 -0000 [thread overview]
Message-ID: <9C2DAFD49E44D211AF83006008A9807803E5D0@SA1_0010> (raw)
Env: gdb 4.17 on our PowerPC AIX 4.2,
Hello,
I have this test program:
#include <stdio.h>
int main(int argc, char **argv)
{
printf("%s\n", argv[0]);
return 0;
}
I compile it either by gcc or vendor's cc using
following commands: (gcc = egcs 1.1 or gcc 2.8)
cc -g -o test test.c
gcc -g -o test test.c
gcc -ggdb -o test test.c
But when I try tu start gdb on result, it always fails:
GNU gdb 4.17
Copyright 1998 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 "powerpc-ibm-aix4.2.1.0"...
(gdb) b main
Breakpoint 1 at 0x100001f0: file test.c, line 5.
(gdb) r
Starting program: /home4/users/crypt/src/test/test
warning: Symbol file /home4/users/crypt/src/test/test
is not mapped; discarding it.
If in fact that file has symbols which the mapped files listed by
"info files" lack, you can load symbols with the "symbol-file" or
"add-symbol-file" commands (note that you must take care of relocating
symbols to the proper address).
Error in re-setting breakpoint 1:
Function "main" not defined.
(no debugging symbols found)...Error in re-setting breakpoint 1:
Function "main" not defined.
Error in re-setting breakpoint 1:
Function "main" not defined.
Error in re-setting breakpoint 1:
Function "main" not defined.
Error in re-setting breakpoint 1:
Function "main" not defined.
Am I doing something wrong, or I have found bug ?
(gdb was build in obvious was = ./configure && make install)
Thank you very much
Martin
--
Martin Krumpolec <krumpo@pobox.sk>
next reply other threads:[~1998-09-16 1:09 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-09-16 1:09 KRUMPOLEC Martin [this message]
1998-09-17 2:26 KRUMPOLEC Martin
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=9C2DAFD49E44D211AF83006008A9807803E5D0@SA1_0010 \
--to=krumpo@pobox.sk \
--cc=gdb@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