diff options
author | Tom Tromey <tom@tromey.com> | 2023-01-17 06:39:07 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2023-02-19 12:51:06 -0700 |
commit | cade9c8a459e4fd2f8a781eed21991e2487f90ee (patch) | |
tree | aa9213b9d2d4ebc35a0a42e0cf986aacaeebac7a /gdb/block.h | |
parent | d24e14a0c62181b49f513f6ed3704212fd276c79 (diff) | |
download | gdb-cade9c8a459e4fd2f8a781eed21991e2487f90ee.zip gdb-cade9c8a459e4fd2f8a781eed21991e2487f90ee.tar.gz gdb-cade9c8a459e4fd2f8a781eed21991e2487f90ee.tar.bz2 |
Convert set_block_compunit_symtab to method
This converts set_block_compunit_symtab to be a method. This was
mostly written by script.
Diffstat (limited to 'gdb/block.h')
-rw-r--r-- | gdb/block.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/gdb/block.h b/gdb/block.h index 9ce8ef5..ce8c967 100644 --- a/gdb/block.h +++ b/gdb/block.h @@ -254,6 +254,10 @@ struct block const struct block *global_block () const; + /* Set the compunit of this block, which must be a global block. */ + + void set_compunit_symtab (struct compunit_symtab *); + /* Addresses in the executable code that are in this block. */ CORE_ADDR m_start; @@ -417,9 +421,6 @@ extern struct block *allocate_block (struct obstack *obstack); extern struct block *allocate_global_block (struct obstack *obstack); -extern void set_block_compunit_symtab (struct block *, - struct compunit_symtab *); - /* Return a property to evaluate the static link associated to BLOCK. In the context of nested functions (available in Pascal, Ada and GNU C, for |