Mark Kettenis
0eebe06ae6
* gdbserver/low-linux.c [I386_GNULINUX_TARGET]: Cleanup code and
...
make it work again.
(NUM_FREGS): Redefine to 0.
(NUM_REGS): Redefine as NUM_GREGS.
(i386_register_byte, i386_register_raw_size): Update from
i386-tdep.c. Add comment about their origin.
(regmap, register_u_addr): Take these from i386-linux-nat.c.
(i386_register_u_addr): Removed.
2001-03-28 09:15:22 +00:00
Mark Kettenis
b9511b9a9a
* i386-linux-nat.c (i386_linux_dr_get): Return 0 if ptrace call
...
fails instead of calling perror_with_name. This should fix
debugging remote i386 targets with a native Linux/x86 GDB. Add
FIXME for this hack.
2001-03-28 08:35:14 +00:00
J.T. Conklin
3172dc307b
* arch-utils.c (#include "gdbthread.h"): Removed.
...
(#include "symfile.h"): Removed.
(XMALLOC): Removed unused macro.
* breakpoint.c (tbreak_command): Removed local declaration.
(awatch_command, do_enable_breakpoint, set_breakpoint_count):
Remove duplicate declarations.
(bpstat_should_step, bpstat_have_active_hw_watchpoints)
(remove_solib_event_breakpoints): Fix indentation botch.
* c-typeprint.c (#include "command.h"): Removed.
(#include "gdbcmd.h"): Removed.
* ch-exp.c (ch_terminal_match_float_literal, parse_expr)
(parse_primval, parse_untyped_expr, parse_opt_untyped_expr):
Removed duplicate declarations.
* ch-typeprint.c (#include "command.h"): Removed.
(#include "gdbcmd.h"): Removed.
* corefile.c (#include "frame.h"): Removed
(#include "symfile.h"): Removed.
(#include "language.h"): Removed.
* dbxread.c (#include "command.h"): Removed.
* environ.c (#include "gdbcore.h"): Removed.
* event-loop.c (#include "top.h"): Removed.
* f-typeprint.c (#include "command.h"): Removed.
(#include "gdbcmd.h"): Removed.
(#include "language.h"): Removed.
(#include "typeprint.h"): Removed.
(#include "frame.h"): Removed.
* gdbtypes.h (print_type_scalar): Removed declaration.
* infcmd.c (#include "completer.h"): Removed.
* language.c (#include "frame.h"): Removed.
* m2-typeprint.c (#include "command.h"): Removed.
(#include "gdbcmd.h"): Removed.
(#include "language.h"): Removed.
* m2-valprint.c (#include "valprint.h"): Removed.
* p-typeprint.c (#include "command.h"): Removed.
(#include "gdbcmd.h"): Removed.
* p-valprint.c (#include "typeprint.h"): Removed.
* parse.c (#include "linespec.h"): Removed.
* regcache.c (#include "frame.h"): Removed.
* remote.c (#include "frame.h"): Removed.
(getpkt_sane): Make static.
* source.c (#include "completer.h"): Removed.
* stack.c (#include "symfile.h"): Removed.
(#include "objfiles.h"): Removed.
* symfile.c (#include "completer.h"): Removed.
* tracepoint.c (#include "completer.h"): Removed.
* values.c (#include "frame.h"): Removed.
* varobj.c (#include "valprint.h"): Removed.
* wrapper.c (#include "frame.h"): Removed.
* memattr.c (create_mem_region): Removed unused variable.
* remote-nrom.c: Removed spurious semicolon after init_nrom_ops.
-------------------------------------------------------------------
2001-03-27 20:36:24 +00:00
Nick Clifton
397b41add9
Add missing double quote
2001-03-27 17:23:47 +00:00
Kevin Buettner
ed817e6830
* solib-aix5.c (build_so_lib_from_mapfile): Use xfree() instead
...
of free().
2001-03-27 10:03:41 +00:00
Eli Zaretskii
b75e0a6b90
(Cleanups): Remove the item about converting docs to GFDL.
2001-03-27 07:09:01 +00:00
Kevin Buettner
224d8953bf
* solib-aix5.c (build_so_lib_from_mapfile): Fix xasprintf() usage.
2001-03-27 06:23:25 +00:00
Kevin Buettner
2fc3ac7ed8
Fix problems encountered in compiling ia64-tdep.c with IBM's compiler.
2001-03-27 02:45:54 +00:00
Kevin Buettner
37de36c6ed
Add AIX5 procfs support.
2001-03-27 02:01:11 +00:00
Kevin Buettner
3207ec212c
Add new step-line test.
2001-03-27 01:32:45 +00:00
Kevin Buettner
25d53da1c8
* symtab.c (find_pc_sect_line): Revise method used for finding
...
the ending pc.
2001-03-27 01:17:47 +00:00
Mark Kettenis
50e27f84bf
* i386-linux-tdep.c (i386_linux_sigtramp_saved_pc,
...
i386_linux_sigtramp_saved_sp): Make static.
(i386_linux_frame_saved_pc): New function based on the old
FRAME_SAVED_PC macro, but use read_memory_unsigned_integer instead
of read_memory_integer.
* config/i386/tm-linux.h (sigtramp_saved_pc): Remove definition.
(i386_linux_sigtramp_saved_pc): Remove prototype.
(FRAME_SAVED_PC): Redefine in terms of i386_linux_frame_saved_pc.
(i386_linux_frame_saved_pc): New prototype.
2001-03-26 19:51:47 +00:00
Jim Blandy
f34754ee25
Correct/clarify credit for C++ work.
2001-03-26 18:39:33 +00:00
Andrew Cagney
1a5cef0650
Mark m88k as known to be broken.
2001-03-26 18:06:43 +00:00
Andrew Cagney
af8021274c
* fork-child.c (clone_and_follow_inferior): Delete #ifdef
...
HAVE_VFORK.
2001-03-26 16:44:32 +00:00
Mark Kettenis
5b31405b6e
* config/i386/tm-symmetry.h (PUSH_ARGUMENTS): #undef.
2001-03-26 12:25:31 +00:00
Mark Kettenis
22f8ba5774
* i386-tdep.c (i386_push_arguments, i386_store_struct_return): New
...
functions.
* config/i386/tm-i386.h (PUSH_ARGUMENTS): New macro.
(STORE_STRUCT_RETURN): Redefine in terms of
i386_store_struct_return.
(i386_push_arguments, i386_store_struct_return): New prototypes.
* config/i386/tm-i386v.h (STORE_STRUCT_RETURN): Remove. It's
definition was identical to the definition in "i386/tm-i386.h" so
the new definition should suffice too.
2001-03-26 12:11:14 +00:00
Eli Zaretskii
e9c75b65b1
* gdbint.texinfo: Change Permissions to GFDL. Update Copyright.
...
* gdbgui.texinfo: Change Permissions to GFDL. Update Copyright.
Replace "GDB" with "@value{GDBN}". Fix markup.
* annotate.texi: Change Permissions to GFDL. Update Copyright.
* gdb.texinfo: Change Permissions to GFDL. Update Copyright.
* gdbmi.texinfo: Update copyright. Change Permissions to GFDL.
2001-03-26 11:51:50 +00:00
Eli Zaretskii
b78a4f26ba
* event-loop.c (toplevel) [!HAVE_POLL] [NO_FD_SET]: Remove unused
...
definitions for SELECT, NBBY, FD_SETSIZE, NFDBITS, and MASK_SIZE.
2001-03-26 11:37:51 +00:00
Eli Zaretskii
3d67e040a5
* gdb.texinfo (Output Formats): Mention "info symbol" and provide
...
a cross-reference to its description.
(Symbols): Document "info symbol".
2001-03-26 11:35:03 +00:00
Eli Zaretskii
49baf81994
Fix the date of the last entry.
2001-03-26 11:30:03 +00:00
Eli Zaretskii
4d2779813f
* config/djgpp/djconfig.sh: Add copyright notice.
...
* ser-go32.c (rawclock): Remove prototype; include time.h instead.
(ISR, dos_hookirq, isr_t): Convert K&R definition to ANSI C.
(top level) <string.h>: Include gdb_string.h instead.
(dos_noop, dos_raw, dos_noflush_set_tty_state)
(dos_print_tty_state, dos_info): Remove ATTRIBUTE_UNUSED.
* go32-nat.c (go32_create_inferior): Move the declaration of
`environ' to here from the top level.
(top level) <_initialize_go32_nat>: Remove redundant prototype.
<gdb_string.h>: Include it instead of string.h.
(store_register): Call register_buffer instead of accessing
registers[] directly.
(redir_cmdline_delete, redir_cmdline_parse, redir_to_debugger)
(redir_to_debugger, redir_debug_init) [__DJGPP_MINOR__ < 3]: Put
the function names at the start of the line.
(go32_set_dr): Throw internal_error if the argument is not a valid
debug register number.
(go32_open, go32_close, go32_attach, go32_detach, go32_resume)
(go32_wait, go32_xfer_memory, go32_files_info)
(go32_terminal_info): Remove ATTRIBUTE_UNUSED.
2001-03-26 11:26:45 +00:00
Jim Blandy
8f3ee2aeae
*** empty log message ***
2001-03-26 04:03:26 +00:00
Jim Blandy
3259a17229
* mips-tdep.c (mips_gdbarch_init): Tweak indentation.
2001-03-26 04:01:53 +00:00
Elena Zannoni
6ec4c4bd0e
2001-03-25 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
...
From Andrew Cagney <ac131313@redhat.com>
* coffread.c: Include "gdb_assert.h".
(coff_symtab_read): Cast the integer s_sclass to a long before
casting it to a pointer.
2001-03-26 02:50:46 +00:00
Elena Zannoni
b9179dbce9
2001-03-25 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
...
From Andrew Cagney <ac131313@redhat.com>
* coffread.c (coff_symtab_read): Initialize
``fcn_first_line_addr''. Check that the ``.bf'' always preceeds
the ``.ef'' info.
* dbxread.c (find_text_range): Initialize ``start'' and ``end''.
2001-03-26 02:48:23 +00:00
Jim Blandy
2adab5d0b2
Revert previous change, committed to trunk accidentally.
2001-03-24 03:23:20 +00:00
Jim Blandy
9e40428556
A single-file branch to help me keep things straight while adapting
...
GDB to the GNU V3 C++ ABI.
* c-typeprint.c: Commit Dan Berlin's changes.
2001-03-24 03:21:46 +00:00
Andrew Cagney
64c4637f92
* config/sparc/tm-sp64.h (GDB_MULTI_ARCH): Down grade to
...
GDB_MULTI_ARCH_PARTIAL from two. SOFTWARE_SINGLE_STEP is not
multi-arch.
* gdbarch.sh (SOFTWARE_SINGLE_STEP): Add.
* gdbarch.h, gdbarch.c: Re-generate.
* target.h (SOFTWARE_SINGLE_STEP_P)
(SOFTWARE_SINGLE_STEP): Delete macro definitions.
2001-03-24 02:07:49 +00:00
Andrew Cagney
61a0eb5b8e
Re-vamp the register code so that a lot more is routed through
...
{read,write}_register_gen. Hook that function with multi-arch.
2001-03-24 01:26:09 +00:00
Jim Blandy
c2bd2ed9a6
* stabsread.c (read_cpp_abbrev): Properly construct the names of
...
virtual function table pointer fields.
2001-03-24 00:42:59 +00:00
Andrew Cagney
c0e61796d0
* defs.h (xfree, mcalloc, mmalloc, mrealloc, mfree, xmmalloc,
...
xmrealloc): Move existing declarations to the one place and
re-order to be consistent.
(xmcalloc, xmfree): Declare.
(xmmalloc, xmrealoc): Assume ISO-C - use size_t and void* in
declaration.
* utils.c (size_t): Delete #ifdef defining size_t.
(mmalloc, mrealloc, mcalloc, mfree): Re-order.
(mmalloc, mrealloc, mcalloc): Document as only calls in GDB
corresponding malloc, realloc, calloc.
(mfree): Call free directly.
(xmmalloc, xmrealloc): Clean up. Assume ISO-C.
(xmcalloc, xmfree): New functions. Copy old xcalloc and xfree
function bodies to here.
(xcalloc, xfree): Call xmcalloc and xmfree respectfully.
2001-03-23 23:39:57 +00:00
Andrew Cagney
c65ecaf37b
Fix -Werror -Wuninitialized warnings.
2001-03-23 22:48:44 +00:00
Mark Kettenis
207e433e1d
* config/i386/nm-i386.h: Fix formatting and change reference to
...
i386-tdep.c to i386-nat.c.
2001-03-23 16:17:45 +00:00
David Smith
6c5cfe5b67
2001-03-23 David Smith <dsmith@redhat.com>
...
* configure.in: Corrected spelling errors.
* configure: Regenerated.
2001-03-23 16:05:29 +00:00
Andrew Cagney
5300940c68
Update list of obsolete targets.
2001-03-23 01:14:10 +00:00
Andrew Cagney
17e78a56e2
Obsolete stuff.c and kdb-start.c.
2001-03-23 00:58:48 +00:00
Andrew Cagney
41899c0412
* config/pa/xm-hppah.h (HPPA_COMPILER_BUG): Delete. GDB only
...
compiles using an ISO-C compiler.
(MALLOC_INCOMPATIBLE): Ditto.
* linespec.c (decode_line_1): Delete hack to work around
HPPA_COMPILER_BUG.
2001-03-23 00:41:02 +00:00
Andrew Cagney
8866554466
-Wuninitialized fixes.
2001-03-22 23:58:37 +00:00
Andrew Cagney
a2061976f9
Cleanup remote protocol section. Add notes on `!'',
`q'' and the
...
non-use of the continue address.
2001-03-22 14:59:09 +00:00
Eli Zaretskii
e24d4c64ff
* config/i386/nm-go32.h <top level>: Don't include nm-i386v.h,
...
include nm-i386.h instead.
(TARGET_HAS_HARDWARE_WATCHPOINTS, HAVE_CONTINUABLE_WATCHPOINT)
(TARGET_CAN_USE_HARDWARE_WATCHPOINT, STOPPED_BY_WATCHPOINT)
(TARGET_REGION_OK_FOR_HW_WATCHPOINT, DECR_PC_AFTER_HW_BREAK)
(target_stopped_data_address, target_insert_watchpoint)
(target_remove_watchpoint, target_insert_hw_breakpoint)
(target_remove_hw_breakpoint): Don't define.
(I386_USE_GENERIC_WATCHPOINTS, I386_DR_LOW_SET_CONTROL)
(I386_DR_LOW_SET_ADDR, I386_DR_LOW_RESET_ADDR)
(I386_DR_LOW_GET_STATUS): Define to call appropriate go32_*
functions from go32-nat.c.
* config/i386/go32.mh (NATDEPFILES): Add i386-nat.o.
* go32-nat.c <top level>: Remove prototypes for watchpoint-
related functions. Remove definitions of watchpoint-related
macros.
(go32_mourn_inferior): Call i386_cleanup_dregs instead of the
private cleanup_dregs function.
(cleanup_dregs, go32_insert_watchpoint)
(go32_insert_aligned_watchpoint, go32_handle_nonaligned_watchpoint)
(go32_remove_watchpoint, go32_remove_aligned_watchpoint)
(go32_region_ok_for_watchpoint, go32_stopped_by_watchpoint)
(go32_remove_hw_breakpoint, go32_insert_hw_breakpoint): Remove.
(go32_set_dr, go32_set_dr7, go32_get_dr6): New functions.
2001-03-22 09:35:19 +00:00
Kevin Buettner
c26e1c2b79
* ia64-tdep.c (fetch_instruction): Warn about slot numbers greater
...
than two instead of generating an error.
2001-03-22 02:11:11 +00:00
Jim Blandy
272ba48f53
*** empty log message ***
2001-03-22 01:01:05 +00:00
Jim Blandy
2c63a96028
* cp-valprint.c: Bring formatting into line with GNU coding standards.
2001-03-22 00:58:00 +00:00
Mark Kettenis
84346e11ea
Make Linux use the new unified support for hardware breakpoints
...
and watchpoints on x86 targets.
* i386-linux-nat.c: Doc fixes. Include "gdb_assert.h".
[HAVE_SYS_DEBUGREG_H]: Include <sys/debugreg.h>.
(DR_FIRSTADDR, DR_LASTADDR, DR_STATUS, DR_CONTROL): Define to
appropriate value if not already defined.
(register_u_addr): New function.
(kernel_u_size): New function.
(i386_linux_dr_get, i386_linux_dr_set): New functions.
(i386_linux_dr_set_control, i386_linux_dr_set_addr,
i386_linux_reset_addr, i386_linux_dr_get_status): New functions.
* config/i386/nm-linux.h: Don't include "nm-i386v.h".
(I386_USE_GENERIC_WATCHPOINTS): Define and include "nm-i386.h".
(TARGET_HAS_HARDWARE_WATCHPOINTS,
TARGET_CAN_USE_HARDWARE_WATCHPOINTS, HAVE_CONTINUABLE_WATCHPOINT,
STOPPED_BY_WATCHPOINT, target_insert_watchpoint,
target_remove_watchpoint): Remove macros.
(i386_stopped_by_watchpoint, i386_insert_watchpoint,
i386_remove_watchpoint): Remove prototypes.
(register_u_addr): New prototype.
(REGISTER_U_ADDR): Define in terms of register_u_addr.
(i386_linux_dr_set_control, i386_linux_dr_set_addr,
i386_linux_reset_addr, i386_linux_dr_get_status): New prototypes.
(I386_DR_LOW_SET_CONTROL, I386_DR_LOW_SET_ADDR,
I386_DR_LOW_RESET_ADDR, I386_DR_LOW_GET_STATUS): New macros.
* config/i386/linux.mh (NATDEPFILES): Replace i386v-nat.o with
i386-nat.o.
2001-03-21 21:22:49 +00:00
Jim Blandy
13b5765709
* gdb/linespec.c (find_methods): Whitespace differences aren't
...
significant in *un*mangled method names. Use strcmp_iw to compare
them, not STREQ. (Fix from Daniel Berlin.)
* gdb/testsuite/gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
unmangled operator names.
2001-03-21 20:51:16 +00:00
Andrew Cagney
eee30e78fd
* gdbarch.sh: Allow a non- multi-arch target to override a
...
predicate.
* gdbarch.h: Regenerate.
2001-03-21 19:47:44 +00:00
Andrew Cagney
b77be6cfae
Avoid use of ``if ! program''.
2001-03-21 19:25:03 +00:00
Andrew Cagney
379d08a1d4
* target.h (enum target_signal): Move definition from here.
...
* defs.h (enum target_signal): To here.
* config/arc/tm-arc.h (arc_software_single_step): Change type of
first parameter to enum target_signal.
* config/rs6000/tm-rs6000.h (rs6000_software_single_step): Ditto.
* config/sparc/tm-sparc.h (sparc_software_single_step): Ditto.
* rs6000-tdep.c (rs6000_software_single_step): Update.
2001-03-21 18:31:48 +00:00
Andrew Cagney
64485362e8
* frame.h (SIZEOF_FRAME_SAVED_REGS): Report an error if macro
...
already defined.
From 2000-08-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>:
* stabsread.c (define_symbol): A parameter ('R'), a local ('r'),
or a reference ('a') can be in a pseudo register.
* infcmd.c (do_registers_info): Must take into account the pseudo
registers to print their value.
(registers_info): Likewise.
* stack.c (frame_info): Likewise.
* frame.h (SIZEOF_FRAME_SAVED_REGS): Save the pseudo registers.
2001-03-21 16:42:39 +00:00
Eli Zaretskii
9742079a31
* gdbint.texinfo (Algorithms): New section "Watchpoints" and new
...
subsection "x86 Watchpoints".
(Target Architecture Definition): Document
I386_USE_GENERIC_WATCHPOINTS and TARGET_HAS_HARDWARE_WATCHPOINTS.
(Native Debugging): Document I386_USE_GENERIC_WATCHPOINTS.
2001-03-21 11:39:23 +00:00
Eli Zaretskii
52b9821179
Unified support for hardware breakpoints and watchpoints on
...
x86 targets:
* config/i386/nm-i386.h: New file.
* config/i386/nm-i386.h: (i386_cleanup_dregs)
(i386_insert_watchpoint, i386_remove_watchpoint)
(i386_region_ok_for_watchpoint, i386_stopped_by_hwbp)
(i386_stopped_data_address, i386_insert_hw_breakpoint)
(i386_remove_hw_breakpoint): Declare prototypes.
[I386_USE_GENERIC_WATCHPOINTS] (TARGET_CAN_USE_HARDWARE_WATCHPOINT):
Define if not already defined.
(TARGET_REGION_OK_FOR_HW_WATCHPOINT, HAVE_CONTINUABLE_WATCHPOINT)
(STOPPED_BY_WATCHPOINT, target_stopped_data_address)
(target_insert_watchpoint, target_remove_watchpoint)
(target_insert_hw_breakpoint, target_remove_hw_breakpoint): Define
to call the appropriate i386_* functions.
* i386-nat.c: New file.
* i386-nat.c (I386_DR_CONTROL_MASK, I386_DR_LOCAL_ENABLE)
(I386_DR_GLOBAL_ENABLE, I386_DR_DISABLE, I386_DR_SET_RW_LEN)
(I386_DR_GET_RW_LEN, I386_DR_WATCH_HIT): New macros.
(dr_mirror, dr_status_mirror, dr_control_mirror, dr_ref_count)
(maint_show_dr): New variables.
(i386_cleanup_dregs, i386_show_dr, i386_length_and_rw_bits)
(i386_insert_aligned_watchpoint, i386_remove_aligned_watchpoint)
(i386_handle_nonaligned_watchpoint, i386_insert_watchpoint)
(i386_remove_watchpoint, i386_region_ok_for_watchpoint)
(i386_stopped_data_address, i386_stopped_by_hwbp)
(i386_insert_hw_breakpoint, i386_remove_hw_breakpoint): New
functions.
(_initialize_i386_nat): New function.
[I386_USE_GENERIC_WATCHPOINTS]: Add new maint command
`show-debug-regs', sets maint_show_dr to non-zero value and
activates debugging print-outs in functions which insert, remove,
and test watchpoints and hardware breakpoints.
* Makefile.in (i386-nat.o): New target.
(ALLDEPFILES): Add i386-nat.o.
2001-03-21 11:36:58 +00:00
Mark Kettenis
28e9e0f00d
* i386-tdep.c: Add back _initialize_i386_tdep prototype with
...
appropriate comment.
2001-03-21 11:22:24 +00:00
Kevin Buettner
e40eccb4fb
Update Linux/Alpha port to use new Linux threads support.
2001-03-20 21:40:47 +00:00
Jim Blandy
bea7bb93ff
* Makefile.in: Clean up dependencies on ../include/demangle.h.
...
(demangle_h): New variable.
(jv-typeprint.o, jv-valprint.o, linespec.o): Use it.
2001-03-20 21:23:38 +00:00
Andrew Cagney
b0ed35899a
Change SOFTWARE_SINGLE_STEP_P into SOFTWARE_SINGLE_STEP_P().
2001-03-20 18:16:28 +00:00
Andrew Cagney
df087c6239
Replace abort() with internal_error().
2001-03-20 17:48:17 +00:00
Andrew Cagney
8e2eec6299
Zap -Wuninitialized warnings.
2001-03-20 17:19:04 +00:00
Jim Blandy
8bd1f2c64c
* linespec.c (find_methods): Just call CHECK_TYPEDEF on t, rather
...
than asking for sym_class's type; that's circuitous. Remove
sym_class, since the last use of it is gone.
2001-03-20 16:17:22 +00:00
Jim Blandy
754cbe1c31
* gdb.threads/linux-dp.exp: Recognize an additional message
...
generated by GDB when it doesn't understand how to debug threads
on the target system.
2001-03-20 15:54:34 +00:00
Eli Zaretskii
c97fe386ef
* breakpoint.c (print_it_typical) <bp_access_watchpoint> [UI_OUT]:
...
Correct the order of calls to ui_out_field_string and
ui_out_list_begin when bs->old_val is NULL.
2001-03-20 09:46:00 +00:00
Kevin Buettner
486363b69b
Conditionally include nlist.h in solib-legacy.c for older *BSD systems.
2001-03-20 02:57:42 +00:00
Kevin Buettner
087bb2e240
Fix ``make'' problems when building cross debugger.
2001-03-20 02:37:55 +00:00
Andrew Cagney
3c37485b16
malloc() -> xmalloc.
...
Move malloc() decl to utils.c
2001-03-20 01:37:10 +00:00
Andrew Cagney
0e52036f1f
Move realoc() decl to utils.c. s/realloc()/xrealloc()/.
2001-03-20 00:54:43 +00:00
Andrew Cagney
81b8eb809e
Move free() decl to utils.c.
2001-03-20 00:28:23 +00:00
Kevin Buettner
8cca004af1
Add proc-service.o to NATDEPFILES.
2001-03-20 00:05:04 +00:00
Andrew Cagney
cf4eee44fd
Zap __STDC__ references.
2001-03-19 23:31:41 +00:00
Andrew Cagney
1c5b31ef69
* TODO: List known problems with TUI.
2001-03-19 23:19:23 +00:00
Andrew Cagney
3a0c66d493
Jimmy Guo stepping down.
2001-03-19 21:16:01 +00:00
Andrew Cagney
ce359b09e5
* remote.c (remote_cisco_section_offsets): Do not cast result from
...
bfd_get_section_name.
(compare_sections_command): Ditto.
(remote_cisco_section_offsets): Make ``p'' a const pointer.
(compare_sections_command): Ditto for ``sectname''.
2001-03-19 21:01:06 +00:00
Andrew Cagney
0b3f98d350
* valops.c (hand_function_call): Simplify computation of the
...
address of the pushed argument.
2001-03-19 20:08:16 +00:00
Andrew Cagney
7451d02767
* p-exp.y (parse_number): Avoid shift overflow when ``long''.
...
Code copied from c-exp.y.
2001-03-19 19:05:21 +00:00
Andrew Cagney
177495c907
Document a native system printing output outside of the MI as a known
...
bug.
2001-03-19 18:20:04 +00:00
Kevin Buettner
fb70ab0ca5
Fix solib support so that non-svr4-solib-host x svr4-solib-target will work.
2001-03-19 07:01:03 +00:00
Kevin Buettner
d45fe813da
Fix solib support so that non-svr4-solib-host x svr4-solib-target will work.
2001-03-19 05:46:27 +00:00
Kevin Buettner
8aa16b78d8
Fix NetBSD 1.4 build problem.
2001-03-19 05:15:32 +00:00
Michael Chastain
559e75c07a
2001-03-17 Michael Chastain <chastain@redhat.com>
...
* win32-nat.c (child_attach): check args for NULL before passing
to strtoul. This fixes PR gdb/43.
2001-03-18 21:35:58 +00:00
Mark Kettenis
7daede3b53
* i387-nat.h: Doc Fix.
2001-03-17 23:02:10 +00:00
Mark Kettenis
fc3389707e
* i386-tdep.c: Fix formatting.
...
(i386_get_frame_setup, i386_follow_jump, codestream_read,
codestream_seek, codestream_fill, skip_trampoline_code,
gdb_print_insn_i386, _initialize_i386_tdep): Remove redundant
prototypoes.
2001-03-17 22:28:33 +00:00
Mark Kettenis
e3c6d36d49
* config/i386/tm-linux.h (TARGET_ANALYZE_FLOATING): Remove. It's
...
no longer used. Also remove associated FIXME.
2001-03-17 22:24:00 +00:00
Andrew Cagney
4a5c6a1dd9
Add support for m/M methods - pure multi-arch. These do not have
...
macros and take a gdbarch parameter.
2001-03-17 00:31:22 +00:00
J.T. Conklin
7256e1a5bb
* config/h8300/tm-h8300.h (FRAME_ARGS_ADDRESS): Changed to use
...
h8300_frame_args_address from frame_args_address.
(FRAME_LOCALS_ADDRESS): Changed to use h8300_frame_locals_address
from frame_locals_address.
(PRINT_REGISTER_HOOK): Changed to use h8300_print_register_hook
from print_register_hook.
(h8300_frame_args_address): Declare.
(h8300_frame_find_saved_regs): Declare.
(h8300_frame_locals_address): Declare.
(h8300_frame_saved_pc): Declare.
(h8300_pop_frame): Declare.
(h8300_print_register_hook): Declare.
* h8300-tdep.c (h8300_frame_find_saved_regs): Removed declaration.
(h8300_frame_args_address): Renamed from frame_args_address.
(h8300_frame_locals_address): Renamed from frame_locals_address.
(h8300_pop_frame): Renamed from pop_frame.
(h8300_print_register_hook): Renamed from print_register_hook.
-------------------------------------------------------------------
2001-03-16 22:34:46 +00:00
Michael Chastain
f266096bea
2001-03-12 Michael Chastain <chastain@redhat.com>
...
* gdb.c++/derivation.exp: Use the 'runto' library function.
2001-03-16 20:04:02 +00:00
Michael Chastain
cac3c2ff11
2001-03-12 Michael Chastain <chastain@redhat.com>
...
* gdb.c++/annota2.exp: Fix regular expression for "post-query".
2001-03-16 20:00:04 +00:00
Kevin Buettner
435b259cb0
Change type of ``storage_needed'' from unsigned int to long.
2001-03-16 18:06:44 +00:00
Michael Chastain
b6c11a24b3
2001-02-24 Michael Chastain <chastain@redhat.com>
...
* gdb.c++/ref-types.exp: Change handwritten code to library
function 'runto'.
2001-03-16 17:59:58 +00:00
Orjan Friberg
6bae5bceb3
2001-03-16 Orjan Friberg <orjanf@axis.com>
...
* gdb.base/signals.exp: Set count to 0 explicitly.
2001-03-16 09:05:16 +00:00
Orjan Friberg
b7844da629
2001-03-16 Orjan Friberg <orjanf@axis.com>
...
* gdb.base/signals.exp: Set count to 0 explicitly.
2001-03-16 08:57:44 +00:00
Kevin Buettner
80117be270
Misc. cleanups.
2001-03-16 03:52:12 +00:00
Mark Salter
880a15ee85
*** empty log message ***
2001-03-15 21:47:38 +00:00
Mark Salter
f949823c68
(gdb_load): Add support for additional target_info: gdb_download_size
...
and gdb_load_timeout.
2001-03-15 21:46:57 +00:00
Mark Salter
0015fd9aa4
*** empty log message ***
2001-03-15 18:51:56 +00:00
Mark Salter
269a569e35
(gdb_target_cmd): Add explicit error return.
...
(gdb_target_monitor): Add check of gdb_target_cmd return value.
2001-03-15 18:51:25 +00:00
Martin Hunt
77cd5909d2
2001-03-15 Martin Hunt <hunt@redhat.com>
...
* linespec.c (decode_line_1): Remove trailing quote
when parsing double quotes.
2001-03-15 18:02:14 +00:00
Kevin Buettner
f7f5a202bc
Pass NULL for the mem_attrib argument in the to_xfer_memory calls.
2001-03-15 17:42:00 +00:00
Andrew Cagney
0d35ddbaee
Add list of targets being obsoleted.
2001-03-15 17:06:00 +00:00
Andrew Cagney
043780a1fb
Add ``attrib'' parameter to *xfer_memory() functions.
2001-03-15 16:55:15 +00:00
Andrew Cagney
9b9c068d47
Note Harris 88k is obsolete in news file.
2001-03-15 01:07:51 +00:00
Andrew Cagney
f88e2c5226
Include regcache.h
2001-03-14 23:23:16 +00:00
Andrew Cagney
0981ead9af
Update target list.
2001-03-14 22:05:34 +00:00
Keith Seitz
91c1720e68
* linespec.c (decode_line_1): Skip argptr over a leading
...
double quote. Prevents alloc of 0 bytes and memcpy of -1 bytes.
2001-03-14 18:36:45 +00:00
Kevin Buettner
3cc122b3fe
Add entry of ia64-aix-nat.c.
2001-03-14 18:21:04 +00:00
Andrew Cagney
5bb367b1d9
Eliminate some uses of __STDC__.
2001-03-14 16:42:30 +00:00
Andrew Cagney
a728f04251
Eliminate ARCH_NUM_REGS.
2001-03-13 23:31:14 +00:00
Fernando Nasser
f48ff60ac8
2001-03-13 Fernando Nasser <fnasser@redhat.com>
...
From Steven Johnson <sjohnson@neurizon.net>
* cli/cli-script.c (define_command): Fix setting of post hooks.
2001-03-13 22:29:14 +00:00
Mark Kettenis
305d65cac6
* i386-linux-tdep.c: Fix formatting and clarify comments.
...
(i386_linux_svr4_fetch_link_map_offsets): Use NULL instead of 0
where appropriate.
2001-03-13 12:42:08 +00:00
Andrew Cagney
bf62e5b49c
* gnu-nat.c: Include "gdb_assert.h" instead of <assert.h>.
...
(proc_update_sc): Use gdb_assert instead of assert.
(proc_abort): Ditto.
(inf_set_step_thread): Ditto.
(gnu_wait): Ditto.
(S_exception_raise_request): Ditto.
(gnu_terminal_init_inferior): Ditto.
2001-03-13 00:51:40 +00:00
Kevin Buettner
21479deda0
Cleanup solib-svr4.c by moving legacy code out to its own file.
2001-03-10 06:17:24 +00:00
Kevin Buettner
d7fa9de08d
Committed.
2001-03-10 01:22:11 +00:00
Andrew Cagney
f8241bd143
Move Philip Blundell to Write After Approval list.
2001-03-09 23:58:24 +00:00
Keith Seitz
e6b4b0c29a
* MAINTAINERS: Add myself to write after approval list.
2001-03-09 22:30:36 +00:00
Mark Kettenis
96836138dc
* i387-tdep.c (print_i387_status_word): Fix printing of Stack
...
fault flag. It is bit 6 of the x87 FPU status word, not bit 7.
2001-03-09 16:14:55 +00:00
Andrew Cagney
1b59432770
Obsolete harris 88k target.
2001-03-09 03:56:03 +00:00
Andrew Cagney
4a32a1e416
Delete make rules for obsolete files.
2001-03-09 03:36:07 +00:00
David Taylor
fc33412a6a
* gdb.base/annota1.exp: Move test of isnative to earlier in the
...
file -- to prevent failing when the compile fails but we have no
intention of running the tests anyway.
* gdb.base/long_long.exp: Test target_info for no_long_long, skip
tests if set.
* gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
integers.
* gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
* gdb.c++/namespace.exp: Ditto.
Fix PR gdb/16.
2001-03-08 21:09:23 +00:00
David Taylor
24285e3a2b
Add comment (part of immediately previous commit).
2001-03-08 20:51:38 +00:00
David Taylor
ec9a34493d
* stack.c (parse_frame_specification): For one argument case,
...
handle the situation where the argument is an integer, not an
address -- arguably the most common case. This matters on
targets where pointers and addresses are different.
2001-03-08 20:45:22 +00:00
Andrew Cagney
a50c34dcb9
* TODO: Revise 5.1 list. Delete PARAMS task. Add coding standard
...
review. Clarify GNU/LINUX/sparc. Move other tasks to 5.2 or
general.
2001-03-08 15:13:00 +00:00
Andrew Cagney
cfc046cf08
Doco SID + GDB + Solaris 8 broken.
2001-03-08 03:19:59 +00:00
Orjan Friberg
115f06de3d
2001-03-07 Orjan Friberg <orjanf@axis.com>
...
* gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
* gdb.base/pointers.exp: Relax pattern match of decimals.
2001-03-07 17:29:58 +00:00
Orjan Friberg
1b3c55407c
2001-02-26 Orjan Friberg <orjanf@axis.com>
...
* gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
* gdb.base/pointers.exp: Relax pattern match of decimals.
2001-03-07 17:21:43 +00:00
Mark Kettenis
39424bef91
* defs.h: Provide prototypes for floatformat_is_negative,
...
floatformat_is_nan and floatformat_mantissa.
* utils.c: Include "gdb_assert.h".
(floatformat_is_negative): New function.
(floatformat_is_nan): New function.
(floatformat_mantissa): New function.
* valprint.c: Include "floatformat.h".
(print_floating): Get rid of the Linux-specific
TARGET_ANALYZE_FLOATING macro and rewrite NaN detection with the
help these new functions. Print NaN's in a format conforming to
ISO C99.
2001-03-07 16:09:03 +00:00
Eli Zaretskii
7a1bd56a08
* top.c (init_main): Make `set history file name' complete on file
...
names.
2001-03-07 07:21:13 +00:00
J.T. Conklin
21a12a30df
* Makefile.in (LINTFLAGS): Update to contain all of the macros
...
which define include paths used when compiling.
* util.c (savestring, msavestring): Change type of length argument.
* defs.h (savestring, msavestring): Update to match.
2001-03-07 03:10:15 +00:00
J.T. Conklin
b47218fbce
Remove local change that wasn't supposed to be committed.
2001-03-07 03:00:33 +00:00
J.T. Conklin
5565b5569b
2001-03-06 J.T. Conklin <jtc@redback.com>
...
* symtab.h (decode_line_1): Removed declaration.
* symfile.c (#include <assert.h>): Removed.
* arch-utils.c (#include <ctype.h>): Removed.
* c-typeprint.c: Likewise.
* dbxread.c: Likewise.
* gdbtypes.c: Likewise.
* target.c: Likewise.
* os9kread.c: Likewise.
* c-valprint.c (#include "demangle.h"): Removed.
* ch-typeprint.c: Likewise.
* eval.c: Likewise.
* f-typeprint.c: Likewise.
* f-valprint.c: Likewise.
* m2-typeprint.c: Likewise.
* typeprint.c: Likewise.
* p-typeprint.c: Likewise.
* valarith.c: Likewise.
* valprint.c: Likewise.
* m2-typeprint.c (#include "gdb_string.h"): Removed.
* nlmread.c: Likewise.
* mdebugread.c (#include "gdb-stabs.h"): Removed.
* minsyms.c: Likewise.
* mipsread.c: Likewise.
* nlmread.c: Likewise.
* m2-typeprint.c (#include "obstack.h"): Removed.
* m2-valprint.c: Likewise.
* event-loop.c (#include <setjmp.h>): Removed.
2001-03-07 02:57:08 +00:00
Stan Shebs
e8be95aefe
* MAINTAINERS: Remove self from specific maintenance domains
...
(macos, gdbserver, documentation, testsuite).
2001-03-06 19:24:29 +00:00
Kevin Buettner
b6ba6518e9
Update/correct copyright notices.
2001-03-06 08:22:02 +00:00
Kevin Buettner
8a5c92d309
Fix whitespace problem in my most recent entry.
2001-03-06 00:55:19 +00:00
Kevin Buettner
596c9d4b8f
Configury changes for AIX5/IA-64.
2001-03-06 00:52:31 +00:00
Michael Chastain
60e012f18d
Reverted revision 1.2.
2001-03-05 23:40:47 +00:00
Michael Chastain
997079667f
Revert revisions 1.81, 1.82, 1.83, 1.84, and 1.85.
2001-03-05 23:37:38 +00:00
Michael Chastain
8ffcb692e6
Revert revision 1.2.
2001-03-05 23:33:17 +00:00
Andrew Cagney
eccbb20dda
* TODO (GDB 5.1 Known Problems): Document z8k as broken.
2001-03-05 22:22:57 +00:00
Christopher Faylor
61e2d1f302
clarify my recent entry.
2001-03-05 17:03:03 +00:00
Christopher Faylor
9ff2efe549
* wince.c: Change realloc to xrealloc throughout.
...
(handle_load_dll): Use void * rather than PTR.
2001-03-05 16:59:54 +00:00
Andrew Cagney
58841d58e5
* ocd.h (ocd_xfer_memory): Add ``attrib'' parameter.
...
* ocd.c (ocd_xfer_memory): Ditto.
* ser-ocd.c (ocd_setstopbits): New function. Add to ocd_ops.
* MAINTAINERS: Document powerpc-eabi and powerpcle-eabi as
buildable with ,-Werror.
* Makefile.in (symfile_h): Define.
(mcore-tdep.o): Add $(symfile_h), $(gdbcore_h) and $(inferior_h).
* mcore-tdep.c: Include "symfile.h", "gdbcore.h" and "inferior.h".
* MAINTAINERS: Document mcore-elf and mcore-pe as buildable with
,-Werror.
* dsrec.c (make_srec): Fix internal_error fmt arg.
* MAINTAINERS: Document i960-coff as buildable with ,-Werror.
2001-03-05 16:38:07 +00:00
Michael Chastain
6cd43bc59e
Obvious fix: in an entry for 1997-02-01, expand wildcard to explicit
...
list of files actually modified.
2001-03-04 22:23:30 +00:00
Michael Chastain
af6704f764
Obvioux fix: in an entry for 1997-06-29, expand wildcard to explicit
...
list of files actually modified.
2001-03-04 22:08:49 +00:00
Michael Chastain
5adc7e6d3b
Obvious fix: in an entry for 1997-09-10, expand wildcard to explicit
...
list of files actually modified.
2001-03-04 21:41:15 +00:00
Michael Chastain
7f8890b962
Obvious fix. Add missing ChangeLog entry for gdb.c++/ovldbreak.exp
...
change on 2001-01-28. Embarrassing!
2001-03-04 21:23:05 +00:00
Michael Chastain
f48893aa08
Obvious fix: in an entry for 2001-02-11, change "gdb.base/cplusfuncs.exp"
...
to "gdb.c++/cplusfuncs.exp".
2001-03-04 21:15:17 +00:00
Michael Chastain
15744ab16c
Obvious fix: in an entry for 1997-02-23, expand wildcard to explicit
...
list of files actually modified.
2001-03-04 20:26:44 +00:00
Michael Chastain
f20b8a29a5
Obvious fix: in entries for 1998-02-10 and 1998-02-06,
...
change "m68k/tm-delta68.h" to "config/m68k/tm-delta68.h".
2001-03-04 18:52:48 +00:00
Michael Chastain
c4e4e46645
Obvious fix: in an entry for 1997-02-11, change "m32r/tm-m32r.h" to
...
"config/m32r/tm-m32r.h".
2001-03-04 18:44:42 +00:00
Kevin Buettner
3cad1ac9a2
* solib-aix5.c (aix5_relocate_main_executable): Don't use ANOFFSET
...
as an lvalue.
2001-03-03 08:31:20 +00:00
Kevin Buettner
d112a051b5
Don't use ANOFFSET as an lvalue.
2001-03-03 08:24:05 +00:00
Andrew Cagney
130c39e6f1
* MAINTAINERS (paper trail): Update.
2001-03-03 03:34:27 +00:00
Andrew Cagney
b9fa2e73d9
Change convention to ``Fix PR gdb/NNNN''
2001-03-03 03:23:50 +00:00