This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
src/gdb ChangeLog utils.c common/common-utils. ...
- From: palves at sourceware dot org
- To: gdb-cvs at sourceware dot org
- Date: 14 Feb 2013 17:11:43 -0000
- Subject: src/gdb ChangeLog utils.c common/common-utils. ...
CVSROOT: /cvs/src
Module name: src
Changes by: palves@sourceware.org 2013-02-14 17:11:43
Modified files:
gdb : ChangeLog utils.c
gdb/common : common-utils.c common-utils.h
gdb/gdbserver : ChangeLog tracepoint.c
Log message:
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.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.15152&r2=1.15153
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/utils.c.diff?cvsroot=src&r1=1.291&r2=1.292
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/common/common-utils.c.diff?cvsroot=src&r1=1.4&r2=1.5
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/common/common-utils.h.diff?cvsroot=src&r1=1.4&r2=1.5
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/gdbserver/ChangeLog.diff?cvsroot=src&r1=1.677&r2=1.678
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/gdbserver/tracepoint.c.diff?cvsroot=src&r1=1.68&r2=1.69