aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
1994-08-31Wed Aug 31 14:40:33 1994 Jason Molenda (crash@phydeaux.cygnus.com)Jason Molenda2-2/+7
* remote-udi.c (udi_read_inferior_memory,udi_write_inferior_memory): change typeo in error msg (`inferrior' -> `inferior').
1994-08-31 * inflow.c (set_sigint_trap, clear_sigint_trap): Check forJim Kingdon4-13/+15
attach_flag (this check was performed by the callers). Also check inferior_thisrun_terminal. * inftarg.c (child_wait), lynx-nat.c (child_wait), procfs.c (wait_fd), symm-nat.c (child_wait): Don't check attach_flag in deciding whether to call set_sigint_trap and clear_sigint_trap.
1994-08-31 * value.h (struct value): Change literal_data from PTR to char *,Jim Kingdon1-0/+5
since that is the way it is used.
1994-08-31 * somread.c (som_symfile_read): Force unwinds to be re-read afterJeff Law2-0/+7
reading in a new partial symbol table.
1994-08-30 * config/h8500/tm-8500.h (DONT_USE_REMOTE): Remove definition,Stan Shebs2-2/+9
an obsolete conditional. * config/pa/tm-hppa.h (BREAKPOINT) [KERNELDEBUG]: Remove use, an obsolete conditional. * config/rs6000/rs6000.mh, config/rs6000/rs6000.mt: Clean up comments.
1994-08-29Lose ns32k-opcode.h.Stan Shebs1-1/+0
1994-08-29 * Makefile.in (ns32k-opcode.h): Remove reference.Stan Shebs3-817/+16
(ns32k-pinsn.o): Update dependencies. * ns32k-opcode.h: Remove file. * ns32k-pinsn.c (print_insn): Call version in libopcodes, remove all other code in this file.
1994-08-29 * nlm/configure.in: Stop using cpu.c. Put it in TDEPFILES instead.Stu Grossman3-4/+21
* config/alpha/gdbserve.mt (TDEPFILES): Remove alpha-patch.o.
1994-08-29 * nlm/Makefile.in: Add rule for .S.o.Stu Grossman10-1948/+425
* nlm/aio.h: Protect from multiple inclusions. * nlm/alpha-io.S: Remove everything we don't need. * nlm/{alpha-patch.c, alpha-patch.h, alpha-uart.c, alpha-uart.h}: Remove, no longer needed. * nlm/alpha.c: Merge in lots of stuff from previous files. * nlm/alpha.h: Don't #include alpha-patch.h. Make breakpoint_insn extern. * Move stuff from alpha-patch.h into here. * config/alpha/gdbserve.mt (TDEPFILES): Get rid of alpha-uart.o.
1994-08-29Keep Fortran testsStan Shebs2-0/+38
1994-08-29 First part of Fortran test suite.Stan Shebs3-0/+693
* gdb.fortran: New directory. * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
1994-08-29* annotate.c (annotate_starting): Flush output.Jim Kingdon2-1/+10
1994-08-28 * gdb.base/default.exp: Update expect pattern for load commandPeter Schauer1-0/+5
without arguments.
1994-08-28 * symfile.c (symbol_file_add): Move reinit_frame_cache call toPeter Schauer7-10/+59
the callers of symbol_file_add. Gets rid of heuristic fence-post warnings on mips and alpha targets when the PC resides in a shared library which is not yet read in. * coff-solib.c (coff_solib_add), cxux-nat.c (add_shared_symbol_files), irix5-nat.c (solib_add), osfsolib.c (solib_add), remote-vx.c (vx_open), solib.c (solib_add): Add call to reinit_frame_cache after all shared libraries are read in. * remote-udi.c (udi_load), remote-vx.c (vx_load_command), symfile.c (symbol_file_command, add_symbol_file_command): Add call to reinit_frame_cache after symbol_file_add.
1994-08-26Remove RCS ID'sJ.T. Conklin2-8/+2
1994-08-26* sparcnbsd.mh,sparcnbsd.mt: New files, support for NetBSD/sparc.J.T. Conklin4-2/+13
1994-08-25fix typoJ.T. Conklin1-2/+2
1994-08-25* config/xm-nbsd.h: New file, support for all NetBSD ports.J.T. Conklin4-0/+97
* config/sparc/{nm-sparcnbsd.h,tm-sparcnbsd.h,xm-sparcnbsd.h}: New files, support for NetBSD/sparc. * configure.in: Add sparc-*-netbsd target.
1994-08-25* config/xm-nbsd.h: New file, support for all NetBSD ports.J.T. Conklin4-0/+47
* config/sparc/{nm-nbsd.h,tm-nbsd.h,xm-nbsd.h}: New files, support for NetBSD/sparc. * configure.in: Add sparc-*-netbsd target.
1994-08-24 * remote-vx.c (vx_attach): Interpret the command argument as anStan Shebs2-4/+12
unsigned long.
1994-08-24 * configure.in: Change i386 to i[345]86.Ian Lance Taylor4-5/+12
* gdb.base/configure.in: Likewise. * gdb.c++/configure.in: Likewise. * gdb.chill/configure.in: Likewise.
1994-08-24 * configure.in: Change i[34]86 to i[345]86.Ian Lance Taylor4-114/+120
* nlm/configure.in: Likewise. * gdbserver/configure.in: Likewise.
1994-08-24* configure.in (i386-*-netware): Automatically configure nlmJ.T. Conklin2-1/+7
subdir.
1994-08-24 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expectStan Shebs2-11/+23
patterns, since that is not a valid context for comments.
1994-08-24* nlm/gdbserve.c: conditionalize header file inclusion for eitherJ.T. Conklin3-3/+30
NetWare 4.0 or PIN targets. * nlm/i386.c: include appropriate header files. * nlm/prelude.c: define TERMINATE_BY_UNLOAD for NetWare 4.0 targets.
1994-08-24* gdbserve.c: conditionalize header file inclusion for eitherJ.T. Conklin1-0/+8
NetWare 4.0 or PIN targets. * nlm/i386.c: include appropriate header files. * nlm/prelude.c: define TERMINATE_BY_UNLOAD for NetWare 4.0 targets.
1994-08-24 * nlm/ppc.c (set_step_traps clear_step_traps): Cleanups.Stu Grossman3-20/+28
* nlm/gdbserve.def: Autoload clib.
1994-08-23 * gdbtypes.h: Declare f77_create_literal_string_type andJim Kingdon3-2/+25
f77_create_literal_complex_type. * valops.c (f77_value_literal_string, f77_value_substring, f77_value_literal_complex): Use xmalloc not malloc. * valops.c (f77_value_literal_string, f77_value_substring): Make addr char * not CORE_ADDR. * value.h (struct value): Add new field literal_data of aligner union. (VALUE_LITERAL_DATA): Use it. * f-lang.h: Declare find_common_for_function. * value.h, valops.c: Split VALUE_SUBSTRING_START into memaddr and myaddr fields of a union. Don't overload it with the frame field (not sure this is necessary; I'm not sure what lval_* codes VALUE_SUBSTRING_* can be used with).
1994-08-23Command loop sort-of works, stopeed core dumping.Rob Savoye1-42/+95
1994-08-23 * config/a29k/{a29k-kern.mt,a29k-udi.mt,a29k.mt,ultra3.mh,Stan Shebs6-21/+33
ultra3.mt}: Clean up, remove no-longer-used definitions.
1994-08-22 * rs6000-nat.c: Include libbfd.h again, needed until referenceStan Shebs2-0/+4
to bfd_cache_lookup is cleaned out.
1994-08-22 * config/i386/linux.mh (XM_CLIBS): Add -lm.Stan Shebs1-0/+4
1994-08-22 Work to reduce the interrupts-off duration when running in DOS.Steve Chamberlain2-17/+79
* ser-go32.c: (dos_async_ready): See if anything is in the buffer. (dos_async_rx): rewrite to unpack as many characters from the asynctsr as possible into a local buffer.
1994-08-19 * mpw-init.c (initialize_all_files): Remove inits of utils andStan Shebs2-2/+5
targets.
1994-08-19Keep new Fortran files.Stan Shebs1-0/+5
1994-08-19 Initial Fortran language support, adapted from work by Farooq ButtStan Shebs13-118/+4209
(fmbutt@engage.sps.mot.com). * Makefile.in: Add Fortran-related files and dependencies. * defs.h (language_fortran): New language enum. * language.h (_LANG_fortran): Define. (MAX_FORTRAN_DIMS): Define. * expression.h: Reformat to standard. (MULTI_F77_SUBSCRIPT, OP_F77_UNDETERMINED_ARGLIST, OP_F77_LITERAL_COMPLEX, OP_F77_SUBSTR): New expression opcodes. * gdbtypes.h (TYPE_CODE_COMPLEX, TYPE_CODE_LITERAL_COMPLEX, TYPE_CODE_LITERAL_STRING): New type codes. (type): New fields upper_bound_type and lower_bound_type. (TYPE_ARRAY_UPPER_BOUND_TYPE, TYPE_ARRAY_LOWER_BOUND_TYPE, TYPE_ARRAY_UPPER_BOUND_VALUE, TYPE_ARRAY_LOWER_BOUND_VALUE): New macros. (builtin_type_f_character, etc): Declare. * value.h (VALUE_LITERAL_DATA, VALUE_SUBSTRING_START): Define. * f-exp.y: New file, Fortran expression grammar. * f-lang.c: New file, Fortran language support functions. * f-lang.h: New file, Fortran language support declarations. * f-typeprint.c: New file, Fortran type printing. * f-valprint.c: New file, Fortran value printing. * eval.c (evaluate_subexp): Add code for new expression opcodes, fix wording of error message. * gdbtypes.c (f77_create_literal_complex_type, f77_create_literal_string_type): New functions. * language.c (set_language_command): Add Fortran info. (calc_f77_array_dims): New function. * parse.c (length_of_subexp, prefixify_subexp): Add cases for new expression opcodes. * symfile.c (deduce_language_from_filename): Recognize .f and .F as Fortran source files. * valops.c (f77_value_literal_string, f77_value_substring, f77_value_literal_complex): New functions.
1994-08-19 * c-typeprint.c (c_print_type): Assume demangled argumentsPeter Schauer4-20/+81
if a '(' is found in varstring, Looking for ')' at the end of varstring did fail with demangled const member functions, which have a trailing `const'. * remote.c (get_offsets, putpkt): Change to `char' buffers, to avoid errors when compiling with DEC c89. (remote_wait): Cast to `char *' before passing buffer to fputs_filtered, to avoid errors when compiling with DEC c89. (remote_wait): Do not return inferior_pid by default, this statement is never reached, which causes warnings from some compilers. * stabsread.c (scan_file_globals): Ignore static minimal symbols. * symfile.c (load_command): If called with no argument, try to get the filename from the executable file. (generic_load): Remove check for NULL filename, it is done in load_command now.
1994-08-19Add remote-pa.c.Rob Savoye1-0/+1
1994-08-19 * Makefile.in (ALLDEPFILES): Add hpread.c.Jeff Law9-13/+2369
(hpread.o): Add dependencies. * somread.c: Do not include "aout/aout64.h". SOM has nothing to do with a.out. (BYTES_IN_WORD): Delete. (som_symfile_read): Call hpread_build_psymtabs to build any minimal symbols based on the HP C native debug symbols. (som_symfile_finish): Call hpread_symfile_finish. (som_symfile_init): Call hpread_symfile_init. * config/pa/tm-hppa.h (HPREAD_ADJUST_STACK_ADDRESS): Define. * hppa-tdep.c (hpread_adjust_stack_address): New function. * config/pa/hppabsd.mh (NATDEPFILES): Add hpread.o * config/pa/hppahpux.mh (NATDEPFILES): Likewise. * hpread.c: New file.
1994-08-19 * hppa-tdep.c (skip_trampoline_code): Revert incorrect changeJeff Law2-1/+7
from June 2, 1994 (what was I thinking?!?). Fix it right this time.
1994-08-19* nlm/i386.c, nlm/i386.h: New files that contain i386 specific code.J.T. Conklin3-0/+105
1994-08-18 * README: Grammar improvements, clarifications, updates.Stan Shebs1-0/+4
1994-08-18Support both the generic remote protocol and the one for HP-PRO targets.Rob Savoye2-2/+2
1994-08-18Make a unique remote target "hppro", rather than use generic remote.Rob Savoye1-21/+50
1994-08-18 * Makefile.in (TARGET_FLAGS_TO_PASS): Pass down LD_FOR_TARGET andStu Grossman6-0/+69
NLMCONV_FOR_TARGET. (SUBDIRS): Add nlm target. * configure.in (powerpc-*-netware*): Automatically configure nlm subdir. * nlm/Makefile.in: Add {CC NLMCONV LD}_FOR_TARGET. Remove alpha specific stuff. Make things more configurable. * nlm/configure.in: Add powerpc-*-netware* target. Use gdbserve.mt/cpu.c/cpu.h for target stuff. Get rid of tm/xm/nm.h files. * nlm/gdbserve.c: Move Alpha specific stuff into other files. Remove lots of architecture-specific stuff. * nlm/gdbserve.def: Add new imports. * nlm/ppc.c, nlm/ppc.h: New files that contain PowerPC specific code. * nlm/prelude.c: Don't include libhooks.h, get rid of call to register library. * nlm/prelude.o: What was this doing here? * config/alpha/gdbserve.mt: Defs for alpha nlm stub. * config/powerpc/gdbserve.mt: Defs for PowerPC nlm stub. * config/powerpc/ppc-nw.mt: Defs for PowerPC target for GDB. * config/powerpc/tm-ppc-nw.h: Ditto. * nlmstub.def: New file, contains imports for 386 nlm stub.
1994-08-18 * Makefile.in (TARGET_FLAGS_TO_PASS): Pass down LD_FOR_TARGET andStu Grossman15-298/+1572
NLMCONV_FOR_TARGET. (SUBDIRS): Add nlm target. * configure.in (powerpc-*-netware*): Automatically configure nlm subdir. * nlm/Makefile.in: Add {CC NLMCONV LD}_FOR_TARGET. Remove alpha specific stuff. Make things more configurable. * nlm/configure.in: Add powerpc-*-netware* target. Use gdbserve.mt/cpu.c/cpu.h for target stuff. Get rid of tm/xm/nm.h files. * nlm/gdbserve.c: Move Alpha specific stuff into other files. Remove lots of architecture-specific stuff. * nlm/gdbserve.def: Add new imports. * nlm/ppc.c, nlm/ppc.h: New files that contain PowerPC specific code. * nlm/prelude.c: Don't include libhooks.h, get rid of call to register library. * nlm/prelude.o: What was this doing here?
1994-08-18 * remote-pa.c: New file for HPPA embedded support. Currently it'sRob Savoye1-0/+6
a copy of remote.c. * config/pa/hppabsd.mt,hppahpux.mt,hppaosf.mt: User remote-pa.c.
1994-08-18Use new remote-pa, rather than the generic one.Rob Savoye3-2/+3
1994-08-18New file for remote protocol to embedded HPPA targets.Rob Savoye1-0/+1479
1994-08-17 * config/m68k/tm-delta68.h (EXTRACT_RETURN_VALUE,Stan Shebs2-2/+32
STORE_RETURN_VALUE): Define to use %a0 for pointers.