Commit Graph

86 Commits

Author SHA1 Message Date
Doug Evans 6697c6bf7f (dbxout_source_file): Clean up null tree pointer test. Update copyright.
From-SVN: r8867
1995-02-05 05:26:45 +00:00
Doug Evans 5604861b6f (dbxout_source_file): Don't switch to text section if in function with section attribute.
(dbxout_source_file): Don't switch to text section if
in function with section attribute.  Print Ltext label to correct
file (important on mips).

From-SVN: r8859
1995-02-04 15:31:23 +00:00
Jason Merrill 213ecac93c (dbxout_type_method_1): Don't try to look at the first
argument of non-methods (which might not have a first argument).

From-SVN: r8633
1994-12-09 03:29:37 +00:00
Ian Lance Taylor f76b9db287 Check target endianness at run time, not compile time
From-SVN: r8470
1994-11-16 21:10:09 +00:00
Jim Wilson 6c949b6759 (dbxout_symbol_location): Handle error_mark_node in
DECL_INITIAL for C++.

From-SVN: r8060
1994-09-09 14:03:24 -07:00
Richard Earnshaw 667732d849 (dbxout_source_file): Increment source_label_number outside
of macro expansion.

From-SVN: r7737
1994-07-12 12:11:35 +00:00
Jim Wilson 6859741315 (dbxout_type_methods): Enable debugging info for
template classes.

From-SVN: r7647
1994-07-02 16:16:32 -07:00
Jim Wilson 3a83beef35 (dbxout_symbol): Replace DECL_IGNORED_P with
TYPE_DECL_SUPPRESS_DEBUG.

From-SVN: r7515
1994-06-18 13:40:20 -07:00
Doug Evans 0725d62132 (dbxout_type): Fix call to bzero.
From-SVN: r7496
1994-06-15 23:23:33 +00:00
Per Bothner d0310c5364 (dbxout_range_type): Handle an array range that is neither int nor subrange.
From-SVN: r7494
1994-06-15 15:21:27 -07:00
Richard Kenner 4c9a05bc55 Cast pointer operands to bzero, bcopy, and bcmp to (char *).
From-SVN: r7472
1994-06-14 18:19:28 -04:00
Jim Wilson e65f61cfe4 (dbxout_type): Always emit cross-references if
use_gnu_debug_info_extensions set.

From-SVN: r7410
1994-05-31 17:23:46 -07:00
Per Bothner 71b54b5302 (dbxout_type): Write non-default precision of of ENUMERAL_TYPEs.
From-SVN: r7315
1994-05-16 15:23:11 -07:00
Doug Evans 326af3bf5e (dbxout_type): check TYPE_DECL_SUPPRESS_DEBUG to generate cross reference
in stabs.

From-SVN: r7184
1994-04-29 22:29:42 +00:00
Jim Wilson e8fca6ce38 (dbxout_type): Re-enable debugging output for anonymous structures.
(dbxout_type): Re-enable debugging output for anonymous
structures.  Change all three places that refer to xrefs to use
exactly the same condition.

From-SVN: r6935
1994-03-31 18:40:16 -08:00
Richard Kenner c967289d72 (dbxout_symbol): Remove decls of unused variables.
From-SVN: r6878
1994-03-25 14:00:51 -05:00
Jim Wilson ec7a1dd2f8 (dbxout_parms): For parameter living in psuedo-reg that
was optimized away, use declared type instead of passed type.

From-SVN: r6861
1994-03-23 15:56:41 -08:00
Jim Wilson 88bdba96d9 (source_label_number): New variable.
(dbxout_source_file): Use it.  Output an Ltext label.

From-SVN: r6841
1994-03-21 14:08:57 -08:00
Per Bothner 4042d44040 Use new flag TYPE_STRING_FLAG instead of STRING_TYPE.
From-SVN: r6570
1994-02-15 19:52:30 -08:00
Per Bothner 5b6e175e29 Don't treat anonymous fields as belonging to the containing object.
From-SVN: r6537
1994-02-11 18:52:08 -08:00
Per Bothner 6c73937e8f dbxout.c (dbxout_range_type): If the range has a base type (TREE_TYPE)...
* dbxout.c (dbxout_range_type):  If the range has a base type
(TREE_TYPE), emit it, even if that is some other integer type.

From-SVN: r6386
1994-01-12 13:30:12 -08:00
Jim Wilson 4e6ee2672e (dbxout_parms): For parameter passed by invisible
reference, use DECL_INCOMING_RTL if DECL_RTL is a pseudo-reg address.

From-SVN: r6275
1993-12-22 18:06:15 -08:00
Richard Kenner 159e1f8430 (dbxout_type): The "base type" of a SET_TYPE is its DOMAIN_TYPE, not
its TREE_TYPE.

From-SVN: r6209
1993-12-11 18:09:38 -05:00
Richard Stallman 177f65eab3 (dbxout_type_field): Skip fields with variable
position and/or size instead of crashing on them.

From-SVN: r6080
1993-11-13 22:08:16 +00:00
Richard Stallman fe48b58731 (dbxout_parms): Fix previous change.
From-SVN: r6069
1993-11-11 13:24:59 +00:00
Richard Stallman 7b1e0ad8a9 (dbxout_symbol): If it's C++, don't check the
DECL_SOURCE_LINE of a typedef.

From-SVN: r6065
1993-11-11 05:01:22 +00:00
Jim Wilson b205fb6f65 (dbxout_parms): For parms passed via invisible
reference, accept any reg except FP, SP, and AP.

From-SVN: r6057
1993-11-10 15:17:28 -08:00
Richard Stallman dddfb74b0b (dbxout_symbol_location): Test DECL_IN_TEXT_SECTION.
From-SVN: r5990
1993-11-04 08:21:35 +00:00
Richard Stallman 4c3ddf05dc (dbxout_type): Print `-2' instead of `0037777777776' for an enumeration constant whose value is -2...
(dbxout_type): Print `-2' instead of `0037777777776'
for an enumeration constant whose value is -2;
otherwise, GDB 4.11 rejects the type.

From-SVN: r5979
1993-11-03 09:48:51 +00:00
Richard Kenner 25f3f9bf44 (print_int_cst_octal): Fix bug in last change.
From-SVN: r5812
1993-10-19 17:48:29 -04:00
Richard Kenner 5813306726 (dbxout_type, case INTEGER_TYPE): Output bounds in octal if type wider than HOST_WIDE_INT.
(dbxout_type, case INTEGER_TYPE): Output bounds in octal if type wider
than HOST_WIDE_INT.
(print_int_cst_octal): Trim bound by precision of its type.
Avoid warning on what may be shift into sign bit.

From-SVN: r5751
1993-10-12 15:37:18 -04:00
Richard Kenner efd5751440 (dbxout_type, case INTEGER_TYPE): Correctly check for type smaller
than `integer'.

From-SVN: r5691
1993-10-08 18:36:23 -04:00
Richard Kenner c3134623ce (dbxout_parms): Don't confuse a parameter at an offset of zero from AP
or FP with one that has variable size.

From-SVN: r5674
1993-10-08 06:55:59 -04:00
Paul Eggert d4018fbf22 (FILE_NAME_JOINER): Default is "/".
(dbxout_init, dbxout_source_file): Quote special characters in file names.

From-SVN: r5495
1993-09-28 00:23:58 +00:00
Doug Evans 804f56d8d9 dbxout.c: (dbxout_symbol): FRAME_POINTER_REGNUM has been eliminated by now...
* dbxout.c: (dbxout_symbol): FRAME_POINTER_REGNUM has been eliminated
by now, use HARD_FRAME_POINTER_REGNUM.

From-SVN: r5452
1993-09-24 19:38:51 +00:00
Per Bothner 72db60c6d5 Better encoding of CHAR_TYPE and BOOLEAN_TYPE.
From-SVN: r5344
1993-09-17 13:06:27 -07:00
Jim Wilson 25b5c537ba (dbxout_parms): For parameters in registers, if use
DECL_RTL, then must use TREE_TYPE instead of DECL_ARG_TYPE.

From-SVN: r5291
1993-09-08 12:19:32 -07:00
Richard Stallman 71f1501370 (dbxout_type): Handle enum constants bigger than one word.
Don't print big unsigned values as negative.

From-SVN: r5273
1993-09-07 12:27:26 +00:00
Richard Stallman cadcc1c11c (dbxout_symbol_location): Call in_text_section
to decide whether to use DBX_STATIC_CONST_VAR_CODE.

From-SVN: r4933
1993-07-18 06:06:45 +00:00
Richard Stallman 477008025c (dbxout_symbol_location): Subroutine broken out from dbxout_symbol.
(dbxout_symbol_location): Subroutine broken out from
dbxout_symbol.  Handle CONCAT here.
(dbxout_symbol_name): New subroutine.  Handle anonymous decls too.
(dbxout_reg_parms): Simplify using dbxout_symbol_location.
Handle CONCAT.

From-SVN: r4921
1993-07-15 02:15:41 +00:00
Richard Stallman af0da0b8cb (dbxout_type): Reinstall #if 0 around code for
outputting structure types, that confused GDB.

From-SVN: r4698
1993-06-19 09:57:10 +00:00
Richard Stallman 3f9bafd70e (dbxout_type): Add missing `;' for array with no domain.
From-SVN: r4589
1993-05-28 23:14:31 +00:00
Richard Stallman ce34397990 (dbxout_block) [DBX_BLOCKS_FUNCTION_RELATIVE]:
Get function name from DECL_RTL not from DECL_ASSEMBLER_NAME.

From-SVN: r4567
1993-05-26 03:45:01 +00:00
Richard Stallman 8d2911811a (dbxout_parms): Don't output a parm if it's a mem that has a constant address.
From-SVN: r4440
1993-05-13 22:29:26 +00:00
Richard Kenner bece5e07ad (dbxout_symbol): Last arg to eliminate_regs is NULL_RTX.
From-SVN: r4137
1993-04-13 17:10:52 -04:00
Richard Stallman d938afd3a4 (dbxout_type): Make just cross refs for struct types
with TYPE_DECLs marked with DECL_IGNORED_P.

From-SVN: r4127
1993-04-13 18:10:51 +00:00
Richard Kenner c1b98a9573 Treat QUAL_UNION_TYPE like UNION_TYPE when seeing if aggregate.
From-SVN: r4118
1993-04-13 06:47:33 -04:00
Richard Kenner cdece1efd1 (dbxout_type): Use int_size_in_bytes instead of size_in_bytes for
consistency with other code.

From-SVN: r3834
1993-03-23 06:39:59 -05:00
Richard Stallman 47cc012b65 (dbxout_type): Handle complex integer types.
From-SVN: r3634
1993-03-04 18:47:42 +00:00
Per Bothner b238f8def3 Define and use new function dbxout_range_type.
From-SVN: r3619
1993-03-02 22:46:43 -08:00