aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
1997-04-24 * configure.in (m32r-*-*): New target.David Edelsohn1-0/+1
* configure: Regenerate.
1997-04-24 * configure: Regenerated to track ../common/aclocal.m4 changes.David Edelsohn4-224/+178
* Makefile.in (SIM_OBJS): Add sim-module.o, sim-profile.o. * sim-calls.c (sim_open): Call sim_module_uninstall if argument parsing fails. Call sim_post_argv_init. (sim_close): Call sim_module_uninstall.
1997-04-24 * Makefile.in (autoconf-common, autoconf-changelog): Change $* to $@.David Edelsohn1-0/+4
1997-04-24 * sim-module.h, sim-model.h, sim-profile.h: New files.David Edelsohn3-14/+149
* sim-module.c, sim-profile.c: New files. * Make-common.in (SIM_PROFILE): Define (CONFIG_CFLAGS): Add $(SIM_PROFILE). (sim_main_headers): Add sim-module.h, sim-model.h, sim-profile.h. (sim_module.o,sim-profile.o): Add rules for. * aclocal.m4 (--enable-sim-trace): Allow symbolic arguments. (--enable-sim-profile): Add. * configure: Regenerated. * sim-base.h (sim_state_base): New members init_list, uninstall_list, model. Move trace and profile support to sim-{trace,profile}.h. New members trace_data, profile_data. * sim-basics.h: #include sim-module.h, sim-model.h, sim-profile.h. * sim-config.h: Provide default definition of WITH_PROFILE. (WITH_TRACE): Change default to -1. (MAX_NR_PROCESSORS): Always define. * sim-options.c: Move trace and profile support to sim-{trace,profile}.h. (sim_pre_argv_init): Moved to sim-model.c. (standard_install): New function. * sim-options.h (sim_pre_argv_init): Move decl to sim-model.c. (standard_install): Declare. * sim-trace.c: Tracing option handling moved here from sim-options.c. (trace_install, trace_uninstall): New functions. (trace_printf): Update reference to TRACE_FILE. * sim-trace.h (TRACE_FOO_IDX): Moved here from sim-base.h. (TRACE_foo): Bit masks for symbolic arguments to --enable-sim-trace. (WITH_TRACE_FOO_P): Define. (trace_install): Declare. (TRACE_DATA): New struct.
1997-04-24 * tconfig.in: New file.David Edelsohn3-0/+23
* interp.c (sim_open): Handle missing arg to -E.
1997-04-24* tconfig.in (SIM_HAVE_BIENDIAN): Define.David Edelsohn1-0/+4
1997-04-24 * run.c: Undo last exec_bfd patch.David Edelsohn1-0/+5
(main): Only pass -E ifdef SIM_HAVE_BIENDIAN.
1997-04-24 * interp.c (prog_bfd_was_opened_p): New static local.David Edelsohn1-0/+9
(prog_bfd): New global variable. (sim_open): Undo patch to add -E support. (sim_close): Close prog_bfd if sim_load opened it. (sim_load): Record bfd of loaded file in prog_bfd. * simops.c (prog_bfd): Renamed from exec_bfd.
1997-04-23Restore exec_bfd, needed for v850 debug codeMichael Meissner2-1/+9
1997-04-23Wed Apr 23 11:18:45 1997 Jeffrey A Law (law@cygnus.com)Jeff Law2-0/+14
* config/mn10200/tm-mn10200.h (STORE_RETURN_VALUE): Pointers are returned in $a0. (EXTRACT_RETURN_VALUE): Likewise.
1997-04-23More Tic80 instructions.Andrew Cagney5-239/+354
1997-04-23Tue Apr 22 17:17:28 1997 Geoffrey Noer <noer@pizza.cygnus.com>Geoffrey Noer2-2/+7
* configure.in: if target is cygwin32 but host isn't cygwin32, don't configure gdb tcl tk expect, not just gdb.
1997-04-22 * sim-load.c (sim_load_file): #include <stdio.h> for NULL.David Edelsohn1-0/+4
1997-04-22 * config/arm/tm-arm.h (TARGET_DOUBLE_FORMAT): Define to useFred Fish1-0/+12
floatformat_ieee_double_littlebyte_bigword for little endian target byte order. * utils.c (floatformat_to_doublest): Create local preswapped copy of input for floatformat_littlebyte_bigword formats. (get_field, put_field): Treat floatformat_littlebyte_bigword the same as floatformat_little. (floatformat_from_doublest): Postswap output words for the floatformat_littlebyte_bigwords format.
1997-04-22 * interf.c (sim_open): Undo patch to add -E support.David Edelsohn2-2/+4
1997-04-22TIc80 simulator checkpoint - runs 3 instructions - trap, addu, br.a.Andrew Cagney27-69/+3990
1997-04-22 * interp.c (sim_open): Undo patch to add -E support.David Edelsohn1-0/+4
1997-04-22 * config/alpha/alpha-osf3.mh config/i386/{i386gnu linux}.mhStu Grossman12-20/+21
config/mips/{embed embed64 embedl embedl64 vr4300 vr4300el vr5000 vr5000el}.mt config/powerpc/{aix aix4}.mh config/rs6000/{aix aix4}.mh config/sh/sh.mt config/sparc/sp64sim.mt: start-sanitize-v850 config/v850/v850.mt: end-sanitize-v850 Remove -lm. That's now handled by configure.
1997-04-22 * Makefile.in (maintainer-clean): Add distclean to dependencies.Stu Grossman2-4/+6
Remove duplicate rm's of files.
1997-04-22 * Make-common.in: Change clean targets to use :: so that otherStu Grossman3-8/+17
Makefiles can have their own clean targets. * sim-load.c (xprintf eprintf): Use ANSI_PROTOTYPES instead of __STDC__ to control use of stdarg vs. varargs syntax. Some systems can't use __STDC__, but require stdarg.
1997-04-22 * Makefile.in: Add clean targets.Stu Grossman1-0/+4
1997-04-22 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for casesFred Fish1-0/+6
where the test executable is run with explicit args. * gdb.base/default.exp: Handle arm-*-coff case for "info float".
1997-04-21 * gdb.base/run.c: Use FAKEARGV to build test executable thatFred Fish1-0/+16
does not require a command line arg, since most simulators don't currently support passing such an arg into the simulated program. * gdb.base/commands.exp: Change tests to insert the proper value as the arg to the first recursive factorial call. Change compilation line to define FAKEARGV at compile time.
1997-04-21for DIV: check for div by zero and int overflowGavin Romig-Koch2-15/+44
1997-04-21 * gdbtk.c (gdb_disassemble): Store endian-ness in `di'.David Edelsohn2-2/+8
1997-04-21One more removal of internal Cygnus stuffStan Shebs1-4/+1
1997-04-21Fix various standards violations.Stan Shebs1-17/+15
1997-04-21 * configure.in: Added gnuserv everywhere sn appears.Tom Tromey3-10/+25
* Makefile.in (ALL_MODULES): Added all-gnuserv. (CROSS_CHECK_MODULES): Added check-gnuserv. (INSTALL_MODULES): Added install-gnuserv. (CLEAN_MODULES): Added clean-gnuserv. (all-gnuserv): New target.
1997-04-21 * doc/c-mips.texi: Document .set autoextend.Ian Lance Taylor1-0/+4
1997-04-21 * configure.in (host_libs): Added libide.Tom Tromey4-11/+91
Skip libide, vmake if no X. Also skip these everywhere that sn is skipped. * Makefile.in (ALL_MODULES): Added all-vmake, all-libide. (CROSS_CHECK_MODULES): Added check-vmake, check-libide. (INSTALL_MODULES): Added install-vmake, install-libide. (CLEAN_MODULES): Added clean-vmake, clean-libide. (all-vmake, all-libide): New targets.
1997-04-21 * remote-pa.c: Remove. It's broken and no longer necessary.Stu Grossman2-1561/+4
1997-04-21Mon Apr 21 11:21:31 1997 Andreas Schwab ↵Ian Lance Taylor1-0/+16
<schwab@issan.informatik.uni-dortmund.de> * elf32-m68k.c: Follow the last changes in elf32-i386.c: (struct elf_m68k_pcrel_relocs_copied, struct elf_m68k_link_hash_entry, struct elf_m68k_link_hash_table, elf_m68k_link_hash_traverse, elf_m68k_hash_table, elf_m68k_link_hash_newfunc, elf_m68k_link_hash_table_create, elf_m68k_discard_copies, bfd_elf32_bfd_link_hash_table_create): New definitions. (elf_m68k_check_relocs): If linking with -Bsymbolic, don't copy PC relative relocs for a global symbol defined in a regular object, and count the number of PC relative relocs copied for any global symbol. (elf_m68k_size_dynamic_sections): If linking with -Bsymbolic, traverse with elf_m68k_discard_copies.
1997-04-20Sat Apr 19 23:16:35 1997 Niklas Hallqvist <niklas@petra.appli.se>Ian Lance Taylor1-1/+1
* gas/mips/mips.exp: Handle OpenBSD like NetBSD.
1997-04-20Sat Apr 19 23:09:25 1997 Niklas Hallqvist <niklas@petra.appli.se>Ian Lance Taylor1-0/+7
* configure.in (i386-*-openbsd*, m68k-*-openbsd*, mips-dec-openbsd*, ppc-*-*bsd*, ns32k-pc532-openbsd*, sparc-*-openbsd*): New targets. * configure: Rebuild.
1997-04-20 * elf32-i386.c (elf_i386_check_relocs): Only count PC relativeIan Lance Taylor1-0/+3
relocs. From Jamie Lokier <jamie@rebellion.co.uk>.
1997-04-20Sat Apr 19 22:52:03 1997 Jim Wilson <wilson@cygnus.com>Ian Lance Taylor2-4/+20
* config/obj-elf.c (elf_frob_symbol): If TC_MIPS, set BSF_OBJECT for all undefined symbols.
1997-04-20 * coffcode.h (coff_compute_section_file_positions): Force theIan Lance Taylor1-0/+6
potential last byte in the file to be written out when COFF_IMAGE_WITH_PE.
1997-04-19 * java-exp.y: Combine TRUE and FALSE into BOOLEAN_LITERAL.Per Bothner2-12/+17
(Avoids name clash with broken AIX header files.)
1997-04-19 * serial.c (serial_log_command): Fix fputs_unfiltered calls.Peter Schauer2-3/+5
1997-04-19 * config/powerpc/tm-ppc-aix4.h, config/rs6000/tm-rs6000-aix4.hPeter Schauer2-9/+2
(DONT_RELOCATE_SYMFILE_OBJFILE): Removed.
1997-04-19 * config/powerpc/tm-ppc-aix4.h, config/rs6000/tm-rs6000-aix4.hPeter Schauer6-114/+267
(DONT_RELOCATE_SYMFILE_OBJFILE): Removed. * xcoffsolib.h (struct vmap): Add new members tvma, toffs and dvma, remove tadj. * exec.c (bfdsec_to_vmap): Initialize new vmap members, initialize tstart and dstart with section VMA. * rs6000-nat.c (vmap_symtab): Relocate relative to the VMA in the object file. (vmap_ldinfo, xcoff_relocate_core): Adjust tstart by section offset of the text section, remove DONT_RELOCATE_SYMFILE_OBJFILE hack. (vmap_exec): Relocate relative to the VMA in the object file, relocate .bss section as well. (xcoff_relocate_core): No longer adjust section addresses by VMA. * rs6000-tdep.c (find_toc_address): Change type of tocbase to CORE_ADDR. * xcoffread.c (secnum_to_bfd_section): New routine to get BFD section from CS section number. (scan_xcoff_symtab): Make toc_offset section relative. * symtab.c (total_number_of_methods): Avoid core dump if baseclass type is still undefined.
1997-04-19 * interp.c: Include float.h and define SIGTRAP if _WIN32.Stu Grossman2-2/+19
WIN32 -> _WIN32. * (trap): Do do SYS_chown for _WIN32.
1997-04-19 * Makefile.in (SUBDIRS): Add mswin so that make cleanup cleans upStu Grossman1-0/+1
that directory. * defs.h utils.c (error warning): Make message be const. * main.c (fputs_unfiltered): Only send gdb_stdout and gdb_stderr to hook. Otherwise send it to fputs. * monitor.c monitor.h (monitor_get_dev_name): New function. Does the obvious. * remote-e7000.c: Remove debugify stuff. Change printf, fprintf to _filtered forms to make output appear in GUIs. Replace all uses of SERIAL_READCHAR with readchar, which has better error checking. * (e7000_parse_device): Add prototype. * (readchar): Improve doc. Handle random serial errors. * (expect): Disable notice_quit code. It's busted. Remove serial error handling (it's now handled in readchar). Remove remote_debug echoing. That's handled in readchar as well. * (e7000_parse_device): Remove serial_flag arg. It's not necessary. * (e7000_open): Split into two pieces. Second part is e7000_start_remote, and is error protected. Now, when we connect to the target, we setup the initial frame and registers so that the user gets an immediate indication of where the target is. * (gch): Remove debug output. That's handled by readchar. * (e7000_read_inferior_memory): Handle errors better. * (_initialize_remote_e7000): Get rid of `<xxx>' things from command names. They show up when doing completion and confuse things horribly. * ser-e7kpc.c: Remove the last seven months of brain damage. Get rid of the DLL's since we can access the device directly from Win32s and Win95. Get rid of debugify crud. * serial.c: Remove debugify cruft. * (serial_logchar serial_log_command serial_write serial_readchar serial_send_break serial_close): Merge common functionality into serial_logchar. Clean up rest of routines. * sparclet-rom.c: Disembowel. Leave only download routine. Download routine now switches to remote target automatically. * top.c (disconnect): Only define if SIGHUP is defined. Cleans up MSVC/Win32 problem. * utils.c (gdb_flush): Don't call hook unless it's for gdb_stdout or gdb_stderr. * config/sh/tm-sh.h: Define TARGET_SH for WinGDB. * config/sparc/tm-sparclet.h: Remove override for prompt.
1997-04-19 * Makefile.in (SUBDIRS): Add mswin so that make cleanup cleans upStu Grossman9-506/+488
that directory. * defs.h utils.c (error warning): Make message be const. * main.c (fputs_unfiltered): Only send gdb_stdout and gdb_stderr to hook. Otherwise send it to fputs. * monitor.c monitor.h (monitor_get_dev_name): New function. Does the obvious. * remote-e7000.c: Remove debugify stuff. Change printf, fprintf to _filtered forms to make output appear in GUIs. Replace all uses of SERIAL_READCHAR with readchar, which has better error checking. * (e7000_parse_device): Add prototype. * (readchar): Improve doc. Handle random serial errors. * (expect): Disable notice_quit code. It's busted. Remove serial error handling (it's now handled in readchar). Remove remote_debug echoing. That's handled in readchar as well. * (e7000_parse_device): Remove serial_flag arg. It's not necessary. * (e7000_open): Split into two pieces. Second part is e7000_start_remote, and is error protected. Now, when we connect to the target, we setup the initial frame and registers so that the user gets an immediate indication of where the target is. * (gch): Remove debug output. That's handled by readchar. * (e7000_read_inferior_memory): Handle errors better. * (_initialize_remote_e7000): Get rid of `<xxx>' things from command names. They show up when doing completion and confuse things horribly. * ser-e7kpc.c: Remove the last seven months of brain damage. Get rid of the DLL's since we can access the device directly from Win32s and Win95. Get rid of debugify crud. * serial.c: Remove debugify cruft. * (serial_logchar serial_log_command serial_write serial_readchar serial_send_break serial_close): Merge common functionality into serial_logchar. Clean up rest of routines. * sparclet-rom.c: Disembowel. Leave only download routine. Download routine now switches to remote target automatically. * top.c (disconnect): Only define if SIGHUP is defined. Cleans up MSVC/Win32 problem. * utils.c (gdb_flush): Don't call hook unless it's for gdb_stdout or gdb_stderr. * config/sh/tm-sh.h: Define TARGET_SH for WinGDB. * config/sparc/tm-sparclet.h: Remove override for prompt.
1997-04-18 * sim-options.c (standard_options): Add --endian.David Edelsohn2-2/+50
(standard_option_handler): Likewise.
1997-04-18Add a comment.David Edelsohn1-0/+4
1997-04-18 * remote-sim.c (gdbsim_open): Only pass -E to sim_open ifDavid Edelsohn2-3/+13
TARGET_BYTE ORDER_SELECTABLE.
1997-04-18 * interp.c (sim_resume): Fix argument to poll_quit.David Edelsohn2-1/+5
1997-04-18 * nrun.c: #include <signal.h>.David Edelsohn1-0/+6
(main, cntrl_c): Wrap calls to sim_resume in a SIGINT handler that calls sim_stop ().
1997-04-18 * config/tc-ppc.c (ppc_fix_adjustable): Handle zero length csectsIan Lance Taylor1-0/+5
correctly.