diff options
author | Tom Tromey <tom@tromey.com> | 2022-05-21 10:00:00 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2022-08-13 18:47:55 -0600 |
commit | 2c9a6d728e3ab63d8338b5e1f831d2c1eead8d67 (patch) | |
tree | b6e31340a9ab99796e30b671c92726d251be2017 /gdb/breakpoint.h | |
parent | b3d5660a7adf2e1e3846976ff4346c6a9b323978 (diff) | |
download | gdb-2c9a6d728e3ab63d8338b5e1f831d2c1eead8d67.zip gdb-2c9a6d728e3ab63d8338b5e1f831d2c1eead8d67.tar.gz gdb-2c9a6d728e3ab63d8338b5e1f831d2c1eead8d67.tar.bz2 |
Change location_spec_to_sals to a method
location_spec_to_sals is only ever called for code breakpoints, so
make it a protected method there.
Diffstat (limited to 'gdb/breakpoint.h')
-rw-r--r-- | gdb/breakpoint.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gdb/breakpoint.h b/gdb/breakpoint.h index 5316d19..e919fe6 100644 --- a/gdb/breakpoint.h +++ b/gdb/breakpoint.h @@ -891,6 +891,14 @@ protected: /* Helper method that does the basic work of re_set. */ void re_set_default (); + + /* Find the SaL locations corresponding to the given LOCATION. + On return, FOUND will be 1 if any SaL was found, zero otherwise. */ + + std::vector<symtab_and_line> location_spec_to_sals + (location_spec *locspec, + struct program_space *search_pspace, + int *found); }; /* An instance of this type is used to represent a watchpoint, |