X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gdb%2FChangeLog;h=a72d2e96291fdbc5cf613d6eb02c0a9f1f8ffae9;hb=a94abe5bb7a71b207691f8b50406166eefda8186;hp=d5f0a7d1ac7b03fd4d8af34a44146a7a0e13f3c2;hpb=13bd962292e51764b43f9fc61067350b5b61aa5b;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/ChangeLog b/gdb/ChangeLog index d5f0a7d1ac..a72d2e9629 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,435 @@ +Tue Sep 14 12:21:49 1993 K. Richard Pixley (rich@sendai.cygnus.com) + + * 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: Include 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. + * mipsread.c (psymtab_to_symtab_1): initialize first_off. + (fixup_sigtramp): initialize b0. + * printcmd.c (do_examine): initialize val_type. + (print_frame_args): initialize b. + * ser-tcp.c (tcp_restore): comment out declaration. Appears + unused. + * ser-unix.c (hardwire_restore): comment out declaration. Appears + unused. + (hardwire_send_break): moved variable status into ifdef + HAVE_SGTTY. + (wait_for): moved variable numfds into ifdef HAVE_SGTTY. + * serial.h: comment change only. + * stabsread.c (rs6000_builtin_type): initialize rettype. + (read_range_type): initialize nbits. + * stack.c (print_frame_info): remove unused variable numargs. + (parse_frame_specification): remove unused variables arg1, arg2, + arg3. + (return_command): initialize return_value. + * symfile.c (cashier_psymtab): initialize pprev. + * symtab.c (find_pc_psymbol): initialize best. + (lookup_symbol): initialize s. + (make_symbol_completion_list): initialize quote_pos. + * thread.c: include command.h. + (thread_info): static declaration removed; unused. + (info_threads_command): fix == vs = typo. + * typeprint.c (whatis_exp): initialize old_chain. + * valprint.c (val_print_string): remove unused variable + first_addr_err. Initialize old_chain. + (_initialize_valprint): white space comment change. + * values.c (show_values): rewrite if statement to avoid empty + body. + (vb_match): remove unused variable fieldtype_target_type. + +Wed Sep 8 10:21:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com) + + * Makefile.in (mipsread.o): Depend on $(bfd_h). + +Tue Sep 7 13:06:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com) + + * gdbserver/Makefile.in (TAGS): config files are in + $(srcdir)/../config, not $(srcdir)/config. + + * config/pa/tm-hppa.h: Declare target_read_pc and target_write_pc. + (STORE_RETURN_VALUE): Pass the correct offset of the return + register to write_register_bytes. + * hppa-tdep.c: Use target_write_pc if PCOQ_TAIL_REGNUM was not saved. + +Tue Sep 7 14:30:34 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * remote.c (remote_wait): Don't call error. Instead, call warning + inside a loop. User can ^C to get out. + + * config/m68k/tm-m68k.h (FIX_CALL_DUMMY): Changed name of swapping + routine to match BFD name change. + * config/z8k/tm-z8k.h (FIX_CALL_DUMMY): Likewise. + +Mon Sep 6 15:01:57 1993 Jeffrey Wheat (cassidy@cygnus.com) + + * elfread.c: change elf32_symbol_type to elf_symbol_type + +Mon Sep 6 15:43:25 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * remote.c (remote_wait): Added 'W' and 'N' responses. + +Fri Sep 3 08:57:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com) + + * main.c, utils.c: Add comments about immediate_quit. + + * elfread.c (elf_symtab_read): Don't add symbols starting with ".L" + to minimal symbols. + + * target.c (pop_target): Don't try to deal with the stack becoming + empty. Shouldn't happen and the code that tried was broken. + + * dcache.c: Cast return value from xmalloc. + + * remote.c: Move setting of immediate_quit from remote_open to + remote_start_dummy and set it back to zero when done. + +Thu Sep 2 00:07:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com) + + * m88k-tdep.c: Remove a bunch of unused #includes. + + * language.h: Add comment about current_language. + + * mips-tdep.c (_initialize_mips_tdep): Change heuristic-fence-post + from var_uinteger to var_zinteger. + + * configure.in: Fix typo (delta88r4 -> delta88v4). + + * config/m88k/xm-delta88.h: Don't include sys/siginfo.h. It was + to make this work on SVR4 before SVR4 had its own configuration, + and it breaks SVR3. + + * config/m88k/tm-delta88v4.h: Define FRAME_CHAIN_VALID_ALTERNATE. + + * config/m88k/delta88v4.h (NATDEPFILES): Remove infptrace.o inftarg.o. + + * config/m88k/xm-dgux.h: Renamed from config/m88k/xm-m88k.h. + * config/m88k/m88k.mh: Use xm-dgux.h. + * config/m88k/xm-m88k.h: New file, with HOST_BYTE_ORDER, + MAKEVA_END and MAKEVA_ARG. + * config/m88k/xm-*.h: Include m88k/xm-m88k.h. + * printcmd.c: Remove __INT_VARARGS_H code; now in xm-m88k.h. + +Wed Sep 1 19:31:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com) + + * remote-udi.c (udi_wait): Call `warning' not `error'. + + * symtab.c (COMPLETION_LIST_ADD_SYMBOL): If the symbol has a + demangling, don't put the mangled form in the completion list. + + * symtab.c, symfile.c, c-exp.y, ch-exp.y, m2-exp.y, buildsym.c, + symfile.h, stabsread.c, minsyms.c, solib.c, nlmread.c, dwarfread.c + partial-stab.h, symmisc.c, gdbtypes.c: Lint. Remove (or put + inside #if) unused variables and labels. Fix unclosed comment. + Deal with enumeration values unhandled in switch statements. Make + sure non-void functions return values. Include appropriate + headers. + * dbxread.c (elfstab_build_psymtabs): Don't check for unsigned + value < 0. + +Wed Sep 1 14:36:00 1993 K. Richard Pixley (rich@sendai.cygnus.com) + + * i960-tdep.c, ns32k-pinsn.c, remote-adapt.c, xcoffread.c: + index -> strchr. + +Wed Sep 1 11:35:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com) + + * remote.c: Add comment explaining why dcache is disabled. + (remote_fetch_word, remote_store_word): Make static and #if 0. + They are not called from anywhere. + +Wed Sep 1 14:41:28 1993 K. Richard Pixley (rich@sendai.cygnus.com) + + * arm-tdep.c, convex-tdep.c, convex-xdep.c, dbxread.c, + h8300-tdep.c, h8500-tdep.c, i960-pinsn.c, i960-tdep.c, + infptrace.c, m88k-tdep.c, mips-tdep.c, regex.c, remote-vx.c, + rs6000-tdep.c, xcoffexec.c, xcoffread.c, z8k-tdep.c, + config/arm/tm-arm.h, config/convex/tm-convex.h, + config/gould/tm-np1.h, config/gould/tm-pn.h, + config/m68k/tm-isi.h, config/ns32k/tm-umax.h, + config/pa/tm-hppa.h, config/pyr/tm-pyr.h, + config/rs6000/tm-rs6000.h, config/tahoe/tm-tahoe.h, + config/vax/tm-vax.h: bzero -> memset. + + * regex.c: bcmp -> memcmp. + +Wed Sep 1 11:35:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com) + + * symtab.c (find_pc_line, find_line_common), + symtab.h (struct linetable), xcoffread.c (arrange_linetable): + Revise comments re linetable sorting. + * buildsym.c (compare_line_numbers): Sort by pc, not by line. + * coffread.c: Tell end_symtab to sort the line table. + + * coffread.c: Re-work a lot of the coff-specific stuff to use stuff + in buildsym.c. This includes coff_finish_block, coff_context_stack, + coff_local_symbols, coff_file_symbols, coff_global_symbols, + coff_end_symtab and coff_add_symbol_to_list. + (read_enum_type): Deal with it now that we have a "struct pending" + not a "struct coff_pending". + + * buildsym.c (end_symtab): Don't realloc subfile->linetable. + +Wed Sep 1 13:12:43 1993 K. Richard Pixley (rich@sendai.cygnus.com) + + * a68v-nat.c, altos-xdep.c, convex-tdep.c, convex-xdep.c, + findvar.c, hppab-nat.c, hppah-nat.c, i386mach-nat.c, + irix4-nat.c, m68k-tdep.c, m88k-tdep.c, mipsread.c, regex.c, + remote-bug.c, remote-hms.c, rs6000-nat.c, rs6000-tdep.c, + sparc-nat.c, stabsread.c, sun3-nat.c, sun386-nat.c, symfile.c, + umax-xdep.c, xcoffread.c, 29k-share/udi/udip2soc.c, + 29k-share/udi/udr.c, config/a29k/tm-a29k.h, config/arm/tm-arm.h, + config/convex/tm-convex.h, config/gould/tm-np1.h, + config/gould/tm-pn.h, config/h8300/tm-h8300.h, + config/h8500/tm-h8500.h, config/i386/tm-i386aix.h, + config/i386/tm-sun386.h, config/i386/tm-symmetry.h, + config/i960/tm-i960.h, config/m68k/tm-news.h, + config/m88k/tm-m88k.h, config/mips/tm-mips.h, + config/ns32k/tm-merlin.h, config/ns32k/tm-umax.h, + config/pa/tm-hppa.h, config/pyr/tm-pyr.h, + config/rs6000/tm-rs6000.h, config/sh/tm-sh.h, + config/tahoe/tm-tahoe.h, config/vax/tm-vax.h, + config/z8k/tm-z8k.h, nindy-share/nindy.c: bcopy -> memcpy. + +Wed Sep 1 05:05:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) + + * mipsread.c (parse_partial_symbols): Use language from FDR if it + is unambigous. Patch from ptf@delcam.co.uk (Paul Flinders). + * mipsread.c (ecoff_symfile_info): New struct to hold the global + pending_list. + * mipsread.c (mipscoff_symfile_init, parse_partial_symbols): + Allocate the global pending list and link it to the objfile. + * mipsread.c (is_pending_symbol, add_pending): Use global pending + list from objfile. Allocate pending list entries from the + psymbol_obstack. + * mipsread.c (free_pending): Remove. The pending list is now + freed when the psymbol_obstack is freed. + * mipsread.c (psymtab_to_symtab1): Remove pending list allocation, + the global pending list is used now. + * mipsread.c (parse_partial_symbols): Skip only the first + file indirect entry when building the dependency list. + +Tue Aug 31 15:01:27 1993 K. Richard Pixley (rich@sendai.cygnus.com) + + Break dcache code out of remote.c. + * dcache.h: white space changes only. + * dcache.c: add user settable variable to set whether data caching + is in use. + * remote.c: include dcache.h. removed data caching code which is + now in dcache.c. Compile in data caching again. (data caching + is currently off by default.) + (remote_read_bytes, remote_write_bytes): change second arg to + unsigned char. + (remote_dcache): new static variable. + * Makefile.in (REMOTE_O): add dcache.o. + * config/m88k/m88k.mt (TDEPFILES): removed dcache.o. + + Break dcache code out of remote-nindy.c. + * remote-nindy.c: removed dcache code. Changed callers to use new + conventions. include dcache.h. + (nindy_dcache): new static variable. + * config/i960/nindy960.mt (TDEPFILES): added dcache.o. + + Break dcache code out of remote-bug.c into dcache.[hc]. + * Makefile.in (dcache_h): new macro. + (HFILES): added $(dcache_h). + (ALLDEPFILES): added dcache.c. + (dcache.o): new rule. + (remote-bug.o): now depends on $(dcache_h). + * remote-bug.c: include dcache.h. remove externs for insque and + remque, add extern for bcopy. Prototype bug_close, + bug_clear_breakpoints, bug_write_cr. dcache code moved to + dcache.[hc]. Changed dcache calling convention to include an + initial DCACHE argument. + (bug_dcache): new static variable. + (bug_read_inferior_memory): change second arg to + unsigned char. + * dcache.[ch]: new files. + * config/m88k/m88k.mt (TDEPFILES): add dcache.o. + +Tue Aug 31 10:33:13 1993 Jim Kingdon (kingdon@lioth.cygnus.com) + + * c-typeprint.c (c_print_type_base): Treat show = 0 just like + show < 0. The only case where we had been distinguishing is that + show = 0 used to print "struct " or "enum " instead of + "struct {...}" or "enum {...}" which seems clearly wrong. + +Mon Aug 30 17:51:32 1993 K. Richard Pixley (rich@sendai.cygnus.com) + + * configure.in: recognize m88110 as an m88k. + +Mon Aug 30 16:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com) + + * valops.c (call_function_by_hand): If we discard cleanups, call + bpstat_clear (&inf_status.stop_bpstat). + +Mon Aug 30 12:47:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) + + * stabsread.h, dbxread.c (end_psymtab): Return NULL if the psymtab + was empty and thrown away. + * mipsread.c (parse_partial_symbols): Do not add empty psymtabs to + dependency list, skip self dependencies. + * mipsread.c (parse_fdr): Removed, obsolete. + * mipsread.c (parse_lines): Check for cbLine being zero, not + cbLineOffset. + * mipsread.c (struct symloc): Add pst_language. + * mipsread.c (parse_partial_symbols): Set up proper language for + header files, save it in pst_language for psymtab_to_symtab_1. + * mipsread.c (psymtab_to_symtab_1): Use pst_language. + +Mon Aug 30 10:48:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com) + + * configure.in: Fix typo m88*-motorola-svr4* -> sysv4*. + +Fri Aug 27 17:09:19 1993 Ken Raeburn (raeburn@cambridge.cygnus.com) + + * paread.c: Include som.h instead of libhppa.h. (From Utah.) + Fri Aug 27 09:30:40 1993 Jim Kingdon (kingdon@deneb.cygnus.com) * symmisc.c (dump_symtab): Use catch_errors around print_symbol. @@ -15,8 +447,9 @@ Fri Aug 27 09:30:40 1993 Jim Kingdon (kingdon@deneb.cygnus.com) gdbserver/remote-inflow-sparc.c -> gdbserver/low-sparc.c gdbserver/remote-server.c -> gdbserver/server.c remote-monitor.c -> remote-mon.c - * Makefile.in, gdbserver/Makefile.in, config/m68k/monitor.mt, - config/i386/i386lynx.mh, config/sparc/sun4os4.mh: Change accordingly. + * Makefile.in, gdbserver/Makefile.in, gdbserver/configure.in, + config/m68k/monitor.mt, config/i386/i386lynx.mh, + config/sparc/sun4os4.mh: Change accordingly. * gdbserver/Makefile.in: Remove more junk inherited from gdb Makefile. Thu Aug 26 14:32:51 1993 Jim Kingdon (kingdon@lioth.cygnus.com)