aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbserver/tracepoint.c
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2013-02-14 17:09:00 +0000
committerPedro Alves <palves@redhat.com>2013-02-14 17:09:00 +0000
commit57c3b6ede58a103b97baa10bef7d9d9031d2269b (patch)
tree6edf764e3b43b65853bd747c3b39c610b7d3cbf2 /gdb/gdbserver/tracepoint.c
parent420f4384af4aac17ca68d8834519f18d6dbe0ee6 (diff)
downloadgdb-57c3b6ede58a103b97baa10bef7d9d9031d2269b.zip
gdb-57c3b6ede58a103b97baa10bef7d9d9031d2269b.tar.gz
gdb-57c3b6ede58a103b97baa10bef7d9d9031d2269b.tar.bz2
savestring: Rename parameter 'size' to 'len'.
It's better to avoid needless confusion, and call string length, length, instead of size, which is usually used to refer to sizeof of the string (len+1): size_t len = strlen (str); size_t size = sizeof (str); Tested on x86_64 Fedora 17. 2013-02-14 Pedro Alves <palves@redhat.com> * utils.c (savestring): Rename parameter 'size' to 'len'.
Diffstat (limited to 'gdb/gdbserver/tracepoint.c')
0 files changed, 0 insertions, 0 deletions