Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* RE: gdb 4.17 on powerpc-ibm-aix4.2.1.0 fails
@ 1998-09-17  2:26 KRUMPOLEC Martin
  0 siblings, 0 replies; 2+ messages in thread
From: KRUMPOLEC Martin @ 1998-09-17  2:26 UTC (permalink / raw)
  To: 'Peter.Schauer'; +Cc: 'gdb@cygnus.com'

> This might be caused by GDB or the shell picking up the wrong
> test executable (from /bin/test).

  This is definitly not my problem ... I can name source & binary file
as I wish,
  but the problem is still there ... I think there is a bug in BFD
library ...
  Should I report it, or is there a patch loating around ?

Martin

--
Martin Krumpolec <krumpo@pobox.sk>


^ permalink raw reply	[flat|nested] 2+ messages in thread
* gdb 4.17 on powerpc-ibm-aix4.2.1.0 fails
@ 1998-09-16  1:09 KRUMPOLEC Martin
  0 siblings, 0 replies; 2+ messages in thread
From: KRUMPOLEC Martin @ 1998-09-16  1:09 UTC (permalink / raw)
  To: 'gdb@cygnus.com'

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>


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

end of thread, other threads:[~1998-09-17  2:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-09-17  2:26 gdb 4.17 on powerpc-ibm-aix4.2.1.0 fails KRUMPOLEC Martin
  -- strict thread matches above, loose matches on Subject: below --
1998-09-16  1:09 KRUMPOLEC Martin

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