diff options
author | Simon Marchi <simon.marchi@polymtl.ca> | 2022-09-29 16:39:13 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@polymtl.ca> | 2022-09-29 16:39:13 -0400 |
commit | 31282a849107d95d3cfe115ba160f976dd99844c (patch) | |
tree | a4b5c21ff798c0540880653ad146820cbf090891 /gdb/inferior.h | |
parent | ac9b8c676e9f52c5238bbc61a2cdd27e3d59db10 (diff) | |
download | gdb-31282a849107d95d3cfe115ba160f976dd99844c.zip gdb-31282a849107d95d3cfe115ba160f976dd99844c.tar.gz gdb-31282a849107d95d3cfe115ba160f976dd99844c.tar.bz2 |
gdb: constify target_stack::is_pushed
The target_ops parameters here can be made const.
Change-Id: Ibc18b17d6b21d06145251a03e68aca90538117d6
Diffstat (limited to 'gdb/inferior.h')
-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 0178001..bb3aec1 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 (target_ops *t) + bool target_is_pushed (const target_ops *t) { return m_target_stack.is_pushed (t); } /* Find the target beneath T in this inferior's target stack. */ |