This is the mail archive of the gdb-patches@sourceware.org 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]

Re: Build failure: src/gdb ChangeLog record.c gcore.c gcore.h


Hui Zhu wrote:
$ ./gdb ./a.exe
GNU gdb (GDB) 7.0.50.20091025-cvs
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-pc-cygwin".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /home/hzhu/gdb/bgdbcygwin/gdb/a.exe...done.
Setting up the environment for debugging gdb.
Function "internal_error" not defined.
Make breakpoint pending on future shared library load? (y or [n])
[answered N; input not from terminal]
Function "info_command" not defined.
Make breakpoint pending on future shared library load? (y or [n])
[answered N; input not from terminal]
/home/hzhu/gdb/bgdbcygwin/gdb/.gdbinit:8: Error in sourced command file:
No breakpoint number 0.
(gdb) start
Temporary breakpoint 1 at 0x4010b0: file
/cygdrive/c/study/gcc/gdb/rec/1.c, line 20.
Starting program: /home/hzhu/gdb/bgdbcygwin/gdb/a.exe
[New Thread 3820.0x600]
[New Thread 3820.0x14c]
[New Thread 3820.0xf94]

Temporary breakpoint 1, main () at /cygdrive/c/study/gcc/gdb/rec/1.c:20
20             int     b = 0;
(gdb) gcore
Can't create a corefile
(gdb)

  /* An external target method must build the notes section.  */
  note_data = target_make_corefile_notes (obfd, &note_size);

It's target depend.

It just a error output, better than build error.

Thanks,
Hui

Fine, if you can make it work. I'll be happy to look at a patch.


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