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
53f2d033
Commit
53f2d033
authored
May 18, 1998
by
Nick Clifton
Committed by
Nick Clifton
May 18, 1998
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Undid previous delta to dbxout.c
Added comment explaining why. From-SVN: r19855
parent
a9f7d5a1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
1 deletions
+20
-1
gcc/ChangeLog
+5
-0
gcc/dbxout.c
+15
-1
No files found.
gcc/ChangeLog
View file @
53f2d033
Mon May 18 15:30:42 1998 Nick Clifton <nickc@cygnus.com>
* dbxout.c (dbxout_parms): Revert to using DECL_ARG_TYPE. Add
comment explaining why.
Mon May 18 13:20:23 1998 Richard Henderson <rth@cygnus.com>
* tree.h (TYPE_SIZE_UNIT): New.
...
...
gcc/dbxout.c
View file @
53f2d033
...
...
@@ -2274,7 +2274,21 @@ dbxout_parms (parms)
DBX_MEMPARM_STABS_LETTER
);
}
dbxout_type
(
TREE_TYPE
(
parms
),
0
,
0
);
/* It is quite tempting to use:
dbxout_type (TREE_TYPE (parms), 0, 0);
as the next statement, rather than using DECL_ARG_TYPE(), so
that gcc reports the actual type of the parameter, rather
than the promoted type. This certainly makes GDB's life
easier, at least for some ports. The change is a bad idea
however, since GDB expects to be able access the type without
performing any conversions. So for example, if we were
passing a float to an unprototyped function, gcc will store a
double on the stack, but if we emit a stab saying the type is a
float, then gdb will only read in a single value, and this will
produce an erropneous value. */
dbxout_type
(
DECL_ARG_TYPE
(
parms
),
0
,
0
);
current_sym_value
=
DEBUGGER_ARG_OFFSET
(
current_sym_value
,
addr
);
dbxout_finish_symbol
(
parms
);
}
...
...
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