* tm.texi (FUNCTION_ARG_PARTIAL_NREGS): Fix a typo.

From-SVN: r35525
This commit is contained in:
Kazu Hirata 2000-08-06 17:55:22 +00:00 committed by Jeff Law
parent f899e26285
commit 556273e010
2 changed files with 198 additions and 201 deletions

View File

@ -1,5 +1,7 @@
2000-08-06 Kazu Hirata <kazu@hxi.com>
* dwarf2out.c: Fix formatting.
* tm.texi (FUNCTION_ARG_PARTIAL_NREGS): Fix a typo.
* expr.c: Fix formatting.

View File

@ -913,7 +913,7 @@ def_cfa_1 (label, loc_p)
}
else
{
struct dw_loc_descr_struct * loc_list;
struct dw_loc_descr_struct *loc_list;
cfi->dw_cfi_opc = DW_CFA_def_cfa_expression;
loc_list = build_cfa_loc (&loc);
cfi->dw_cfi_oprnd1.dw_cfi_loc = loc_list;
@ -1253,7 +1253,8 @@ dwarf2out_frame_debug_expr (expr, label)
/* Setting FP from SP. */
case REG:
if (cfa.reg == (unsigned) REGNO (src))
/* OK */;
/* OK. */
;
else
abort ();
@ -1318,7 +1319,7 @@ dwarf2out_frame_debug_expr (expr, label)
cfa.reg = HARD_FRAME_POINTER_REGNUM;
}
else
abort();
abort ();
}
else
{
@ -1405,7 +1406,7 @@ dwarf2out_frame_debug_expr (expr, label)
/* Without an offset. */
case REG:
if (cfa_store.reg != (unsigned) REGNO (XEXP (dest, 0)))
abort();
abort ();
offset = -cfa_store.offset;
break;
@ -1456,7 +1457,6 @@ dwarf2out_frame_debug_expr (expr, label)
}
}
/* Record call frame debugging information for INSN, which either
sets SP or FP (adjusting how we calculate the frame address) or saves a
register to the stack. If INSN is NULL_RTX, initialize our state. */
@ -1889,10 +1889,10 @@ output_call_frame_info (for_eh)
if (for_eh && fde->nothrow)
continue;
ASM_GENERATE_INTERNAL_LABEL (l1, FDE_AFTER_SIZE_LABEL, for_eh + i*2);
ASM_GENERATE_INTERNAL_LABEL (l2, FDE_END_LABEL, for_eh + i*2);
ASM_GENERATE_INTERNAL_LABEL (l1, FDE_AFTER_SIZE_LABEL, for_eh + i * 2);
ASM_GENERATE_INTERNAL_LABEL (l2, FDE_END_LABEL, for_eh + i * 2);
#ifdef ASM_OUTPUT_DEFINE_LABEL_DIFFERENCE_SYMBOL
ASM_GENERATE_INTERNAL_LABEL (ld, FDE_LENGTH_LABEL, for_eh + i*2);
ASM_GENERATE_INTERNAL_LABEL (ld, FDE_LENGTH_LABEL, for_eh + i * 2);
if (for_eh)
ASM_OUTPUT_DWARF_OFFSET4 (asm_out_file, ld);
else
@ -2460,7 +2460,6 @@ dwarf_stack_op_name (op)
}
}
/* Return a pointer to a newly allocated location description. Location
descriptions are simple expression terms that can be strung
together to form more complicated location (address) descriptions. */
@ -2828,9 +2827,9 @@ build_cfa_loc (cfa)
static void
get_cfa_from_loc_descr (cfa, loc)
dw_cfa_location *cfa;
struct dw_loc_descr_struct * loc;
struct dw_loc_descr_struct *loc;
{
struct dw_loc_descr_struct * ptr;
struct dw_loc_descr_struct *ptr;
cfa->offset = 0;
cfa->base_offset = 0;
cfa->indirect = 0;
@ -3009,7 +3008,7 @@ die_node;
typedef struct pubname_struct
{
dw_die_ref die;
char * name;
char *name;
}
pubname_entry;
@ -3496,7 +3495,6 @@ static void reverse_die_lists PARAMS ((dw_die_ref));
#define ABBREV_SECTION_LABEL "Ldebug_abbrev"
#endif
/* Definitions of defaults for formats and names of various special
(artificial) labels which may be generated within this file (when the -g
options is used and DWARF_DEBUGGING_INFO is in effect.
@ -4385,7 +4383,6 @@ add_AT_lbl_offset (die, attr_kind, label)
attr->dw_attr_val.val_class = dw_val_class_lbl_offset;
attr->dw_attr_val.v.val_lbl_id = xstrdup (label);
add_dwarf_attr (die, attr);
}
static inline const char *AT_lbl PARAMS ((dw_attr_ref));
@ -4600,7 +4597,7 @@ remove_children (die)
child_die = child_die->die_sib;
for (a = tmp_die->die_attr; a != NULL; )
for (a = tmp_die->die_attr; a != NULL;)
{
register dw_attr_ref tmp_a = a;
@ -6082,7 +6079,7 @@ output_line_info ()
function = 0;
current_file = 1;
current_line = 1;
for (lt_index = 0; lt_index < separate_line_info_table_in_use; )
for (lt_index = 0; lt_index < separate_line_info_table_in_use;)
{
register dw_separate_line_info_ref line_info
= &separate_line_info_table[lt_index];
@ -6315,7 +6312,7 @@ base_type_die (type)
encoding = DW_ATE_signed;
break;
}
/* else fall through */
/* else fall through. */
case CHAR_TYPE:
/* GNU Pascal/Ada CHAR type. Not used in C. */
@ -6476,7 +6473,8 @@ modified_type_die (type, is_const_type, is_volatile_type, context_die)
}
if (mod_type_die)
/* OK */;
/* OK. */
;
else if (is_const_type)
{
mod_type_die = new_die (DW_TAG_const_type, comp_unit_die);
@ -6656,7 +6654,7 @@ mem_loc_descriptor (rtl, mode)
/* POST_INC and POST_DEC can be handled just like a SUBREG. So we
just fall into the SUBREG code. */
/* ... fall through ... */
/* Fall through. */
case SUBREG:
/* The case of a subreg may arise when we have a local (register)
@ -6666,7 +6664,7 @@ mem_loc_descriptor (rtl, mode)
contains the given subreg. */
rtl = XEXP (rtl, 0);
/* ... fall through ... */
/* Fall through. */
case REG:
/* Whenever a register number forms a part of the description of the
@ -6708,9 +6706,9 @@ mem_loc_descriptor (rtl, mode)
rtl = gen_rtx_PLUS (word_mode, XEXP (rtl, 0),
GEN_INT (GET_CODE (rtl) == PRE_INC
? GET_MODE_UNIT_SIZE (mode)
: - GET_MODE_UNIT_SIZE (mode)));
: -GET_MODE_UNIT_SIZE (mode)));
/* ... fall through ... */
/* Fall through. */
case PLUS:
if (is_based_loc (rtl))
@ -6790,7 +6788,7 @@ loc_descriptor (rtl)
contains the given subreg. */
rtl = XEXP (rtl, 0);
/* ... fall through ... */
/* Fall through. */
case REG:
loc_result = reg_loc_descriptor (rtl);
@ -7568,8 +7566,7 @@ add_subscript_info (type_die, type)
/* We have an array type with an unspecified length. The DWARF-2
spec does not say how to handle this; let's just leave out the
bounds. */
{;}
;
#ifndef MIPS_DEBUGGING_INFO
}
@ -7708,7 +7705,6 @@ add_prototyped_attribute (die, func_type)
add_AT_flag (die, DW_AT_prototyped, 1);
}
/* Add an 'abstract_origin' attribute below a given DIE. The DIE is found
by looking in either the type declaration or object declaration
equate table. */
@ -8269,7 +8265,6 @@ gen_enumeration_type_die (type, context_die)
add_AT_flag (type_die, DW_AT_declaration, 1);
}
/* Generate a DIE to represent either a real live formal parameter decl or to
represent just the type of some formal parameter position in some function
type.
@ -8542,7 +8537,7 @@ gen_subprogram_die (decl, context_die)
&& (DECL_ARTIFICIAL (decl)
|| (get_AT_unsigned (old_die, DW_AT_decl_file) == file_index
&& (get_AT_unsigned (old_die, DW_AT_decl_line)
== (unsigned)DECL_SOURCE_LINE (decl)))))
== (unsigned) DECL_SOURCE_LINE (decl)))))
{
subr_die = old_die;
@ -8557,7 +8552,7 @@ gen_subprogram_die (decl, context_die)
if (get_AT_unsigned (old_die, DW_AT_decl_file) != file_index)
add_AT_unsigned (subr_die, DW_AT_decl_file, file_index);
if (get_AT_unsigned (old_die, DW_AT_decl_line)
!= (unsigned)DECL_SOURCE_LINE (decl))
!= (unsigned) DECL_SOURCE_LINE (decl))
add_AT_unsigned
(subr_die, DW_AT_decl_line, DECL_SOURCE_LINE (decl));
}
@ -8779,7 +8774,7 @@ gen_variable_die (decl, context_die)
add_AT_unsigned (var_die, DW_AT_decl_file, file_index);
if (get_AT_unsigned (old_die, DW_AT_decl_line)
!= (unsigned)DECL_SOURCE_LINE (decl))
!= (unsigned) DECL_SOURCE_LINE (decl))
add_AT_unsigned (var_die, DW_AT_decl_line,
DECL_SOURCE_LINE (decl));