From 76b4be1296fd003726d6088691786c378563175d Mon Sep 17 00:00:00 2001 From: John Gilmore Date: Tue, 25 Jun 1991 06:50:31 +0000 Subject: [PATCH] * sparc-opcode.h (trap opcodes): Avoid leading spaces or tabs, which end up in the disassembler output inadvertently. --- gdb/ChangeLog | 32 ++++++++++++++++++++++++++++++++ gdb/sparc-opcode.h | 44 +++++++++++++++++++++++--------------------- 2 files changed, 55 insertions(+), 21 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index b706d35a096..459a5d8eb5f 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,35 @@ +Mon Jun 24 23:49:07 1991 John Gilmore (gnu at cygint.cygnus.com) + + * sparc-opcode.h (trap opcodes): Avoid leading spaces or + tabs, which end up in the disassembler output inadvertently. + +Wed May 29 23:01:03 1991 John Gilmore (gnu at cygint.cygnus.com) + + Make it compile cleanly in an ANSI GCC2 environment. + + * blockframe.c: + * cplus-dem.c: free takes a void *, ifdef __STDC__ + * dbxread.c (read_huge_number): avoid gcc2 bug hoisting calc of + LONG_MAX/radix. + * defs.h (alloca): Avoid doing anything if alloca already def'd. + * stddef.h, stdlib.h: Remove these files. + * symtab.c: Avoid declaring qsort, close. + * symfile.c: Avoid declaring close. + * utils.c (vprintf): Declare "ap" arg as proper va_alist. + * sparc-tdep.c: Avoid including lots of Sun-host-specific files. + + Assorted other changes. + * dbxread.c: include "libaout.h", not "liba.out.h". + * printcmd.c (print_frame_args): Set recurse properly for + indentation of struct and array parameters. + * valops.c (value_cast): Allow cast to void. + * infrun.c (resume): If NO_SINGLE_STEP, call machine dependent + single_step() in a target-independent fashion. + * sparc-tdep.c (single_step): Don't call ptrace ourselves, just + set up to be ready to continue. This makes us target independent. + * infptrace.c (child_resume): Remove call to single_step; now + can single step a SPARC target of any kind. + Wed May 22 18:18:24 1991 Roland H. Pesch (pesch at fowanton.cygnus.com) * Makefile.dist, doc/gdb.texinfo, doc/*-m4.texinfo: split up GDB diff --git a/gdb/sparc-opcode.h b/gdb/sparc-opcode.h index cb78c5316a6..d97c7a32849 100755 --- a/gdb/sparc-opcode.h +++ b/gdb/sparc-opcode.h @@ -458,27 +458,29 @@ static struct sparc_opcode sparc_opcodes[] = #endif /* Define all the conditions, all the branches, all the traps. */ -cond (bvc, tvc, 0xF, 0), -cond (bvs, tvs, 0x7, 0), -cond (bpos, tpos, 0xE, 0), -cond (bneg, tneg, 0x6, 0), -cond (bcc, tcc, 0xD, 0), -cond (bcs, tcs, 0x5, 0), -cond (blu, tlu, 0x5, F_ALIAS), /* for cs */ -cond (bgeu, tgeu, 0xD, F_ALIAS), /* for cc */ -cond (bgu, tgu, 0xC, 0), -cond (bleu, tleu, 0x4, 0), -cond (bge, tge, 0xB, 0), -cond (bl, tl, 0x3, 0), -cond (bg, tg, 0xA, 0), -cond (ble, tle, 0x2, 0), -cond (be, te, 0x1, 0), -cond (bz, tz, 0x1, F_ALIAS), /* for e */ -cond (bne, tne, 0x9, 0), -cond (bnz, tnz, 0x9, F_ALIAS), /* for ne */ -cond (b, t, 0x8, 0), -cond (ba, ta, 0x8, F_ALIAS), /* for nothing */ -cond (bn, tn, 0x0, 0), +/* Use no extra spaces or tabs around the first two args, since cpp + will include them in the printed strings. */ +cond (bvc,tvc, 0xF, 0), +cond (bvs,tvs, 0x7, 0), +cond (bpos,tpos, 0xE, 0), +cond (bneg,tneg, 0x6, 0), +cond (bcc,tcc, 0xD, 0), +cond (bcs,tcs, 0x5, 0), +cond (blu,tlu, 0x5, F_ALIAS), /* for cs */ +cond (bgeu,tgeu, 0xD, F_ALIAS), /* for cc */ +cond (bgu,tgu, 0xC, 0), +cond (bleu,tleu, 0x4, 0), +cond (bge,tge, 0xB, 0), +cond (bl,tl, 0x3, 0), +cond (bg,tg, 0xA, 0), +cond (ble,tle, 0x2, 0), +cond (be,te, 0x1, 0), +cond (bz,tz, 0x1, F_ALIAS), /* for e */ +cond (bne,tne, 0x9, 0), +cond (bnz,tnz, 0x9, F_ALIAS), /* for ne */ +cond (b,t, 0x8, 0), +cond (ba,ta, 0x8, F_ALIAS), /* for nothing */ +cond (bn,tn, 0x0, 0), #undef cond #undef br -- 2.30.2