[binutils-gdb] gdb: adjust comment on target_desc_info::from_user_p
Simon Marchi
simark@sourceware.org
Mon Feb 6 19:13:19 GMT 2023
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=f9b677528fdde6b1d5f402b75db2efcbe62c93d8
commit f9b677528fdde6b1d5f402b75db2efcbe62c93d8
Author: Simon Marchi <simon.marchi@polymtl.ca>
Date: Mon Feb 6 14:12:27 2023 -0500
gdb: adjust comment on target_desc_info::from_user_p
Remove the stale reference to INFO, which is now "this target
description info" now.
Change-Id: I35dbdb089048ed7cfffe730d3134ee391b176abf
Diff:
---
gdb/inferior.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gdb/inferior.h b/gdb/inferior.h
index bac483f0f78..72034cc4ffb 100644
--- a/gdb/inferior.h
+++ b/gdb/inferior.h
@@ -345,7 +345,7 @@ extern void switch_to_inferior_no_thread (inferior *inf);
struct target_desc_info
{
- /* Returns true if INFO indicates the target description had been supplied by
+ /* Returns true if this target description information has been supplied by
the user. */
bool from_user_p ()
{ return !this->filename.empty (); }
More information about the Gdb-cvs
mailing list