From: Love <lha@stacken.kth.se>
To: Andrew Cagney <ac131313@ges.redhat.com>
Cc: gdb-patches@sources.redhat.com
Subject: Re: [Fwd: gcore for netbsd]
Date: Tue, 06 Aug 2002 10:39:00 -0000 [thread overview]
Message-ID: <am8z3jyji3.fsf@staffan.e.kth.se> (raw)
In-Reply-To: <3D4FF0DC.6090201@ges.redhat.com>
Andrew Cagney <ac131313@ges.redhat.com> writes:
> I've checked the attached in (first bit :-).
>
> Andrew
> 2002-08-06 Andrew Cagney <ac131313@redhat.com>
>
> * gcore.c: Do not include <sys/procfs.h>.
> * Makefile.in (gcore.o): Update dependencies.
Thanks,
There are three pieces of code left then. The memory dumper
(nbsd_find_memory_regions), the corefile elf-note writer
(nbsd_make_corefile_notes) and a optimation (start to use PT_IO).
The first patch is somewhat iffy since I've not yet commited the ptrace
PT_MEMMAP interface to netbsd what will make it work.
I think I need some help where I should put the stuff right now I've put
all in nbsd-nat.c, but I'm not sure that the elf-note stuff should live
there. Dump core-file from a netbsd machine over gdbserver ?
Also, should I just add #ifdef PT_IO and use that if it exists. Using PT_IO
is about 7-10 times faster the using PT_READ_[ID], make large diffrence
when writing large core-files.
The patches are in http://www.e.kth.se/~lha/patches/netbsd/gdb-core/
Also, do I need to do dead tree work ?
Love
prev parent reply other threads:[~2002-08-06 17:39 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-08-04 11:02 Andrew Cagney
2002-08-05 16:13 ` Michael Snyder
2002-08-05 21:19 ` Andrew Cagney
2002-08-05 21:39 ` Michael Snyder
2002-08-06 8:53 ` Andrew Cagney
2002-08-06 10:39 ` Love [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=am8z3jyji3.fsf@staffan.e.kth.se \
--to=lha@stacken.kth.se \
--cc=ac131313@ges.redhat.com \
--cc=gdb-patches@sources.redhat.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