diff options
author | Simon Marchi <simon.marchi@efficios.com> | 2021-11-20 21:32:41 -0500 |
---|---|---|
committer | Simon Marchi <simon.marchi@efficios.com> | 2022-02-06 16:03:46 -0500 |
commit | 012cfab919e7da355b2ac7f86674211cbce26041 (patch) | |
tree | da86dca9362d26fd408ce24b08dd8679a6c91769 /gdb/guile | |
parent | 1ee2e9f9304d05f2962bbc4b83096b850fe4e433 (diff) | |
download | gdb-012cfab919e7da355b2ac7f86674211cbce26041.zip gdb-012cfab919e7da355b2ac7f86674211cbce26041.tar.gz gdb-012cfab919e7da355b2ac7f86674211cbce26041.tar.bz2 |
gdb: remove SYMTAB_BLOCKVECTOR macro
Remove the macro, replace with an equivalent method.
Change-Id: Id6fe2a79c04bcd6c69ccaefb7a69bc06a476288c
Diffstat (limited to 'gdb/guile')
-rw-r--r-- | gdb/guile/scm-symtab.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/guile/scm-symtab.c b/gdb/guile/scm-symtab.c index 40410f7..e2a90e5 100644 --- a/gdb/guile/scm-symtab.c +++ b/gdb/guile/scm-symtab.c @@ -363,7 +363,7 @@ gdbscm_symtab_global_block (SCM self) const struct blockvector *blockvector; const struct block *block; - blockvector = SYMTAB_BLOCKVECTOR (symtab); + blockvector = symtab->blockvector (); block = BLOCKVECTOR_BLOCK (blockvector, GLOBAL_BLOCK); return bkscm_scm_from_block (block, SYMTAB_OBJFILE (symtab)); @@ -381,7 +381,7 @@ gdbscm_symtab_static_block (SCM self) const struct blockvector *blockvector; const struct block *block; - blockvector = SYMTAB_BLOCKVECTOR (symtab); + blockvector = symtab->blockvector (); block = BLOCKVECTOR_BLOCK (blockvector, STATIC_BLOCK); return bkscm_scm_from_block (block, SYMTAB_OBJFILE (symtab)); |