diff options
author | Nick Clifton <nickc@redhat.com> | 2009-06-22 17:56:02 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2009-06-22 17:56:02 +0000 |
commit | 9c2799c243988c1a6d3fe93c7c2c06599672068d (patch) | |
tree | 68afc552886047c3623e058f7f5eb90e8595bc53 /gas/dwarf2dbg.c | |
parent | 6e3f70d70b1c88fb344b31ec6d3021b97d58302e (diff) | |
download | gdb-9c2799c243988c1a6d3fe93c7c2c06599672068d.zip gdb-9c2799c243988c1a6d3fe93c7c2c06599672068d.tar.gz gdb-9c2799c243988c1a6d3fe93c7c2c06599672068d.tar.bz2 |
* gas/app, gas/as.c, gas/as.h, gas/atof-generic.c, gas/cgen.c,
gas/config/atof-ieee.c, gas/config/obj-aout.c,
gas/config/obj-coff.c, gas/config/obj-ecoff.c,
gas/config/obj-elf.c, gas/config/obj-som.c, gas/config/tc-alpha.c,
gas/config/tc-arc.c, gas/config/tc-arm.c, gas/config/tc-cr16.c,
gas/config/tc-cris.c, gas/config/tc-crx.c, gas/config/tc-d30v.c,
gas/config/tc-dlx.c, gas/config/tc-hppa.c, gas/config/tc-i370.c,
gas/config/tc-i386-intel.c, gas/config/tc-i386.c,
gas/config/tc-i860.c, gas/config/tc-i960.c, gas/config/tc-ia64.c,
gas/config/tc-iq2000.c, gas/config/tc-m32c.c,
gas/config/tc-m32r.c, gas/config/tc-m68hc11.c,
gas/config/tc-m68k.c, gas/config/tc-maxq.c, gas/config/tc-mcore.c,
gas/config/tc-mep.c, gas/config/tc-mips.c, gas/config/tc-mmix.c,
gas/config/tc-mn10300.c, gas/config/tc-moxie.c,
gas/config/tc-ns32k.c, gas/config/tc-pj.c, gas/config/tc-ppc.c,
gas/config/tc-s390.c, gas/config/tc-score.c,
gas/config/tc-score7.c, gas/config/tc-sh.c, gas/config/tc-sparc.c,
gas/config/tc-spu.c, gas/config/tc-tic30.c, gas/config/tc-vax.c,
gas/config/tc-xtensa.c, gas/config/xtensa-relax.c,
gas/dw2gencfi.c, gas/dwarf2dbg.c, gas/ehopt.c, gas/expr.c,
gas/frags.c, gas/input-file.c, gas/read.c, gas/sb.c,
gas/subsegs.c, gas/symbols.c, gas/write.c: Change the name of the
gas macro `assert' to `gas_assert'.
Diffstat (limited to 'gas/dwarf2dbg.c')
-rw-r--r-- | gas/dwarf2dbg.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/gas/dwarf2dbg.c b/gas/dwarf2dbg.c index 48a1ae7..66d6b6e 100644 --- a/gas/dwarf2dbg.c +++ b/gas/dwarf2dbg.c @@ -913,7 +913,7 @@ emit_inc_line_addr (int line_delta, addressT addr_delta, char *p, int len) /* Line number sequences cannot go backward in addresses. This means we've incorrectly ordered the statements in the sequence. */ - assert ((offsetT) addr_delta >= 0); + gas_assert ((offsetT) addr_delta >= 0); /* Scale the address delta by the minimum instruction length. */ scale_addr_delta (&addr_delta); @@ -994,7 +994,7 @@ emit_inc_line_addr (int line_delta, addressT addr_delta, char *p, int len) *p++ = tmp; done: - assert (p == end); + gas_assert (p == end); } /* Handy routine to combine calls to the above two routines. */ @@ -1052,7 +1052,7 @@ emit_fixed_inc_line_addr (int line_delta, addressT addr_delta, fragS *frag, /* Line number sequences cannot go backward in addresses. This means we've incorrectly ordered the statements in the sequence. */ - assert ((offsetT) addr_delta >= 0); + gas_assert ((offsetT) addr_delta >= 0); /* INT_MAX is a signal that this is actually a DW_LNE_end_sequence. */ if (line_delta != INT_MAX) @@ -1074,7 +1074,7 @@ emit_fixed_inc_line_addr (int line_delta, addressT addr_delta, fragS *frag, symbolS *to_sym; expressionS expr; - assert (exp->X_op = O_subtract); + gas_assert (exp->X_op = O_subtract); to_sym = exp->X_add_symbol; *p++ = DW_LNS_extended_op; @@ -1104,7 +1104,7 @@ emit_fixed_inc_line_addr (int line_delta, addressT addr_delta, fragS *frag, else *p++ = DW_LNS_copy; - assert (p == end); + gas_assert (p == end); } /* Generate a variant frag that we can use to relax address/line @@ -1183,7 +1183,7 @@ dwarf2dbg_convert_frag (fragS *frag) /* fr_var carries the max_chars that we created the fragment with. fr_subtype carries the current expected length. We must, of course, have allocated enough memory earlier. */ - assert (frag->fr_var >= (int) frag->fr_subtype); + gas_assert (frag->fr_var >= (int) frag->fr_subtype); if (DWARF2_USE_FIXED_ADVANCE_PC) emit_fixed_inc_line_addr (frag->fr_offset, addr_diff, frag, @@ -1757,7 +1757,7 @@ dwarf2_finish (void) segT aranges_seg; segT ranges_seg; - assert (all_segs); + gas_assert (all_segs); info_seg = subseg_new (".debug_info", 0); abbrev_seg = subseg_new (".debug_abbrev", 0); |