aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
1995-08-01 * xcoffread.c (process_linenos): The value in include file symbolKung Hsu1-2/+3
should point to line number table. Currently this value is not set correctly by AIX ld. A fix to get around this bug.
1995-08-01 * gas/mri/*: New tests for MRI mode.Ian Lance Taylor14-0/+152
1995-08-01 * config/tc-m68k.c (init_table): Add "control", "status", "iaddr",Ian Lance Taylor1-7/+14
"sfcr", and "dfcr" as synonyms for existing entries. (md_begin): In MRI mode, force flag_reg_prefix_optional to 1. (md_parse_option): Removed unused locals i and arch. Change type of arch (another one) to unsigned long. (tc_coff_sizemachdep): Add return after abort to avoid warning.
1995-08-01 Initial support for MRI style labels and expressions.Ian Lance Taylor2-243/+606
* as.h (flag_mri): Declare/define. * as.c (show_usage): Mention -M and its synonym --mri. (parse_args): Add 'M' to std_shortopts. Add "mri" to std_longopts. Set flag_mri if -M is seen. (main): Call parse_args before input_scrub_begin. Call expr_begin. * app.c (do_scrub_begin): Don't set lex for '"' or '\'' in MRI mode. Do set lex for ';', '*', and '!' in MRI mode. (do_scrub_next_char): Remove MRI ifdef in LEX_IS_WHITESPACE case. In MRI mode, keep spaces between labels and colons. Remove MRI ifndef around LEX_IS_ONECHAR_QUOTE case. In MRI mode, don't use '!' or '*' as comment characters even if they are in comment_chars. * read.h (lex_type): No longer const. * read.c: Include libiberty.h. (lex_type): No longer const. (read_begin): In MRI mode, set lex_type of '?' to 3. (potable): Add dc, dc.b, dc.d, dc.l, dc.s, dc.w, dc.x, ds, ds.b, ds.l, ds.w, and xdef. (read_a_source_file): Change LABELS_WITHOUT_COLON ifdef to check for MRI mode at runtime rather than compile time. Handle the EQU pseudo-op in MRI mode. Remove bogus MRI ifdef around done_pseudo. Change NO_PSEUDO_DOT ifdef to also take effect for MRI mode at runtime. (cons): In MRI mode, always call parse_mri_cons rather than TC_PARSE_CONS_EXPRESSION. (parse_mri_cons): Always compile, not just when MRI is defined. Call TC_PARSE_CONS_EXPRESSION, not expression, when the input is not a string constant. Handle A and E modifiers. (float_cons): Accept :xxxx, where the x's are hex digits. * expr.h (operatorT): Add O_eq, O_ne, O_lt, O_le, O_ge, O_gt. (expr_begin): Declare. * expr.c (integer_constant): In MRI mode, if the base was not specified, look for a suffix on the number to set the base. (mri_char_constant): New static function. (operand): Remove MRI ifdef. In MRI mode, do various things: Pass 0 as the base when calling integer_constant if there was no prefix. Check for a hex constant suffix if when a leading '0' is seen. Don't accept 0x or 0b as a prefix. Check for E'chars' and A'chars'. Handle MRI character constants. Treat '"' as the unary bitwise not operator. Treat $ as the program counter, or as the prefix for a hex constant. Treat % as the prefix for a binary constant and @ as the prefix for an octal constant. Treat : as the prefix for a hex constant. (op_encoding): Set '"' to O_bit_not, '<' to O_lt, and '>' to O_gt. (op_rank): No longer const. Change rank values. (expr_begin): New function. (operator): New static function. (expr): Use operator. Don't bother to mention the operator in warnings. Remove bogus #if 0 code. Handle new operatorT values. * atof-generic.c (atof_generic): In MRI mode, accept underscores around the exponent in floating point numbers. * symbols.h (symbols_case_sensitive): Declare. * symbols.c (symbols_case_sensitive): New global variable. (symbol_create): Check symbols_case_sensitive. (symbol_find_base): Likewise. (resolve_symbol_value): Handle new operatorT values. (print_expr_1): Likewise. (S_IS_LOCAL): In MRI mode, names beginning with two '?' characters are local.
1995-08-01* configure.in: Check for working mmap, ansi headers, string.h,J.T. Conklin137-1150/+2200
strings.h, and memory.h. * configure: Regenerated. * gdb_stat.h: New file, "portable" <sys/stat.h>. * gdb_string.h: New file, "portable" <string.h>. * altos-xdep.c, arm-tdep.c, arm-xdep.c, convex-tdep.c, convex-xdep.c, coredep.c, cxux-nat.c, dbxread.c, exec.c, gould-xdep.c, hppa-tdep.c, i386aix-nat.c, i386b-nat.c, i386mach-nat.c, i386v-nat.c, infptrace.c, m88k-nat.c, main.c, mdebugread.c, objfiles.c, os9kread.c, procfs.c, pyr-xdep.c, rs6000-nat.c, source.c, standalone.c, stuff.c, sun386-nat.c, symfile.c, symm-nat.c, symm-tdep.c, symtab.c, top.c, ultra3-nat.c, ultra3-xdep.c, umax-xdep.c, xcoffread.c: Include "gdb_stat.h" instead of <sys/stat.h>. * alpha-tdep.c, breakpoint.c, buildsym.c, c-typeprint.c, ch-typeprint.c, coffread.c, command.c, core-sol2.c, core-svr4.c, core.c, corelow.c, cp-valprint.c, dbxread.c, dcache.c, demangle.c, dpx2-nat.c, dstread.c, dwarfread.c, elfread.c, environ.c, eval.c, exec.c, f-lang.c, f-typeprint.c, f-valprint.c, findvar.c, fork-child.c, gdbtypes.c, hpread.c, i386-tdep.c, infcmd.c, inflow.c, infptrace.c, infrun.c, irix5-nat.c, language.c, m2-typeprint.c, main.c, mdebugread.c, minsyms.c, mipsread.c, monitor.c, nlmread.c, objfiles.c, os9kread.c, osfsolib.c, parse.c, printcmd.c, procfs.c, regex.c, remote-adapt.c, remote-arc.c, remote-array.c, remote-bug.c, remote-e7000.c, remote-eb.c, remote-es.c, remote-hms.c, remote-mm.c, remote-os9k.c, remote-pa.c, remote-sim.c, remote-st.c, remote-udi.c, remote-utils.c, remote-vx.c, remote-vx29k.c, remote-vx68.c, remote-vx960.c, remote-vxmips.c, remote-vxsparc.c, remote.c, solib.c, somread.c, source.c, stabsread.c, stack.c, symfile.c, symmisc.c, symtab.c, target.c, top.c, typeprint.c, utils.c, valarith.c, valops.c, valprint.c, values.c, xcoffread.c: Include "gdb_string.h" instead of <string.h>. * gdbtk.c: Likewise. * config/xm-sysv4.h, i386/xm-ptx.h, m68k/xm-sun3os4.h, sparc/xm-sun4os4.h (HAVE_MMAP): Removed. * config/xm-lynx.h, config/i386/xm-ptx.h, config/m68k/nm-apollo68b.h, config/m68k/xm-hp300hpux.h, config/mips/xm-irix3.h, config/mips/xm-mips.h, config/mips/xm-news-mips.h, config/mips/xm-riscos.h, config/pa/hppah.h, config/rs6000/xm-rs6000.h, config/sparc/xm-sun4os4.h, config/sparc/xm-sun4sol2.h, config/vax/xm-vaxbsd.h, config/vax/xm-vaxult.h, config/vax/xm-vaxult2.h (MEM_FNS_DECLARED): Removed. * config/mips/xm-irix3.h, config/mips/xm-mips.h, config/pa/xm-hppah.h (memcpy, memset): Removed declarations.
1995-08-01 * Makefile.in: Remove superfluous runtest gasp.Steve Chamberlain2-1/+19
1995-08-01Tue Aug 1 11:35:18 1995 steve chamberlain <sac@slash.cygnus.com>Steve Chamberlain1-0/+5
* tc-sh.c (md_convert_frag): Make some error messages more explict.
1995-08-01 * mips-tdep.c (mips_extract_return_value): Fix returning ofPeter Schauer3-10/+34
values whose length is less than the register size for big endian targets. * alpha-tdep.c (alpha_extract_return_value, alpha_store_return_value): Use alpha_convert_register_to_* to handle functions returning "float" correctly.
1995-08-01 * gasp.c (main): Parse -I option.Steve Chamberlain2-5/+55
(do_include): Look through include list. * gasp.c (change_base): Don't modify numbers in strings. (pr7583) * testsuite/gasp/*: New. * testsuite/Makefile.in: Use gasp tests. * testsuite/config/default.exp: Add gasp stuff.
1995-08-01 * testsuite/Makefile.in: Use gasp tests.Steve Chamberlain2-1/+16
* testsuite/config/default.exp: Add gasp stuff.
1995-08-01Keep gasp.Steve Chamberlain1-1/+2
1995-08-01gasp is gone from here.Steve Chamberlain1-1/+0
1995-08-01 moved.Steve Chamberlain1-40/+0
1995-08-01moved.Steve Chamberlain6-77/+0
1995-08-01 new file.Steve Chamberlain1-0/+35
1995-08-01 New order.Steve Chamberlain73-435/+208
1995-08-01 * h8500-tdep.c: General linting and cleanup.Stan Shebs4-163/+168
(opcodes/h8500-opc.h): Don't include. (code_size, data_size): Make static. (frame_locals_address, frame_args_address): Remove. (h8300_pop_frame): Rename to h8500_pop_frame. (big_command, medium_command, compact_command, small_command): Define as regular functions rather than with macro trickery. (tm_print_insn): Set to correct disassembler function. * config/h8500/tm-h8500.h: Minor cleanup, add prototypes. (ABOUT_TO_RETURN): #if 0 out. (FRAME_ARGS_ADDRESS, FRAME_LOCALS_ADDRESS): Use usual define. (GDB_TARGET_IS_H8500): Remove duplicate definition. (regoff): Remove, never used. * config/h8500/h8500.mt (TDEPFILES): Add monitor.o.
1995-08-01yet more vms workKen Raeburn2-80/+87
1995-08-01 * gasp.c (change_base): Don't modify numbers in strings. (pr7583)Steve Chamberlain10-0/+135
* testsuite/gas/gasp/*: New.
1995-07-31Oops, don't edit a file when your checkin hasn't finishedJ.T. Conklin1-1/+1
1995-07-31* configure.in: Check for unistd.h.J.T. Conklin18-318/+563
* configure: Regenerated. * command.c, cp-valprint.c, fork-child.c, i386-tdep.c, i386b-nat.c, inflow.c, main.c, maint.c, objfiles.c, solib.c, source.c, stack.c, symfile.c, top.c, utils.c: Include strings.h and/or unistd.h to bring prototypes into scope.
1995-07-31remove local variables, change-log-mode does all of thatKen Raeburn1-8/+15
1995-07-31 * strings.c (print_strings): For compatibility with existingIan Lance Taylor2-4/+4
strings programs, print strings which are not terminated with a null byte or a newline. * binutils.texi, strings.1: Update documentation accordingly.
1995-07-31 * cfg-ml-com.in (z8k-*-coff): Add 'std' multilib build.Steve Chamberlain1-2/+2
1995-07-31 * ar.c (replace_members): For compatibility with existing arIan Lance Taylor1-0/+12
programs, permit users to add the same file multiple times.
1995-07-31Add file documenting basic procedures for gdb release manager to produceFred Fish1-0/+1
FSF releases. Set up .Sanitize to always remove this file.
1995-07-31 * gdb.base/a2-run.exp: Change messages to be more explicit aboutFred Fish1-0/+237
the status of args, and quote binfile in results.
1995-07-30 * gdb.base/callfuncs.exp: Add tests for passing structs toFred Fish2-0/+222
inferior functions and return various types. * gdb.base/callfuncs.c: Add functions to receive a struct and return a member of the struct, in various types.
1995-07-30 * rs6000-tdep.c (frame_saved_pc): Check for signal handler callerPeter Schauer1-14/+35
before trying to determine the start of the function. (skip_prologue): Skip subroutine call which might save the floating point registers only if it is within the first three instructions. Reinstate setting of alloca_reg if setup of a gcc frame pointer is found. (frame_get_cache_fsr): Use new fields in rs6000_framedata.
1995-07-30Fix problem with configure script when run on systems where native shellFred Fish2-11/+13
is bash or ksh, which handles "... $(TCL) ..." by trying to run TCL. Changed configure.in and regenerated configure, including two lines apparently inserted by custom cygnus version of autoconf 2.4.
1995-07-29Remove mentions of nonexistent things, add lose-mswin to control inclusionStan Shebs1-5/+18
of WinGDB stuff separately.
1995-07-29 * sparclite: Removed subdirectory. aload and eload are now inStan Shebs3-4/+8
utils/sparclite, low-level library is in libgloss. * configure.in (sparclite*): Don't configure sparclite subdir. * configure: Update. * Makefile.in (TARDIRS): Remove, no longer used.
1995-07-29 * gdb.base/Makefile.in (clean): Remove callf-info.exp.Peter Schauer2-1/+17
1995-07-29 * procfs.c (unconditionally_kill_inferior): Clear current signalPeter Schauer3-1/+37
if PROCFS_NEED_CLEAR_CURSIG_FOR_KILL is defined. * config/alpha/nm-osf3.h (PROCFS_NEED_CLEAR_CURSIG_FOR_KILL): Define.
1995-07-29 * config/mips/tm-irix3.h, config/mips/tm-irix5.h,Peter Schauer3-2/+6
config/mips/tm-mipsv4.h (SIGFRAME_FPREGSAVE_OFF): Define.
1995-07-29 * alpha-tdep.c: Move sigtramp handling of saved registers fromPeter Schauer4-83/+271
read_next_frame_reg to alpha_find_saved_regs, handle saved floating point registers. * mips-tdep.c: Move sigtramp handling of saved registers from read_next_frame_reg to mips_find_saved_regs, handle saved floating point registers. * config/mips/tm-irix3.h, config/mips/tm-irix5.h, config/mips/tm-mipsv4.h (SIGFRAME_FPREGSAVE_OFF): Define. * sparc-tdep.c (sparc_pc_adjust): Fix check for `unimp' instruction to handle functions returning structures with large sizes properly.
1995-07-28 * config/vxworks29k.exp: New file, sources vxworks.exp.Brendan Kehoe1-0/+1
1995-07-28 * configure, configure.in (z8k-*-sim): deleted.Steve Chamberlain2-2/+0
1995-07-28 * config/gdbremote.exp: New file. Testing framework usingJeff Law2-0/+6
gdbserver. Doesn't work with lynx yet, and you need to set a handful of variables in your site.exp, but it's worth checking in now.
1995-07-28 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail forFred Fish5-1/+33
"call function when asleep" and "send end of file". * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list for "backtrace in corefile.exp". * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list for "backtrace through signal handler". * gdb.base/corefile.exp: Make sure we actually generate a core file before trying the core tests. Some systems allow the user to suppress generation of core files and default to that (linux for example). * gdb.base/signals.exp: Change xfail for "next" acting like "continue" from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
1995-07-28treat linuxoldld like linuxaout*Ken Raeburn1-0/+20
1995-07-28more vms changesKen Raeburn3-63/+78
1995-07-27(arm-*-pe): Build libg++.David Edelsohn1-2/+0
1995-07-27Thu Jul 27 15:26:28 1995 steve chamberlain <sac@slash.cygnus.com>Steve Chamberlain9-12/+26
* scripttempl/i386pe.sc: Cope with constructors. * scripttempl/z8ksim.sc: Deleted. * scripttempl/z8000.sc: Resurrected as this, but can handle z8001 and z8002 formats. * emulparams/z8ksim.sh: Deleted. * emulparams/{z8001.sh, z8002.sh}: New files. * config/z8ksim.mt: Deleted * config/z8k-coff.mt: New, generates both emulations.
1995-07-27Document sed bug.David Edelsohn1-0/+1
1995-07-27 * cfg-ml-pos.in (dotdot): Work around SunOS sed bug.David Edelsohn2-1/+5
1995-07-27 * config.guess (*:Linux:*:*): First try asking the linker what theFred Fish1-0/+6
default object file format is (elf, aout, or coff). Then if this fails, try previous methods.
1995-07-27 * lynx-nat.c (child_wait): Handle threads exiting.Jeff Law1-0/+16
1995-07-27Forgot to commit .Santiize.Jeff Law1-0/+40
1995-07-27* configure.in: Don't build newlib for *-*-vxworks5.1.J.T. Conklin2-4/+5