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]

core local memory support for core files


This patch adds core local memory for core files.

It follows the /%d convention that is used by .reg for multi-core support.  Personally, I'm using .sdata/%d, but, since we only look for /%d, one is free to use .data/%d, .sdata/%d and so on.

Ok?

If people like it, can someone apply it for me, my gdb tree is just read-only.

$  mach-objdump -a -x /tmp/dump 

/tmp/dump:     file format mach-core
/tmp/dump
architecture: mach, flags 0x00000000:

start address 0x0000000000000000

Sections:
Idx Name          Size      VMA               LMA               File off  Algn
  0 .reg/25449    0
                  CONTENTS
  1 .sdata/25449  0
                  CONTENTS, ALLOC, LOAD
  2 .reg/485223   0
                  CONTENTS
  3 .sdata/485223 0
                  CONTENTS, ALLOC, LOAD
SYMBOL TABLE:
no symbols




2016-10-06  Mike Stump  <mikestump@comcast.net>

	* exec.c (section_table_xfer_memory_partial): Add core local memory.

Attachment: gdb-2.diffs.txt
Description: Text document


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