aboutsummaryrefslogtreecommitdiff
path: root/gdb/config
AgeCommit message (Collapse)AuthorFilesLines
1996-10-03 * inferior.h (IN_SIGTRAMP): Pass pc to SIGTRAMP_START andFred Fish2-4/+4
SIGTRAMP_END. * config/i386/tm-i386os9k.h (SIGTRAMP_START, SIGTRAMP_END): Define with dummy pc arg. * config/m68k/tm-nbsd.h: Ditto. * doc/gdbint.texinfo: Document that SIGTRAMP_START and SIGTRAMP_END are macros that take an single argument.
1996-09-30 * config/v850/tm-v850.h: Use distinct register for PC, not EIPC.Stu Grossman1-3/+4
1996-09-28Sanitize for v850.Stu Grossman1-0/+72
1996-09-28Sanitize v850 shit.Stu Grossman1-0/+14
1996-09-28 * configure.in: Recognize v850 target.Stu Grossman1-0/+82
* v850-tdep.c: New file, NEC V850 target support. * config/v850/{v850.mt tm-v850.h}: New files for NEC V850 support.
1996-09-27Set the sizes of the basic types that do not match the defaultsMichael Meissner1-0/+7
1996-09-23Mon Sep 23 16:13:50 1996 Martin M. Hunt <hunt@pizza.cygnus.com>Martin Hunt1-3/+1
* tm-d10v.h (SAVED_PC_AFTER_CALL): Fixed. Now single-steps correctly.
1996-09-20 * config/sh/tm-sh.h (REGISTER_NAMES): Move fp registers toStan Shebs1-28/+26
be consistent with GCC. (FPUL_REGNUM, etc): Renumber to match list changes. (ADDR_BITS_REMOVE): Delete. * sh-tdep.c (sh_reg_names, sh3_reg_names, sh3e_reg_names): Rearrange to match REGISTER_NAMES. * sh3-rom.c (sh3_regnames, sh3e_regnames): Ditto. PR 9457
1996-09-19Thu Sep 19 16:19:01 1996 Martin M. Hunt <hunt@pizza.cygnus.com>Martin Hunt1-1/+1
* d10v-tdep.c: Stack chain should work now.
1996-09-18Tue Sep 17 18:46:57 1996 Martin M. Hunt <hunt@pizza.cygnus.com>Martin Hunt1-3/+2
* tm-d10v.h: Snapshot.
1996-09-06restore the space that need to be presentGeoffrey Noer1-1/+1
1996-09-06build ser-tcp.o for cygwin32 hosted gdbGeoffrey Noer2-3/+5
1996-09-05 * Makefile.in: Add mswin to SUBDIRS. Add rules forStu Grossman1-0/+4
mswin/libwingdb.a and remote-wiggler.o. * breakpoint.c (breakpoint_here_p): Clean up bp enabled test. * (breakpoint_inserted_here_p): New func, just like breakpoint_here_p, except it's honest. Honestly. * breakpoint.h: Proto for above. start-sanitize-gdbtk * configure configure.in: Add host *windows* to list of hosts that don't support GDBtk. end-sanitize-gdbtk * configure configure.in: Add mswin to configdirs if host is i[3456]86-*-windows. * core-aout.c (fetch_core_registers register_addr) gdbcore.h: Change all vars that can contain addresses to type CORE_ADDR. * findvar.c (supply_register): Allow val to be NULL. This means that regno is unsupported. * (read_pc read_pc_pid write_pc write_pc_pid): Make non-pid forms just call pid forms with inferior_pid so that there's only once place to hack PC's and such. * infrun.c (proceed): Don't skip breakpoints if user changed PC. * remote-wiggler.c: New file. Support for BDM interface from Macraigor Systems. * serial.c: Enhance serial logging capability. Add hex and octal output modes (set remotelogbase {hex|octal|ascii}. Also log breaks, timeouts, errors, and eofs. * serial.h: Redefine SERIAL_SEND_BREAK to go through a wrapper function so that we can log breaks. Don't export serial_logfile or serial_logfp. * top.c (execute_command): Don't test for serial_logfp here. Just call serial_log_comand, and let serial.c sort it out. * valops.c (value_of_variable): Don't attempt to establish frames for static and global variables. This makes things work a bit better if the stack or frame pointer is trashed. * config/m68k/monitor.mt (TDEPFILES): Add remote-wiggler.o. * config/m68k/tm-m68k.h: Define STACK_ALIGN. CPU32 can't hack misaligned stacks during function calls.
1996-08-28Fix it.Martin Hunt1-2/+2
1996-08-28New file.Martin Hunt1-0/+33
1996-08-28Fix d10v_files.Martin Hunt1-1/+1
1996-08-27Mon Aug 26 18:36:54 1996 Martin M. Hunt <hunt@pizza.cygnus.com>Martin Hunt1-0/+225
* d10v.mt: New file. * tm-d10v.h: New file.
1996-08-27Mon Aug 26 18:36:54 1996 Martin M. Hunt <hunt@pizza.cygnus.com>Martin Hunt1-0/+14
* d10v/d10v.mt: New file. * d10v/tm-d10v.h: New file.
1996-08-25 * rs6000-tdep.c: Fix typo in comment.Fred Fish5-10/+17
* 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-08-16Fix warningMichael Meissner1-6/+36
1996-08-16Fri Aug 16 15:15:37 1996 James G. Smith <jsmith@cygnus.co.uk>Jackie Smith Cashion2-2/+2
* config/mips/{vr4300.mt, vr4300el.mt} (SIM): Add -lm when simulator is included.
1996-08-15 * findvar.c (write_register_pid): Only needed when TARGET_WRITE_PCFred Fish1-1/+1
is not defined. (read_register_pid): Only needed when TARGET_READ_PC is not defined. * hppa-tdep.c (frame_saved_pc): Remove prototype. * infptrace.c (udot_info): Prototype when CHILD_XFER_MEMORY is not defined. * config/xm-aix4.h (aix_resizewindow): Convert old style decl to prototype. * xcoffsolib.c (command.h): Include for needed prototypes.
1996-08-15 * config/i386/cygwin32.mh: Set NAT_FILE to nm-empty.h to makeStu Grossman1-0/+1
native work.
1996-08-14 * Makefile.in (init.c): Generate with prototypes.Fred Fish5-1/+5
* config/pa/tm-hppa.h (frame_saved_pc): Add prototype. * config/rs6000/xm-rs6000.h (aix_resizewindow): Ditto. * config/rs6000/tm-rs6000.h (frame_initial_stack_address): Ditto. (pc_load_segment_name): Ditto. (pop_frame): Ditto. (extract_return_value): Ditto. (is_magic_function_pointer): Ditto. (push_dummy_frame): Ditto. (fix_call_dummy): Ditto. (push_arguments): Ditto. (skip_trampoline_code): Ditto. (aix_process_linenos): Ditto. * config/m68k/tm-cisco.h (get_longjmp_target): Add prototype. * config/m68k/tm-es1800.h: Ditto. * config/m68k/tm-vx68.h: Ditto. * config/m68k/tm-sun3.h: Ditto. * config/m68k/tm-m68kv4.h: Ditto.
1996-08-14 * config/mips/nm-mips.h (get_longjmp_target): Add prototype.Fred Fish2-0/+2
* config/mips/nm-irix3.h (get_longjmp_target): Add prototype. * remote-mips.c (mips_read_processor_type): Remove prototype. * mips-tdep.c (gdb_print_insn_mips): Add prototype and make static. * irix5-nat.c (fetch_core_registers): Add prototype.
1996-08-09 * config/tm-hppa.h (EXTRACT_RETURN_VALUE): Fix thinko inJeff Law1-1/+1
last change.
1996-08-07 * config/pa/tm-hppa.h (EXTRACT_RETURN_VALUE): Tweak forJeff Law1-1/+1
structures > 4 bytes in size. Fixing more structure return problems.
1996-08-07 * valops.c (call_function_by_hand): Handle aligning stacks thatJeff Law1-0/+4
grow up correctly. * config/pa/tm-hppa.h (USE_STRUCT_CONVENTION): Define. (STACK_ALIGN): Define. * hppa-tdep.c (hppa_alignof): Don't demand a minumim two byte alignment on structs/unions. Fixing assorted structure passing/return problems reported by the net.
1996-08-03 * config/alpha/alpha-osf3.mh (XM_FILE): Change from xm-alpha.h toFred Fish1-1/+1
xm-alphaosf.h.
1996-08-01 * config/mips/tm-mips.h (TM_MIPS_H): Enclose file contents inFred Fish2-4/+7
this, define when contents are included. (mips_read_processor_type): Add prototype. * config/mips/xm-mips.h: Remove strdup decl, now in gdb_string.h * mdebugread.c (ecoff_relocate_efi): Add prototype. (fixup_sigtramp): Only needed when TM_MIPS_H is defined.
1996-07-28 * config/mips/tm-mips.h (struct frame_info): Forward decl.Fred Fish2-0/+29
(struct type): Ditto. (struct value): Ditto. * config/mips/tm-mips.h (sigtramp_address): Move extern decl from mips-tdep.c to here. (sigtramp_end): Ditto. (fixup_sigtramp): Ditto. * config/mips/tm-mips.h (init_extra_frame_info): Add prototype. (mips_frame_chain): Ditto. (mips_step_skips_delay): Ditto. (mips_frame_saved_pc): Ditto. (mips_find_saved_regs): Ditto. (mips_frame_num_args): Ditto. (mips_pop_frame): Ditto. (mips_extract_return_value): Ditto. (mips_store_return_value): Ditto. (mips_push_dummy_frame): Ditto. (mips_push_arguments): Ditto. (mips_do_registers_info): Ditto. (ecoff_relocate_efi): Ditto. (ecoff_relocate_efi): Ditto. * irix4-nat.c (fetch_core_registers): Add prototype. * mips-tdep.c (read_next_frame_reg): Add prototype (heuristic_proc_start): Ditto. (heuristic_proc_desc): Ditto. (mips_print_register): Ditto. * config/mips/nm-irix5.h (procfs_set_watchpoint): Add prototype. (procfs_stopped_by_watchpoint): Ditto. * config/mips/nm-irix4.h (procfs_set_watchpoint): Add prototype. (procfs_stopped_by_watchpoint): Ditto. * config/alpha/tm-alpha.h (ecoff_relocate_efi): Add prototype. (struct symbol): Add forward decl for prototype. * breakpoint.c (internal_breakpoint_number): Only needed if GET_LONGJMP_TARGET or SOLIB_ADD is defined. * objfiles.c (ecoff_relocate_efi): Remove prototype.
1996-07-28 * configure.in: Add test for "long long" support.Fred Fish9-32/+62
* 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 Fish15-71/+104
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-12 * config/m68k/xm-hp300hpux.h (HAVE_MMAP): Remove definition.Fred Fish2-12/+0
* config/pa/xm-hppah.h (HAVE_MMAP): Ditto.
1996-07-11 * Makefile.in (MMALLOC_CFLAGS): Eliminate intermediate MMALLOC_DISABLEFred Fish18-87/+54
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-09Forgot to commit .Sanitize after last checkinMichael Meissner1-0/+1
1996-07-07Add linux.mh and xm-linux.h.Mark Alexander1-0/+2
1996-07-05No longer need to sanitize away h8s.Jeff Law2-29/+0
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-07-02Add stub support for Linux on PowerPCMichael Meissner1-0/+21
1996-06-28Keep sparclet.mt.David Edelsohn1-0/+1
1996-06-28 * configure,configure.in: Add target sparclet.Dawn Perchik3-0/+106
* monitor.h,monitor.c: Added monitor flags MO_NO_ECHO_ON_SETMEM (don't expect echo on setmem command), MO_RUN_FIRST_TIME (if command to start process running on target is different from one to continue execution), MO_HEX_PREFIX (if addresses from monitor have a "0x" prefix). * monitor.c,parse.c,sparc-tdep.c: Don't require strings in the registers array. This is to allow NULLs to be place holders in the tm-*.h file so that only minor changes are needed when a new processor is introduced (eg, one without floating point). * sparc-tdep.c: Conditionally remove dependancies on floating point. * sparclet-rom.c,config/sparc/sparclet.mt,config/sparc/tm-sparclet.h: New files for target sparclet. * symfile.c: Add option for 2nd parameter on load command : a load offset added to the vma of each section.
1996-06-28 * config/i386/cygwin32.mh, config/powerpc/cygwin32.mhStan Shebs2-4/+2
(NATDEPFILES): Add a space.
1996-06-18 * h8300-dep.c (gdb_print_insn_h8300): Handle the H8/S.Jeff Law2-0/+30
(h8300_command): Likewise. (set_machine): Likewise. (set_machine_hook): Likewise. (_initialize_h8300m): Likewise. * config/h8300/tm-h8300.h (h8300smode): Declare. More sanitized H8/S work.
1996-06-11 * config/sparc/{xm-sun4sol2.h,xm-sun4os4.h} (MMAP_BASE_ADDRESS):Fred Fish2-2/+2
Change from 0xE0000000 to 0xC0000000. PR 9792
1996-06-06Add missing file for solaris on powerpcMichael Meissner2-0/+22
1996-06-05Wed Jun 5 01:52:57 1996 James G. Smith <jsmith@cygnus.co.uk>Jackie Smith Cashion1-0/+2
* configure.in (configdirs): Force 4100 builds to use 4300 GDB target. * configure: Rebuild. * config/mips/vr4300el.mt (SIM_OBS): Include simulator in little-endian builds.
1996-05-26Update with new/changed files.Fred Fish1-1/+6
1996-05-26Forgot to include in last checking.Fred Fish4-0/+190