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

Pierre Muller wrote:
> 
> 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 ....

Oops -- sorry.  That bit was looking forward to a future plan for 
making corefiles for things like remote targets and simulators.
I've stripped it out now.


      reply	other threads:[~2002-01-09 18:50 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
2002-01-09 10:50   ` Michael Snyder [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=3C3C8FBE.9E37DA26@redhat.com \
    --to=msnyder@redhat.com \
    --cc=gdb-patches@sources.redhat.com \
    --cc=msnyder@cygnus.com \
    --cc=muller@cerbere.u-strasbg.fr \
    /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