gdbadmin
f1d618edc6
*** empty log message ***
2005-05-05 00:00:05 +00:00
Daniel Jacobowitz
c3b69c04b9
* gdb.threads/linux-dp.exp: Check for *-*-linux-gnu*.
2005-05-04 21:21:42 +00:00
Daniel Jacobowitz
8643e2ad06
* proc-service.c (ps_lgetregs): Search all_processes instead of
...
all_threads.
2005-05-04 19:10:32 +00:00
Daniel Jacobowitz
fc620387c9
* server.c (start_inferior): Change return type to int.
...
(attach_inferior): Change sigptr to int *.
(handle_v_cont, handle_v_requests): Change signal to int *.
(main): Change signal to int.
2005-05-04 18:51:38 +00:00
Mark Kettenis
f8736ddfb1
* config/i386/cygwin.mh (XM_FILE): Remove variable.
...
* config/i386/xm-cygwin.h: Remove file.
2005-05-04 16:29:54 +00:00
gdbadmin
6502566e6e
*** empty log message ***
2005-05-04 00:00:04 +00:00
Paul Gilliam
3c95e6af3b
2004-05-02 Paul Gilliam <pgilliam@us.ibm.com>
...
* lib/gdb.exp (skip_altivec_tests): New function, based on
check_vmx_hw_available from the GCC testsuite.
* lib/gdb.arch/altivec-abi.exp: Use skip_altivec_tests.
* lib/gdb.arch/altivec-regs.exp: Likewise.
2005-05-03 00:41:49 +00:00
gdbadmin
a798f6e0c2
*** empty log message ***
2005-05-03 00:00:02 +00:00
Ben Elliston
8bbde30215
* infrun.c (handle_inferior_event): Update the comment about users
...
of stepped_after_stopped_by_watchpoint.
2005-05-02 23:56:36 +00:00
Jim Blandy
78df6c563d
* gdb.base/auxv.exp: Call 'untested' and return -1 instead of
...
calling gdb_suppress_entire_file.
2005-05-02 20:57:30 +00:00
Mark Kettenis
a561754a23
* gdb.texinfo (Files): Remove documentation for auto-solib-limit.
2005-05-02 20:42:27 +00:00
Eli Zaretskii
514c4d7110
* gdb.texinfo (SVR4 Process Information, The isatty call)
...
(The system call): Don't use foo(N) notation for man pages and
functions.
(Compilation, DJGPP Native): Improve wording.
2005-05-02 20:28:48 +00:00
Corinna Vinschen
079c8cd052
* MAINTAINERS: Remove hint that sh64 doesn't build.
...
* sh64-tdep.c (sh64_push_dummy_call): Cast buf in call to write_memory.
(sh64_do_fp_register): make raw_buffer unsigned.
(sh64_do_register): Ditto.
2005-05-02 15:23:37 +00:00
Mark Kettenis
5ebc08b005
* bsd-uthread.c: Include "solib.h".
...
* Makefile.in (bsd-uthread.o): Update dependencies.
2005-05-02 12:05:11 +00:00
gdbadmin
3a4b8b94a0
*** empty log message ***
2005-05-02 00:00:03 +00:00
Daniel Jacobowitz
5dbe23a34e
* gdbarch.sh (deprecated_current_gdbarch_select_hack): Flush
...
cached frames when changing gdbarch.
* gdbarch.c: Regenerated.
2005-05-01 23:16:46 +00:00
Andrew Cagney
87d088f521
2005-05-01 Andrew Cagney <cagney@gnu.org>
...
* MAINTAINERS: Note that cris, m68k, mn10300, sh64, sparc and vax
do not build.
2005-05-01 23:07:33 +00:00
Eli Zaretskii
2eecc4abe2
(SVR4 Process Information, The isatty call, The system call): Don't use the
...
foo(N) notation for man pages and functions.
2005-05-01 21:27:44 +00:00
Andrew Cagney
5a168c78ef
2005-05-01 Andrew Cagney <cagney@gnu.org>
...
* gdbarch.sh (deprecated_extract_return_value)
(breakpoint_from_pc, deprecated_store_return_value)
(memory_insert_breakpoint, memory_remove_breakpoint): Change type
of buffer to a bfd_byte pointer.
* gdbarch.h, gdbarch.c: Re-generate.
* mem-break.c (memory_insert_breakpoint)
(memory_remove_breakpoint, default_memory_insert_breakpoint)
(default_memory_remove_breakpoint): Update.
* target.h (memory_insert_breakpoint)
(memory_remove_breakpoint, default_memory_insert_breakpoint)
(default_memory_remove_breakpoint): Update declarations.
(struct target_ops): Update to_insert_breakpoint and
to_remove_breakpoint.
* target.c (debug_to_remove_breakpoint)
(debug_to_insert_breakpoint): Update.
* remote-m32r-sdi.c (m32r_remove_breakpoint)
(m32r_insert_breakpoint): Update.
* m32r-tdep.c (m32r_memory_insert_breakpoint)
(m32r_memory_remove_breakpoint): Update.
* remote-e7000.c (e7000_insert_breakpoint)
(e7000_remove_breakpoint): Update.
* remote-rdi.c (arm_rdi_insert_breakpoint)
(arm_rdi_remove_breakpoint): Update.
* remote-sim.c (gdbsim_insert_breakpoint)
(gdbsim_remove_breakpoint): Update.
* exec.c (ignore): Update.
* rs6000-tdep.c (rs6000_extract_return_value): Update.
* ia64-tdep.c (ia64_memory_insert_breakpoint)
(ia64_memory_remove_breakpoint): Update.
* remote-rdp.c (remote_rdp_insert_breakpoint)
(remote_rdp_remove_breakpoint): Update.
2005-05-01 19:58:55 +00:00
Mark Kettenis
e908eab4d8
* somsolib.c, somsolib.h: Remove files.
...
* Makefile.in (somsolib_h): Remove.
(somsolib.o): Remove dependency.
2005-05-01 16:04:24 +00:00
Mark Kettenis
68b9939aec
* fbsd-nat.c: Include <sys/sysctl.h>.
...
(fbsd_pid_to_exec_file): Use KERN_PROC_PATHNAME sysctl if
available. Plug memory leak. Fixes PR gdb/1922.
2005-05-01 10:06:12 +00:00
gdbadmin
5308fd89d5
*** empty log message ***
2005-05-01 00:00:33 +00:00
Daniel Jacobowitz
1690f9cfba
* gdb.threads/staticthreads.exp: Override signal to check for hppa.
...
Slightly relax "sem_post" name checking.
2005-04-30 19:56:47 +00:00
Mark Kettenis
66aba65dca
* solist.h (TARGET_SO_FREE_SO, TARGET_SO_CLEAR_SOLIB)
...
(TARGET_SO_SOLIB_CREATE_INFERIOR_HOOK)
(TARGET_SO_SPECIAL_SYMBOL_HANDLING, TARGET_SO_CURRENT_SOS)
(TARGET_SO_OPEN_SYMBOL_FILE_OBJECT): Remove defines.
* solib.c (solib_data): New variable.
(solib_init, solib_ops): New functions.
(solib_open, solib_map_sections, free_so, update_solib_list)
(solib_add, clear_solib, solib_create_inferior_hook)
(in_solib_dynsym_resolve_code): Call architecture-dependent code
using solib_ops.
(_initialize_solib): Register SOLIB_DATA.
2005-04-30 12:59:57 +00:00
gdbadmin
9ea0d69021
*** empty log message ***
2005-04-30 00:00:06 +00:00
Kevin Buettner
35e08e031b
Fix bugs related to inferior function calls on FRV using the FDPIC ABI.
2005-04-29 21:48:28 +00:00
Paul Gilliam
5ea106f753
2005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
...
* gdb.base/unload.exp: Use new shared library infrastructure.
2005-04-29 21:08:24 +00:00
Paul Gilliam
bf7234cff8
2005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
...
* gdb.base/so-impl-ld.exp: Use new shared library
infrastructure.
2005-04-29 20:45:32 +00:00
Corinna Vinschen
547b869acd
* gdb.asm/asm-source.exp: Add h8300 to supported targets.
...
* gdb.asm/h8300.inc: New file.
2005-04-29 14:22:28 +00:00
Corinna Vinschen
862ba188ef
* MAINTAINERS: Revert h8300 state to un-deleted.
...
* Makefile.in: Re-add h8300-tdep.o dependencies.
* h8300-tdep.c: Slightly rearrange type definitions and functions.
(struct frame_extra_info): Remove.
(struct h8300_frame_cache): Replace locals with differently defined
uses_fp member.
(h8300_unwind_pc): Simplify.
(h8300_unwind_sp): New function.
(h8300_unwind_dummy_id): Simplify.
(h8300_init_frame_cache): New function.
(h8300_is_argument_spill): Use reworked defines for opcode scanning.
(h8300_skip_prologue): Rewrite.
(h8300_alloc_frame_cache): Remove.
(h8300_analyze_frame_setup): Remove.
(h8300_analyze_register_saves): Remove.
(h8300_analyze_prologue): Rewrite.
(h8300_frame_cache): Use h8300_init_frame_cache instead of
h8300_alloc_frame_cache. Use BINWORD instead of constant 4 to
accomodate 16 bit mode. Fix saved_sp and register offset evaluation.
(h8300_frame_this_id): Correctly calculate this_id using saved stack
pointer instead of base.
(h8300_frame_prev_register): Drop needless braces.
(h8300_frame_base_address): New function.
(h8300_frame_base): New frame_base.
(h8300_push_dummy_call): Return correct CFA value.
(h8300h_extract_return_value): Fix 8 byte value handling.
(h8300_use_struct_convention): New function.
(h8300h_use_struct_convention): New function.
(h8300h_store_return_value): Fix 8 byte value handling.
(h8300_return_value): New function.
(h8300h_return_value): New function.
(h8300_extract_struct_value_address): Remove deprecated functionality.
(h8300_push_dummy_code): Remove.
(h8300_gdbarch_init): Replace set_gdbarch_extract_return_value and
set_gdbarch_store_return_value calls by set_gdbarch_return_value.
Remove calls to set_gdbarch_deprecated_fp_regnum,
set_gdbarch_deprecated_extract_struct_value_address,
set_gdbarch_deprecated_use_struct_convention and
set_gdbarch_push_dummy_code.
Add calls to set_gdbarch_unwind_sp and frame_base_set_default.
Slightly rearrange code.
2005-04-29 14:21:22 +00:00
Jim Blandy
3a913e29df
* parse.c (namecopy): Change allocation conventions.
...
(namecopy_size): New variable.
(copy_name): Allocate namecopy using xrealloc, instead of assuming
it has adequate space allocated to it.
(parse_exp_1): Don't try to allocate space for namecopy here.
2005-04-29 00:04:06 +00:00
gdbadmin
d42d3e2349
*** empty log message ***
2005-04-29 00:00:05 +00:00
Paul Gilliam
f07e55f031
2005-04-19 Paul Gilliam <pgilliam@us.ibm.com>
...
* gdb.base/shlib-call.exp: Change to use new shared library
infrastructure.
2005-04-28 23:21:22 +00:00
Paul Gilliam
3cbba3d1cd
2005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
...
* gdb.base/pending.exp: Change to use new shared library
infrastructure.
2005-04-28 23:04:28 +00:00
Paul Gilliam
ed6df20042
2005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
...
* gdb.base/nodebug.exp: Allow for compiling by IBM's xlc compiler
and use test_compiler_info instead of gcc_compiled.
2005-04-28 22:31:33 +00:00
Eli Zaretskii
a955ca7173
* cli/cli-cmds.c (edit_command): If symtab->fullname is not yet
...
set, use symtab_to_fullname, instead of trying to do its job. Use
xstrprintf instead of malloc and sprintf.
2005-04-28 20:32:42 +00:00
Kevin Buettner
46845f5e98
* remote.c (init_remote_state): Eliminate use of
...
deprecated_register_bytes().
2005-04-28 18:15:16 +00:00
Andrew Cagney
8929e59d3f
2005-04-28 Andrew Cagney <cagney@gnu.org>
...
* valops.c (check_field): Make buffer a bfd_byte.
* value.c (unpack_long, unpack_double, unpack_pointer)
(unpack_field_as_long, modify_field): Ditto.
* value.h: Update declarations.
2005-04-28 16:15:19 +00:00
Paul Brook
cade9e545b
2005-04-28 Paul Brook <paul@codesourcery.com>
...
* exceptions.c (print_flush): Handle NULL gdb_stdout_serial.
2005-04-28 14:07:54 +00:00
gdbadmin
135cba24d5
*** empty log message ***
2005-04-28 00:00:33 +00:00
Paul Gilliam
8c8f4ebeff
2005-04-27 Paul Gilliam <pgilliam@us.ibm.com>
...
* gdb.base/annota1.exp : Deal with messages caused by breakpoints in
shared objects being adjusted and update copyright.
2005-04-27 21:45:16 +00:00
Mark Kettenis
ab576d8501
* solib-svr4.c (_initialize_svr4_solib)
...
[SVR4_FETCH_LINK_MAP_OFFSETS]: Don't set non-existent variable
svr4_legacy_fetch_link_map_offsets.
2005-04-27 20:51:52 +00:00
Mark Kettenis
ccf00f2179
* sh-tdep.c (sh_linux_svr4_fetch_link_map_offsets): Remove function.
...
(sh_gdbarch_init): Remove redundant prototype.
* sh-linux-tdep.c: New file.
* config/sh/tm-linux.h (sh_linux_svr4_fetch_link_map_offsets):
Remove prototype.
(SVR4_FETCH_LINK_MAP_OFFSETS): Remove define.
* config/sh/linux.mt (TDEPFILES): Add sh64-tdep.o, remove
solib-legacy.o.
* Makefile.in (sh-linux-tdep.o): New.
2005-04-27 20:48:25 +00:00
Daniel Jacobowitz
607fbc543c
* ChangeLog: Correct some 2003-01-13 dates.
...
* gdb.base/sigbpt.exp, gdb.base/signull.exp, gdb.cp/bs15503.exp,
gdb.cp/exception.exp, gdb.cp/userdef.cc, gdb.cp/userdef.exp,
gdb.mi/mi-console.exp, gdb.mi/mi2-console.exp,
gdb.trace/collection.exp, gdb.trace/passc-dyn.exp,
gdb.trace/tfind.exp: Update copyright years.
2005-04-27 16:35:15 +00:00
Mark Kettenis
4b188b9f37
* solib-svr4.c: Update copyright year. Include "gdb_assert.h".
...
(SVR4_FETCH_LINK_MAP_OFFSETS): Don't define if not already
defined.
(legacy_fetch_link_map_offsets): Remove prototype.
(fetch_link_map_offsets_gdbarch_data): Remove.
(LM_ADDR, LM_NEXT, IGNORE_FIRST_LINK_MAP_ENTRY)
(first_link_map_member, open_symbol_file_object, svr4_current_sos)
(svr4_fetch_objfile_link_map): Call svr4_fetch_link_map_offsets
instead of SVR4_FETCH_LINK_MAP_OFFSETS.
(solib_svr4_data): New variable.
(struct solib_svr4_ops): New.
(solib_svr4_init): New fynction.
(legacy_fetch_link_map_offsets, init_fetch_link_map_offsets):
Remove functions.
(svr4_fetch_link_map_offsets, svr4_have_link_map_offsets): Rewrite
using the new `struct solib_svr4_ops'.
(_initialize_svr4_solib): Replace registration of per-architecture
data. Add temporary hack to set
svr4_legacy_fetch_link_map_offsets if SVR4_FETCH_LINK_MAP_OFFSETS
is set.
* Makefile.in (solib-svr4.o): Update dependencies.
2005-04-27 14:30:15 +00:00
Eli Zaretskii
18999be528
* gdb.texinfo (Backtrace): Describe backtraces with arguments that
...
were optimized away.
2005-04-27 13:02:15 +00:00
gdbadmin
ebf40edefd
*** empty log message ***
2005-04-27 00:00:03 +00:00
Mark Kettenis
4fabe3d5f0
* configure.tgt (*-*-freebsd*): Set gdb_osabi to
...
GDB_OSABI_FREEBSD_ELF. Partial fix for PR gdb/1922.
2005-04-26 21:47:21 +00:00
Andrew Cagney
109c3e397e
2005-04-26 Andrew Cagney <cagney@gnu.org>
...
* remote.c (remote_open_1): Move "ex"'s declaration to where it is
used.
(remote_get_thread_local_address): Use throw_error, include a
printed string.
* linux-thread-db.c (thread_db_get_thread_local_address): Ditto.
* dwarf2loc.c (dwarf_expr_tls_address): Ditto.
* cli/cli-script.c (script_from_file): Mark up throw_error message.
* linespec.c (symtab_from_filename, decode_variable): Ditto.
2005-04-26 14:57:22 +00:00
Andrew Cagney
71fff37b08
2005-04-26 Andrew Cagney <cagney@gnu.org>
...
Rename 'struct exception' to 'struct gdb_exception'.
* wrapper.c: Update.
* varobj.c: Update.
* tui/tui-interp.c: Update.
* remote.c: Update.
* mi/mi-main.c: Update.
* mi/mi-interp.c: Update.
* linux-thread-db.c: Update.
* interps.h: Update.
* interps.c: Update.
* exceptions.h: Update.
* exceptions.c: Update.
* dwarf2loc.c: Update.
* cli/cli-interp.c: Update.
* cli/cli-script.c: Update.
* breakpoint.c: Update.
2005-04-26 05:03:41 +00:00