[gdb/symtab] C++-ify call_site
- add constructor - add member function call_site::pc () Tested on x86_64-linux. Co-Authored-By: Tom de Vries <tdevries@suse.de>
This commit is contained in:
parent
0dd8295da2
commit
b84aaadaf8
6 changed files with 76 additions and 50 deletions
|
@ -37,6 +37,7 @@
|
|||
#include "cp-support.h"
|
||||
#include "bcache.h"
|
||||
#include "dwarf2/loc.h"
|
||||
#include "dwarf2/read.h"
|
||||
#include "gdbcore.h"
|
||||
#include "floatformat.h"
|
||||
#include "f-lang.h"
|
||||
|
@ -6308,6 +6309,14 @@ objfile_type (struct objfile *objfile)
|
|||
return objfile_type;
|
||||
}
|
||||
|
||||
/* See gdbtypes.h. */
|
||||
|
||||
CORE_ADDR
|
||||
call_site::pc () const
|
||||
{
|
||||
return m_pc;
|
||||
}
|
||||
|
||||
void _initialize_gdbtypes ();
|
||||
void
|
||||
_initialize_gdbtypes ()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue