Hui Zhu
51f4db8353
Fix the date error.
2009-05-06 11:17:52 +00:00
Hui Zhu
8408d2743c
* i386-tdep.c (i386_process_record): Change bzero to memset.
2009-05-06 11:16:40 +00:00
Hui Zhu
e7a8dbfb06
* NEWS: Add item for process record and replay.
2009-05-06 02:32:42 +00:00
Maxim Grigoriev
f6402f18d5
2009-05-05 Maxim Grigoriev <maxim2405@gmail.com>
...
* xtensa-tdep.c (xtensa_frame_cache): Use pc instead of cache->pc.
2009-05-06 00:37:22 +00:00
Michael Snyder
64644d9b8c
2009-05-04 Michael Snyder <msnyder@vmware.com>
...
* NEWS: Add item for reverse debugging commands.
2009-05-05 18:13:37 +00:00
Ulrich Weigand
fb14de7bbd
* inferior.h (read_pc, write_pc): Remove.
...
* regcache.c (read_pc, write_pc): Remove.
* infrun.c (displaced_step_fixup): Use regcache_read_pc instead
of read_pc.
(handle_inferior_event): Use regcache_read_pc instead of read_pc
when determining value of stop_pc. Replace subsequent uses of
read_pc by inspecting already-retrieved stop_pc value.
(keep_going): Use regcache_read_pc instead of read_pc.
* breakpoint.c (watchpoint_check): Use current frame architecture
and PC instead of current_gdbarch and read_pc ().
* tracepoint.c (set_traceframe_context): Replace PC argument
with FRAME argument.
(trace_start_command, finish_tfind_command): Update calls.
(finish_tfind_command): Compare frame IDs to identify transitions
between frames.
(trace_find_pc_command): Use regcache_read_pc instead of read_pc.
* rs6000-nat.c (exec_one_dummy_insn): Pass in regcache instead
of gdbarch. Use regcache_read_pc and regcache_write_pc instead
of read_pc and write_pc.
(store_register): Make regcache argument non-const. Update call
to exec_one_dummy_insn.
* thread.c (switch_to_thread): Use regcache_read_pc instead of read_pc.
* infcmd.c (post_create_inferior): Likewise.
* solib-darwin.c (darwin_solib_create_inferior_hook): Likewise.
* solib-pa64.c (pa64_solib_create_inferior_hook): Likewise.
* solib-sunos.c (sunos_solib_create_inferior_hook): Likewise.
* solib-svr4.c (enable_break, svr4_relocate_main_executable): Likewise.
* linux-fork.c (fork_load_infrun_state): Likewise.
* hppa-hpux-tdep.c (hppa_hpux_push_dummy_code): Likewise.
* record.c (record_wait): Likewise.
* procfs.c (procfs_wait): Likewise.
* remote-mips.c (common_open, mips_wait): Likewise.
* remote-m32r-sdi.c (m32r_resume): Likewise.
* symfile.c (generic_load): Use regcache_write_pc instead of write_pc.
* monitor.c (monitor_create_inferior, monitor_load): Likewise.
* m32r-rom.c (m32r_load, m32r_upload_command): Likewise.
* remote-m32r-sdi.c (m32r_create_inferior, m32r_load): Likewise.
* remote-mips.c (mips_create_inferior, mips_load): Likewise.
* solib-darwin.c: Include "regcache.h".
* solib-pa64.c: Include "regcache.h".
* solib-svr4.c: Include "regcache.h.".
* symfile.c: Do not mention read_pc or write_pc in comments.
* dink32-rom.c: Likewise.
* m32r-rom.c: Likewise.
* mips-tdep.c: Likewise.
2009-05-05 13:24:49 +00:00
Ulrich Weigand
f698437e4b
* fork-child.c (startup_inferior): Move setting stop_pc ...
...
* infcmd.c (post_create_inferior): ... to here.
2009-05-05 13:09:00 +00:00
Pedro Alves
67ce33d768
* go32-nat.c (go32_stop): Delete.
...
(go32_kill_inferior): Rewrite to only call go32_mourn_inferior.
(go32_create_inferior): Don't call go32_stop or
go32_kill_inferior.
(go32_mourn_inferior): Inline go32_stop and go32_kill_inferior
here.
(init_go32_ops): Don't register go32_stop.
2009-05-04 09:54:17 +00:00
Eli Zaretskii
26a4ddaad2
*** empty log message ***
2009-05-02 09:42:12 +00:00
Jan Kratochvil
a11a141613
gdb/
...
* dictionary.c (dict_hashed_vector, dict_hashed_expandable_vector)
(dict_linear_vector, dict_linear_expandable_vector): Fix a comment typo.
2009-05-01 22:39:41 +00:00
Doug Evans
ee78f3e598
* linux-thread-db.c (thread_db_pid_to_str): Delete unused assignment
...
to thread_info.
2009-05-01 22:05:46 +00:00
Eli Zaretskii
299a410e8d
* record.c (_initialize_record): Reformat and clarify doc strings
...
for stop-at-limit and insn-number-max.
2009-05-01 17:57:31 +00:00
Eli Zaretskii
699275c920
* go32-nat.c: Add comments about dirty secrets of DJGPP debugging.
2009-05-01 17:45:43 +00:00
Jan Kratochvil
323427d1cb
gdb/
...
Make specifiable the make_function_type type memory ownership.
* gdbtypes.c (make_function_type): New parameter `objfile', use it
explicitely instead of TYPE-initialized removed local variable
`objfile'. Describe `objfile' it in the function comment.
(lookup_function_type): Update make_function_type callers.
* gdbtypes.h (make_function_type): Update the prototype.
* jv-lang.c (java_link_class_type): Update make_function_type callers.
* dwarf2read.c (read_subroutine_type): Likewise.
* stabsread.c (read_type): Likewise.
2009-05-01 14:43:21 +00:00
Eli Zaretskii
89c9c2eca0
* go32-nat.c (go32_pid_to_str): Call normal_pid_to_str instead of
...
printing a bogus "Thread <main>".
(go32_thread_alive): Don't return 1 for null_ptid.
2009-05-01 08:14:00 +00:00
Eli Zaretskii
15430fc07a
* i386-tdep.c (i386_go32_init_abi): Override the number of
...
registers due to non-support of SSE.
2009-05-01 08:09:16 +00:00
Anthony Green
c7098c4185
Link gdb with moxie sim
2009-05-01 03:20:46 +00:00
Paul Pluzhnikov
25c2f6abe0
2009-04-30 Paul Pluzhnikov <ppluzhnikov@google.com>
...
* elfread.c (elf_symtab_read): Don't assume .data and .rodata
are present.
2009-04-30 21:59:03 +00:00
Hui Zhu
77fcef5176
I386 Linux process record and replay support.
...
* i386-linux-tdep.c (i386_linux_record_tdep): New variable.
This struct has the argument for the function
"record_linux_system_call".
(i386_linux_intx80_sysenter_record): New function. Parse the
system call instruction and call function
"record_linux_system_call" to record execute log.
(i386_linux_init_abi): Initialize "i386_linux_record_tdep".
Set "i386_linux_intx80_sysenter_record" to
"i386_intx80_record" and "i386_sysenter_record".
2009-04-30 03:21:46 +00:00
Hui Zhu
7ad1096851
I386 architecture process record and replay support.
...
* i386-tdep.c (PREFIX_REPZ, PREFIX_REPNZ, PREFIX_LOCK,
PREFIX_DATA, PREFIX_ADDR): New macros. Help decode the i386
instruction set.
(aflag, dflag, override, modrm, mod, reg, rm, ot,
i386_record_pc): New variables. Ditto.
(i386_record_modrm, i386_record_lea_modrm_addr,
i386_record_lea_modrm): New functions. Ditto.
(i386_process_record): New function. Parse the instruction in
address "addr" and record the values of registers and memory
that will be changed by this instruction.
(i386_gdbarch_init): Set "i386_process_record" to GDBARCH
"process_record" interface.
* i386-tdep.h (gdbarch_tdep): New function pointers
"i386_intx80_record" and "i386_sysenter_record" that point to
the function that can record "intx80" and "sysenter" execute
log.
2009-04-30 03:12:17 +00:00
Hui Zhu
96429cc883
* infrun.c (use_displaced_stepping): Return false if process
...
record and replay target is used.
(proceed): Call function "record_not_record_set" if pocess
record and replay target is used.
2009-04-30 03:09:59 +00:00
Hui Zhu
b7f6bf2299
Linux process record and replay support.
...
* Makefile.in (ALLDEPFILES): Add linux-record.c.
(ALL_TARGET_OBS): Add linux-record.o.
* configure.tgt (x86_64-*-linux*): Add linux-record.o.
(i[34567]86-*-linux*): Add linux-record.o.
* linux-record.c, linux-record.h: New file.
2009-04-30 03:04:28 +00:00
Hui Zhu
69d05d3898
Process record and replay target.
...
* Makefile.in (SFILES): Add record.c.
(COMMON_OBS): Add record.o.
* record.c, record.h: New file.
2009-04-30 02:58:37 +00:00
Hui Zhu
81e64f5509
* target.h (strata): New stratum "record_stratum".
2009-04-30 02:55:27 +00:00
Hui Zhu
0407e7127b
* gdbarch.sh (process_record): This interface point to the
...
function that records the inferior execute log.
2009-04-30 02:53:45 +00:00
Doug Evans
c5af0dad33
* i386-nat.c (child_post_startup_inferior): Delete, unused.
2009-04-29 22:25:17 +00:00
Pedro Alves
df2b6d2de9
* breakpoint.c (print_exception_catchpoint): Access `b' directly
...
instead of `b->loc->owner'.
(print_mention_exception_catchpoint): Ditto.
2009-04-29 19:31:58 +00:00
Jan Kratochvil
484086b7e0
gdb/
...
* macrocmd.c (info_macro_command): Print -Dname=value if LINE is zero.
gdb/doc/
* gdb.texinfo (Macros): Note command-line for `info macro'. Append
a new part on command-line defined macros.
gdb/testsuite/
* gdb.base/macscp.exp: New `options' parameter `-DFROM_COMMANDLINE'.
(info_macro): Remova `decimal' declaration. New variable `nonzero'.
Replace all uses of `decimal' by `nonzero'.
(info macro FROM_COMMANDLINE): New test.
2009-04-29 07:51:33 +00:00
Tom Tromey
379a77b548
gdb
...
* c-exp.y (yylex): Handle '[' and ']' like '(' and ')'.
gdb/testsuite
* gdb.base/printcmds.exp (test_printf): Test comma operator in [].
2009-04-28 01:03:24 +00:00
Jerome Guitton
aad80b2683
* symtab.c (append_exact_match_to_sals): New function, extracted
...
from expand_line_sal.
(expand_line_sal): Use append_exact_match_to_sals to append exact
matches. If none found, append all best items.
2009-04-27 11:57:46 +00:00
Jerome Guitton
57a460012a
* main.c (captured_main): Move gdbinit lookups after gdb_init.
2009-04-27 10:24:08 +00:00
Jan Kratochvil
d389af10b7
gdb/
...
PR gdb/9675:
* dwarf2read.c (unsigned_int_compar, inherit_abstract_dies): New.
(read_func_scope): Call inherit_abstract_dies.
gdb/testsuite/
* gdb.cp/abstract-origin.exp, gdb.cp/abstract-origin.cc: New test.
2009-04-27 08:36:17 +00:00
Eli Zaretskii
90b9b5173a
* Makefile.in (ALLDEPFILES): Remove duplicate entries for
...
sparc-sol2-nat.c and sparc-sol2-tdep.c.
2009-04-25 10:05:22 +00:00
Eli Zaretskii
80a0ea0fef
* stack.c (_initialize_stack) <disassemble-next-line>: Doc fix.
2009-04-25 09:42:15 +00:00
Pierre Muller
5ac79d7811
ARI change: Use "/* ARI: rule */" pattern.
...
* utils.c: Update ARI patterns.
* gdb_dirent.h: Likewise.
2009-04-24 22:10:03 +00:00
Anthony Green
d7066cce3b
Add moxie-elf port.
2009-04-24 02:26:01 +00:00
Joel Brobecker
fc84d355b2
Spell my name properly in the last entry :-).
2009-04-23 22:53:54 +00:00
Joel Brobecker
72fcaa051a
* ada-lang.c: Remove an extra empty line. No code change.
2009-04-23 22:52:51 +00:00
Jan Kratochvil
217dc9e25b
gdb/
...
Fix double free on error inserting the breakpoint instruction.
* breakpoint.c (create_breakpoints): Move the
update_global_location_list call to ...
(break_command_really): ... here together with the second local call
both unified after all the cleanups.
2009-04-23 22:38:24 +00:00
Tom Tromey
b14b1491f2
gdb
...
2009-04-23 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
Tom Tromey <tromey@redhat.com>
* configure, config.in: Regenerate.
* configure.ac: Support for relocatable GDB datadir. Use
GDB_AC_WITH_DIR. Always define TARGET_SYSTEM_ROOT_RELOCATABLE.
* acinclude.m4 (GDB_AC_WITH_DIR): New defun.
* top.c (init_main): Add "set data-directory".
* defs.h (gdb_datadir): Declare.
* main.c (gdb_datadir): New global.
(captured_main): Initialize gdb_datadir. Use relocate_directory.
(relocate_path): New function.
(relocate_directory): Likewise.
(get_init_files): Use relocate_path.
(README): Mention --with-gdb-datadir.
gdb/doc
2009-04-23 Tom Tromey <tromey@redhat.com>
* gdb.texinfo (Data Files): New node.
(GDB Files): Update menu.
2009-04-23 21:28:20 +00:00
Joel Brobecker
5e7b5f74c2
* ada-tasks (task_command_1): Call target_find_new_threads.
2009-04-23 18:55:20 +00:00
Joel Brobecker
465f42bbe4
* stack.c (do_gdb_disassembly): Print the exception message if an
...
error was thrown while trying to perform the disassembly.
2009-04-23 18:49:20 +00:00
Jan Kratochvil
3038237c75
gdb/
...
* varobj.c (free_variable): Replace free_current_contents by xfree.
2009-04-22 17:50:54 +00:00
Kazu Hirata
17c1263914
* arm-linux-nat.c (fetch_register, store_register): Use
...
ARM_CPSR_GREGNUM instead of ARM_CPSR_REGNUM.
* arm-linux-tdep.c (arm_linux_supply_gregset,
arm_linux_collect_gregset): Likewise.
* arm-linux-tdep.h (ARM_CPSR_GREGNUM): New.
* arm-tdep.h (ARM_CPSR_REGNUM): Remove.
2009-04-22 15:14:59 +00:00
Hui Zhu
a362e3d3b7
* stack.c (_initialize_stack): Set the default of
...
disassemble-next-line to off.
2009-04-22 06:06:12 +00:00
Tom Tromey
d2596e2e7b
* acinclude.m4: Use AS_HELP_STRING, not AC_HELP_STRING.
...
* configure.ac: Use AS_HELP_STRING, not AC_HELP_STRING.
2009-04-22 00:17:50 +00:00
Andreas Schwab
62e4f60cdb
* configure.ac: Add quotes to not lose brackets in help text.
...
* configure: Rebuild.
2009-04-21 21:01:07 +00:00
Andreas Schwab
82cd387f60
Fix date.
2009-04-21 20:54:33 +00:00
Andreas Schwab
cfd5360553
* configure.ac: Don't postprocess Makefile in config.status.
...
Substitute GDB_NM_FILE. Don't substitute nm_h.
* Makefile.in (GDB_NM_FILE): Substitute.
(TAGS): Use $(GDB_NM_FILE) instead of $(NAT_FILE).
* configure: Regenerate.
* gnulib/Makefile.in: Regenerate.
2009-04-21 20:19:13 +00:00
Joseph Myers
26e251b603
gdb:
...
* configure.ac (--with-datarootdir, --with-docdir, --with-pdfdir,
--with-htmldir): New.
* configure: Regenerate.
gdb/doc:
* configure.ac (--with-datarootdir, --with-docdir, --with-pdfdir,
--with-htmldir): New.
* configure: Regenerate.
* Makefile.in (datarootdir, docdir): Define.
(gdb.dvi, gdb.pdf): Use same -I options as for building gdb.info
instead of $(SET_TEXINPUTS).
(gdbint.dvi, gdbint.pdf): Use same -I options as for building
gdbint.info instead of $(SET_TEXINPUTS).
(gdbint/index.html): Use same -I options as for building
gdbint.info.
(stabs.dvi, stabs.pdf): Use same -I options as for building
stabs.info instead of $(SET_TEXINPUTS).
(stabs/index.html): Use same -I options as for building
stabs.info.
(annotate.dvi, annotate.pdf): Use same -I options as for building
annotate.info instead of $(SET_TEXINPUTS).
(annotate/index.html): Use same -I options as for building
annotate.info.
2009-04-21 20:13:08 +00:00
Tom Tromey
32c1c914bc
* configure: Rebuild.
...
* configure.ac: Use lower case for start of help strings. Clean
up --with-sysroot help.
2009-04-21 18:09:11 +00:00
Tom Tromey
a1220294e5
* configure: Rebuild.
...
* acinclude.m4 (AM_ICONV): Use AC_HELP_STRING.
* configure.ac: Use AC_HELP_STRING. Use upper case for variables
in help.
2009-04-21 17:00:17 +00:00
Pierre Muller
dfc3cd0e77
ARI fix: remove "%p".
...
* ia64-tdep.c (ia64_frame_this_id): Use host_address_to_string function.
(ia64_sigtramp_frame_this_id): Ditto.
(ia64_libunwind_frame_this_id): Ditto.
(ia64_libunwind_sigtramp_frame_this_id): Ditto.
* symmisc.c (maintenance_info_psymtabs): Ditto.
2009-04-21 11:38:38 +00:00
Joseph Myers
29b0e8a24a
gdb:
...
* configure.ac (--with-relocated-sources): New.
* configure, config.in: Regenerate.
* source.c (add_substitute_path_rule): Remove static.
* source.h (add_substitute_path_rule): Declare.
* main.c: Include "source.h".
(captured_main): Add substitution rule if RELOC_SRCDIR.
gdb/doc:
* gdb.texinfo (Source Path): Document --with-relocated-sources.
2009-04-21 10:13:05 +00:00
Pierre Muller
ccabeb57ba
* gnu-nat.h (proc_debug): Add missing continuation line in macro.
2009-04-21 07:35:42 +00:00
David Daney
b941295341
2009-04-20 David Daney <ddaney@caviumnetworks.com>
...
* NEWS: Mention MIPS/Linux hardware watchpoint support.
2009-04-20 David Daney <ddaney@caviumnetworks.com>
* mips-linux-nat.c (command.h, gdbcmd.h, gdb_assert.h): New #includes.
(maint_show_dr, super_close): New variables.
(super_fetch_registers, super_store_registers): Make static.
(PTRACE_GET_WATCH_REGS, PTRACE_SET_WATCH_REGS, W_BIT, R_BIT, I_BIT)
(W_MASK, R_MASK, I_MASK, IRW_MASK, MAX_DEBUG_REGISTER): Define.
(pt_watch_style): Define new enum.
(mips32_watch_regs, mips64_watch_regs, pt_watch_regs, mips_watchpoint):
Define new structs.
(watch_readback_valid, watch_readback, current_watches, watch_mirror):
New variables.
(get_irw_mask, get_reg_mask, get_num_valid, get_watchlo)
(set_watchlo, get_watchhi, set_watchhi, mips_show_dr)
(mips_linux_read_watch_registers, mips_linux_can_use_hw_breakpoint)
(mips_linux_stopped_by_watchpoint, mips_linux_stopped_data_address)
(type_to_irw, fill_mask, try_one_watch)
(mips_linux_region_ok_for_hw_watchpoint, write_watchpoint_regs)
(mips_linux_new_thread, populate_regs_from_watches)
(mips_linux_insert_watchpoint, mips_linux_remove_watchpoint)
(mips_linux_close): New functions.
(_initialize_mips_linux_nat): Register watchpoint functions with
the target_ops. Add show-debug-regs maintenance command.
2009-04-20 David Daney <ddaney@caviumnetworks.com>
* infrun.c (handle_inferior_event): Move gegisters_changed call down.
2009-04-20 21:11:06 +00:00
Pedro Alves
6de3146cda
* NEWS: Mention gdbserver support for x86 Windows CE.
2009-04-19 20:05:23 +00:00
Eli Zaretskii
e424a02ef6
* config/djgpp/fnchange.lst: Fix typos.
2009-04-19 19:38:42 +00:00
Eli Zaretskii
10085bb5ab
Set default host and target charsets in the DJGPP port.
...
* config/djgpp/config.sed (am_cv_langinfo_codeset)
(bash_cv_langinfo_codeset, ac_cv_header_nl_types_h): Set to "yes"
in all configure scripts that define ac_cv_env_CPP_value.
* go32-nat.c (dos_codepage, nl_langinfo): New functions.
Include langinfo.h.
* config/djgpp/nl_types.h: New file.
* config/djgpp/langinfo.h: New file.
* config/i386/go32.mh (MH_CFLAGS): Add $(srcdir)/config/djgpp.
2009-04-19 18:29:34 +00:00
Joseph Myers
2b83188937
gdb:
...
2009-04-18 Carlos O'Donell <carlos@codesourcery.com>
* Makefile.in (MAKEHTML): Set to makeinfo --html.
(MAKEHTMLFLAGS): Set to empty.
gdb/doc:
2009-04-18 Carlos O'Donell <carlos@codesourcery.com>
Joseph Myers <joseph@codesourcery.com>
* Makefile.in (MAKEHTML): Set to makeinfo --html.
(MAKEHTMLFLAGS): Set to empty.
(html__strip_dir): Define.
(HTMLFILES): Define.
(HTMLFILES_INSTALL): Define.
(install-html): Copy new automake rule.
(html): Depend on $(HTMLFILES).
(gdb_toc.html): Rename to gdb/index.html.
(gdbint_toc.html): Rename to gdbint/index.html.
(stabs_toc.html): Rename to stabs/index.html.
(annotate_toc.html): Rename to annotate/index.html.
2009-04-18 17:11:02 +00:00
Eli Zaretskii
d7713ae002
* NEWS: Mention all new set/show commands added since GDB 6.8 was
...
released.
2009-04-18 14:54:00 +00:00
Eli Zaretskii
d647eed6d5
* go32-nat.c (go32_sysinfo): Check if the call to
...
__dpmi_get_capabilities fills the buffer with information, and
don't use the buffer if not.
2009-04-18 08:16:34 +00:00
Tom Tromey
587204947e
* charset.c (_initialize_charset): Add special case for "646".
2009-04-17 23:50:12 +00:00
Joseph Myers
89a34d1b2c
gdb:
...
2009-04-17 Carlos O'Donell <carlos@codesourcery.com>
* configure.ac: AC_SUBST datarootdir, docdir, htmldir, pdfdir.
* configure: Regenerate.
* Makefile.in: Set datarootdir, docdir, htmldir, and pdfdir from
configure substitutions.
(FLAGS_TO_PASS): Add datarootdir, docdir, and htmldir.
gdb/doc:
2009-04-17 Carlos O'Donell <carlos@codesourcery.com>
* Makefile.in: Set pdfdir and htmldir from configure
substitutions.
* configure.ac: AC_SUBST datarootdir, docdir, htmldir, pdfdir.
* configure: Regenerate.
readline:
2009-04-17 Carlos O'Donell <carlos@codesourcery.com>
* Makefile.in: Add html target. Add dummy install-html and
install-pdf targets.
sim:
2009-04-17 Carlos O'Donell <carlos@codesourcery.com>
* Makefile.in: Add dummy install-pdf, html, and
install-html targets.
2009-04-17 17:44:05 +00:00
Pierre Muller
a74ce742ff
ARI fix: Do not use %p, replace by call to host_address_to_string
...
for host pointers.
* darwin-nat.c (darwin_xfer_partial): Apply change.
* gnu-nat.c (inf_continue, gnu_xfer_memory): Ditto.
* gnu-nat.h (proc_debug): Ditto.
* symmisc.c (maintenance_info_symtabs): Ditto.
(maintenance_info_psymtabs): Ditto.
* windows-nat.c (handle_load_dll): Ditto.
(handle_unload_dll, info_w32_command, handle_exception): Ditto.
* xtensa-tdep.c (xtensa_unwind_pc): Ditto.
2009-04-17 15:44:28 +00:00
Joseph Myers
0ca8834fef
* configure.tgt (i[34567]86-*-linux*): Use 64-bit configuration if
...
--enable-64-bit-bfd.
(sparc-*-linux*): Likewise.
2009-04-17 14:22:25 +00:00
Eli Zaretskii
541f1105bc
* go32-nat.c (go32_sysinfo): Update list of Windows versions of
...
the NT family.
2009-04-17 11:59:35 +00:00
Pedro Alves
1554e9be88
* remote.c (remote_query_attached): Fix pasto in packet_ok result
...
checking.
2009-04-16 19:31:03 +00:00
Joel Brobecker
bf75638ec1
Undo the following change. Not correct, after all:
...
* procfs.c (solib_mappings_callback, find_memory_regions_callback):
Fix a compilation warning on mips-irix due to casting from
a pointer of different size.
2009-04-16 18:41:40 +00:00
Joel Brobecker
3705b1c591
* ada-lang.h (ada_adjust_exception_stop, ada_print_exception_stop)
...
(ada_get_current_task, ada_print_exception_breakpoint_nontask)
(ada_print_exception_breakpoint_task, ada_reset_thread_registers):
Remove declaration. These are non-existent functions.
2009-04-16 18:39:36 +00:00
Joel Brobecker
37da21bceb
* procfs.c (solib_mappings_callback, find_memory_regions_callback):
...
Fix a compilation warning on mips-irix due to casting from
a pointer of different size.
2009-04-16 17:25:38 +00:00
Joel Brobecker
6f38eac82e
* ada-lang.c (symtab_for_sym): Delete.
...
(user_select_syms): Use sym->symtab instead of calling symtab_for_sym.
2009-04-16 17:21:06 +00:00
Joel Brobecker
f9bc20b9be
* ada-lang.c (extract_string): Delete.
...
(ada_main_name): Reimplement using target_read_string instead of
extract_string.
2009-04-16 17:16:18 +00:00
Andreas Schwab
335d71d67e
* m68klinux-nat.c: Remove obsolete comment.
...
(fetch_register, store_register): Don't call
gdbarch_cannot_fetch_register or gdbarch_cannot_store_register,
which are always nops here.
2009-04-16 15:26:49 +00:00
Tom Tromey
732f6a935c
gdb
...
* c-lang.c (c_emit_char): Use INTERMEDIATE_ENCODING.
(c_printstr): Likewise.
* charset.c: Include gdb_wait.h.
(make_wchar_iterator): Use INTERMEDIATE_ENCODING.
(find_charset_names): Use pexecute. Handle libiconv's output.
Detect errors.
(_initialize_charset): Use xstrdup.
* gdb_wchar.h: Check HAVE_BTOWC. Split PHONY_ICONV and wchar
cases.
(INTERMEDIATE_ENCODING): New define.
* configure, config.in: Rebuild.
* configure.ac: Check for btowc.
gdb/doc
* gdb.texinfo (Character Sets): Document default character set.
2009-04-15 22:20:32 +00:00
Tom Tromey
334cc82d44
gdb
...
* c-lang.c (evaluate_subexp_c): Correctly handle EVAL_SKIP.
gdb/testsuite
* gdb.base/charset.exp: Add regression test.
2009-04-15 21:55:04 +00:00
Eli Zaretskii
27e3013dec
* utils.c (parse_escape): Initialize target_char to pacify GCC.
2009-04-15 20:40:51 +00:00
Jan Kratochvil
8ea5dfdf09
gdb/
...
* c-lang.c (c_get_string): Fix xfree crash on a failed string read.
2009-04-14 21:54:33 +00:00
Pierre Muller
88c15c3400
ARI fix: sprintf rule.
...
* ada-exp.y (convert_char_literal): Replace sprintf by xsnprintf.
* ada-lang.c (add_angle_brackets): Use xstrprintf.
(ada_decode): Replace sprintf by xsnprintf.
(find_old_style_renaming_symbol): Ditto.
(ada_to_fixed_type_1, ada_enum_name): Ditto.
2009-04-14 19:04:24 +00:00
Joel Brobecker
efbd6e753f
* target.c (target_mourn_inferior): Call bfd_cache_close_all
...
after having executed the target mourn_inferior routine.
2009-04-14 16:48:07 +00:00
Eli Zaretskii
b46df7a18c
config/djgpp/djconfig.sh (DEPDIR): Define to "_deps", if undefined.
2009-04-14 14:25:12 +00:00
David Daney
2facfe5cc4
2009-04-13 David Daney <ddaney@caviumnetworks.com>
...
* infrun.c (maybe_software_singlestep): New function.
(resume): Call maybe_software_singlestep.
(handle_inferior_event): Same.
2009-04-14 00:59:47 +00:00
Tom Tromey
18e8c3bc8a
gdb
...
* python/python-frame.c (frapy_richcompare): Return
Py_NotImplemented, not an error. Handle Py_NE as well.
gdb/testsuite
* gdb.python/python-frame.exp (gdb_py_test_silent_cmd): Test !=
operator on Frame.
2009-04-13 20:54:59 +00:00
Eli Zaretskii
e726d7841c
* charset.c (EILSEQ): Define if not defined by system headers.
2009-04-13 18:49:27 +00:00
Eli Zaretskii
c03b3c325a
*** empty log message ***
2009-04-11 19:21:10 +00:00
Eli Zaretskii
a2effb2e8e
*** empty log message ***
2009-04-11 18:06:02 +00:00
Eli Zaretskii
238f4807d1
* config/djgpp/config.sed: Tweak ac_config_files in intl/configure
...
to be consistent with renaming config.intl.h into config_intl.h.
2009-04-11 18:03:52 +00:00
Eli Zaretskii
685af672ca
* go32-nat.c (go32_attach, go32_detach:) Fix prototypes to be
...
consistent with the change from 2009-03-17.
2009-04-11 17:57:34 +00:00
Jan Kratochvil
f4a34a0895
gdb/
...
* varobj.c (varobj_invalidate): Fix formatting text width.
2009-04-10 16:00:49 +00:00
Jan Kratochvil
2dbd25e5eb
gdb/
...
* varobj.c (varobj_invalidate): Fix indentation.
2009-04-10 15:57:54 +00:00
Jan Kratochvil
c16abbdefa
* gdbtypes.c: Remove excessive parentheses at the return keywords.
2009-04-10 03:36:32 +00:00
Vladimir Prus
143260c9bf
Implement -exec-jump.
...
* mi/mi-cmds.h (mi_cmd_exec_jump): Declare.
* mi/mi-main.c (mi_cmd_exec_jump): New.
* mi/mi-cmds.c (mi_cmds): Register exec-jump.
2009-04-08 06:58:37 +00:00
Doug Evans
d10c338de3
* symfile.c (symbol_file_clear): Fix indentation.
2009-04-07 20:43:51 +00:00
Mark Kettenis
e5a6ba44d9
* sparc64nbsd-nat.c (sparc64nbsd_supply_pcb): Fix comment.
2009-04-05 22:37:20 +00:00
Ulrich Weigand
409c383c98
* ppc-linux-nat.c (ppc_linux_target_wordsize): New function.
...
(ppc_linux_auxv_parse): New function.
(ppc_linux_read_description): Use ppc_linux_target_wordsize.
(_initialize_ppc_linux_nat): Install ppc_linux_auxv_parse.
2009-04-03 16:07:04 +00:00
Ulrich Weigand
9592c5d011
* spu-linux-nat.c (spu_bfd_open): Set filename of in-memory
...
BFD to contents of SPU name note.
(spu_symbol_file_add_from_memory): Call symbol_file_add_from_bfd
with "from_tty" argument 1 instead of 0.
2009-04-03 14:37:57 +00:00
Jan Kratochvil
de40b933e2
gdb/
...
* dwarf2read.c
(new_symbol <DW_TAG_variable> <!DW_AT_location> <DW_AT_external>):
Create the symbol in local scope.
* symtab.h (cu->list_in_scope <LOC_UNRESOLVED>): New comment part.
gdb/testsuite/
* gdb.dwarf2/dw2-unresolved-main.c, gdb.dwarf2/dw2-unresolved.S,
gdb.dwarf2/dw2-unresolved.exp: New.
2009-04-02 21:01:41 +00:00
Keith Seitz
6cbbcdfe20
* stabsread.c (read_member_functions): GCC may emit an extra space
...
at the end of the names "__base_ctor" and "__base_dtor"; so ignore
whitespace when looking for these functions.
2009-04-02 17:34:25 +00:00
Joel Brobecker
476f7b68eb
* stack.c (print_frame_arguments): Set initial value to "scalars".
2009-04-01 22:05:30 +00:00
Aleksandar Ristovski
865093a3bf
* mips-tdep.c (mips_numeric_register_alieses): New definition.
...
(mips_gdbarch_init): Add user registers from
mips_numeric_register_aliases.
2009-04-01 19:13:42 +00:00