aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
1994-03-23MPW config stuff for GDB.Stan Shebs2-2/+113
1994-03-23Thu Mar 10 15:51:40 1994 Stan Shebs (shebs@andros.cygnus.com)Stan Shebs3-0/+69
* mpw-xconfig.in: New file, mips-targeting config fragment. * mpw-init.c: New file, MPW x mips version of init.c.
1994-03-23Sanitization for MPW and GM additions.Stan Shebs1-2/+55
1994-03-23Thu Mar 10 15:49:05 1994 Stan Shebs (shebs@andros.cygnus.com)Stan Shebs4-0/+1824
* mpw-config.in: New file, MPW configuration fragment. * mpw-make.in: New file, MPW makefile fragment. * config/m68k/xm-mpw.h: New file, MPW host definitions. * ser-mac.c: New file, Mac serial interface.
1994-03-23 * gdbtypes.h, gdbtypes.c: Add comments regarding whether staticJim Kingdon3-1/+9
member functions have an element in args for a (nonexistent) this pointer.
1994-03-23 * stabs.texinfo: Move stuff on @ and # type descriptors from nodeJim Kingdon2-28/+49
Cplusplus to new nodes Member Type Descriptor and Method Type Descriptor. Re-write stuff for #.
1994-03-23 * config/pa/tm-hppao.h (NO_PC_SPACE_QUEUE_RESTORE): Define.Jeff Law3-0/+10
* hppa-tdep.c (hppa_pop_frame): Do not restore the PC space queue if NO_PC_SPACE_QUEUE_RESTORE is defined.
1994-03-23 * stabsread.c (REG_STRUCT_HAS_ADDR): Accept additional argumentJeff Law3-5/+23
for the structure's type. All callers changed. * valops.c (call_function_by_hand): Check REG_STRUCT_HAS_ADDR for each structure argument rather than assuming it's either true or false for all structure arguments. * config/pa/tm-hppa.h (REG_STRUCT_HAS_ADDR): Depend only on the length structure passed, not the compiler used. * config/sparc/tm-sparc.h (REG_STRUCT_HAS_ADDR): Accept additional argument for the structure's type.
1994-03-23 * values.c (set_internalvar): Don't set var->value until we areJim Kingdon2-5/+20
sure there won't be an error().
1994-03-22 * remote.c (get_offsets): Reinstate comment which was inJim Kingdon1-0/+22
remote_wait about use of SECT_OFF_TEXT and so on.
1994-03-21 * config/i386/tm-i386aix.h, config/i386/tm-sun386.h,Peter Schauer7-8/+12
config/i386/tm-symmetry.h (REGISTER_CONVERT_TO_RAW): Fix typo. * config/i386/tm-symmetry.h: Make comment inside #if 0 a real comment. * config/i386/tm-symmetry.h (STORE_STRUCT_RETURN): Cast argument to write_memory to avoid warnings from gcc. * config/i386/xm-symmetry.h: Add missing #endif. * config/i386/nm-symmetry.h (NO_PTRACE_H): Add for Dynix. * config/i386/symmetry.mt (TDEPFILES): Add i386-tdep.o. * config/i386/symmetry.mh (NAT_FILE, NATDEPFILES): Add.
1994-03-21 * symmisc.c (maintenance_check_symtabs): New function to checkPeter Schauer1-1/+5
consistency of psymtabs and symtabs. * symtab.h (maintenance_check_symtabs): Add prototype. * maint.c: Add new `maint check-symtabs' command.
1994-03-21Mon Mar 21 11:02:51 1994 Stu Grossman (grossman at cygnus.com)Stu Grossman6-236/+450
* alpha-tdep.c: Gobs of changes (many imported from mips-tdep) to improve remote debugging efficiency. Also fixed problems with doing function calls for programs with no entry points. * infcmd.c (run_stack_dummy): Use CALL_DUMMY_ADDRESS instead of entry_point_address. * inferior.h (PC_IN_CALL_DUMMY): ditto. * mdebugread.c (parse_symbol, parse_procedure, parse_external, parse_lines): Pass section_offsets info to these routines so that we can relocate symbol table entries upon readin. * (psymtab_to_symtab_1): Set symtab->primary to tell objfile_relocate to do relocations for our symbols. * (ecoff_relocate_efi): New routine to relocate adr field of PDRs (which hang off of the symbol table). * Use prim_record_minimal_symbols_and_info instead of prim_record_minimal_symbols to supply section info to make minimal symbol relocations work. * minsyms.c (prim_record_minimal_symbols_and_info): If section is -1, try to deduce it from ms_type. * objfiles.c (objfile_relocate): Use ALL_OBJFILE_SYMTABS where appropriate. Handle relocation of MIPS_EFI symbols special. Also, add code to relocate objfile->sections data structure. * remote.c (get_offsets): Use new protocol message to acquire section offsets from the target. * (remote_wait): Get rid of relocation stuff. That's all handled by objfile_relocate now. * config/alpha/alpha-nw.mt (TM_FILE): Use tm-alphanw.h. * config/alpha/tm-alpha.h: Define CALL_DUMMY_ADDRESS, and VM_MIN_ADDRESS. * config/alpha/tm-alphanw.h: DECR_PC_AFTER_BREAK=0, VM_MIN_ADDRESS=0.
1994-03-21 * hppa-tdep.c (hppa_fix_call_dummy): Use value_ptr.Jeff Law2-2/+7
(hppa_push_arguments): Likewise.
1994-03-21 * alpha-tdep.c: Gobs of changes (many imported from mips-tdep) toStu Grossman2-1/+11
improve remote debugging efficiency. Also fixed problems with doing function calls for programs with no entry points. * infcmd.c (run_stack_dummy): Use CALL_DUMMY_ADDRESS instead of entry_point_address. * inferior.h (PC_IN_CALL_DUMMY): ditto. * mdebugread.c (parse_symbol, parse_procedure, parse_external, parse_lines): Pass section_offsets info to these routines so that we can relocate symbol table entries upon readin. * (psymtab_to_symtab_1): Set symtab->primary to tell objfile_relocate to do relocations for our symbols. * (ecoff_relocate_efi): New routine to relocate adr field of PDRs (which hang off of the symbol table). * Use prim_record_minimal_symbols_and_info instead of prim_record_minimal_symbols to supply section info to make minimal symbol relocations work. * minsyms.c (prim_record_minimal_symbols_and_info): If section is -1, try to deduce it from ms_type. * objfiles.c (objfile_relocate): Use ALL_OBJFILE_SYMTABS where appropriate. Handle relocation of MIPS_EFI symbols special. Also, add code to relocate objfile->sections data structure. * remote.c (get_offsets): Use new protocol message to acquire section offsets from the target. * (remote_wait): Get rid of relocation stuff. That's all handled by objfile_relocate now. * config/alpha/alpha-nw.mt (TM_FILE): Use tm-alphanw.h. * config/alpha/tm-alpha.h: Define CALL_DUMMY_ADDRESS, and VM_MIN_ADDRESS. * config/alpha/tm-alphanw.h: DECR_PC_AFTER_BREAK=0, VM_MIN_ADDRESS=0.
1994-03-20* config/sparc/sp64.mt (SIMFILES): Use remote-sim.o now.David Edelsohn1-0/+5
(TM_CLIBS): Define to -lm, the simulator uses the sqrt() function. * config/sparc/tm-sp64.h (FPS_REGNUM, CPS_REGNUM): Define (so sparc-tdep.c compiles). (TARGET_PTR_BIT): Must be a constant now, fix at 64.
1994-03-20(FPS_REGNUM, CPS_REGNUM): Define (so sparc-tdep.c compiles).David Edelsohn1-11/+12
(TARGET_PTR_BIT): Must be a constant now, fix at 64.
1994-03-20(SIMFILES): Use remote-sim.o instead of remote-sp64sim.o.David Edelsohn1-1/+4
(TM_CLIBS): Define to -lm, the simulator uses the sqrt() function.
1994-03-20sparc-tdep.c (sparc_frame_find_save_regs): Use REGISTER_RAW_SIZE instead of 4.David Edelsohn1-2/+5
1994-03-20sp64-tdep.c (target_ptr_bit, set_target_ptr_bit): Deleted, can no longer setDavid Edelsohn1-0/+7
this at run time.
1994-03-20(target_ptr_bit, set_target_ptr_bit): Deleted, can no longer set thisDavid Edelsohn1-12/+0
at run time.
1994-03-19* config/m68k/{cisco.mt,tm-cisco.h}: New files.Jim Kingdon1-0/+5
1994-03-19 * config/m68k/{cisco.mt,tm-cisco.h}: New files.Jim Kingdon5-0/+59
* Makefile.in (ALLPARAM, ALLCONFIG): Add them. * configure.in: Recognize m68*-cisco*-*.
1994-03-19New for ciscoJim Kingdon2-0/+0
1994-03-19 * Makefile.in (TAGS): Use variables directly, rather than usingJim Kingdon11-65/+231
find, to locate TM_FILE, XM_FILE, and NAT_FILE. This is faster and means that these filenames no longer need be unique across all the config/* directories. * configure.in: Put the config/*/ into TM_FILE, etc. * m68k-stub.c (computeSignal): Return SIGFPE, not SIGURG, for chk and trapv exceptions. * target.h (struct section_table), objfiles.h (struct obj_section): Change name of field sec_ptr to the_bfd_section. More mnemonic and avoids the (sort of, for the ptx compiler) name clash with the name of the typedef. * exec.c, xcoffexec.c, sparc-tdep.c, rs6000-nat.c, osfsolib.c, solib.c, irix5-nat.c, objfiles.c, remote.c: Change users. * utils.c: Include readline.h. * Makefile.in (utils.o): Add dependency. * remote.c (getpkt): Add support for run-length encoding.
1994-03-19* utils.c (prompt_for_continue): Call readline, not gdb_readline.Jim Kingdon1-0/+3
1994-03-19 * utils.c (prompt_for_continue): Call readline, not gdb_readline.Steve Chamberlain2-2/+21
1994-03-19 * dstread.c (record_minimal_symbol): New arg objfile. Pass it toJim Kingdon2-7/+14
prim_record_minimal_symbol. Callers: Pass it.
1994-03-18 * regex.c (EXTEND_BUFFER): Adjust pointers within buffer byJim Kingdon2-17/+43
computing their offset from the start of the old buffer and adding to the new buffer, rather than by assuming we can add the difference between the old buffer and the new buffer (it might not fit in an int). Merge in cosmetic differences from emacs regex.c version of this macro.
1994-03-17More widely useable INFO-DIR entries.Roland Pesch2-2/+2
1994-03-17Modified Files:Kung Hsu1-0/+2
.Sanitize * i386os9k.mt: add to things to keep. * tm-i386os9k.h: add to things to keep.
1994-03-17Fix typo.Jim Kingdon1-1/+5
1994-03-16 * printcmd.c: Remove "set print fast-symbolic-addr off" command.Jim Kingdon1-0/+5
The which it worked around was fixed on 25 Feb 94 in coffread.c, so I'm nuking the command. * symtab.c (find_addr_symbol): Comment out, no longer used.
1994-03-16 * gdb.texinfo (Print Settings): Don't document "set printJim Kingdon2-31/+9
fast-symbolic-addr off". The bug which it worked around was fixed on 25 Feb 94 in coffread.c, so I'm nuking the command.
1994-03-16 * stabs.texinfo (Alternate Entry Points): New node, rewritten fromJim Kingdon2-12/+18
N_ENTRY node. * stabs.texinfo (Type Descriptors): Add 'Y' type descriptor.
1994-03-16 * main.c (main): Don't init_source_path for the -cd argument. NowJim Kingdon1-0/+5
that source_path doesn't contain the current_directory from when GDB started up, init_source_path is no longer useful (and is harmful because it clobbers a source_path set in $HOME/.gdbinit).
1994-03-16 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.Jim Kingdon1-0/+6
(default_gdb_exit): Replace all the hair with sending "quit" to the process with a simple close.
1994-03-16* stabs.texinfo (Type Descriptors): Add 'Y' type descriptor.Jim Kingdon2-0/+7
1994-03-16 * TODO: Remove item about line numbers being off. It is uselessJim Kingdon2-3/+6
and confusing without a reproducible test case (it mentions proceed(), but I was able to step through proceed without trouble).
1994-03-15 * config/i386/tm-i386bsd.h: Give just macro name, not args, to #undef.Peter Schauer1-1/+1
1994-03-15 For Sunos 4.x targets, enable gdb to set breakpoints in sharedPeter Schauer5-46/+61
library functions before the executable is run. Retrieve dynamic symbols from stripped executables. * symtab.h (minimal_symbol_type): Add mst_solib_trampoline type. * parse.c (write_exp_msymbol), symmisc.c (dump_msymbols), symtab.c (list_symbols): Handle mst_solib_trampoline. * minsyms.c (lookup_minimal_symbol): Handle mst_solib_trampoline for all targets, remove IBM6000_TARGET dependencies. * dbxread.c (read_dbx_dynamic_symtab): New function. * dbxread.c (dbx_symfile_read): Use it. * dbxread.c (SET_NAMESTRING): Set namestring to "<bad string table index>" instead of "foo" if the string index is corrupt. * xcoffread.c (read_xcoff_symtab): Use mst_solib_trampoline instead of mst_unknown. * symtab.c (list_symbols): Take from_tty as parameter and pass it to break_command. Handle mst_file_* minimal symbol types.
1994-03-15Modified Files:Kung Hsu2-1/+5
ChangeLog c-exp.y * c-exp.y(yylex): fix potential memory overflow.
1994-03-15 * environ.c (set_in_environ): Eliminate special handling of PATH andJim Kingdon5-119/+14
GNUTARGET. * putenv.c: Removed, conflicts with system declaration of putenv on RS/6000 running AIX 3.2.5, and above change makes it unnecessary. * Makefile.in: Change accordingly. * procfs.c (procfs_create_inferior): Change comment accordingly.
1994-03-15* rs6000-tdep.c: Change value to value_ptr.Jim Kingdon2-3/+7
1994-03-15* TODO: Add suggestions for shared library tests.Jim Kingdon2-0/+10
1994-03-15 * gdbint.texinfo (Host Conditionals, Target Conditionals): RemoveJim Kingdon1-0/+5
references to ieee-float.c.
1994-03-14Don't include "ieee-float.h". I'm not sure I know where ChangeLogIan Lance Taylor1-1/+0
entries should go for this file, but I don't think it's a big deal for this change.
1994-03-13 * i386m3-nat.c: Include floatformat.h.Jim Kingdon2-1/+5
(get_i387_state): Use memset not bzero.
1994-03-13 * Version 4.12.3.Jim Kingdon2-12/+20
* Makefile.in: Enable commented out getopt_h, bfd_h, etc. Change ieee-float.h to floatformat.h.
1994-03-13* TODO: Add suggestions for x/s tests.Jim Kingdon2-0/+10