aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
1996-01-24 * NEWS: Make note of new record and replay feature forFred Fish8-45/+551
remote debug sessions. * serial.c (gdbcmd.h): Include. (serial_logfile, serial_logfp, serial_reading, serial_writing): Define here, for remote debug session logging. (serial_log_command, serial_logchar, serial_write, serial_readchar): New functions for remote debug session logging. (serial_open): Open remote debug session log file when needed. (serial_close): Close remote debug session log file when needed. (_initialize_serial): Add set/show commands for name of remote debug session log file. * serial.h (serial_readchar): Declare (SERIAL_READCHAR): Call serial_readchar(). (SERIAL_WRITE): Call serial_write(). (serial_close): Declare as extern. (serial_logfile, serial_logfp): Declare. * top.c (execute_command): Declare serial_logfp. Log user command in remote debug session log if log file is open. * remote-array.c (array_wait): #ifdef out echo to gdb_stdout. (array_read_inferior_memory): Rewrite to fix memory overwrite bug. * remote-array.c (SREC_SIZE): Remove, duplicates define in monitor.h. * remote-array.c (hexchars, hex2mem): Remove, unused. * gdbserver/low-linux.c (store_inferior_registers): Remove unnecessary extern declaration of registers[]. * gdbserver/Makefile.in (all): Add gdbreplay. * gdbserver/gdbreplay.c: New file. * gdbserver/README: Give example of recording a remote debug session with gdb and then replaying it with gdbreplay.
1996-01-24 * ieee.c (ieee_define_named_type): When creating a tag for anIan Lance Taylor3-7/+24
anonymous struct, copy the name into memory. (ieee_tag_type): Likewise. * debug.c (debug_write_type): Only check and set id field for an unnamed object. (debug_write_class_type): Likewise.
1996-01-24 * test-build.mk: Add checking of `hpux9' rather than just `hpux'.Brendan Kehoe1-0/+9
Add creation of gconfigargs with `--enable-shared' turned on. ($(host)-stamp-stage2-configured): Pass $(gconfigargs). ($(host)-stamp-stage3-configured): Likewise. (HOLES): Add chatr and ldd. (i386-ncr-sysv4.3*): Add use of /usr/ccs/bin in the PATH and HOLE_DIRS.
1996-01-24 * configure: Pass --nfp to recursive configures.Per Bothner1-0/+4
1996-01-24 * ieee.c: Various changes to write out types for functions andIan Lance Taylor2-162/+474
references, and to not write out unnecessary function types.
1996-01-24comment changeIan Lance Taylor1-2/+1
1996-01-24 * config.bfd (sparc64-*-{sysv4*,solaris2*}): Comment outDavid Edelsohn2-1/+6
bfd_elf64_sparc_vec support.
1996-01-24 * elf32-sparc.c (elf32_sparc_merge_private_bfd_data): Delete checkingDavid Edelsohn4-48/+15
of flags, only flags used are controlled by mach number. Bump up output file mach number to highest of input file mach numbers. (elf32_sparc_object_p): Watch for EF_SPARC_SUN_US1. (elf32_sparc_final_write_processing): Set EF_SPARC_SUN_US1 if v8plusa. Also, delete v8plus sanitization.
1996-01-24 * ieee.c (struct ieee_var): Remove variable field. Add kindIan Lance Taylor2-29/+62
field, and define some enum constants for it. (parse_ieee_ty): Set kind field of variable for 'x' and 'X' types. (parse_ieee_atn): Make an indirect slot for an external variable, although we otherwise don't record it. Set kind field rather than variable field of pvar. (ieee_read_cxx_class): Try to get the type of a static member. (ieee_read_reference): Check kind field rather than variable field.
1996-01-24Delete v8plus sanitization.David Edelsohn1-3/+1
1996-01-24Note gdb.c++/classes.exp update.Per Bothner1-0/+2
1996-01-24 * stabsread.c (rs6000_builtin_type): Make bool type unsigned.Per Bothner3-3/+23
(read_one_struct_field): Support boolean bitfields. * c-valprint.c (c_val_print): Print booleans properly.
1996-01-24Updated for Tcl 7.5a2 and Tk 4.1a2Tom Tromey9-908/+1873
1996-01-24 * remote-vxsparc.c (vx_convert_to_virtual, vx_convert_from_virtual):Stan Shebs3-47/+12
Remove, never used. * config/sparc/vxsparc.mt (TDEPFILES): Add remote-vxsparc.o. Make Sparc VxWorks GDB compile
1996-01-24fix ChangeLog entryIan Lance Taylor1-1/+2
1996-01-24 * debug.h (enum debug_var_kind): Add DEBUG_VAR_ILLEGAL.Ian Lance Taylor3-0/+13
(enum debug_parm_kind): Add DEBUG_PARM_ILLEGAL. * debug.c (debug_get_parameter_types): Handle DEBUG_KIND_FUNCTION.
1996-01-24 * ieee.c: Various changes to handle C++ reference types.Ian Lance Taylor1-126/+453
1996-01-24 * enum.ch, enum.exp: New test case (covers PRs 8869 and 8870).Per Bothner4-0/+100
1996-01-24 * ch-exp.c (parse_tuple): Error if invalid mode.Per Bothner2-0/+7
This fixes PR chill/8870.
1996-01-24 * value.h (COERCE_ARRAY): Don't coerce enums.Per Bothner2-2/+12
(COERCE_ENUM): Don't COERCE_REF. (COERCE_NUMBER): New macro (same as COERCE_ARRAY then COERCE_ENUM). * valops.c (value_assign): Only do COERCE_ARRAY if internalvar (let value_cast handle it otherwise); do *not* COERCE_ENUM either way. * valarith.c: Use COERCE_NUMBER instead od COEREC_ARRAY. Add COERCE_REF before COERCE_ENUM. * values.c (value_as_long): Simplify. This fixes PR chill/8869. * valops.c (value_array): Create internalvar if !c_style_arrays.
1996-01-24Note gdb.fortran/exprs.exp fix.Per Bothner1-0/+4
1996-01-24 * language.c (lang_bool_type): Add Fortran support.Per Bothner2-0/+14
* eval.c (OP_BOOL): Use LA_BOOL_TYPE.
1996-01-23Fix typo in comment.Per Bothner1-1/+1
1996-01-23 * gdbtk.c (gdb_disassemble): Rework disassemble_info initialization.David Edelsohn2-2/+4
Pass fprintf_unfiltered to INIT_DISASSEMBLE_INFO. * printcmd.c (print_insn): Likewise.
1996-01-23 * objdump.c (disassemble_data): Pass fprintf to INIT_DISASSEMBLE_INFO.David Edelsohn2-1/+2
1996-01-23 * dis-asm.h (INIT_DISASSEMBLE_INFO): New argument FPRINTF_FUNC.David Edelsohn1-2/+2
1996-01-23 * gdb.base/corefile.exp: Recognize "not found" as failureJeff Law1-0/+7
when trying to determine if a core file was generated. If no core file was generate the first time, try again without the ulimit -c to work around braindamaged shells. Gets corefile.exp running again on the PA.
1996-01-23 * coffcode.h (coff_new_section_hook): Don't try to align theIan Lance Taylor2-0/+8
.stabstr section.
1996-01-23 * symfile.c (auto_solib_add): Renamed from auto_solib_add_at_startup.Jeff Law8-28/+300
All references changed. * breakpoint.c (bpstat_what): Add shlib_event to the class types. Update state table. Reformat so that it's still readable. When we hit the shlib_event breakpoint, set the calss of shlib_event. (breakpoint_1): Add "shlib events" as a breakpoint type. Print the shlib_event breakpoint like other breakpoints. (create_solib_event_breakpoint): New function. (breakpoint_re_set_one): Handle solib_event breakpoints. * breakpoint.h (enum bytype): Add bp_shlib_event breakpoint type. (enum bpstat_what_main_action): Add BPSTAT_WHAT_CHECK_SHLIBS action. (create_solib_event_breakpoint): Declare. * infrun.c (wait_for_inferior): Handle CHECK_SHLIBS bpstat. (normal_stop): Inform the user when the inferior stoped due to a shared library event. (_initialize_infrun): Add new set/show variable "stop_on-solib-events" to control whether or not gdb continues the inferior or stops it when a shared library event occurs. * minsyms.c (lookup_minimal_symbol_solib_trampoline): New function. * somsolib.c (TODO list): Update. (som_solib_create_inferior_hook): Arrange for gdb to be notified when significant shared library events occur. * hppa-tdep.c (find_unwind_entry): No longer static. First cut at the machine independent changes for 7363. Also includes code to automatically track shl_load/shl_unload calls on hpux.
1996-01-23 * ieee.c: Various changes to write out definitions of C++ classes.Ian Lance Taylor2-37/+501
1996-01-23 * debug.c (debug_append_filename): Remove.Ian Lance Taylor2-32/+0
* debug.h (debug_append_filename): Don't declare.
1996-01-23 * stabs.c (struct stab_handle): Remove last_type field. AddIan Lance Taylor1-56/+68
so_string and so_value fields. (finish_stab): Call stab_emit_pending_vars before calling debug_end_function. Don't warn about pending variables. (parse_stab): Accumulate N_SO strings until a non N_SO symbol is seen, rather than calling debug_append_filename. Call stab_emit_pending_vars before calling debug_end_function. Don't set info->last_type.
1996-01-23tipoIan Lance Taylor1-1/+1
1996-01-23Implement R_PPC_EMB_{SDA21,RELSDA} relocationsMichael Meissner2-2/+13
1996-01-23Do not complain if some objects have the embedded bit set and others do not.Michael Meissner2-19/+11
1996-01-23 * coffcode.h (coff_set_section_contents): Fix the handling of theIan Lance Taylor2-6/+45
.lib section to work even if the entire section contents are written at once. From Gvran Uddeborg <gvran@uddeborg.pp.se> and Robert Lipe <robertl@arnet.com>.
1996-01-23 * objdump.c (disassemble_data): Handle unknown endianness.David Edelsohn2-1/+9
1996-01-23 * dis-asm.h (INIT_DISASSEMBLE_INFO): Set endian to BFD_ENDIAN_UNKNOWN.David Edelsohn2-1/+5
1996-01-23 * gdbtk.c (gdb_disassemble): Rework disassemble_info initialization.David Edelsohn2-10/+15
1996-01-23obsolete.Steve Chamberlain1-26/+0
1996-01-23 * remote.c (remotebreak): New GDB variable.Stan Shebs2-0/+13
(remote_break): New global. (remote_interrupt): Send a break instead of ^C if remote_break. * NEWS: Describe the new variable.
1996-01-23 * sparc-dis.c (print_insn_sparc): Renamed from print_insn.David Edelsohn2-44/+25
If DISASM_RAW_INSN, print insn in hex. Handle v9a as opcode architecture. (print_insn_sparc64): Deleted. * disassemble.c (disassembler, case bfd_arch_sparc): Always use print_insn_sparc.
1996-01-23 Add new option --show-raw-insn.David Edelsohn4-3/+37
* objdump.c (show_raw_insn): New global. (usage): Update. (long_options): Update. (disassemble_data): Set disasm_info.flags if --show-raw-insn. * objdump.c (disassemble_data): Set new arch,mach,endian fields in disasm_info.
1996-01-23 * bfd-in2.h: Regenerated.David Edelsohn3-0/+5
1996-01-23 * dis-asm.h (disassemble_info): New members arch, mach, endian.David Edelsohn2-33/+36
(INIT_DISASSEMBLE_INFO): Initialize them. (DISASM_RAW_INSN{,FLAG}): Define.
1996-01-23 * ieee.c: Extensive changes to pass a single info argument aroundIan Lance Taylor2-448/+1352
in the reading routines, rather than several arguments. Add code to read C++ debugging records.
1996-01-23 * debug.h (debug_get_type_size): Declare.Ian Lance Taylor2-9/+136
(debug_get_field_name): Declare. (debug_get_field_bitpos): Declare. (debug_get_field_bitsize): Declare. (debug_get_field_visibility): Declare. (debug_get_field_physname): Declare. * debug.c (debug_get_real_type): Handle DEBUG_KIND_TAGGED. (debug_get_type_size): New function. (debug_get_field_name): New function. (debug_get_field_bitpos): New function. (debug_get_field_bitsize): New function. (debug_get_field_visibility): New function. (debug_get_field_physname): New function. (debug_write_type): Make sure we pass the real kind, not INDIRECT, to tag_type. Pass the name recursively for INDIRECT.
1996-01-23 * sparc-tdep.c (_initialize_sparc_tdep): Always use print_insn_sparc.David Edelsohn1-0/+4
1996-01-22Make 64k .sdata and .sdata2 sections work; fix typosMichael Meissner3-63/+38
1996-01-22 * disassemble.c (disassembler, case bfd_arch_sparc): bfd_mach_sparc64David Edelsohn2-7/+18
renamed to bfd_mach_sparc_v9. Check for bfd_mach_sparc_v9a.