* remote.c, remote-utils.c: Use SERIAL_FLUSH_INPUT after opening it.
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 3fec54f4792f647a6fda40ca7bc2f85ca69ebb0c..aa3fe96c2951decda36e5964e91ff006aeaef6ce 100644 (file)
@@ -1,6 +1,275 @@
+Tue Sep 21 11:44:00 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
+
+       * remote.c, remote-utils.c: Use SERIAL_FLUSH_INPUT after opening it.
+
+       * printcmd.c (print_scalar_formatted): When truncating value we are
+       going to print as unsigned, handle it generally for any length
+       less than sizeof (LONGEST), rather than special-casing sizeof (char),
+       sizeof (short), and sizeof (long).  Clarify comment on what this
+       is for.
+
+       * symfile.c (deduce_language_from_filename): Accept .cxx for C++.
+       * buildsym.c (start_subfile): Use deduce_language_from_filename
+       rather than checking for .C or .cc ourself.
+
+Mon Sep 20 14:53:11 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
+
+       * defs.h: Declare argument of re_comp as const char *.
+
+       * remote.c, remote-mips.c: Use sr_get_debug not remote_debug.
+
+       * README: Say using bfd from another release doesn't generally work.
+
+Sat Sep 18 10:13:18 1993  Jim Kingdon  (kingdon@poseidon.cygnus.com)
+
+       * mipsread.c (parse_type): Don't complain() if we guessed struct
+       and it was a union, or vice versa.
+
+       * defs.h (make_cleanup): Change PTR to void * when inside PARAMS.
+
+       Some of the following is in #ifdef CALL_DUMMY_BREAKPOINT_OFFSET.
+       * breakpoint.h (enum bptype): Add bp_call_dummy.
+       (struct bpstat_what): Add call_dummy field.
+       * infrun.c (wait_for_inferior): Deal with it.
+       * breakpoint.c (bpstat_what): Deal with call dummy breakpoint.
+       * infcmd.c (run_stack_dummy): Set the call dummy breakpoint.
+       * config/sparc/tm-sparc.h: Define CALL_DUMMY_BREAKPOINT_OFFSET.
+
+       * remote-sim.h: New file.
+       * remote-sim.c: Add remote debug feature.  Rename stuff to distinguish
+       interface to simulator from gdb-specific stuff.  Other changes.
+start-sanitize-v9
+       * remote-sp64sim.c: Renamed to remote-sim.c.
+       Use sr_get_debug instead of our own sim_verbose/simif_snoop.
+       Use gnutarget in call to bfd_openr.
+       Rename simif_* to gdbsim_*.
+       * config/sparc/sp64sim.mt: Change remote-sp64sim.c to remote-sim.c.
+end-sanitize-v9
+
+Fri Sep 17 04:41:17 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
+
+       * findvar.c (extract_signed_integer):  Cast *p to LONGEST before doing
+       the xor and subtract.  Otherwise it will not sign extend if the type
+       of LONGEST is larger than int.
+       * cp-valprint.c (cp_print_class_method):  Inhibit core dump if
+       domain is an undefined cross reference.
+       * valops.c (call_function_by_hand):  Set real_pc to correct
+       value if CALL_DUMMY_LOCATION != ON_STACK.
+
+Thu Sep 16 20:37:06 1993  Jim Kingdon  (kingdon@cirdan.cygnus.com)
+
+       * config/a29k/tm-a29k.h (FRAME_CHAIN): If rsize is zero, return zero.
+
+Thu Sep 16 13:16:22 1993  Stu Grossman  (grossman at cygnus.com)
+
+       * infrun.c (wait_for_inferior):  Allow user to single step within
+       a stack dummy.
+
+Thu Sep 16 12:34:01 1993  Jim Kingdon  (kingdon@cirdan.cygnus.com)
+
+       * dbxread.c (copy_pending): Deal with END NULL.
+       (process_one_symbol): Add comments about what common_block NULL means.
+
+Wed Sep 15 14:50:26 1993  Jim Kingdon  (kingdon@cirdan.cygnus.com)
+
+       * remote-udi.c, remote-adapt.c, remote-mm.c: Move processor_type
+       to tm-a29k.h and a29k-tdep.c and make it an enum.
+       * a29k-tdep.c (a29k_get_processor_type): New function.  Fix many
+       aspects of how we detected the processor type.
+       * remote-udi.c, remote-adapt.c, remote-mm.c (*_open): Call it
+       rather than figuring out the type ourselves.
+
+Thu Sep 16 12:12:59 1993  Stu Grossman  (grossman at cygnus.com)
+
+       * sparc-stub.c (_trap_low):  Do restore/save sequence after
+       setting sp to ensure that we load the previous window from the
+       right place on the stack.
+
+Thu Sep 16 00:36:32 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
+
+       * mipsread.c:  Many changes for alpha ecoff format:
+       Correct sizeof(int) == sizeof(long) assumptions.
+       Replace stParsed hack by putting the parsed types on the pending chain.
+       Replace mips specific ecoff mapping by ECOFF_REG_TO_REGNUM macro,
+       provide default for cross debugging.
+       Swapping the symbol back is no longer needed as the symbol is not
+       modified anymore.
+       Add new alpha basic types, handle btTypedef, handle stStaticProc
+       external symbols .
+       Update and clean up cross_ref for alpha cc cross ref variations.
+       Allocate types on the type_obstack to inhibit storage leaks.
+       * config/mips/tm-mips.h (ECOFF_REG_TO_REGNUM):  Define.
+       * gdbtypes.c (recursive_dump_type):  Dump TYPE_TAG_NAME if it is set.
+
+Tue Sep 14 09:12:17 1993  Jim Kingdon  (kingdon@cirdan.cygnus.com)
+
+       * stabsread.c (read_type): Process "s" (size) type attribute.
+       If type is defined to another type, copy the type.
+
+Tue Sep 14 18:37:17 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
+
+       * config/i386/i386v4.mh (NATDEPFILES): Move exec.o from here...
+       * config/i386/i386v4.mt (TDEPFILES): ...to here.
+
+Tue Sep 14 12:21:49 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
+
+       * Makefile.in (remote_utils_h): add serial.h and target.h.
+         (main.o, remote-es.o, remote-nindy.o, remote.o): remove target.h
+         (already in remote_utils_h).
+         (remote-utils.o): new rule.
+
+       * remote-utils.h: include serial.h.
+
+       * serial.h: ifdef protect from multiple inclusion.
+
+       * remote.c, remote-nindy.c, remote-mon.c, remote-es.c: include
+         remote-utils.h.
+
+       * remote.c (remote_open), remote-nindy.c (nindy_open,
+         nindy_files_info), remote-mon.c (general_open), remote-es.c
+         (es1800_open): use remote-utils facilities for baud rate.
+
+Tue Sep 14 09:12:17 1993  Jim Kingdon  (kingdon@cirdan.cygnus.com)
+
+       * paread.c, coffread.c, elfread.c, dwarfread.c:
+       Include <time.h> and <sys/types.h> before libbfd.h.
+
+       * paread.c: Define BYTES_IN_WORD before including aout/aout64.h.
+
+       * Makefile.in (a29k-tdep.o): Depend on $(defs_h).
+       * config/a29k/tm-a29k.h (SAVED_PC_AFTER_CALL): Use gr122 not lr0
+       if this is a transparent procedure.
+
+Mon Sep 13 16:06:43 1993  Jim Kingdon  (kingdon@cirdan.cygnus.com)
+
+       * remote.c: Define remote_debug to 0 and #if 0 baud_rate.  Temporary
+       hack so this file compiles again.
+
+       * remote-utils.c (gr_multi_scan): Cast return value from alloca.
+       (gr_multi_scan): #if 0 never-reached return(-1).
+
+       * remote-udi.c (udi_wait): Return inferior_pid not 0.
+
+Mon Sep 13 14:14:35 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
+
+       Collect some remote things into remote-utils.
+       * remote-utils.[ch]: new files of functions collected from several
+         different remote targets.
+       * Makefile.in (REMOTE_O): add remote-utils.o.
+         (dcache_h, remote_utils_h): new macros.
+         (HFILES): add $(remote_utils_h).
+         (ALLDEPFILES): add $(remote_utils_h).
+         (dcache.o): new rule.
+         (main.o, remote-bug.o): also depend on $(remote_utils_h).
+       * target.h (remote_debug): extern moved to remote-utils.h.
+       * target.c (find_default_run_target, find_core_target): initialize
+         runable.
+         (remote_debug): moved to remote-utils.c.
+         (_initialize_targets): move declaration of user variable
+         remotedebug to remote-utils.c.
+       * remote-bug.c: include remote-utils.h rather than dcache.h.
+         (bug_close, bug_write, bug_write_cr, desc, bug_dcache, timeout,
+         dev_name, check_open, is_open, readchar, readchar_nofail,
+         pollchar, expect, expect_prompt, get_hex_digit, get_hex_byte,
+         get_hex_word, bug_kill, bug_detach, bug_create_inferior,
+         multi-scan, bug_prepare_to_store, bug_fetch_word,
+         bug_store_word, bug_files_info, bug_mourn, bug_com, bug_device,
+         bug_speed): removed and replaced with facilities from
+         remote-utils.[ch].
+         (bug_read_inferior_memory): renamed to bug_read_memory.
+         (bug_write_inferior_memory): renamed to bug_write_memory.
+         (bug_xfer_inferior_memory): renamed to bug_xfer_memory.
+         (get_word): comment out this unused function for now.
+         (bug_settings, cpu_check_strings): new statics.
+         (bug_open): rewritten to use gr_open.
+         (_initialize_remote_bug): remove declarations of commands bug,
+         device, speed.
+       * main.c: include remote-utils.h.
+         (baud_rate): removed to remote-utils.c.
+         (main): handle baud rate settings using new facilities from
+         remote-utils.
+       * defs.h (baud_rate): removed extern.
+
+       m88110 support via bug-197 monitor.
+       * remote-bug.c (get_reg_name, bug_fetch_register,
+         bug_store_register): added m88110 extended register support.
+         (wait_strings): added bug-197 prompt.
+         (bug_wait): cope with bug-197 prompt.
+         (start_load): cope with either bug-197 or bug-187 prompt.
+
+Mon Sep 13 12:53:09 1993  Jim Kingdon  (kingdon@cirdan.cygnus.com)
+
+       * inferior.h, infrun.c, thread.c, infcmd.c: Remove all uses of
+       pc_changed.  If it was ever set to a non-zero value, it was before
+       GDB 2.8.  It doesn't seem to have any useful function.
+
+       * defs.h: Don't define NORETURN (see comment).
+
+Sat Sep 11 10:46:09 1993  Jim Kingdon  (kingdon@poseidon.cygnus.com)
+
+       * m88k-nat.c (fill_gregset): Set r31 and sfip.
+
+Thu Sep  9 10:18:29 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
+
+       * remote-udi.c (udi_wait, case UDIStdinNeeded): Use a loop calling
+       getchar() (terminated only on '\n') instead of scanf.  Send the
+       '\n' which terminates it to the remote system.
+
+       More gcc lint:
+       * exec.c (ignore): Return 0.
+       * stack.c (return_command): Fetch lazy value directly, not via
+       VALUE_CONTENTS, to avoid "value computed is not used".
+       * inflow.c (new_tty): Move osigttou inside #if.
+
+       * remote.c (remote_fetch_registers): If remote reply is short, just
+       note that fact and keep going (reading extra registers as all bits 0).
+       (remote_store_registers): Send number of registers that were found
+       by remote_fetch_registers.
+       * m68k-tdep.c, config/m68k/tm-m68k.h, config/m68k/tm-*.h: Remove
+       HAVE_68881.  Define CANNOT_STORE_REGISTER if ptrace() can't write
+       floating registers.
+       * config/m68k/{tm-m68k-nofp.h,m68k-nofp.mt,tm-m68k-fp.h,m68k-fp.mt}:
+       Remove, replaced by {tm-m68k-em.h,m68k-em.mt}.
+       * Makefile.in, configure.in: Change accordingly.
+
+Thu Sep  9 04:59:03 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
+
+       * mipsread.c (cross_ref):  Allow SGI extended symbol types as cross
+       reference targets.
+       * symmisc.c (print_symbol):  Use TYPE_TAG_NAME not TYPE_NAME to avoid
+       printing of identities.
+
+Wed Sep  8 19:18:27 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
+
+       * breakpoint.c (breakpoint_1): Deal with step resume breakpoint.
+
 Wed Sep  8 13:01:10 1993  K. Richard Pixley  (rich@cygnus.com)
 
        Gcc lint.
+       * config/m88k/tm-m88k.h (frame_find_saved_regs): prototype.
+       * config/h8300/tm-h8300.h (NUM_REGS): rewrite to avoid nested comment.
+       * blockframe.c (get_prev_frame_info): initialize address.
+       * breakpoint.c (bpstat_copy): initialize retval.
+         (bpstat_stop_status): initialize value_is_zero.
+         (bpstat_what): initialize bs_class.
+         (breakpoint_1, mention): add do-nothing case for bp_step_resume.
+         (break_command_1): initialize cond_end, addr_end, &
+         canonical_strings_chain.
+         (enable_breakpoint): initialize save_selected_frame.
+       * buildsym.c (end_symtab): initialize symtab & linetablesize.
+       * c-exp.y (parse_number): initialize i.
+       * c-typeprint.c (c_type_print_varspec_prefix): include
+         TYPE_CODE_BITSTRING in switch statements and do nothing.
+       * c-valprint.c (c_val_print): removed unused variable c.
+       * ch-valprint.c (chill_val_print): removed unused variable eltlen.
+       * cp-valprint.c (cp_print_class_method): initialize f & j.
+       * eval.c (evaluate_subexp): initialize pc2, arg1, arg2.
+       * expprint.c (print_subexp): initialize myprec, assoc, & tempstr.
+       * findvar.c (value_from_register): initialize first_addr.
+       * gdbtypes.c (lookup_struct_elt_type): localize use of temporary
+         variable typename.
+       * infcmd.c (run_stack_dummy): return zero rather than simple
+         return.
        * infrun.c (wait_for_inferior): initialize stop_sp, prologue_pc.
          remove symtab, appears unused.
          (restore_selected_frame): return 1.
This page took 0.025862 seconds and 4 git commands to generate.