aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
1995-03-08 * string.ch, string.exp, Makefile.in: New test case.Per Bothner5-1/+83
This is PR 5696.
1995-03-08 * valops.c (value_slice): Do COERCE_VARYING_ARRAY.Per Bothner1-0/+4
This fixes PR 5696.
1995-03-08 * monitor.c array-rom.c monitor.h rom68k-rom.c: Move target_opsStu Grossman4-100/+25
into monitor.c. * monitor.c (monitor_create_inferior): Allow run command to start program.
1995-03-08 * monitor.c (monitor_load): Set PC to start address when doneStu Grossman5-81/+87
loading. * array-rom.c monitor.h rom68k-rom.c: Clean up target_ops. Remove ref to monitor_create_inferior.
1995-03-08 * monitor.c: More general cleanups. Add prototypes, removeStu Grossman2-138/+29
unused routines. Fix bug with wrong number of args to error().
1995-03-07 * main.c (main): Don't start up GUI when running under gdb modeStu Grossman1-0/+3
in emacs.
1995-03-07 * Makefile.in: Add rules for monitor.o and rom68k-rom.o to makeStu Grossman8-1215/+517
Sun make (with VPATH) work... * monitor.c monitor.h rom68k-rom.c: Serious cleanup to make IDP (rom68k) target work right. * array-rom.c op50-rom.c w89k-rom.c: Partial updates to new monitor.c interface. More work needs to be done here. * config/m68k/tm-monitor.h: Change DECR_PC_AFTER_BREAK to 0 to match the IDP monitor. Also, set NUM_REGS to 18 cuz there's no floating-point for this card.
1995-03-07 * command.h command.c top.c: Add var_enum command type. It'sStu Grossman2-2/+12
like var_string but allows only only one of the specified strings.
1995-03-07 * serial.h ser-go32.c ser-go32-para.c ser-mac.c ser-tcp.cStu Grossman7-1/+121
ser-unix.c: Add SERIAL_SETSTOPBITS to set the number of stopbits (needed for IDP board?!?!?).
1995-03-07 * defs.h utils.c remote-hms.c remote-pa.c remote.c: Fix defs andStu Grossman4-11/+8
usage of fputc_unfiltered and putchar_unfiltered. Eliminate putc_unfiltered (it's superfluous).
1995-03-07 * command.h command.c: Add var_enum command type. It's likeStu Grossman2-0/+135
var_string but allows only only one of the specified strings.
1995-03-06 * valops.c (value_cast): Don't use backslash newline--pre-ANSIJim Kingdon2-2/+8
compilers (such as SunOS4 /bin/cc) don't generally support it except in some contexts.
1995-03-06 * tuples.ch (setnmode); New module.Per Bothner3-0/+39
* tuples.exp: Add some extra tests. These are from PR 5024.
1995-03-06 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning ofJeff Law1-0/+7
each expect pattern. Cuts runtime from 12 to about 4 seconds.
1995-03-05Fix typo in spelling.Michael Tiemann1-1/+1
1995-03-04 * callch.ch, callch.exp, Makefile.in: New test case.Per Bothner5-1/+125
Extended testing for PR 6292.
1995-03-04 * valops.c (value_cast): Cehck for cast to array type *before*Per Bothner2-58/+91
we coerce array to pointer (in case arg2 is already array). * valops.c (call_function_by_hand): Set using_gcc to 2 if using gcc2. Needed for REG_STRUCT_HAS_ADDR to work on sparc. Also check REG_STRUCT_HAS_ADDR for union, array and string types. * valops.c (call_function_by_hand): Re-arrange code for pushing paramaters on the stack so we can do better STACK_ALIGN. * valops.c (call_function_by_hand): Call error if the number of arguments is fewer than parameter types in function type.
1995-03-04 * sparc-tdep.c (sparc_extract_struct_value_address): MoveDavid Edelsohn1-0/+9
sparc64 support to here. (sparc64_extract_struct_value_address): Deleted. (dump_ccreg): Add a prototype so long long arg -> int. * sparc/tm-sp64.h (USE_STRUCT_CONVENTION): Define. (EXTRACT_STRUCT_VALUE_ADDRESS): Delete.
1995-03-04 * sparc/tm-sp64.h (USE_STRUCT_CONVENTION): Define.David Edelsohn1-11/+16
(EXTRACT_STRUCT_VALUE_ADDRESS): Delete.
1995-03-04 * hpread.c (hpread_record_lines): New argument "offset". AllJeff Law2-20/+37
callers changed. Use it to handle dynamic address relocation. (hpread_build_psymtabs): Adjust texthigh as we read each function debug symbol. Fix computation of texthigh. (hpread_read_subrange_type): Work around macro bugs in HP's compilers. (hpread_process_one_debug_symbol): Correctly map source lines.
1995-03-03 * somread.c (check_strange_names): Filter names emitted by the HPJeff Law2-2/+11
compiler when generating PIC code.
1995-03-03 * valops.c (value_struct_elt_for_reference): Work around macroJeff Law3-6/+32
bugs in HP's compilers. * c-exp.y (block): Likewise.
1995-03-03 * rs6000-tdep.c (push_dummy_frame): Fix order of arguments toJim Kingdon2-1/+4
store_address.
1995-03-03* utils.c [_AIX]: Include stddef.h instead of #defining size_t.Jim Kingdon2-11/+43
1995-03-03Support saving saved regs with multiple stores in addition to store multiple ↵Michael Meissner2-9/+18
instructions in prologue.
1995-03-03 * sparc-tdep.c (decode_asi): New function.David Edelsohn2-61/+388
(sparc_print_register_hook): Pretty print more v9 registers.
1995-03-03 * sparc/tm-sp64.h (REGISTER_NAMES): Fix some typos.David Edelsohn1-3/+4
1995-03-03 * dwarfread.c (struct dieinfo): Use CORE_ADDR for at_{low,high}_pc.David Edelsohn2-5/+16
(target_to_host): Change result type to CORE_ADDR.
1995-03-02Forgot this one (from sparc64 changes).David Edelsohn1-2/+2
1995-03-02* rs6000-tdep.c: Fix byte-swapping sins.Jim Kingdon1-4/+9
1995-03-02 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): OnlyJim Kingdon1-0/+3
disassemble 8, not 16, instructions for part 4.
1995-03-02Minor code cleanup in rs6000-tdep.cMichael Meissner2-2/+11
1995-03-02 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn'tJim Kingdon2-1/+4
support the latter anymore.
1995-03-02 * misc.exp: If executable does not exist, issue warning and skipJim Kingdon2-1/+7
remaining tests, like other chill tests.
1995-03-02 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails tryJim Kingdon1-0/+14
-DNO_PROTOTYPES. * gdb.base/callfuncs.c: Control use of prototypes based on NO_PROTOTYPES, not __STDC. * gdb.base/callfuncs.exp (do_function_calls): xfail one of the t_float_values2 tests if prototypes in use. * gdb.base/callfuncs.c (t_float_values, t_float_values2, t_double_values): When checking differences against DELTA, check that difference is within the range (-DELTA,DELTA), not just (-infinity,DELTA).
1995-03-02Forgot to check in ChangeLog entry for ch-exp.y (Feb 21).Per Bothner1-0/+5
1995-03-02 * misc.ch, misc.exp, Makefile.in: New test case.Per Bothner5-1/+96
1995-03-02 Various changes for sparc64.David Edelsohn1-0/+34
* sparc-tdep.c (NUM_SPARC_FPREGS): Define. (SPARC_INTREG_SIZE): Define. (*): Use SPARC_INTREG_SIZE instead of REGISTER_RAW_SIZE (intreg) where appropriate. (enum branch_type): New value `done_retry'. (isbranch): Renamed from isannulled. All callers changed. Support new sparc64 branch insns. (single_step): Handle done_retry. (sparc_extract_struct_value_address): Don't assume 4 byte regs. (get_saved_register): Likewise. (sparc_push_dummy_frame): Likewise. (sparc_frame_find_saved_regs): Likewise. (sparc_pop_frame): Likewise. Don't refer to FPS_REGNUM, CPS_REGNUM, or PS_REGNUM if not sparc64. sparc64 has 64 fp regs. (sparc64_extract_struct_value_address): New function. (dump_ccreg, sparc_print_register_hook): Likewise. * sp64-tdep.c: Deleted. * sparc/tm-sp64.h (GDB_TARGET_IS_SPARC64): Define. (NUM_REGS): Reduce by 2, cle/tle are in the pstate reg. (CC_HAS_LONG_LONG): Define. (REGISTER_NAMES): Delete cle/tle and reorganize. (PS_REGNUM, FPS_REGNUM, CPS_REGNUM): Delete, they're ifdef'd out of sparc-tdep.c now. (REGISTER_BYTES): Update. (REGISTER_CONVERT_TO_VIRTUAL, REGISTER_CONVERT_TO_RAW): Delete. (EXTRACT_RETURN_VALUE): Delete. Use definition in tm-sparc.h. (NO_SINGLE_STEP): Likewise. * sparc/tm-sparc.h (EXTRACT_VALUE_RETURN): Don't assume 4 byte regs. * sparc/sp64.mt: Move simulator support ... * sparc/sp64sim.mt: ... to here.
1995-03-02Merged into sparc-tdep.c.David Edelsohn2-289/+0
1995-03-02 * sparc-tdep.c (NUM_SPARC_FPREGS): Define.David Edelsohn4-151/+78
(SPARC_INTREG_SIZE): Define. (*): Use SPARC_INTREG_SIZE instead of REGISTER_RAW_SIZE (intreg) where appropriate. (enum branch_type): New value `done_retry'. (isbranch): Renamed from isannulled. All callers changed. Support new sparc64 branch insns. (single_step): Handle done_retry. (sparc_extract_struct_value_address): Don't assume 4 byte regs. (get_saved_register): Likewise. (sparc_push_dummy_frame): Likewise. (sparc_frame_find_saved_regs): Likewise. (sparc_pop_frame): Likewise. Don't refer to FPS_REGNUM, CPS_REGNUM, or PS_REGNUM if not sparc64. sparc64 has 64 fp regs. (sparc64_extract_struct_value_address): New function. (dump_ccreg, sparc_print_register_hook): Likewise. * sp64-tdep.c: Deleted. * sparc/tm-sp64.h (GDB_TARGET_IS_SPARC64): Define. (NUM_REGS): Reduce by 2, cle/tle are in the pstate reg. (CC_HAS_LONG_LONG): Define. (REGISTER_NAMES): Delete cle/tle and reorganize. (PS_REGNUM, FPS_REGNUM, CPS_REGNUM): Delete, they're ifdef'd out of sparc-tdep.c now. (REGISTER_BYTES): Update. (REGISTER_CONVERT_TO_VIRTUAL, REGISTER_CONVERT_TO_RAW): Delete. (EXTRACT_RETURN_VALUE): Delete. Use definition in tm-sparc.h. (NO_SINGLE_STEP): Likewise. * sparc/tm-sparc.h (EXTRACT_VALUE_RETURN): Don't assume 4 byte regs. * sparc/sp64.mt: Move simulator support ... * sparc/sp64sim.mt: ... to here.
1995-03-01 * config/i960/vxworks960.mt: add remote-vx960.o.Kung Hsu1-0/+7
* config/m68k/vxworks68.mt: add remote-vx68.o.
1995-03-01 * config/m68k/vxworks68.mt: add remote-vx68.o.Kung Hsu1-1/+1
1995-03-01 * config/i960/vxworks960.mt: add remote-vx960.o.Kung Hsu1-1/+1
1995-03-01 * remote-vx960.c: new file for target specific register packaging.Kung Hsu2-0/+321
* remote-vx68.c: ditto.
1995-03-01Build without warnings under Linux.Michael Meissner2-2/+11
1995-03-01Add Linux yacc suport.Michael Meissner5-0/+42
1995-03-01 * hppa-tdep.c (pa_print_registers), monitor.c: UseJim Kingdon3-9/+35
extract_unsigned_integer and friends, not SWAP_TARGET_AND_HOST. * defs.h, findvar.c: Move SWAP_TARGET_AND_HOST back to findvar.c. Rename it to SWAP_FLOATING to make it clear it is no longer for integers.
1995-03-01 * defs.h (SWAP_TARGET_AND_HOST): check endianess at runtime notKung Hsu2-15/+19
compile time.
1995-03-01 * arc-tdep.c (_initialize_arc_tdep): set tm_print_insn according toKung Hsu3-24/+50
processor. * remote-arc.c (arc_wait): when a processor stops, stop other two processors too. * remote-arc.c (switch_command): switch tm_print_insn.
1995-03-01 * config/mips-gdb.exp (gdb_load): In every test case, we need to doKung Hsu2-34/+58
'file' command firts, then 'target', then 'load', this is due to gdb target set up. * config/mips-gdb.exp: Fix a couple regular exp bugs.