diff options
author | Pedro Alves <palves@redhat.com> | 2013-02-14 17:11:41 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2013-02-14 17:11:41 +0000 |
commit | baea0daecf9393f9f21bce1b2575133ae9264a1c (patch) | |
tree | 7a33ac227575c8adf2ab645799140dcf9da32449 /gdb/ChangeLog | |
parent | 57c3b6ede58a103b97baa10bef7d9d9031d2269b (diff) | |
download | gdb-baea0daecf9393f9f21bce1b2575133ae9264a1c.zip gdb-baea0daecf9393f9f21bce1b2575133ae9264a1c.tar.gz gdb-baea0daecf9393f9f21bce1b2575133ae9264a1c.tar.bz2 |
Move savestring to common/common-utils.c, make gdbserver use it.
This makes gdbserver share gdb's savestring, instead of baking its own.
Tested on x86_64 Fedora 17.
gdb/
2013-02-14 Pedro Alves <palves@redhat.com>
* utils.c (savestring): Don't #undef it. Move function to
common/common-utils.c.
* common/common-utils.c: Include gdb_string.h.
(savestring): Move here from utils.c.
* common/common-utils.h (savestring): Declare.
gdb/gdbserver/
2013-02-14 Pedro Alves <palves@redhat.com>
* tracepoint.c (save_string): Delete.
(add_tracepoint_action): Use savestring instead of save_string.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 3e91b36..318f7df 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,13 @@ 2013-02-14 Pedro Alves <palves@redhat.com> + * utils.c (savestring): Don't #undef it. Move function to + common/common-utils.c. + * common/common-utils.c: Include gdb_string.h. + (savestring): Move here from utils.c. + * common/common-utils.h (savestring): Declare. + +2013-02-14 Pedro Alves <palves@redhat.com> + * utils.c (savestring): Rename parameter 'size' to 'len'. 2013-02-14 Pedro Alves <palves@redhat.com> |