aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
1995-10-09 * ch-exp.y (yylex): Also look for '$' following '$'.Per Bothner2-1/+5
1995-10-08 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" toPeter Schauer1-0/+18
"sparc-*-solaris2*".
1995-10-08fix typoMichael Meissner2-1/+5
1995-10-07Modify last patch based on advice from Stu.Jim Wilson2-3/+9
1995-10-07 * top.c (execute_control_command): Use 0/1 instead of BFD'sStan Shebs2-15/+23
true/false.
1995-10-06 * sparcl-stub.c: include sparclite.h to get access to registerStu Grossman2-136/+160
fondling macros. * (trap_low): Save and restore FP regs if necessary. Also, clean up save and restore of debug unit regs. * (hard_trap_info): Add more architecturally defined traps. * (set_debug_traps): Only set FP disabled trap if FP is disabled. * (get_in_break_mode): Clean up. Get rid of calls to set_hw_breakpoint_trap(). Also, use write_asi macro * (handle_exception): Clean up `g' and `G' commands. Add `P' command. * (hw_breakpoint): Why was this here!? It's gone now...
1995-10-06Changes to make the simulator work again.Jim Wilson3-7/+51
* callback.c (fdbad): Fix typo in comment. (os_close, os_isatty, os_lseek, os_read, os_write): Use if statements rather than || to get correct return value. (os_write_stdout): Pass missing first argument to os_write. * remote-sim.c: Include callback.h. (_initialize_remote_sim): Call sim_set_callbacks and then initialize the callbacks.
1995-10-06 * values.c allocate_repeat_value): Allocate an array type, andPer Bothner4-123/+72
a value of that type; use that instead of setting VALUE_REPEATED. * value.h (struct value): Remove fields repetitions and repeated. (VALUE_REPEATED, VALUE_REPETITIONS): Removed, no longer used. * c-valprint.c, ch-valprint.c, eval.c, printcmd.c, valops.c, value.h, values.c: Simplify, since now VALUE_REPEATED is never used. * valprint.c (value_print_array_elemen): Removed never-used function.
1995-10-05 * parse.c (write_dollar_variable): New function.Per Bothner7-374/+123
* c-exp.y (yylex): Replace code for recognizing '$' pseudo-variables with a call to write_dollar_variable. Simplify grammar correspondingly. * f-exp.y: Likewise. * m2-exp.y: Likewise. * ch-exp.y: Likewise. (Remove function match_dollar_tokens.) * scm-exp.c (scm_lreadr): Call write_dollar_variable to handle '$'.
1995-10-05Thu Oct 5 13:27:30 1995 steve chamberlain <sac@slash.cygnus.com>Steve Chamberlain11-125/+1138
* win32.c: New file; support for debugging on windows NT. * configure.in: (i[345]86-*-win32): New target. * configure: Regnerated. * eval.c (evaluate_subexp_standard): Remove unused name. * serial.c (gdb_string.h): Include. * source.c (value.h): Include. * config/i386/i386win32.mh (XDEPFILES): Add win32.o * config/i386/i386win32.mt: New. * config/i386/tm-i386win32.h: New.
1995-10-05 * expression.h (enum exp_code): Added OP_NAME.Per Bothner9-265/+576
* expprint.c (print_subexp): Add OP_NAME support. * parse.c (length_of_subexp, prefixify_subexp): Likewise. * scm-lang.c (scm_unpack, in_eval_c, scm_lookup_name): new function. * scm-lang.h: Declare builtin_type_scm; other minor tweaks. * values.c (unpack_long): If type is SCM, call scm_unpack. * scm-valprint.c (scm_val_print): Use extract_signed_integer, instead unpack_long * scm-lang.c: More Scheme expression parsing from here ... * scm-exp.c: ... to here. New file. Also, provide for gdb to evaluate simple constants and names.. * Makefile.in: Note new scm-exp.{c,o}.
1995-10-05 * pr-8136.{ch,exp}, pr-8134.exp, func1.ch, Makefile.in: New test cases.Per Bothner7-1/+175
1995-10-05 * gdbtypes.c (get_discrete_bounds): New function.Per Bothner4-19/+73
(force_to_range_type): Use get_discrete_bounds. * gdbtypes.h (get_discrete_bounds): Add declaration. * valarith.c (value_bit_index): Generalize to use get_discrete_bounds. * ch-valprint.c (chill_val_print): Make (power)sets and bitstring support use get_discrete_bounds and generally be more robust. This fixes PR chill/8136.
1995-10-03 * remote-nrom.c (nrom_ops): Add value for to_thread_alive,Stan Shebs2-24/+32
add comment naming slots.
1995-10-03 * top.c (build_command_line): Demand arguments for if/whileJeff Law2-0/+8
commands.
1995-10-02 * Makefile.in (X11_CFLAGS): Set only to @X_INCDIR@.Jason Molenda2-1/+5
1995-09-30 * scm-lang.c: Moved Scheme value printing code to ...Per Bothner7-150/+874
* scm-valprint.c: ... this new file. Also major improvements in support for printing SCM values. * scm-lang.h: New file. * scm-tags.h: New file. * Makefile.in: Note new scm-valprint.{c,o}.
1995-09-30 * configure.in: X_INCDIR and X_LIBDIR added.Jason Molenda4-206/+107
* Makefile.in: @X_INCDIR@ and @X_LIBDIR@ added. * configure: Regnerated.
1995-09-30keep vr4300el.mtJason Molenda1-0/+1
1995-09-30Fri Sep 29 02:10:05 1995 steve chamberlain <sac@slash.cygnus.com>Steve Chamberlain1-0/+3
* config/arm/tm-arm.h (FRAME_CHAIN, FRAME_CHAIN_VALID): Any pc > LOWESTPC is ok.
1995-09-30 * remote-rdp.c (rdp_init): Take out variable baud rate stuff.Steve Chamberlain2-113/+124
(remote_rdp_detatch): Delete. * breakpoint.c (ctype.h): Don't include twice.
1995-09-29Fri Sep 29 02:10:05 1995 steve chamberlain <sac@slash.cygnus.com>Steve Chamberlain2-53/+105
* Makefile.in (remote-rdp.o): Doesn't need remote-rdp.h * callback.c (os_printf_filtered): fix protos. * defs.h (puts_filtered, puts_unfiltered [v|f|]printf_[un]filtered): Make format arg const. * remote-rdp.c (rdp_init): Attept to sync at different baudrates. * utils.c (puts_filtered, puts_unfiltered [v|f|]printf_[un]filtered): Define prototypes with const in the right place.
1995-09-29 * defs.h (enum language): Add language_scm.Per Bothner6-3/+534
* expression.h (enum exp_code): Added OP_EXPRSTRING. * scm-lang.c: Preliminary support for Guile /SCM dialect of Scheme. * expprint.c (print_subexp): Add OP_EXPRSTRING support. * parse.c (length_of_subexp, prefixify_subexp): Likewise. * valops.c (find_function_in_inferior): New function. (value_allocate_space_in_inferior): New function. (allocate_space_in_inferior): Redefine using previous function. * Makefile.in (SFILES): Add scm-lang.c. (COMMON_OBS): Add scm-lang.o
1995-09-29Thu Sep 28 14:32:11 1995 steve chamberlain <sac@slash.cygnus.com>Steve Chamberlain18-181/+1886
* callback.[ch]: New files. * remote-rdp.c: Support for the ARM RDP monitor. * Makefile: Update. * arm-tdep.c (arm_othernames): New. (_initialize_arm_tdep): install 'othernames' command. (arm_nullified_insn, shifted_reg_val, arm_get_next_pc): New. * configure.in: Check for termios.h, termio.h and sgtty.h. (i[345]86-*-win32*): New host. * configure: Regenerated. * inflow.c: Clean up inclusions. * main.c (main): Check for WINGDB, not WIN32. * printcmd.c (do_examine): Put QUIT test in loop. * remote-hms.c (e7000_load): Delete. (hms_ops): Point to generic_load instead. * remote-hms.c (hms_ops): Point to generic_load. * remote-sim.c (sim_callback_write_stdout): Becomes gdbsim_write_stdout. (gdbsim_load): Call generic_load. * remote-utils.c (gr_load_image): Delete. * ser-unix.c (terminal.h): Include instead of havig own #if tree. (hardwire_flush_input): Reset input buffer too. * source.c (openp): If WIN32 then open file in binary mode. * terminal.h: Configure IO mechanism using autoconf defines if available and not overriden. * utils.c (quit, pollquit, notice_quit): WIN32 check becomes WINGDB check. * config/arm/arm.mt (TDEPFILES): Add remote-rdp.o * config/arm/tm-arm.h (TARGET_BYTE_ORDER): becomes TARGET_BYTE_ORDER_SELECTABLE. (ADDR_BITS_REMOVE): New. (ORIGINAL_REGISTER_NAMES, ADDITIONAL_REGISTER_NAMES): New. (INST_xx): New (FRAME_FIND_SAVED_REGS): Pass the right argument. (arm_get_next_pc): Declare. * mswin/prebuilt/*/bfdtarget.h (SELECT_ARCHITECTURES): Need leading &.
1995-09-27 * tuples.ch. tuples.exp: Add new test for setting a variant recordPer Bothner3-1/+19
using a tuple, and access the fields.
1995-09-27 * valops.c (search_struct_field): Also allow "else" as a variant name,Per Bothner2-1/+6
1995-09-27 * eval.c (evaluate_struct_tuple): New function. Used to evaluatePer Bothner2-9/+44
structure tuples. Now also handles Chill variant records. (get_label): New function, used by evaluate_struct_tuple. (evaluate_subexp_standard case OP_ARRAY): Use evaluate_struct_tuple. (evaluate_labeled_field_init): Removed. * valops.c (search_struct_field): Generalize to work with Chill variant records.
1995-09-23 * rs6000-tdep.c (push_dummy_frame): Handle lr_offset of zeroPeter Schauer2-1/+5
correctly.
1995-09-23 * mdebugread.c (parse_partial_symbols): Reset includes_usedPeter Schauer4-436/+149
and dependencies_used after finishing the partial symbol table. * rs6000-nat.c (xcoff_relocate_core): Don't relocate data addresses for the main objfile if DONT_RELOCATE_SYMFILE_OBJFILE is defined. * xcoffread.c: gcc -Wall lint. Remove traceback table reading code. The existing code tried to add parameter information for functions compiled without -g, which cannot be done properly for optimized code and produced misleading parameter displays. (ef_complaint, eb_complaint): Make a local static copy to avoid dependency on coffread.c. (read_xcoff_symtab, process_xcoff_symbol, scan_xcoff_symtab): Enter C_EXT/C_HIDEXT symbols into the minimal symbol table only. (read_xcoff_symtab): Ignore C_STAT section auxiliary entry symbols. Complain about unmatched .ef and .eb symbols instead of segfaulting. (process_xcoff_symbol): Determine value of C_GSYM symbols via the global_sym_chain mechanism in stabsread.c. (xcoff_new_init): Call stabsread_new_init and buildsym_new_init. (init_string_tab): Initialize length field bytes in the strtbl. (scan_xcoff_symtab): Skip symbols that start with `$' or `.$'. Set first_fun_line_offset for symbols with two auxents only.
1995-09-21 * gdb.disasm/sh3.s (fmac): Update for new assembler syntaxJeff Law1-0/+7
* gdb.disasm/sh3.exp (fmac): Corresponding changes.
1995-09-21 * op50-rom.c (op50n_cmds): Send ".\r" after the interruptJeff Law2-1/+6
character.
1995-09-20add maintainer-clean Makefile targetsIan Lance Taylor7-7/+33
1995-09-20Wed Sep 20 08:16:03 1995 steve chamberlain <sac@slash.cygnus.com>Steve Chamberlain1-0/+7
* defs.h (xmalloc, xrealloc): Delete, they're declared in libiberty.h. (GETENV_PROVIDED, FCLOSE_PROVIDED): New. * doc/gdbint.texinfo (GETENV_PROVIDED, FCLOSE_PROVIDED): Document. * remote-sim.[ch] (sim_callback_write_stdout): New.
1995-09-20Wed Sep 20 08:16:03 1995 steve chamberlain <sac@slash.cygnus.com>Steve Chamberlain2-4/+4
* defs.h (xmalloc, xrealloc): Delete, they're declared in libiberty.h. (GETENV_PROVIDED, FCLOSE_PROVIDED): New. * doc/gdbint.texinfo (GETENV_PROVIDED, FCLOSE_PROVIDED): Document. * remote-sim.[ch] (sim_callback_write_stdout): New.
1995-09-20Wed Sep 20 08:16:03 1995 steve chamberlain <sac@slash.cygnus.com>Steve Chamberlain3-4/+35
* defs.h (xmalloc, xrealloc): Delete, they're declared in libiberty.h. (GETENV_PROVIDED, FCLOSE_PROVIDED): New. * doc/gdbint.texinfo (GETENV_PROVIDED, FCLOSE_PROVIDED): Document. * remote-sim.[ch] (gdbsim_write_stdout): New.
1995-09-19 * gdbtypes.c (create_set_type): Set TYPE_LENGTH in bytes, not bits.Per Bothner3-7/+29
* valops.c (value_bitstring): TYPE_LENGTH is bytes, not bits. * gdbtypes.c (force_to_range_type): Calculate upper limit of TYPE_CODE_CHAR depending on TYPE_LENGTH (instead of just using 255).
1995-09-18 * somsolib.c (auto_solib_add_at_startup): Delete definition. NoJeff Law2-11/+5
longer needed.
1995-09-16 * config/mips/tm-mips.h (UNUSED_REGNUM): Define.Peter Schauer3-0/+8
* mipsv4-nat.c (supply_gregset): Fill UNUSED_REGNUM register with zero.
1995-09-15 * remote-sim.c (gdbsim_create_inferior): Back out change thatStu Grossman2-6/+5
broke all simulator configurations except the rs6000.
1995-09-14 * monitor.c (monitor_expect): Discard NULL characters.Jeff Law1-0/+4
Fixes random failures on the OKI board.
1995-09-14 * infcmd.c: Add extern declaration for auto_solib_add_at_startup.Kung Hsu1-0/+4
1995-09-14 * symfile.c: Move global variable auto_solib_add_at_startup fromKung Hsu2-2/+8
solib.c to symfile.c. * solib.c: ditto. * symfile.h: Add extern declaration of the above mentioned variable. * infcmd.c: Take out extern declaration, since it's in symfile.h.
1995-09-14 * coffread.c (coff_symtab_read): Complain about unmatched .ef andStu Grossman1-1/+6
.eb symbols instead of segfaulting.
1995-09-13 * stbsread.c (read_one_struct_field): Use subfile language instead ofKung Hsu2-1/+6
global language. Improve efficiency.
1995-09-13 * somsolib.c (auto_solib_add_at_startup): Define new global variable.Jeff Law2-1/+32
(som_solib_create_inferior_hook): Don't add libraries if auto_solib_add_at_startup is zero. (_initialize_som_solib): Add command to toggle auto_solib_add_at_startup.
1995-09-13 * monitor.c (monitor_make_srec): Fix thinkos in computationJeff Law2-23/+23
of addr_size. Critical patch from Stu.
1995-09-12 * stabsread.c: To include language.h and expression.h for the reasonKung Hsu2-0/+5
above.
1995-09-12 * stabsread.c (read_one_struct_field): Add a patch to handle cfrontKung Hsu2-1/+33
generated stabs that each field is in full mangled name.
1995-09-12 * infcmd.c (attach_command): Add solibs only whenKung Hsu2-2/+10
auto_solib_add_at_startup is set.
1995-09-12 * NEWS: Add information about remote target caching.Fred Fish2-0/+15