Add __FILE__ and __LINE__ parameter to internal_error() /
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index b4aae025a825aebc82b3569dabaa517570ec4042..62b03302360316a2bd28b2605879e62af5957b06 100644 (file)
@@ -1,3 +1,344 @@
+Wed Feb  7 19:41:21 2001  Andrew Cagney  <cagney@redhat.com>
+
+       * defs.h (internal_error, internal_verror): Add __FILE__ and
+       __LINE__ parameter.
+       * utils.c (internal_error, internal_verror): Update.
+
+       * v850-tdep.c: Update calls to internal_error.
+       * utils.c: Ditto.
+       * ui-out.c: Ditto.
+       * ui-file.c: Ditto.
+       * target.h: Ditto.
+       * symtab.h: Ditto.
+       * symm-nat.c: Ditto.
+       * sparc-tdep.c: Ditto.
+       * source.c: Ditto.
+       * serial.c: Ditto.
+       * rs6000-tdep.c: Ditto.
+       * rs6000-nat.c: Ditto.
+       * remote.c: Ditto.
+       * remote-vx.c: Ditto.
+       * remote-sim.c: Ditto.
+       * remote-mips.c: Ditto.
+       * regcache.c: Ditto.
+       * objfiles.h: Ditto.
+       * objfiles.c: Ditto.
+       * mn10300-tdep.c: Ditto.
+       * mips-tdep.c: Ditto.
+       * maint.c: Ditto.
+       * m68k-tdep.c: Ditto.
+       * m3-nat.c: Ditto.
+       * language.c: Ditto.
+       * infptrace.c: Ditto.
+       * inferior.h: Ditto.
+       * infcmd.c: Ditto.
+       * ia64-tdep.c: Ditto.
+       * i386-tdep.c: Ditto.
+       * i386-linux-nat.c: Ditto.
+       * hppah-nat.c: Ditto.
+       * go32-nat.c: Ditto.
+       * findvar.c: Ditto.
+       * f-lang.c: Ditto.
+       * elfread.c: Ditto.
+       * event-loop.c: Ditto.
+       * dwarf2read.c: Ditto.
+       * dsrec.c: Ditto.
+       * d30v-tdep.c: Ditto.
+       * d10v-tdep.c: Ditto.
+       * cli/cli-setshow.c: Ditto.
+       * cli/cli-script.c: Ditto.
+       * ch-exp.c: Ditto.
+       * breakpoint.c: Ditto.
+       * ax-gdb.c: Ditto.
+       * arch-utils.c: Ditto.
+       * a29k-tdep.c: Ditto.
+       * gdb_assert.h: Ditto.
+       * gdbarch.sh: Ditto.
+       * gdbarch.h, gdbarch.c: Re-generate.
+       
+2001-02-07  Andrew Cagney  <ac131313@redhat.com>
+
+       From Mark Kettenis <kettenis@gnu.org>:
+       * event-top.h [!STOP_SIGNAL]: #include <signal.h>.
+
+2001-02-07  Andrew Cagney  <ac131313@redhat.com>
+
+       * remote-sim.c (dump_mem): Cleanup printf format argument.
+       * MAINTAINERS: Update, mn10300-elf now builds.
+
+2001-02-07  Mark Kettenis  <kettenis@gnu.org>
+
+       * event-top.c: Remove duplicate #include <signal.h>.
+
+2001-02-06  Andrew Cagney  <ac131313@redhat.com>
+
+       * sol-thread.c (restore_inferior_pid): Save the PID in a freshly
+       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.
+
+2001-02-06  Andrew Cagney  <ac131313@redhat.com>
+
+       * MAINTAINERS: Add ``The Obvious Fix Rule''.
+
+2001-02-06  Andrew Cagney  <ac131313@redhat.com>
+
+       * MAINTAINERS: Add Michael Snyder to Solaris/SPARC list.
+
+2001-02-06  Andrew Cagney  <ac131313@cygnus.com>
+
+       * gdbarch.sh: Include "gdb_assert.h".
+       (struct gdbarch): Change ``nr_data'' to unsigned.
+       (alloc_gdbarch_data, free_gdbarch_data): New functions.
+       (gdbarch_free): Free the data-pointer vector.  Use xfree to delete
+       architecture vector.
+       (struct gdbarch_data, struct gdbarch_data_registration): Move init
+       method to gdbarch_data.  Add free method, make index unsigned.
+       (struct gdbarch_data_registry): Make nr unsigned.
+       (register_gdbarch_data): Add free parameter. Store in
+       gdbarch_data.
+       (init_gdbarch_data): Use set_gdbarch_data.
+       (set_gdbarch_data): New function.
+       
+       * gdbarch.h, gdbarch.c: Re-generate.
+       
+2001-02-06  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
+
+       * ser-unix.c (hardware_print_tty_state) [HAVE_SGTTY]: Call
+       fprintf_filtered with correct arguments.
+
+2001-02-06  Michael Snyder  <msnyder@makita.cygnus.com>
+       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>
+
+       * 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.
+
+Tue Feb  6 11:58:57 2001  David Taylor  <taylor@redhat.com>
+
+       * valops.c (value_cast): If casting a scalar to a pointer, do not
+       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.
+
+2001-02-05  Christopher Faylor  <cgf@cygnus.com>
+
+       * win32-nat.c: Change PTR to void * throughout.
+
+2001-02-05  J.T. Conklin  <jtc@redback.com>
+
+       * signals.h: Removed.
+       * 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.
+
+2001-02-05  Christopher Faylor  <cgf@cygnus.com>
+
+       Change suggested by Dean Luick <luick@cray.com>
+       * 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>
+
+       * 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>
+
+       * hppah-nat.c (child_xfer_memory): Add parameter 'struct mem_attrib *'
+       to conform with interface change.
+
+2001-02-04  Eli Zaretskii  <eliz@is.elta.co.il>
+
+       * config/djgpp/fnchange.lst: Tweak to make consistent with the
+       new files.
+
+       * config/djgpp/djconfig.sh: Use explicit absolute file name when
+       invoking `find'.
+
+       * ser-go32.c (dos_write) [UART_FIFO_WORKS]: Use outportsb only if
+       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 consistent
+       with target.h's `to_xfer_memory' member.
+
+2001-02-02  J.T. Conklin  <jtc@redback.com>
+
+       * ppc-bdm.c (#include <signal.h>): Removed.
+       * 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.
+
+2001-02-02  John Moore  <jmoore@redhat.com>
+
+       * remote-utils.h (sr_set_device): Changed free() to xfree() where 
+       appropriate.  Also changed Copyright to include 2001.
+       * symtab.h (obstack_chunk_free, SYMBOL_INIT_DEMANGLED_NAME): Likewise.
+       * value.h (value_free): Likewise.
+       * gdbarch.sh (gdbarch_free): Likewise.
+       * gdbarch.c, gdbarch.h: Regenerated.
+
+2001-02-02  John Moore  <jmoore@redhat.com>
+
+        * cli/cli-cmds.c (apropos_command): Changed occurance of free() to 
+       xfree().  Also changed Copyright to include 2001.
+
+2001-02-02  J.T. Conklin  <jtc@redback.com>
+
+       * monitor.c (#include "gdb_wait.h"): Removed.
+       * 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>
+
+       * 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>
+
+       * MAINTAINERS: Add David Smith to Write After Approval list.
+
+Tue Jan 30 15:43:08 2001  Andrew Cagney  <cagney@cygnus.com>
+
+       * cli/cli-utils.c (putchar_filtered): Move function from here.
+       * utils.c (putchar_filtered): To here.
+       * cli/cli-utils.h (putchar_filtered): Move declaration from here.
+       * defs.h (putchar_filtered): To here.
+       
+Tue Jan 30 17:27:11 2001  Andrew Cagney  <cagney@redhat.com>
+
+       * configure.in (AC_CHECK_FUNCS): Replace vfork test with
+       AC_FUNC_VFORK macro.
+       * config.in, configure: Re-generate.
+
+       * gdb_vfork.h: New file.
+       * ser-pipe.c (pipe_open): Update. Include "gdb_vfork.h".
+       * fork-child.c (fork_inferior): Ditto.
+       
+Tue Jan 30 17:09:07 2001  Andrew Cagney  <cagney@redhat.com>
+
+       * defs.h (strsave): Delete declaration.
+       * utils.c (strsave): Delete definition.
+       * TODO (strsave): Update
+
+       * mac-xdep.c (tilde_expand): Replace strsave with xstrdup.
+       * sparcl-tdep.c (sparclite_open): Ditto.
+       * mips-tdep.c (mips_set_processor_type_command):  Ditto.
+       (_initialize_mips_tdep):  Ditto.
+       * solib.c (solib_open):  Ditto.
+       * symfile.c (add_filename_language):  Ditto.
+       (set_ext_lang_command):  Ditto.
+       * source.c (init_source_path):  Ditto.
+       (mod_path):  Ditto.
+       * sh3-rom.c (sh3_open):  Ditto.
+       (sh3e_open):  Ditto.
+       * serial.c (serial_open):  Ditto.
+       * remote-mips.c (common_open):  Ditto.
+       * monitor.c (monitor_open):  Ditto.
+       * m32r-rom.c (m32r_upload_command):  Ditto.
+       * infcmd.c (path_command):  Ditto.
+       * f-exp.y (parse_number):  Ditto.
+       * breakpoint.c (create_longjmp_breakpoint):  Ditto.
+       (create_thread_event_breakpoint):  Ditto.
+       * arc-tdep.c (arc_set_cpu_type_command):  Ditto.
+       (_initialize_arc_tdep):  Ditto.
+
+Tue Jan 30 15:14:26 2001  Andrew Cagney  <cagney@skil>
+
+       * cli/cli-script.c (define_command): Check for a bad hook value in
+       switch statement.
+
+2001-01-30  J.T. Conklin  <jtc@redback.com>
+
+       * configure/sh/embed.mt: New file.
+       * 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>
+
+       * symtab.c (block_lookup_symbol): Use 'namespace' parameter in
+       symbol comparisons in binary search.
+
+2000-01-27  Christopher Faylor  <cgf@cygnus.com>
+
+       * win32-nat.c (child_xfer_memory): Add missing argument required by
+       2001-01-23 change.
+
 2001-01-27  Mark Kettenis  <kettenis@gnu.org>
 
        * ui-out.c (do_list_end): New function.
@@ -411,8 +752,8 @@ Fri Jan 12 18:29:46 2001  Andrew Cagney  <cagney@b1.cygnus.com>
 
 2001-01-02  Michael Snyder  <msnyder@cleaver.cygnus.com>
 
-       * sh-tdep.c (sh_extract_return_value):  Allow for small return type.
-       (sh_sh4_extract_return_value): Call sh_extract_return_value for
+       * sh-tdep.c (sh_default_store_return_value):  Allow for small return type.
+       (sh3e_sh4_store_return_value): Call sh_default_store_return_value for
        non-float types.
        * sparc-tdep.c (sparc_frame_chain): Fix typo in comment.
        Update copyright notice.
This page took 0.025907 seconds and 4 git commands to generate.