aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/sparc
AgeCommit message (Collapse)AuthorFilesLines
1999-11-09import gdb-1999-11-08 snapshotJason Molenda1-9/+0
1999-09-09import gdb-1999-09-08 snapshotStan Shebs1-2/+2
1999-08-31import gdb-1999-08-30 snapshotJason Molenda3-9/+0
1999-08-16import gdb-1999-08-16 snapshotJason Molenda1-3/+0
1999-07-07import gdb-1999-07-07 post reformatJason Molenda23-391/+413
1999-06-07import gdb-1999-06-07 snapshotJason Molenda1-5/+2
1999-05-25import gdb-1999-05-25 snapshotJason Molenda2-5/+5
1999-05-05import gdb-19990504 snapshotStan Shebs1-5/+3
1999-04-26import gdb-19990422 snapshotStan Shebs1-1/+7
1999-04-16Initial creation of sourceware repositorygdb-4_18-branchpointStan Shebs40-0/+2066
1999-04-16Initial creation of sourceware repositoryStan Shebs37-2094/+0
1998-12-311998-12-30 Jason Molenda (jsm@bugshack.cygnus.com)Jason Molenda1-5/+0
* utils.c: <readline/readline.h> instead of "readline/readline.h". * configure.in (TERM_LIB): Search for the appropriate term library on the host system. * configure: Regenerated. * Makefile.in (TERMCAP): Set based on autoconf check. * config/*/*.mh: Don't override TERMCAP setting.
1998-12-12CARP: Mechanism to replace EXTRA_FRAME_INFO.Andrew Cagney1-0/+2
Add two pointers (saved_regs, extra_info) to struct frame_info. Introduce new macro FRAME_INIT_SAVED_REGS which replaces FRAME_FIND_SAVED_REGS. Document. Use in mn10300 and rs6000 targets. Fix side effects on ALPHA, MIPS, Z8K and SPARC targets.
1998-11-30CARP:Andrew Cagney1-1/+1
Cleanup FRAME_CHAIN_VALID. Replace all macro's with functions.
1998-11-28CARP:Andrew Cagney1-1/+1
Rewrite INNER_THAN so that it takes parameters.
1998-11-27CARP:Andrew Cagney1-1/+3
STEP_SKIPS_DELAY - add STEP_SKIPS_DELAY_P and rewrite use removing #ifdef's. NO_SINGLE_STEP - replace with SOFTWARE_SINGLE_STEP_P + SOFTWARE_SINGLE_STEP. Replace global variable one_stepped with static singlestep_breakpoints_inserted_p. Cleanup infrun.c (scary!).
1998-11-26CARP: Delete ABOUT_TO_RETURN across all targets.Andrew Cagney1-8/+0
1998-11-24 * procfs.c (procfs_wait): handle syscall events first.Felix Lee1-4/+5
* procfs.c (GDB_GREGSET_TYPE, GDB_FPREGSET_TYPE): new macros. * config/sparc/xm-sun4sol2.h: use them. * core-sol2.c: don't #undef gregset_t and fpregset_t. * sol-thread.c: ditto. * sparc-tdep.c: ditto.
1998-10-17fix typoFelix Lee1-0/+5
1998-10-16 * tm-sp64.h (SETUP_ARBITRARY_FRAME, RAME_SPECIFICATION_DYADIC):Stan Shebs1-8/+0
Remove, nevermore used.
1998-08-24 * sh-stub.c (undoSStep): Improve comment.Mark Alexander1-17/+17
* sparc-tdep.c (sparc_extract_struct_value_address): Simplify to use same method on both 32-bit and 64-bit machines. * sparcl-tdep.c (sparclite_check_watch_resources): Simulator doesn't support hardware breakpoints. * config/sparc/tm-sparc.h (CALL_DUMMY): Improve comments.
1998-07-23 * sparc-tdep.c (sparc_init_extra_frame_info): Recognize when we'reDawn Perchik1-0/+1
in a function prologue before the SAVE instruction. (sparc_frame_saved_pc): Ditto. * config/sparc/tm-sparc.h (EXTRA_FRAME_INFO): Add in_prologue flag.
1998-06-02 * sparc-tdep.c (sparc_target_architecture_hook): New function toMark Alexander2-19/+7
set endianness based on machine type. (_initialize_sparc_tdep): Initialize target_architecture_hook. (sparc_print_register_hook): Print PSR and FPSR in fancy format on 32-bit machines. * config/sparc/tm-sparc.h (PRINT_REGISTER_HOOK): Redefine to call sparc_print_register_hook instead of using inline code. * config/sparc/tm-sp64.h (PRINT_REGISTER_HOOK): Remove.
1998-05-08 * config/sparc/tm-sp64.h (CALL_DUMMY): Store and retrieveBob Manson2-5/+119
%o0-%o5 as 64-bit values; compensate for stack bias. (USE_STRUCT_CONVENTION): We only pass pointers to structs if they're larger than 32 bytes. (REG_STRUCT_HAS_ADDR): Ditto. * sparc-tdep.c (sparc_init_extra_frame_info): Use read_sp() instead of read_register. If the target is a sparc64 and the frame pointer is odd, compensate for the stack bias. (get_saved_register): Use read_sp(). (DUMMY_STACK_REG_BUF_SIZE): Use FP_REGISTER_BYTES. (sparc_push_dummy_frame): Use read_sp()/write_sp(). On sparc64, save the PC, NPC, CCR, FSR, FPRS, Y and ASI registers. (sparc_frame_find_saved_regs): Use read_sp(). Read the PC, NPC, CCR, FSR, FPRS, Y and ASI registers from the frame, if it's a dummy frame. (sparc_pop_frame): Use write_sp(). If the target is a sparc64 and the FP is odd, compensate for stack bias. (sparc_store_return_value): Right-justify the return value before writing it to %o0. (sparc_fix_call_dummy): Don't NOP out part of the call dummy on sparc64. (sparc64_read_sp, sparc64_read_fp, sparc64_write_sp, sparc64_write_fp, sp64_push_arguments, sparc64_extract_return_value): New functions to support the sparc64 ABI. * dwarfread.c (handle_producer): Set processing_gcc_compilation to the right version number. * dwarf2read.c (read_file_scope): Assume we're processing GCC2 output.
1998-04-27 * config/sparc/tm-sparc.h (CALL_DUMMY): Shorten it drastically,Mark Alexander1-104/+51
make it work on the simulator. (FIX_CALL_DUMMY): Convert to function call instead of inline code. (sparc_fix_call_dummy): Declare. * sparc-tdep.c (sparc_fix_call_dummy): New function, taken from old FIX_CALL_DUMMY macro, with additional fixes for simulator. (sparc_push_dummy_frame): Set registers differently on simulator to prevent corrupted register window save areas.
1998-04-16 * sparc-tdep.c (SPARC_HAS_FPU): Define.Mark Alexander1-33/+12
(sparc_extract_return_value): New function, required to handle machines without floating point. (sparc_store_return_value): Ditto. * config/sparc/tm-sparc.h (EXTRACT_RETURN_VALUE): Call sparc_extract_return_value instead of using inline code. (sparc_extract_return_value): Declare. (STORE_RETURN_VALUE): Call sparc_store_return_value instead of using inline code. (sparc_store_return_value): Declare.
1998-04-15 * sparc-tdep.c (sparc_extract_struct_value_address): Make itMark Alexander1-1/+13
work correctly on little-endian hosts. (sparc_push_arguments): New function. (gdb_print_insn_sparc): New function. (_initialize_sparc_tdep): Make gdb_print_insn_sparc the default disassembler, so that SPARClite-specific instructions will be recognized. * sparcl-tdep.c (readchar): Print debugging information. (debug_serial_write): New function, a replacement for SERIAL_WRITE that prints debugging information. * config/sparc/tm-sparc.h (PUSH_ARGUMENTS): Define. (sparc_push_arguments): Declare.
1998-04-13 * config/sparc/tm-sun4os4.h (IS_STATIC_TRANSFORM_NAME): Add missingKeith Seitz1-0/+1
definition.
1998-04-11Fri Apr 10 22:36:28 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)Jason Molenda1-1/+6
Update support for x86 Solaris 2. * config/i386/tm-i386sol2.h, nm-i386sol2.h: New configuration files for x86 Solaris 2. * config/i386/i386sol2.mt, i386sol2.mh: Use them. * config/sparc/tm-sun4sol2.h (PROCFS_GET_CARRY): New macro, extract carry flag from a given regset. (IS_STATIC_TRANSFORM_NAME): New macro, check if a symbol name is a SunPro transformed name. * i386-tdep.c (sunpro_static_transform_name): New function to extract the source name from a SunPro transformed name. * inferior.h (procfs_first_available, procfs_get_pid_fd): Add prototypes. * infrun.c (wait_for_inferior): Handle breakpoint hit in signal handler without intervening stop in sigtramp. * procfs.c (procfs_lwp_creation_handler): Use PROCFS_GET_CARRY instead of direct access to the status register. (procfs_get_pid_fd): New function, returns procfs fd for a given pid. * sol-thread.c (ps_lgetLDT): New function, returns LDT for a given lwpid. (sol_find_new_threads): Handle failed libthread_db initialization gracefully. * stabsread.c (define_symbol): Use IS_STATIC_TRANSFORM_NAME to check for a SunPro transformed symbol name.
1998-04-02 * config/sparc/tm-sparclite.h (TARGET_BYTE_ORDER_SELECTABLE): Define.Mark Alexander2-0/+7
* config/sparc/sparclite.mt: Link in the erc32 simulator.
1998-03-13massive sanitization fixesAngela Marie Thomas1-0/+5
1998-03-02Sun Mar 2 15:16:13 1998 Richard Henderson <rth@cygnus.com>Jason Molenda2-0/+77
* configure.host, configure.tgt: Add sparc-linux. * sparc-nat.c: Include <asm/reg.h> not <machine/reg.h> for Linux. * config/sparc/*linux*: New files.
1998-01-14 * configure.in (--with-mmalloc): Add new configure arg to use theFred Fish1-6/+0
mmalloc package. Default is to not use it. (START_INFERIOR_TRAPS_EXPECTED): Define to the integer 2, not the string "2". * acconfig.h (USE_MMALLOC, FORCE_MMCHECK): Add #undef. * configure: Regenerated. * config.in: Regenerated. * Makefile.in (MMALLOC_DIR, MMALLOC_SRC): Remove. (MMALLOC): Set using configure. (MMALLOC_CFLAGS): Set using configure. * config/i386/tm-linux.h (sys_quotactl): Define to 1 rather than just defining it. * mpw-make.sed: Undefine USE_MMALLOC rather than defining NO_MMALLOC. * utils.c (NO_MMALLOC): Use USE_MMALLOC instead. * objfiles.c: ditto. * defs.h: ditto. * config/sparc/sun4os4.mh (MMALLOC_CFLAGS): Remove. * config/m68k/sun3os4.mh (MMALLOC_CFLAGS): Remove. * config/i386/cygwin32.mh (MMALLOC_CFLAGS): Remove. * config/alpha/alpha-osf3.mh (MMALLOC_CFLAGS): Remove. * config/alpha/alpha-osf2.mh (MMALLOC_CFLAGS): Remove. * gdbserver/Makefile.in (MMALLOC_*): Remove. * config/rs6000/rs6000.mh (MMALLOC, MMALLOC_CFLAGS): Remove. * config/rs6000/aix4.mh (MMALLOC, MMALLOC_CFLAGS): Remove. * config/powerpc/aix4.mh (MMALLOC, MMALLOC_CFLAGS): Remove. * config/powerpc/aix.mh (MMALLOC, MMALLOC_CFLAGS): Remove. * config/ns32k/ns32km3.mh (MMALLOC, MMALLOC_CFLAGS): Remove. * config/mips/mipsm3.mh (MMALLOC, MMALLOC_CFLAGS): Remove. * config/mips/decstation.mh (MMALLOC, MMALLOC_CFLAGS): Remove. * config/m88k/cxux.mh (MMALLOC, MMALLOC_CFLAGS): Remove. * config/i386/xm-windows.h (NO_MMALLOC, NO_MMCHECK): Remove. * config/i386/i386mk.mh (MMALLOC, MMALLOC_CFLAGS): Remove. * config/i386/i386m3.mh (MMALLOC, MMALLOC_CFLAGS): Remove. * config/i386/i386gnu.mh (MMALLOC, MMALLOC_CFLAGS): Remove. * config/alpha/alpha-osf1.mh (MMALLOC, MMALLOC_CFLAGS): Remove. * config/alpha/alpha-linux.mh (MMALLOC, MMALLOC_CFLAGS): Remove.
1997-10-24fix for PR 13618 -- gdb incorrectly reports thread information.David Taylor1-0/+3
If other systems besides nm-sun4sol2 exhibit the problem, they may need definitions of FIND_NEW_THREADS and a corresponding support function.
1997-10-15 (STORE_STRUCT_RETURN): Change to handle --enable-64-bit-bfd.David Edelsohn1-1/+3
1997-10-15 * config/sparc/tm-sparc.h (FIX_CALL_DUMMY): Mask off displacementDavid Edelsohn1-1/+2
to 30 bits in call insn to handle --enable-64-bit-bfd.
1997-08-30 * config/sparc/sparclite.mt: Removed simulator references (erc32Bob Manson1-2/+0
has been disabled).
1997-04-22 * config/alpha/alpha-osf3.mh config/i386/{i386gnu linux}.mhStu Grossman1-3/+0
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-19 * Makefile.in (SUBDIRS): Add mswin so that make cleanup cleans upStu Grossman1-4/+0
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.
1996-12-27Thu Dec 26 15:56:09 1996 Michael Snyder <msnyder@cleaver.cygnus.com>Michael Snyder1-1/+2
* sparclet-stub.c: a few clean-ups, removing dead code * config/sparc/tm-sparclet.h: make registers ASR15, ASR19 invisible (they're not useful, you can't change, write or even read them)
1996-12-26Thu Dec 26 15:15:21 1996 Michael Snyder <msnyder@cleaver.cygnus.com>Michael Snyder1-22/+41
* sparclet-rom.c: Remove includes of Unix system files. Add function "sparclet_supply_register" so that parse_register_dump will not seg-fault by calling a null function pointer. Remove XMODEM support (unfinished work?). Remove flag "MO_HANDLE_NL", so monitor's output can be read by humans. Add fill command. Remove colon from getreg.resp_delim so PSR register will work. Remove pointer to sparclet_load (downloading SREC's doesn't work). Null out local register names for %g0, all %cc and all %asr regs, since the monitor can't report them. Will return zero instead. * sparclet-stub.c: New -- remote protocol support for sparclet CPU. * config/sparc/tm-sparclet.h: Re-arrange REGISTER_NAMES: Add back %g0 and %psr, add %cc coprocessor regs, add %asr regs. Adjust NUM_REGS and REGISTER_BYTES accordingly
1996-12-05 (TM_PRINT_INSN_MACH): Redefine for sparclet.David Edelsohn1-0/+6
1996-12-05 * config/sparc/tm-sparclet.h (TARGET_BYTE_ORDER): Undef.David Edelsohn1-1/+9
(TARGET_BYTE_ORDER_SELECTABLE): Define. (BREAKPOINT): Undef. ({BIG,LITTLE}_BREAKPOINT): Define.
1996-08-25 * rs6000-tdep.c: Fix typo in comment.Fred Fish2-4/+6
* valops.c (call_function_by_hand): Set using_gcc to 2 for code compiled without -g, per comment in code. * config/a29k/tm-a29k.h (STACK_ALIGN): Add comment. * config/sparc/tm-sparc.h (STACK_ALIGN): Add comment. * config/sparc/tm-sp64.h (STACK_ALIGN): Add comment. * config/pyr/tm-pyr.h (STACK_ALIGN): Add comment. * config/m88k/tm-m88k.h (STACK_ALIGN): Add comment. * config/pa/tm-hppa.h (PUSH_ARGUMENTS): Enclose args in ()'s. (STACK_ALIGN): Add comment, move to be with other associated macros, and document. * config/mips/tm-mips.h (PUSH_ARGUMENTS): Enclose args in ()'s. (STACK_ALIGN): Remove completely, handled by PUSH_ARGUMENTS. * config/alpha/tm-alpha.h (PUSH_ARGUMENTS): Enclose args in ()'s. * config/rs6000/tm-rs6000.h (STACK_ALIGN): Remove completely, handled by PUSH_ARGUMENTS. (PUSH_ARGUMENTS): Enclose args in ()'s.
1996-07-28 * configure.in: Add test for "long long" support.Fred Fish1-7/+1
* configure: Regenerate with autoconf. * acconfig.h: Add CC_HAS_LONG_LONG * config.in: Regenerate with autoheader. * config/mips/tm-mips64.h (FORCE_LONG_LONG): Remove * config/sparc/tm-sp64.h (CC_HAS_LONG_LONG): Remove. * config/mips/tm-vr4300el.h (CC_HAS_LONG_LONG): Remove. * config/mips/tm-vr4300.h (CC_HAS_LONG_LONG): Remove. * config/mips/xm-irix5.h (CC_HAS_LONG_LONG): Remove (PRINTF_HAS_LONG_LONG): Remove. (FORCE_LONG_LONG): Remove. * config/powerpc/xm-aix.h (UINT_MAX): Undef and use gdb's version. * config/convex/xm-convex.h (CC_HAS_LONG_LONG): Remove (PRINTF_HAS_LONG_LONG): Remove. * config/xm-nbsd.h (CC_HAS_LONG_LONG): Remove. (PRINTF_HAS_LONG_LONG): Remove. * config/pa/tm-hppa.h (GET_FIELD): Put parens around subtraction inside shift. Put parens around subtraction in operand of bitwise and. (struct frame_info): Forward declare if __STDC__ defined. (frame_saved_regs): Ditto. (struct value): Ditto. (struct type): Ditto. (struct inferior_status): Ditto. (init_extra_frame_info): Add prototype. (skip_prologue): Ditto. (frameless_function_invocation): Ditto. (frame_chain): Ditto. (frame_chain_valid): Ditto. (saved_pc_after_call): Ditto. (hppa_fix_call_dummy): Ditto. (hppa_push_arguments): Ditto. (pa_do_registers_info): Ditto. (in_solib_call_trampoline): Ditto. (in_solib_return_trampoline): Ditto. (push_dummy_frame): Ditto. * convex-tdep.c (decout): Use print_longest rather than fprintf_filtered. * defs.h: Remove use of FORCE_LONG_LONG and __GNUC__ to set CC_HAS_LONG_LONG. (INT_MIN): Fix so it works correctly when assigned to a long long. * valprint.c (longest_to_int): Rewrite to remove dependence on INT_MIN and INT_MAX. (print_longest): Rewrite the code that falls back to synthesized hex output when LONGEST value is not representable as in a long and printf doesn't support printing long longs. * ch-valprint.c (chill_val_print): Cast 2nd arg of chill_print_type_scalar to LONGEST. chill_print_type_scalar): Make static and add prototype. * hppa-tdep.c (get_field): Ifdef out unused function. (set_field): Ditto. (extract_3): Ditto. (extract_5_store): Ditto. (extract_11): Ditto. (extract_12): Ditto. (deposit_17): Ditto. (extract_14): Convert to static and add prototype. (deposit_14): Ditto. (extract_21): Ditto. (deposit_21): Ditto. (extract_17): Ditto. (extract_5r_store): Ditto. (extract_5R_store): Ditto. (extract_5_load): Ditto. (find_proc_framesize): Ditto. (find_dummy_frame_regs): Ditto. (sign_extend): Ditto. (find_unwind_entry): Add prototype. (find_return_regnum): Ditto. (unwind_command): Ditto. (find_dummy_frame_regs): Add parens around subtraction in operand of bitwise-and. (skip_prologue): Add parens around operands of logical-and inside operand of logical-or. (sign_extend): Add parens around operands of subtraction inside operand of shift. (low_sign_extend): Ditto. * top.c (filename_completer): Convert old style decl of filename_completion_function into prototype. * f-lang.c (patch_common_entries): Ifdef out unused function. * stabsread.c (read_cfront_baseclasses): Remove unused local variable "msg_noterm". (resolve_cfront_continuation): Remove unused local variable "fip". (read_type): Remove unused variable xtypenums. (read_cfront_static_fields): Remove unused variable "i". (read_cfront_static_fields): Remove unused variable "nfields". (read_cfront_member_functions): Add missing comment terminator. (read_cfront_static_fields): Return 1 rather than random value. (read_cfront_baseclasses): Ditto. (read_cfront_baseclasses): Ditto. (read_cfront_baseclasses): Ditto. * somsolib.c (som_solib_create_inferior_hook): Remove unused variable "u". (som_solib_create_inferior_hook): Remove unused variable shadow_contents. (language.h): Add for needed prototypes. (som_solib_sharedlibrary_command): Add prototype. * hpread.c: (hpread_read_array_type): Add prototype. * somread.c (hpread_build_pysmtabs): Add prototype. (hpread_symfile_finish): Ditto. (hpread_symfile_init): Ditto. * hppah-nat.c (fetch_register): Convert old style decl to prototype. (gdbcore.h): Include for needed prototypes. (fetch_register): Remove unused variable "mess". * remote-pa.c (get_offsets): Ifdef out unused function. (remote_start_remote): Remove unused variable "timeout". (boot_board): Add prototype. (reaad_frame): Add prototype. (getpkt): Remove unused variable "bp". (remote_kill): Add prototype. (remote_mourn): Add prototype. (remote_insert_breakpoint): Add prototype. (remote_remove_breakpoint): Add prototype. * valops.c (value_push): Only use if PUSH_ARGUMENTS is not defined. * infcmd.c (do_registers_info): Only need prototype if DO_REGISTERS_INFO is not defined. (breakpoint_auto_delete_contents): Only need if CALL_DUMMY_BREAKPOINT_OFFSET is defined.
1996-07-26See the huge ChangeLog entry that has the header:Fred Fish1-8/+7
Thu Jul 25 19:41:31 1996 Fred Fish <fnf@cygnus.com> for details about these changes. I was going to include the complete entry in the checkin message but it was apparently so large it caused cvs to dump core.
1996-07-15 * defs.h printcmd.c: Create global disassemble_info structureStu Grossman2-3/+3
tm_print_insn_info. * gdbtk.c (gdb_disassemble): Setup di.mach from tm_print_insn_info.mach, and set endian from TARGET_BYTE_ORDER. * i386-tdep.c (set_assembly_language_command): set tm_print_insn_info.mach to the appropriate value for 386 or 8086 disassembly. * printcmd.c (print_insn): Move init of disassembler_info to _initialize_printcmd. Set endian for disassembler here. * sparc-tdep.c: Set tm_print_insn_info.mach as appropriate to select sparc/sparclite. * config/sparc/{tm-sparc.h tm-sparclite.h}: Get rid of TM_PRINT_INSN. Set TM_PRINT_INSN_MACH to bfd_mach_sparc/bfd_mach_sparc_sparclite.
1996-07-11 * Makefile.in (MMALLOC_CFLAGS): Eliminate intermediate MMALLOC_DISABLEFred Fish3-20/+6
and MMALLOC_CHECK macros, and add comment indicating how host dependent makefile fragment should modify MMALLOC_CFLAGS to not use mmalloc, or to use it but to not do heap corruption checking. * gdbserver/Makefile.in: Ditto. * utils.c (init_malloc): Replace warning() use with direct call of fprintf_unfiltered, since current_target has not yet been set and thus we cannot use warning(). If we try to use mmcheck and it fails, suggest that this configuration needs NO_MMCHECK or MMCHECK_FORCE defined. Other small mmalloc related cleanups. * config/sparc/sun4os4.mh (MMALLOC_CFLAGS): Define MMCHECK_FORCE to 1. * config/alpha/alpha-osf2.mh (MMALLOC_CFLAGS): Set to -DNO_MMCHECK. * config/sparc/xm-sun4os4.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT): * config/i386/xm-i386v4.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT): * config/i386/xm-linux.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT): * config/m68k/xm-hp300hpux.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT): * config/m68k/xm-m68kv4.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT); * config/m68k/xm-sun3os4.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT): * config/pa/xm-hppah.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT): * config/sparc/xm-sun4sol2.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT): Remove obsolete defines. * config/alpha/alpha-linux.mh (MMALLOC_DISABLE): * config/alpha/alpha-osf1.mh (MMALLOC_DISABLE): * config/rs6000/rs6000.mh (MMALLOC_DISABLE): * config/rs6000/aix4.mh (MMALLOC_DISABLE): * config/powerpc/aix4.mh (MMALLOC_DISABLE): * config/powerpc/aix.mh (MMALLOC_DISABLE): * config/ns32k/ns32km3.mh (MMALLOC_DISABLE): * config/mips/mipsm3.mh (MMALLOC_DISABLE): * config/mips/decstation.mh (MMALLOC_DISABLE): * config/m88k/cxux.mh (MMALLOC_DISABLE): * config/i386/i386mk.mh (MMALLOC_DISABLE): * config/i386/i386m3.mh (MMALLOC_DISABLE): * config/i386/i386gnu.mh (MMALLOC_DISABLE): Use MMALLOC_CFLAGS instead.
1996-07-04 * sparcl-tdep.c (_initialize_sparc_tdep) config/sparc/tm-sparc.h,Stu Grossman2-1/+11
config/sparc/tm-sparclite.h: Initialize tm_print_insn from TM_PRINT_INSN, which comes from the tm file. * Makefile.in (INTERNAL_LDFLAGS): Add in flags from configure. * configure configure.in: Only make sol-thread.o for native. Also, switch to dlopened libthread_db.so.1. * sol-thread.c: Switch to using dlopen to get the thread_db library. * configure, configure.in: Change test for libthread_db to only work for configs where build/host/target are the same.
1996-06-28Keep sparclet.mt.David Edelsohn1-0/+1