Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
6d55e0ab
Commit
6d55e0ab
authored
Jan 04, 1994
by
Jim Wilson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(sdbout_symbol): Handle variables at zero offset from frame pointer.
From-SVN: r6358
parent
6a22e3a7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
5 deletions
+10
-5
gcc/sdbout.c
+10
-5
No files found.
gcc/sdbout.c
View file @
6d55e0ab
...
...
@@ -842,12 +842,17 @@ sdbout_symbol (decl, local)
type
=
build_pointer_type
(
TREE_TYPE
(
decl
));
}
else
if
(
GET_CODE
(
value
)
==
MEM
&&
GET_CODE
(
XEXP
(
value
,
0
))
==
PLUS
&&
GET_CODE
(
XEXP
(
XEXP
(
value
,
0
),
0
))
==
REG
&&
GET_CODE
(
XEXP
(
XEXP
(
value
,
0
),
1
))
==
CONST_INT
)
&&
((
GET_CODE
(
XEXP
(
value
,
0
))
==
PLUS
&&
GET_CODE
(
XEXP
(
XEXP
(
value
,
0
),
0
))
==
REG
&&
GET_CODE
(
XEXP
(
XEXP
(
value
,
0
),
1
))
==
CONST_INT
)
/* This is for variables which are at offset zero from
the frame pointer. This happens on the Alpha.
Non-frame pointer registers are excluded above. */
||
(
GET_CODE
(
XEXP
(
value
,
0
))
==
REG
)))
{
/* DECL_RTL looks like (MEM (PLUS (REG...) (CONST_INT...))).
We want the value of that CONST_INT. */
/* DECL_RTL looks like (MEM (PLUS (REG...) (CONST_INT...)))
or (MEM (REG...)). We want the value of that CONST_INT
or zero. */
PUT_SDB_DEF
(
name
);
PUT_SDB_INT_VAL
(
DEBUGGER_AUTO_OFFSET
(
XEXP
(
value
,
0
)));
PUT_SDB_SCL
(
C_AUTO
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment