mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-28 15:18:37 +08:00
Minor constification in gdbreplay
I noticed a spot in gdbreplay where "const" could be used. 2021-02-12 Tom Tromey <tromey@adacore.com> * gdbreplay.cc (remote_open): Constify.
This commit is contained in:
@ -1,3 +1,7 @@
|
|||||||
|
2021-02-12 Tom Tromey <tromey@adacore.com>
|
||||||
|
|
||||||
|
* gdbreplay.cc (remote_open): Constify.
|
||||||
|
|
||||||
2021-02-05 Paul E. Murphy <murphyp@linux.ibm.com>
|
2021-02-05 Paul E. Murphy <murphyp@linux.ibm.com>
|
||||||
|
|
||||||
* Makefile.in (UNDO_GNULIB_CFLAGS): Disable
|
* Makefile.in (UNDO_GNULIB_CFLAGS): Disable
|
||||||
|
@ -151,9 +151,9 @@ remote_close (void)
|
|||||||
NAME is the filename used for communication. */
|
NAME is the filename used for communication. */
|
||||||
|
|
||||||
static void
|
static void
|
||||||
remote_open (char *name)
|
remote_open (const char *name)
|
||||||
{
|
{
|
||||||
char *last_colon = strrchr (name, ':');
|
const char *last_colon = strrchr (name, ':');
|
||||||
|
|
||||||
if (last_colon == NULL)
|
if (last_colon == NULL)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user