From: Nicolas Blanc <nicolas.blanc@intel.com>
To: gdb-patches@sourceware.org, palves@redhat.com, tromey@redhat.com,
eliz@gnu.org, yao@codesourcery.com
Cc: nicolas.blanc@intel.com
Subject: [patch v4 0/3] remove-symbol-file
Date: Wed, 29 May 2013 09:13:00 -0000 [thread overview]
Message-ID: <1369818805-14288-1-git-send-email-nicolas.blanc@intel.com> (raw)
Changes between v3 and v4:
* gdb/symfile.c: add missing space character in output string.
* gdb/doc/gdb.texinfo: add usage example.
Changes between v2 and v3:
* gdb/breakpoints.c (disable_breakpoints_in_freed_objfile):
Changed name of disable_breakpoints_in_free_objfile to disable_breakpoints_in_freed_objfile.
Call observer_breakpoint_modified at most one time per breakpoint.
* gdb/objfiles.h (struct objfile): Add comment for low_addr.
* gdb/solib.c (remove_user_added_objfile): Don't check OBJF_SHARED anymore to avoid leaving dangling pointers.
* gdb/symfile.c (add_symbol_file_command): Parse and evaluate the address parameter only once.
* gdb/symfile.c (remove_symbol_file_command): Don't use gdb_buildargv anymore. Ask the user for confirmation before removing a file.
* gdb/doc/gdb.texinfo: The parameter of the command is now referred to as "the address of the text section".
* gdb/NEWS: Move the entry for remove-symbol-file to "Changes since GDB 7.6". The address parameter is now referred to as "the beginning of the text section".
* Fixed letter case of variables in comments.
* Fixed indentation typos.
Nicolas Blanc (3):
Create remove-symbol-file command.
Test adding and removing a symbol file at runtime.
Documentation for the remove-symbol-file command.
gdb/NEWS | 5 +
gdb/breakpoint.c | 82 +++++++-
gdb/doc/gdb.texinfo | 31 +++-
gdb/doc/observer.texi | 4 +
gdb/objfiles.c | 3 +
gdb/objfiles.h | 4 +
gdb/printcmd.c | 15 +-
gdb/solib.c | 23 ++
gdb/symfile.c | 55 +++++-
gdb/testsuite/gdb.base/sym-file-lib.c | 21 ++
gdb/testsuite/gdb.base/sym-file-main.c | 377 ++++++++++++++++++++++++++++++++
gdb/testsuite/gdb.base/sym-file.exp | 160 ++++++++++++++
12 files changed, 768 insertions(+), 12 deletions(-)
create mode 100644 gdb/testsuite/gdb.base/sym-file-lib.c
create mode 100644 gdb/testsuite/gdb.base/sym-file-main.c
create mode 100644 gdb/testsuite/gdb.base/sym-file.exp
--
1.7.6.5
next reply other threads:[~2013-05-29 9:13 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-29 9:13 Nicolas Blanc [this message]
2013-05-29 9:13 ` [patch v4 1/3] Create remove-symbol-file command Nicolas Blanc
2013-05-29 9:38 ` Luis Machado
2013-05-29 12:08 ` Blanc, Nicolas
2013-05-29 12:11 ` Luis Machado
2013-05-29 9:13 ` [patch v4 2/3] Test adding and removing a symbol file at runtime Nicolas Blanc
2013-05-29 9:48 ` Luis Machado
2013-05-29 9:13 ` [patch v4 3/3] Documentation for the remove-symbol-file command Nicolas Blanc
2013-05-29 15:59 ` Eli Zaretskii
2013-05-29 17:11 ` Blanc, Nicolas
2013-05-29 17:25 ` Eli Zaretskii
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=1369818805-14288-1-git-send-email-nicolas.blanc@intel.com \
--to=nicolas.blanc@intel.com \
--cc=eliz@gnu.org \
--cc=gdb-patches@sourceware.org \
--cc=palves@redhat.com \
--cc=tromey@redhat.com \
--cc=yao@codesourcery.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