Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Pierre Muller <muller@cerbere.u-strasbg.fr>
To: Michael Snyder <msnyder@cygnus.com>
Cc: gdb-patches@sources.redhat.com
Subject: Re: [PATCH] Add command 'generate-core-file'
Date: Wed, 09 Jan 2002 01:14:00 -0000	[thread overview]
Message-ID: <4.2.0.58.20020109100614.01ac2088@ics.u-strasbg.fr> (raw)
In-Reply-To: <200201090036.g090a1931472@reddwarf.cygnus.com>

At 01:36 09/01/2002 , vous avez écrit:
>OK, after moving the gcore functionality from linux-gcore.c to 
>linux-proc.c, I'm going to commit this.  Here is the patch as
>committed.  Hopefully I haven't left anything out.

Michael, your patch causes win32-nat compilation failure:

muller@LAOCOON ~/gdb/build/gdb
$ make
rm -f gdb.exe
gcc -g -O2         -o gdb.exe \
main.o libgdb.a cli-decode.o cli-script.o cli-cmds.o cli-setshow.o cli-utils.o m
i-out.o mi-console.o mi-cmds.o mi-cmd-var.o mi-cmd-break.o mi-cmd-stack.o mi-cmd
-disas.o mi-main.o mi-parse.o mi-getopt.o    ../bfd/libbfd.a ../readline/libread
line.a ../opcodes/libopcodes.a ./../intl/libintl.a ../libiberty/libiberty.a `if
test -r ../libtermcap/libtermcap.a; then echo ../libtermcap/libtermcap.a; else e
cho -ltermcap; fi`     -lm  ../libiberty/libiberty.a -luser32 -limagehlp\

libgdb.a(exec.o): In function `exec_make_note_section':
/home/muller/gdb/build/gdb/../../src/gdb/exec.c:792: undefined reference to `elf
core_write_prpsinfo'
collect2: ld returned 1 exit status
make: *** [gdb.exe] Error 1

This comes from the fact that elfcore_write_prpsinfo is not compiled 
#if defined (HAVE_PRPSINFO_T) || defined (HAVE_PSINFO_T)
char *
elfcore_write_prpsinfo (abfd, buf, bufsiz, fname, psargs)

So something needs to be done ....



Pierre Muller
Institut Charles Sadron
6,rue Boussingault
F 67083 STRASBOURG CEDEX (France)
mailto:muller@ics.u-strasbg.fr
Phone : (33)-3-88-41-40-07  Fax : (33)-3-88-41-40-99


  parent reply	other threads:[~2002-01-09  9:14 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-01-08 16:41 Michael Snyder
2002-01-09  0:16 ` Eli Zaretskii
2002-01-09  1:14 ` Pierre Muller [this message]
2002-01-09 10:50   ` Michael Snyder

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=4.2.0.58.20020109100614.01ac2088@ics.u-strasbg.fr \
    --to=muller@cerbere.u-strasbg.fr \
    --cc=gdb-patches@sources.redhat.com \
    --cc=msnyder@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