diff options
author | Simon Marchi <simon.marchi@efficios.com> | 2021-11-22 11:27:29 -0500 |
---|---|---|
committer | Simon Marchi <simon.marchi@polymtl.ca> | 2021-11-22 13:57:43 -0500 |
commit | 7dca2ea7ff4c2c786119e13e81a5e6b0c1bf1d2d (patch) | |
tree | 11f65eb07e8a35b04dd4fda44eca976d8c6d9f23 /gdb/gnu-nat.c | |
parent | a58577878b19cb2e6ebbfdbff557203c344955b1 (diff) | |
download | gdb-7dca2ea7ff4c2c786119e13e81a5e6b0c1bf1d2d.zip gdb-7dca2ea7ff4c2c786119e13e81a5e6b0c1bf1d2d.tar.gz gdb-7dca2ea7ff4c2c786119e13e81a5e6b0c1bf1d2d.tar.bz2 |
gdb: rename target_waitstatus_to_string to target_waitstatus::to_string
Make target_waitstatus_to_string a "to_string" method of
target_waitstatus, a bit like we have ptid_t::to_string already. This
will save a bit of typing.
Change-Id: Id261b7a09fa9fa3c738abac131c191a6f9c13905
Diffstat (limited to 'gdb/gnu-nat.c')
-rw-r--r-- | gdb/gnu-nat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/gnu-nat.c b/gdb/gnu-nat.c index c6cecff..216d178 100644 --- a/gdb/gnu-nat.c +++ b/gdb/gnu-nat.c @@ -1619,7 +1619,7 @@ rewait: inf_debug (inf, "returning ptid = %s, %s", target_pid_to_str (ptid).c_str (), - target_waitstatus_to_string (status).c_str ()); + status->to_string ().c_str ()); return ptid; } |