aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
1993-11-02Fix a couple typos introduced by recent checkinsStan Shebs1-2/+2
1993-11-02 * symtab.c, symtab.h, source.c: Change find_line_pc_range to takeJim Kingdon3-30/+46
a struct symtab_and_line argument, rather than a symtab and a line. Re-write it to be based on the address rather than bogusly adding one to the line number and hoping that has something to do with the end of the line.
1993-11-01Change the stream argument to _filtered to GDB_FILE *.Thomas Lord121-1236/+1751
Change all references to stdout/stderr to gdb_stdout/gdb_stderr. Replace all calls to stdio output functions with calls to corresponding _unfiltered functions (`fprintf_unfiltered') Replaced calls to fopen for output to gdb_fopen. Added sufficient goo to utils.c and defs.h to make the above work. The net effect is that stdio output functions are only directly used in utils.c. Elsewhere, the _unfiltered and _filtered functions and GDB_FILE type are used. In the near future, GDB_FILE will stop being equivalant to FILE. The semantics of some commands has changed in a very subtle way: called in the right context, they may cause new occurences of prompt_for_continue() behavior. The testsuite doesn't notice anything like this, though. Please respect this change by not reintroducing stdio output dependencies in the main body of gdb code. All output from commands should go to a GDB_FILE. Target-specific code can still use stdio directly to communicate with targets.
1993-11-01* config/m88k/m88k.mh (NATDEPFILES): Remove exec.o.Jim Kingdon2-1/+3
1993-11-01* Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.Jim Kingdon1-0/+11
1993-11-01 * paread.c (pa_symtab_read): Change comments to say ignoringJim Kingdon4-13/+44
labels really should be handled by the assembler/compiler. * Makefile.in: Add -O to CXXFLAGS. * TODO: Expand comments on fast watchpoints.
1993-11-01Fix typo in recent hange from using bfd target name to using the flavour.Jeff Law1-1/+1
1993-11-01 * paread.c (pa_symtab_read): Also filter out local symbols startingJeff Law1-0/+5
with "L$".
1993-11-01 * paread.c (pa_symtab_read): Also filter out local symbols startingJeff Law1-1/+2
with "L$".
1993-10-31 * values.c (unpack_long, unpack_double, value_from_double),Jim Kingdon1-1/+1
valarith.c (value_binop), stabsread.c (define_symbol): Use extract_floating and store_floating instead of SWAP_TARGET_AND_HOST.
1993-10-31 * symfile.h (sym_fns), symfile.c (find_sym_fns), xcoffread.c,Jim Kingdon1-1/+1
coffread.c, dbxread.c, elfread.c, mipsread.c, nlmread.c, paread.c: Change from using bfd target name to using the flavour.
1993-10-31 * remote.texi (VxWorks Remote): Clarify that rebuilding VxWorks kernelJim Kingdon2-14/+17
is a mandatory step. Make the stuff about that more concise.
1993-10-31Keep Lynx filesStan Shebs1-1/+3
1993-10-31Keep Lynx filesStan Shebs3-0/+11
1993-10-31 * symfile.h (sym_fns), symfile.c (find_sym_fns), xcoffread.c,Jim Kingdon9-45/+27
coffread.c, dbxread.c, elfread.c, mipsread.c, nlmread.c, paread.c: Change from using bfd target name to using the flavour.
1993-10-31 * paread.c: Remove comment about how we should use an "ordinary"Jim Kingdon1-2/+1
file format with an hppa suffix. There is nothing ordinary about SOM.
1993-10-31 * objfiles.h, infcmd.c, symfile.c: Add comments about how variousJim Kingdon4-5/+38
objfiles get created and when we should blow them away.
1993-10-30 * symfile.c (reread_symbols): When re-reading symbols, do all theJim Kingdon11-204/+270
right operations ourself, rather than calling symbol_file_command. If we re-read something, call clear_symtab_users not just breakpoint_re_set. * objfiles.h, objfiles.c (build_objfile_section_table): No longer static. * symfile.c (clear_symtab_users): Call clear_pc_function_cache. * coffread.c, dbxread.c, elfread.c, mipsread.c, nlmread.c, paread.c (*_symfile_offsets): Set objfile->num_sections. * remote.c (remote_wait), symfile.c (syms_from_objfile): Don't muck with objfile->num_sections now that all the symbol readers set it. * elfread.c: Clean up obsolete comment about handling only DWARF. * paread.c: Remove comment about how we should use an "ordinary" file format with an hppa suffix. There is nothing ordinary about SOM.
1993-10-30 * config/i386/{i386m3.mh,i386mk.mh}, config/mips/mipsm3.mh,Jim Kingdon5-9/+9
config/ns32k/ns32km3.mh: Change MMALLOC_LIB to MMALLOC. * TODO: Update Mach stuff.
1993-10-30More LynxOS supportStan Shebs22-32/+993
1993-10-29* TODO: Add idea for "disassemble" with source.Jim Kingdon1-1/+2
1993-10-29 * defs.h, findvar.c (extract_floating, store_floating): New functions.Jim Kingdon7-107/+95
* Move SWAP_TARGET_AND_HOST from defs.h to findvar.c because it is now used only by extract_floating and store_floating. * valprint.c (print_floating): Use unsigned arithmetic. Use extract_unsigned_integer instead of SWAP_TARGET_AND_HOST. Change sizeof (float) to 4 and sizeof (double) to 8 (those are always the relevant sizes for this code, which is in #ifdef IEEE_FLOAT). * values.c (unpack_long, unpack_double, value_from_double), valarith.c (value_binop), stabsread.c (define_symbol): Use extract_floating and store_floating instead of SWAP_TARGET_AND_HOST. * config/m68k/tm-m68k.h, config/i960/tm-i960.h (REGISTER_CONVERT_*): Use extract_floating and store_floating. * config/m88k/tm-m88k.h: Add comments (it should be doing the same). * i386-tdep.c (i386_extract_return_value), * remote-nindy.c (nindy_store_registers): Use store_floating.
1993-10-29 * remote-sim.c (gdbsim_store_register): Change var name soSteve Chamberlain2-4/+9
it compiles with non-ANSI compilers.
1993-10-29* TODO: Add idea for "disassemble" with source.Jim Kingdon2-0/+7
1993-10-29 * Makefile.in (VERSION): Bump to 4.11.1 after release and cvsFred Fish2-1/+6
tagging.
1993-10-29 * TODO: Add section on Mach. Stop calling it a "bug list".Jim Kingdon2-30/+90
Remove John's name and email address. Remove item on "always" ("hook-stop" takes care of this). Remove item on executables with no symbols (this works on some machines, at least). Remove item about calling error() during symbol reading (I think all the important ones have been cleaned up). Revise items about signals and remote systems. Remove section on ^Z requiring several continues to make it go (this now works. Perhaps the item is based on confusion over programs (like GDB itself) which catch SIGTSTP and then re-send themselves the signal. PR 2575 might contain relevant info).
1993-10-29 * NEWS: Note improvements in C++ support, preliminary threadFred Fish2-4/+33
implementation, and LynxOS native and target support for 386.
1993-10-29 * README: Add note from Peter Schauer about OSF/1 sharedFred Fish1-0/+6
libraries. Add note from Pace Willisson about configuring on BSDI BSD/386 release 1.0. Update gdb references to gdb 4.11.
1993-10-28* NEWS: Add notes about Alpha and "set remotedebug" for UDI.Jim Kingdon2-3/+11
1993-10-28 * config/i386/{i386m3.mt,i386m3.mh},Jim Kingdon5-8/+9
config/mips/{mipsm3.mt,mipsm3.mh}, config/ns32k/{ns32km3.mt,ns32km3.mh}: Use correct names for TM_FILE and XM_FILE. Replace host files *mach3-xdep.o with native files *m3-nat.o. Replace host file os-mach3.o with native file m3-nat.o.
1993-10-28 * valops.c (value_assign): Change bitfield code to use a buffer ofJim Kingdon2-16/+40
the correct size, rather than an int.
1993-10-27 * config/i386/{i386m3.mt,i386m3.mh}: Use correct names for TM_FILEJim Kingdon3-3/+8
and XM_FILE. Replace host file i386mach3-xdep.o with native file i386m3-nat.o.
1993-10-27* stabs.texinfo (Class Names): New node.Jim Kingdon2-2/+35
1993-10-27 * remote-udi.c: Remove LOG_FILE stuff; superceded by "set remotedebug".Jim Kingdon4-30/+9
* remote-mon.c: Remove commented out "set remotedebug" command. * remote-nindy.c: Clean up comment about wanting alternative to options specified on the GDB command line.
1993-10-27 * fork-child.c (fork_inferior): Set inferior_pid before callingJim Kingdon8-55/+36
init_trace_fun. Move the code which gets us through the shell to new function startup_inferior. * inferior.h: Declare startup_inferior. * procfs.c (procfs_init_inferior), inftarg.c (ptrace_him): Call startup_inferior. * m3-nat.c (m3_trace_him): Call intercept_exec_calls. * config/nm-m3.h: Don't define STARTUP_INFERIOR. * config/i386/tm-i386m3.h, config/ns32k/tm-ns32k.h, config/mips/tm-mipsm3.h: Don't define START_INFERIOR_TRAPS_EXPECTED.
1993-10-27* m68k-stub.c: Change vector 13 from SIGFPE to SIGBUS.Jim Kingdon1-0/+4
1993-10-27* gdb.texinfo (Command Files): Explain order of init file reading.Jim Kingdon1-1/+1
1993-10-27* gdb.texinfo (Command Files): Explain order of init file reading.Jim Kingdon2-5/+10
1993-10-27 * remote.texi (Bootstrapping): Talk about getting the serial driverJim Kingdon1-3/+6
to deal with ^C sent by gdb to stop the remote system.
1993-10-27 * remote.texi (Bootstrapping): Talk about getting the serial driverJim Kingdon2-2/+19
to deal with ^C sent by gdb to stop the remote system.
1993-10-27* mips-tdep.c (mips_pop_frame): If proc_desc is NULL, don't dump core.Jim Kingdon1-0/+4
1993-10-26 gcc -Wall lint:Jim Kingdon3-1/+6
* nlmread.c: Include stabsread.h. * Makefile.in: Update dependencies.
1993-10-26 * remote.c: Change PBUFSIZ back to 400. John's 28 Feb 1992 changeJim Kingdon2-21/+56
to increase it broke the ability to write large chunks of memory with m68k-stub and i386-stub. Now we only use more than 400 on machines where we need that much to write the registers. * remote.c (remote_write_bytes): Eliminate possible abort(). The check for when to abort was off by a few bytes and besides which, it is handled by MAXBUFBYTES, which the caller uses. * m68k-stub.c: Add comments about trap #1 and trap #8 instructions.
1993-10-26* remote-sim.h (SIM_ADDR): New type (same as CORE_ADDR).David Edelsohn3-11/+39
(sim_set_pc): Update prototype. (sim_read, sim_write): Ditto, and use unsigned char *buf. (sim_fetch_register, sim_store_register): Use unsigned char *buf. (sim_info): Pass printf function as argument, add verbose argument. (sim_stop_reason): Renamed from sim_stop_signal, fix prototype. * remote-sim.c (gdbsim_wait): Update call to sim_stop_reason. (gdbsim_files_info): Update call to sim_info.
1993-10-26 * valops.c (value_assign): Call reinit_frame_cache when assigningJim Kingdon2-0/+14
to a register.
1993-10-26 * infrun.c (wait_for_inferior): Fix PC out of objfile boundsStu Grossman1-2/+2
check to just use stop_func_name == 0.
1993-10-25 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.Stu Grossman2-1/+5
1993-10-25 * infrun.c (wait_for_inferior): Fix PC out of subroutine boundsStu Grossman3-14/+45
check to use prev_func_start/end instead of stop_func_start/end. * remote-udi.c (store_register): Invalidate NPC/PC_REGNUM after changing PC.
1993-10-25* gdb.t06/signals.exp: Skip whole file with xfail for HPPA.Jim Kingdon1-0/+2
1993-10-25 * gdbserver/{low-lynx.c,low-sparc.c,low-sun3.c}, standalone.c,Jim Kingdon9-41/+46
m3-nat.c, i386m3-nat.c, mipsm3-nat.c, ns32km3-nat.c: bcopy -> memcpy.