summaryrefslogtreecommitdiff
path: root/gdb/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
* Add __FILE__ and __LINE__ parameter to internal_error() /Andrew Cagney2001-02-081-0/+58
| | | | internal_verror().
* From Mark Kettenis, include <signal.h>.Andrew Cagney2001-02-081-0/+5
|
* Fix printf fmt of long in remote-sim.c.Andrew Cagney2001-02-071-0/+5
| | | | mn10300-elf now buildable.
* * event-top.c: Remove duplicate #include <signal.h>.Mark Kettenis2001-02-071-0/+4
|
* * sol-thread.c (restore_inferior_pid): Save the PID in a freshlyAndrew Cagney2001-02-071-0/+8
| | | | | | | allocated buffer. (save_inferior_pid): Restore the PID from that tempoary buffer. Delete the buffer. * utils.c (make_cleanup_close, do_close_cleanup): Ditto for FD.
* * MAINTAINERS: Add ``The Obvious Fix Rule''.Andrew Cagney2001-02-071-0/+4
|
* Add Michael Synder to Solaris/SPARC list.Andrew Cagney2001-02-071-0/+4
|
* Addd set_gdbarch_data() method. Update register_gdbarch_data() interface.Andrew Cagney2001-02-071-0/+17
|
* * ser-unix.c (hardware_print_tty_state) [HAVE_SGTTY]: CallMichael Sokolov2001-02-061-0/+5
| | | | fprintf_filtered with correct arguments.
* 2001-02-06 Michael Snyder <msnyder@makita.cygnus.com>Michael Snyder2001-02-061-0/+13
| | | | | | | | | | | | | | Submitted by Paul Hilfinger (hilfingr@gnat.com) and Andrei Petrov (and@genesyslab.com). * findvar.c: Buffers of size MAX_REGISTER_RAW_SIZE or REGISTER_BYTES must be allocated dynamically, since these are no longer constants. * infcmd.c: Ditto. * regcache.c: Ditto. * remote.c: Ditto. * sol-thread.c: Ditto. * valops.c: Ditto. * config/sparc/sun4sol2.mh (MH_CFLAGS): Add -I/usr/include/v9, as a work-around for a missing Sun header file in solaris for sparc64.
* 2001-02-04 Philip Blundell <philb@gnu.org>Phil Blundell2001-02-061-0/+11
| | | | | | | | | | | * config/arm/linux.mh (NATDEPFILES): Add proc-service.o, thread-db.o, lin-lwp.o; remove lin-thread.o, linux-thread.o. * config/arm/nm-linux.h (PREPARE_TO_PROCEED, ATTACH_LWP, GET_THREAD_SIGNALS): Define. * arm-linux-nat.c (fill_gregset): Correct type of argument. (supply_gregset): Likewise. (fill_fpregset): Likewise. (supply_fpregset): Likewise.
* * valops.c (value_cast): If casting a scalar to a pointer, do notDavid Taylor2001-02-061-0/+11
| | | | | | | | | | issue a message about truncation unless it exceeds the length of an address, not the length of a pointer. This is because what the user gives us is an address, not a pointer, and we will ultimately convert it (via ADDRESS_TO_POINTER) to a pointer, not truncate it to a pointer. This allows things like "print *(int *)0x01000234" to work without generating a misleading message on a target having two byte pointers and four byte addresses.
* * win32-nat.c: Change PTR to void * throughout.Christopher Faylor2001-02-061-0/+4
|
* * signals.h: Removed.J.T. Conklin2001-02-061-0/+13
| | | | | | | | | | | | * event-top.c (#include <signal.h>): Changed from signals.h. * inflow.c: Likewise. * mac-xdep.c: Likewise. * ser-pipe.c: Likewise. * ser-tcp.c: Likewise. * standalone.c: Likewise. * top.c: Likewise. * utils.c: Likewise. * Makefile.in: Removed signals.h from dependencies.
* Change suggested by Dean Luick <luick@cray.com>Christopher Faylor2001-02-061-0/+7
| | | | | | * inferior.h (step_over_calls_kind): Remove trailing comma from last enum element. (step_over_calls): Declare as extern rather than global.
* 2001-02-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>Elena Zannoni2001-02-061-2/+10
| | | | | | | | * sh-tdep.c: Update copyright. (sh_extract_return_value): Rewrite. (sh3e_sh4_extract_return_value): New function. (sh_gdbarch_init): Initialize gdbarch_extract-return_value to new version of the function for sh3e and sh4 CPUs.
* 2001-02-05 Michael Chastain <chastain@redhat.com>Michael Chastain2001-02-051-0/+5
| | | | | * hppah-nat.c (child_xfer_memory): Add parameter 'struct mem_attrib *' to conform with interface change.
* * config/djgpp/fnchange.lst: Tweak to make consistent with theEli Zaretskii2001-02-041-0/+3
| | | | new files.
* * config/djgpp/djconfig.sh: Use explicit absolute file name whenEli Zaretskii2001-02-041-0/+3
| | | | invoking `find'.
* * ser-go32.c (dos_write) [UART_FIFO_WORKS]: Use outportsb only ifEli Zaretskii2001-02-041-0/+4
| | | | | UART_FIFO_WORKS is defined. Otherwise use outportb. From Francisco Pastor <fpastor.etra-id@etra.es>
* * go32-nat.c (go32_xfer_memory): Make the argument list consistentEli Zaretskii2001-02-041-0/+5
| | | | with target.h's to_xfer_memory member.
* * ppc-bdm.c (#include <signal.h>): Removed.J.T. Conklin2001-02-021-0/+16
| | | | | | | | | | | | | | | * remote-array.c: Likewise. * remote-bug.c: Likewise. * remote-e7000.c: Likewise. * remote-mips.c: Likewise. * remote-os9k.c: Likewise. * remote-st.c: Likewise. * remote-udi.c: Likewise. * remote-vx29k.c: Likewise. * remote-vx68.c: Likewise. * remote-vx960.c: Likewise. * remote-vxmips.c: Likewise. * remote-vxsparc.c: Likewise.
* Changed free() to xfree() where appropriate. Also changed Copyright toJohn R. Moore2001-02-021-1/+10
| | | | include 2001.
* * cli/cli-cmds.c (apropos_command): Changed occurance of free() to xfree().John R. Moore2001-02-021-0/+5
| | | | Also changed Copyright to include 2001.
* * monitor.c (#include "gdb_wait.h"): Removed.J.T. Conklin2001-02-021-0/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * ocd.c: Likewise. * ppc-bdm.c: Likewise. * remote-adapt.c: Likewise. * remote-array.c: Likewise. * remote-bug.c: Likewise. * remote-e7000.c: Likewise. * remote-eb.c: Likewise. * remote-es.c: Likewise. * remote-mips.c: Likewise. * remote-mm.c: Likewise. * remote-nindy.c: Likewise. * remote-os9k.c: Likewise. * remote-rdi.c: Likewise. * remote-rdp.c: Likewise. * remote-sds.c: Likewise. * remote-sim.c: Likewise. * remote-st.c: Likewise. * remote-udi.c: Likewise. * remote-vx.c: Likewise. * remote-vx29k.c: Likewise. * remote-vx68.c: Likewise. * remote-vx960.c: Likewise. * remote-vxmips.c: Likewise. * remote-vxsparc.c: Likewise. * remote.c: Likewise. * ser-pipe.c: Likewise. * ser-unix.c: Likewise. * Makefile.in: Updated dependencies. -------------------------------------------------------------------
* 2001-01-31 David Smith <dsmith@redhat.com>David Smith2001-01-311-0/+10
| | | | | | | | | | * event-loop.c: Change inclusion of string.h to gdb_string.h and updated the copyright notice. * ser-pipe.c: Ditto. * mi/mi-cmds.c: Ditto. * mi/mi-console.c: Ditto. * mi/mi-getopt.c: Ditto. * mi/mi-parse.c: Ditto.
* 2001-01-31 David Smith <dsmith@redhat.com>David Smith2001-01-311-0/+4
| | | | * MAINTAINERS: Add David Smith to Write After Approval list.
* Move putchar_filtered() to utils.c.Andrew Cagney2001-01-311-0/+7
|
* Cleanup autoconfigury of vfork().Andrew Cagney2001-01-311-0/+10
|
* Replace strsave() with xstrdup().Andrew Cagney2001-01-311-0/+28
|
* * cli/cli-script.c (define_command): Check for a bad hook value inAndrew Cagney2001-01-311-0/+5
| | | | switch statement.
* * configure/sh/embed.mt: New file.J.T. Conklin2001-01-301-0/+8
| | | | | | | * configure/sh/linux.mt: New file. * configure/sh/sh.mt: Removed. * configure.tgt (sh-*-hms,sh-*-coff*,sh-*-elf*,sh-*-linux): New targets. (sh-*-*): Removed.
* 2001-01-29 Michael Chastain <chastain@redhat.com>Michael Chastain2001-01-301-0/+5
| | | | | * symtab.c (block_lookup_symbol): Use 'namespace' parameter in symbol comparisons in binary search.
* * win32-nat.c (child_xfer_memory): Add missing argument required by 2001-01-23Christopher Faylor2001-01-271-0/+5
| | | | change.
* * ui-out.c (do_list_end): New function.Mark Kettenis2001-01-271-0/+11
| | | | | | | | | | (make_cleanup_ui_out_list_end): New function. * ui-out.h: Provide prototype for make_cleanup_ui_out_list_end. * stack.c (print_frame) [UI_OUT]: Call make_cleanup_ui_out_list_end to make sure we mark the end of the list if we do a non-local exit. At the end of the function, instead of calling ui_out_list_end directly, let do_cleanups handle it.
* 2001-01-26 Fernando Nasser <fnasser@redhat.com>Fernando Nasser2001-01-271-0/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix double parsing of filenames passed as command line arguments to GDB (causes weird handling of escape characters). Also, remove dependencies on the CLI from libgdb. * call-cmds.h: Remove declaration of exec_file_command(). * gdbcore.h: Remove declaration of exec_file_command(). Add declarations for exec_open() and exec_file_clear(). * symfile.h: Add declarations for symbol_file_add_main() and symbol_file_clear(). * exec.c (exec_open): New function. Implements to_open for exec targets. (exec_file_clear): New function. Makes GDB forget about a previously specified executable file. (exec_file_attach): Move parsing of arguments from here ... (exec_file_command): ... to here. (init_exec_ops): Use exec_open(), not exec_file_command() to implement to_open for exec targets. * symfile.c (symbol_file_add_main): New function. Call symbol_file_add() with default values. Used when the file name has already been parsed. (symbol_file_clear): New function. Makes GDB forget about previously read symbols. (symbol_file_command): Call the above function instead of inline code. * main.c: Include "symfile.h" and "gdbcore.h" instead of the deprecated "call-cmds.h". (captured_main): Call exec_file_attach() and symbol_file_add_main() instead of exec_file_command() and symbol_file_command(). (captured_main): Add comment. * corefile.c: Include "symfile.h". (core_file_command): Call symbol_file_add_main() instead of symbol_file_command(). (reopen_exec_file): Call exec_open() instead of exec_file_command(). * infcmd.c: Include "symfile.h". (attach_command): Call symbol_file_add_main() instead of symbol_file_command(). * infrun.c: Remove comment about the inclusion of "symfile.h", not any longer appropriate. (follow_exec): Call symbol_file_add_main() instead of symbol_file_command(). * remote-es.c: Include "symfile.h". (es1800_load): Call symbol_file_add_main() instead of symbol_file_command(). * remote-vx.c: Remove comment about the inclusion of "symfile.h", not any longer appropriate. (vx-wait): Call symbol_file_add_main() instead of symbol_file_command(). * solib-svr4.c (open_symbol_file_object): Call symbol_file_add_main() instead of symbol_file_command(). * v850ice.c (ice_file): Call exec_open(), exec_file_attach() and symbol_file_add_main() instead of exec_file_command() and symbol_file_command(). * Makefile.in: Update dependencies.
* 2001-01-24 Jeff Holcomb <jeffh@redhat.com>Jeff Holcomb2001-01-261-0/+17
| | | | | | | | | | | | | | | | | * remote-udi.c (udi_open): Change strdup to xstrdup. * thread.c (thread_apply_all_command): Change strdup to xstrdup. Update copyright message. * varobj.c (delete_variable_1): Likewise. * gdb_string.h: Remove declaration of strdup. Update copyright message. * config/xm-mpw.h: Likewise. * config/i386/xm-i386mach.h: Likewise. * config/m68k/xm-apollo68b.h: Likewise. * config/m68k/xm-hp300bsd.h: Likewise. * config/rs6000/xm-rs6000.h: Likewise. * config/vax/xm-vaxult.h: Remove declaration of strdup. * config/vax/xm-vaxult2.h: Likewise.
* 2001-01-26 Jeff Holcomb <jeffh@redhat.com>Jeff Holcomb2001-01-261-0/+4
| | | | * MAINTAINERS: Add Jeff Holcomb to Write After Approval list.
* * target.c (target_xfer_memory_partial): Return -1 on failure dueJ.T. Conklin2001-01-261-0/+5
| | | | to invalid access mode attribute.
* * win32-nat.c (_initialize_core_win32): Prototype correctly.Christopher Faylor2001-01-251-0/+4
|
* * config/alpha/tm-fbsd.h: Update copyright.Mark Kettenis2001-01-251-0/+8
| | | | | | | (USE_STRUCT_CONVENTION): Define in terms of alphabsd_use_struct_convention. * config/alpha/fbsd.mt (TDEPFILES): Add alphafbsd-tdep.c. * alphafbsd-tdep.c: New file.
* 2001-01-24 Fernando Nasser <fnasser@redhat.com>Fernando Nasser2001-01-251-0/+4
| | | | * top.c (print_gdb_version): Update Copyright year.
* * dcache.c (dcache_write_line): Fix typo.J.T. Conklin2001-01-241-0/+10
| | | | | | | | * memattr.c (delete_mem_region): Replace free() with xfree(). (mem_number): Add explicit type. * sol-thread.c (sol_thread_xfer_memory): Add attrib argument. (rw_common): Likewise.
* 2001-01-24 Fernando Nasser <fnasser@redhat.com>Fernando Nasser2001-01-241-0/+8
| | | | | | | | * infcmd.c (get_inferior_args, set_inferior_args): Accessor functions for the inferior program arguments. (run_command, run_no_args_command, init_infcmd)): Use accessor functions to set the inferior program arguments. * inferior.h: Add definitions to the accessor functions above.
* * lin-lwp.c (lin_lwp_xfer_memory): Add attrib argument.J.T. Conklin2001-01-241-0/+2
| | | | * thread-db.c (thread_db_xfer_memory): Likewise.
* * dwarf2read.c (read_tag_const_type, read_tag_volatile_type):Jim Blandy2001-01-241-0/+5
| | | | Implement these correctly, using make_cv_type.
* * exec.c (xfer_memory): Add attrib argument.J.T. Conklin2001-01-231-0/+66
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * infptrace.c (child_xfer_memory): Likewise. * monitor.c (monitor_xfer_memory): Likewise. * remote-adapt.c (adapt_xfer_inferior_memory): Likewise. * remote-array.c (array_xfer_memory): Likewise. * remote-bug.c (bug_xfer_memory): Likewise. * remote-e7000.c (e7000_xfer_inferior_memory): Likewise. * remote-eb.c (eb_xfer_inferior_memory): Likewise. * remote-es.c (es1800_xfer_inferior_memory): Likewise. * remote-mips.c (mips_xfer_memory): Likewise. * remote-mm.c (mm_xfer_inferior_memory): Likewise. * remote-nindy.c (nindy_xfer_inferior_memory): Likewise. * remote-os9k.c (rombug_xfer_inferior_memory): Likewise. * remote-rdi.c (arm_rdi_xfer_memory): Likewise. * remote-rdp.c (remote_rdp_xfer_inferior_memory): Likewise. * remote-sds.c (sds_xfer_memory): Likewise. * remote-sim.c (gdbsim_xfer_inferior_memory): Likewise. * remote-st.c (st2000_xfer_inferior_memory): Likewise. * remote-udi.c (udi_xfer_inferior_memory): Likewise. * remote-vx.c (vx_xfer_memory): Likewise. * remote.c (remote_xfer_memory): Likewise. * target.c (debug_to_xfer_memory, do_xfer_memory): Likewise. * target.h (child_xfer_memory, do_xfer_memory, xfer_memory): Likewise. * target.h (#include "memattr.h"): Added. (target_ops.to_xfer_memory): Add attrib argument. * wince.c (_initialize_inftarg): Removed call to set_dcache_state. * dcache.h (set_dcache_state): Removed declaration. * dcache.c (set_dcache_state): Removed definition * dcache.c: Update module comment, as dcache is now enabled and disabled with memory region attributes instead of by the global variable "remotecache". Add comment describing the interaction between dcache and memory region attributes. (dcache_xfer_memory): Add comment describing benefits of moving cache writeback to a higher level. (dcache_struct): Removed cache_has_stuff field. This was used to record whether the cache had been accessed in order to invalidate it when it was disabled. However, this is not needed because the cache is write through and the code that enables, disables, and deletes memory regions invalidate the cache. Add comment which suggests that we could be more selective and only invalidate those cache lines containing data from those memory regions. (dcache_invalidate): Updated. (dcache_xfer_memory): Updated. (dcache_alloc): Don't abort() if dcache_enabled_p is clear. (dcache_xfer_memory): Removed code that called do_xfer_memory() to perform a uncached transfer if dcache_enabled_p was clear. This function is now only called if caching is enabled for the memory region. (dcache_info): Always print cache info. * target.c (do_xfer_memory): Add attrib argument. (target_xfer_memory, target_xfer_memory_partial): Break transfer into chunks defined by memory regions, pass region attributes to do_xfer_memory(). * dcache.c (dcache_read_line, dcache_write_line): Likewise. * Makefile.in (SFILES): Add memattr.c. (COMMON_OBS): Add memattr.o. (dcache.o): Add target.h to dependencies. * memattr.c: New file. * memattr.h: Likewise.
* * config/m32r/m32r.mt (GDBSERVER_LIBS): Added ../../intl/libintl.a.J.T. Conklin2001-01-231-0/+19
| | | | | | | | | | | | | | | | | | * config/mips/vr5000.mt (GDBSERVER_LIBS): Likewise. * config/tic80/tic80.mt (GDBSERVER_LIBS): Likewise. * gdbserver/low-sim.c (#include "defs.h"): Removed. (mygeneric_load): Rename from generic_load. * gdbserver/low-hppabsd.c (#include "server.h"): Added. (#include "defs.h"): Removed. (inferior_pid, perror_with_name): Remove declarations. * gdbserver/low-linux.c: Likewise. * gdbserver/low-nbsd.c: Likewise. * gdbserver/low-sparc.c: Likewise. * gdbserver/low-sun3.c: Likewise. * i386-stub.c: Re-indent. * m68k-stub.c: Re-indent.
* * gdbarch.sh (PARM_BOUNDARY): Define.Nicholas Duffek2001-01-221-0/+6
| | | | | * gdbarch.c: Regenerate. * gdbarch.h: Regenerate.
* * ns32k-tdep.c: #include "frame.h"J.T. Conklin2001-01-221-0/+26
| | | | | | | | | | | | | | | | | | | | | | | | | * config/ns32k/tm-umax.h (FRAME_FIND_SAVED_REGS): Restore. It appears to have been inadvertantly removed sometime in May 1999. * Revert 2000-11-09 changes where shared library objects were moved from NATDEPFILES to TDEPFILES on NetBSD targets. While we'd like to be able to debug dynamically linked executables, this makes it impossible to build a cross debugger on a many hosts. * config/i386/nbsd.mt: Remove solib.o, solib-svr4.o from TDEPFILES. * config/i386/nbsdelf.mt: Likewise. * config/m68k/nbsd.mt: Likewise. * config/ns32k/nbsd.mt: Likewise. * config/powerpc/nbsd.mt: Likewise. * config/sparc/nbsd.mt: Likewise. * config/sparc/nbsdelf.mt: Likewise. * config/i386/nbsd.mh: Add solib.o, solib-svr4.o to NATDEPFILES. * config/i386/nbsdelf.mh: Likewise. * config/m68k/nbsd.mh: Likewise. * config/ns32k/nbsd.mh: Likewise. * config/powerpc/nbsd.mh: Likewise. * config/sparc/nbsd.mh: Likewise.