projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
gdb: Remove use of VEC from dwarf2read.c
[deliverable/binutils-gdb.git]
/
gdb
/
inline-frame.c
diff --git
a/gdb/inline-frame.c
b/gdb/inline-frame.c
index a5e1f20ff744e4ac987d48b73a30cf06e44c9773..b039ab8fa23c21ce80d819f538f88dfdcb35a108 100644
(file)
--- a/
gdb/inline-frame.c
+++ b/
gdb/inline-frame.c
@@
-27,7
+27,7
@@
#include "gdbthread.h"
#include "regcache.h"
#include "symtab.h"
#include "gdbthread.h"
#include "regcache.h"
#include "symtab.h"
-#include "
common
/vec.h"
+#include "
gdbsupport
/vec.h"
#include "frame.h"
#include <algorithm>
#include "frame.h"
#include <algorithm>
@@
-266,13
+266,14
@@
static int
block_starting_point_at (CORE_ADDR pc, const struct block *block)
{
const struct blockvector *bv;
block_starting_point_at (CORE_ADDR pc, const struct block *block)
{
const struct blockvector *bv;
- struct block *new_block;
+
const
struct block *new_block;
bv = blockvector_for_pc (pc, NULL);
if (BLOCKVECTOR_MAP (bv) == NULL)
return 0;
bv = blockvector_for_pc (pc, NULL);
if (BLOCKVECTOR_MAP (bv) == NULL)
return 0;
- new_block = (struct block *) addrmap_find (BLOCKVECTOR_MAP (bv), pc - 1);
+ new_block = (const struct block *) addrmap_find (BLOCKVECTOR_MAP (bv),
+ pc - 1);
if (new_block == NULL)
return 1;
if (new_block == NULL)
return 1;
This page took
0.02634 seconds
and
4
git commands to generate.