diff options
author | Simon Marchi <simon.marchi@polymtl.ca> | 2022-09-29 20:14:41 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@polymtl.ca> | 2022-10-03 09:33:01 -0400 |
commit | d1d3123c7bb7149595ec718e6f188565fa5a2a26 (patch) | |
tree | a9f4b1afb9506cf2718a687715cbc46c5abfb182 | |
parent | e63ae49b6a87b779714c1dc922479a76882af977 (diff) | |
download | gdb-d1d3123c7bb7149595ec718e6f188565fa5a2a26.zip gdb-d1d3123c7bb7149595ec718e6f188565fa5a2a26.tar.gz gdb-d1d3123c7bb7149595ec718e6f188565fa5a2a26.tar.bz2 |
gdb: constify inferior::target_is_pushed
Change-Id: Ia4143b9c63cb76e2c824ba773c66f5c5cd94b2aa
-rw-r--r-- | gdb/inferior.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/inferior.h b/gdb/inferior.h index bb3aec1..2776530 100644 --- a/gdb/inferior.h +++ b/gdb/inferior.h @@ -369,7 +369,7 @@ public: int unpush_target (struct target_ops *t); /* Returns true if T is pushed in this inferior's target stack. */ - bool target_is_pushed (const target_ops *t) + bool target_is_pushed (const target_ops *t) const { return m_target_stack.is_pushed (t); } /* Find the target beneath T in this inferior's target stack. */ |