gdbadmin
c3a2a8c7ce
*** empty log message ***
2006-08-30 00:00:04 +00:00
gdbadmin
a803651292
*** empty log message ***
2006-08-29 00:00:03 +00:00
DJ Delorie
d56874a7f0
* m32c-tdep.c (m32c_decode_srcdest4): Initialize fields in sd
...
that may not be initialized elsewhere.
(m32c_decode_sd23): Likewise.
2006-08-28 21:13:31 +00:00
gdbadmin
289397ccec
*** empty log message ***
2006-08-28 00:00:03 +00:00
gdbadmin
6b9d051173
*** empty log message ***
2006-08-27 00:00:33 +00:00
gdbadmin
d65a9acaa0
*** empty log message ***
2006-08-26 00:00:35 +00:00
Daniel Jacobowitz
14711c8202
* buildsym.c (finish_block): Don't adjust the boundaries of
...
nested functions.
2006-08-25 16:32:32 +00:00
gdbadmin
ca0ef6cdf0
*** empty log message ***
2006-08-25 00:00:06 +00:00
Andreas Schwab
f414f22f4b
* symfile.c (add_symbol_file_command): Fix off-by-one when
...
extending sect_opts.
2006-08-24 12:43:10 +00:00
gdbadmin
00e96125e7
*** empty log message ***
2006-08-24 00:00:06 +00:00
Nick Roberts
e93364c801
Refer to next release of Emacs as 22.1.
2006-08-23 21:29:06 +00:00
Nick Roberts
461c8a2c97
*** empty log message ***
2006-08-23 21:28:49 +00:00
gdbadmin
9c12d5d39a
*** empty log message ***
2006-08-23 00:00:03 +00:00
Nick Roberts
317531b215
(gdbmi): Remove gdb-force-update, initialize
...
other variables.
(gdbmi-send): Ensure any text properties can be removed.
(gdbmi-prompt1): Update to gdb-ui.el
(gud-gdbmi-marker-filter): Defer setting of gud-running.
Keep gdb-done-regexp for partial-output-buffer.
(gdb-stack-list-frames-handler): Add face to function names.
2006-08-22 21:45:22 +00:00
Nick Roberts
77a458b31a
*** empty log message ***
2006-08-22 21:44:57 +00:00
Mark Kettenis
316703b918
* valprint.c (val_print_type_code_flags): Fix GNU coding standards
...
violation.
2006-08-22 21:36:05 +00:00
Mark Kettenis
2a1ce6ec59
* alpha-tdep.c (alpha_register_to_value, alpha_value_to_register)
...
(alpha_push_dummy_call, alpha_extract_return_value)
(alpha_breakpoint_from_pc, alpha_read_insn)
(alpha_get_longjmp_target, alpha_supply_int_regs)
(alpha_fill_int_regs, alpha_supply_fp_regs, alpha_fill_fp_regs)
(alpha_next_pc): Use gdb_byte instead of (unsigned) char where
appropriate.
2006-08-22 21:31:36 +00:00
Mark Kettenis
fd93680669
* sparc64-tdep.c (sparc64_pstate_type, sparc64_fsr_type)
...
(sparc64_fprs_type): New variables.
(sparc64_init_types): New function.:
(sparc64_register_info): Use appropriate flag types for %fsr and
%fprs.
(sparc64_pseudo_register_info): Use appropriate type for %pstate.
(_initialize_sparc64_tdep): New function.
2006-08-22 20:57:56 +00:00
Mark Kettenis
befae75944
* valprint.c (val_print_type_code_flags): Fix for bitfields larger
...
than 32 bits.
2006-08-22 20:32:39 +00:00
Mark Kettenis
76b7178d0d
* gdbtypes.c (init_flags_type): Set all fields to zero instead of
...
just the first one.
2006-08-22 19:45:12 +00:00
Daniel Jacobowitz
d3f4f91a6f
* Makefile.in (INTERNAL_CPPFLAGS): New.
...
(INTERNAL_CFLAGS_BASE): Use it.
2006-08-22 19:08:31 +00:00
Michael Snyder
a98b27f2d3
2006-08-22 Michael Snyder <Michael.Snyder@PalmSource.com>
...
* MAINTAINERS: Update my email address.
2006-08-22 17:57:41 +00:00
gdbadmin
17ebfa3aa6
*** empty log message ***
2006-08-22 00:00:02 +00:00
gdbadmin
1f01065bba
*** empty log message ***
2006-08-21 00:00:32 +00:00
gdbadmin
21bbd819bf
*** empty log message ***
2006-08-20 00:00:33 +00:00
Daniel Jacobowitz
8695c747d8
gdb/
...
* Makefile.in (amd64_linux_tdep_h): New.
(amd64-linux-nat.o, amd64-linux-tdep.o): Update.
* amd64-linux-nat.c (amd64_linux_gregset64_reg_offset): Add
ORIG_RAX.
(_initialize_amd64_linux_nat): Set amd64_native_gregset64_num_regs.
* amd64-linux-tdep.c (amd64_linux_register_name)
(amd64_linux_register_type, amd64_linux_register_reggroup_p)
(amd64_linux_write_pc): New.
(amd64_linux_init_abi): Use them, and update num_regs.
* amd64-linux-tdep.h: New file.
* amd64-tdep.c (amd64_register_name, amd64_register_type): Make
public.
* amd64-tdep.h (amd64_register_name, amd64_register_type): New
prototypes.
* regformats/reg-x86-64-linux.dat: New file.
gdb/testsuite/
* Makefile.in (clean): Clean reg-x86-64-linux.c.
(reg-x86-64-linux.o, reg-x86-64-linux.c): New.
* configure.srv (x86_64-*-linux*): Use reg-x86-64-linux.o.
* linux-x86-64-low.c (x86_64_regmap): Include ORIG_RAX.
(x86_64_fill_gregset, x86_64_store_gregset): Skip floating
point registers.
2006-08-19 15:15:18 +00:00
Daniel Jacobowitz
c17eaafea7
* infrun.c (handle_inferior_event): Check the current frame ID
...
before unwinding to the previous frame.
2006-08-19 03:19:00 +00:00
gdbadmin
68dcea0dfb
*** empty log message ***
2006-08-19 00:00:02 +00:00
Fred Fish
476308bf9b
Reviewed and approved by Daniel Jacobowitz <dan@codesourcery.com>
...
2006-08-18 Fred Fish <fnf@specifix.com>
* lib/gdb.exp (skip_altivec_tests): Fix apparent typo,
'$' in front of skip_vmx_tests_saved when setting that.
2006-08-18 18:34:18 +00:00
Daniel Jacobowitz
61049d3bcf
* dwarf2read.c (quirk_gcc_member_function_pointer): Add GCC PR
...
number in a comment.
2006-08-18 13:26:31 +00:00
Mark Kettenis
2c9771d330
* sparc-nat.c (sparc_xfer_wcookie): Signal EOF. Tweak comment.
2006-08-18 08:49:04 +00:00
Daniel Jacobowitz
c0dd20ea15
* dwarf2read.c (quirk_gcc_member_function_pointer): New.
...
(read_structure_type): Call it.
2006-08-18 04:10:30 +00:00
gdbadmin
0b999e72de
*** empty log message ***
2006-08-18 00:00:06 +00:00
Jim Blandy
940178d305
* gdb.texinfo (Stop Reply Packets): Note similarity of 'S' and 'T'
...
responses.
2006-08-17 18:47:49 +00:00
gdbadmin
16df07d727
*** empty log message ***
2006-08-17 00:00:33 +00:00
Daniel Jacobowitz
17218d9171
* NEWS: Mention "set trust-readonly-sections" fix.
2006-08-16 20:33:23 +00:00
Daniel Jacobowitz
2bc416ba69
* remote.c, target.c: Strip trailing whitespace.
2006-08-16 18:31:03 +00:00
gdbadmin
370dace982
*** empty log message ***
2006-08-16 00:00:02 +00:00
Daniel Jacobowitz
cf7a04e8fb
PR remote/1966
...
* dcache.c (dcache_write_line): Use target_write.
(dcache_read_line): Use target_read.
* mi/mi-main.c (mi_cmd_data_read_memory): Use target_read.
* symfile.c (struct load_section_data): Add new per-section
members.
(load_progress): New function.
(load_section_callback): Pass load_progress to the new
target_write_with_progress.
* target.c (current_xfer_partial, memory_xfer_partial): New.
(target_xfer_partial): New prototype.
(target_xfer_memory, target_xfer_partial_p, xfer_using_stratum)
(do_xfer_memory, target_xfer_memory_partial)
(target_read_memory_partial, target_write_memory_partial): Delete.
(trust_readonly): Move higher in the file.
(update_current_target): Use current_xer_partial.
(target_xfer_partial): Use memory_xfer_partial. Handle
TARGET_OBJECT_RAW_MEMORY specially.
(target_read_memory): Use target_read.
(target_write_memory): Use target_write.
(default_xfer_partial): Call to_xfer_partial directly.
(target_write_with_progress): New function, based on target_write.
(target_write): Call it.
* target.h (enum target_object): Add TARGET_OBJECT_RAW_MEMORY.
(target_write_with_progress): New prototype.
(do_xfer_memory, target_read_memory_partial)
(target_write_memory_partial): Delete prototypes.
2006-08-15 18:46:25 +00:00
Daniel Jacobowitz
b2182ed226
* remote.c (remote_write_bytes): Take a const buffer argument.
...
Do the checks from remote_xfer_memory.
(remote_read_bytes): Do the checks from remote_xfer_memory.
(remote_xfer_memory): Remove checks pushed into lower level
functions.
(remote_xfer_partial): Call remote_write_bytes and remote_read_bytes
directly.
* remote.h (remote_write_bytes): Update prototype.
2006-08-15 18:17:57 +00:00
gdbadmin
6e3f963ed9
*** empty log message ***
2006-08-15 00:00:04 +00:00
gdbadmin
640dd5395f
*** empty log message ***
2006-08-14 00:00:03 +00:00
gdbadmin
c833036897
*** empty log message ***
2006-08-13 00:00:03 +00:00
gdbadmin
2dc38f2c25
*** empty log message ***
2006-08-12 00:00:03 +00:00
Andrew Stubbs
9fa66fd711
2006-08-11 Andrew Stubbs <andrew.stubbs@st.com>
...
* NEWS: Add 'set trace-commands' command.
2006-08-11 12:46:03 +00:00
gdbadmin
0b580bf56c
*** empty log message ***
2006-08-11 00:00:04 +00:00
Andrew Stubbs
8625200f9f
2006-08-10 Andrew Stubbs <andrew.stubbs@st.com>
...
gdb/
* cli/cli-script.c (execute_user_command): Update command_next_depth
on user-command call.
gdb/testsuite
* gdb.base/trace-commands.exp: New file.
2006-08-10 16:06:25 +00:00
Daniel Jacobowitz
089ec8f1ac
* gdb.base/step-bt.exp: Make hexadecimal address optional in
...
expected output of the backtrace commands.
2006-08-10 13:05:18 +00:00
Joel Brobecker
b60f089831
* gdb.arch/altivec-abi.exp: Replace gdb_suppress_entire_file with
...
untested followed by return combination.
* gdb.arch/altivec-regs.exp: Likewise.
* gdb.arch/e500-abi.exp: Likewise.
* gdb.arch/e500-regs.exp: Likewise.
* gdb.arch/gdb1291.exp: Likewise.
* gdb.arch/gdb1431.exp: Likewise.
* gdb.arch/gdb1558.exp: Likewise.
* gdb.arch/i386-prologue.exp: Likewise.
* gdb.arch/i386-unwind.exp: Likewise.
* gdb.asm/asm-source.exp: Likewise.
* gdb.base/a2-run.exp: Likewise.
* gdb.base/advance.exp: Likewise.
* gdb.base/all-bin.exp: Likewise.
* gdb.base/annota1.exp: Likewise.
* gdb.base/annota3.exp: Likewise.
* gdb.base/args.exp: Likewise.
* gdb.base/arithmet.exp: Likewise.
* gdb.base/assign.exp: Likewise.
* gdb.base/async.exp: Likewise.
* gdb.base/attach.exp: Likewise.
* gdb.base/bang.exp: Likewise.
* gdb.base/bigcore.exp: Likewise.
* gdb.base/bitfields.exp: Likewise.
* gdb.base/bitfields2.exp: Likewise.
* gdb.base/break.exp: Likewise.
* gdb.base/call-sc.exp: Likewise.
* gdb.base/call-strs.exp: Likewise.
* gdb.base/callfuncs.exp: Likewise.
* gdb.base/checkpoint.exp: Likewise.
* gdb.base/chng-syms.exp: Likewise.
* gdb.base/code-expr.exp: Likewise.
* gdb.base/commands.exp: Likewise.
* gdb.base/completion.exp: Likewise.
* gdb.base/cond-expr.exp: Likewise.
* gdb.base/condbreak.exp: Likewise.
* gdb.base/consecutive.exp: Likewise.
* gdb.base/constvars.exp: Likewise.
* gdb.base/corefile.exp: Likewise.
* gdb.base/cvexpr.exp: Likewise.
* gdb.base/dbx.exp: Likewise.
* gdb.base/define.exp: Likewise.
* gdb.base/detach.exp: Likewise.
* gdb.base/display.exp: Likewise.
* gdb.base/dump.exp: Likewise.
* gdb.base/ena-dis-br.exp: Likewise.
* gdb.base/ending-run.exp: Likewise.
* gdb.base/environ.exp: Likewise.
* gdb.base/eval-skip.exp: Likewise.
* gdb.base/exprs.exp: Likewise.
* gdb.base/fileio.exp: Likewise.
* gdb.base/finish.exp: Likewise.
* gdb.base/float.exp: Likewise.
* gdb.base/foll-exec.exp: Likewise.
* gdb.base/foll-fork.exp: Likewise.
* gdb.base/foll-vfork.exp: Likewise.
* gdb.base/freebpcmd.exp: Likewise.
* gdb.base/funcargs.exp: Likewise.
* gdb.base/gcore.exp: Likewise.
* gdb.base/gdb1090.exp: Likewise.
* gdb.base/gdb1250.exp: Likewise.
* gdb.base/huge.exp: Likewise.
* gdb.base/info-proc.exp: Likewise.
* gdb.base/interrupt.exp: Likewise.
* gdb.base/jump.exp: Likewise.
* gdb.base/langs.exp: Likewise.
* gdb.base/lineinc.exp: Likewise.
* gdb.base/list.exp: Likewise.
* gdb.base/logical.exp: Likewise.
* gdb.base/long_long.exp: Likewise.
* gdb.base/macscp.exp: Likewise.
* gdb.base/maint.exp: Likewise.
* gdb.base/mips_pro.exp: Likewise.
* gdb.base/miscexprs.exp: Likewise.
* gdb.base/multi-forks.exp: Likewise.
* gdb.base/opaque.exp: Likewise.
* gdb.base/overlays.exp: Likewise.
* gdb.base/pc-fp.exp: Likewise.
* gdb.base/pointers.exp: Likewise.
* gdb.base/printcmds.exp: Likewise.
* gdb.base/psymtab.exp: Likewise.
* gdb.base/ptype.exp: Likewise.
* gdb.base/recurse.exp: Likewise.
* gdb.base/relational.exp: Likewise.
* gdb.base/relocate.exp: Likewise.
* gdb.base/remote.exp: Likewise.
* gdb.base/reread.exp: Likewise.
* gdb.base/restore.exp: Likewise.
* gdb.base/return.exp: Likewise.
* gdb.base/return2.exp: Likewise.
* gdb.base/scope.exp: Likewise.
* gdb.base/sect-cmd.exp: Likewise.
* gdb.base/sep.exp: Likewise.
* gdb.base/sepdebug.exp: Likewise.
* gdb.base/setshow.exp: Likewise.
* gdb.base/setvar.exp: Likewise.
* gdb.base/sigall.exp: Likewise.
* gdb.base/sigbpt.exp: Likewise.
* gdb.base/signals.exp: Likewise.
* gdb.base/signull.exp: Likewise.
* gdb.base/sizeof.exp: Likewise.
* gdb.base/solib.exp: Likewise.
* gdb.base/step-line.exp: Likewise.
* gdb.base/step-test.exp: Likewise.
* gdb.base/structs.exp: Likewise.
* gdb.base/structs2.exp: Likewise.
* gdb.base/term.exp: Likewise.
* gdb.base/twice.exp: Likewise.
* gdb.base/until.exp: Likewise.
* gdb.base/varargs.exp: Likewise.
* gdb.base/volatile.exp: Likewise.
* gdb.base/watchpoint.exp: Likewise.
* gdb.base/whatis-exp.exp: Likewise.
* gdb.base/whatis.exp: Likewise.
* gdb.cp/ambiguous.exp: Likewise.
* gdb.cp/annota2.exp: Likewise.
* gdb.cp/annota3.exp: Likewise.
* gdb.cp/bool.exp: Likewise.
* gdb.cp/breakpoint.exp: Likewise.
* gdb.cp/casts.exp: Likewise.
* gdb.cp/class2.exp: Likewise.
* gdb.cp/classes.exp: Likewise.
* gdb.cp/cplusfuncs.exp: Likewise.
* gdb.cp/ctti.exp: Likewise.
* gdb.cp/derivation.exp: Likewise.
* gdb.cp/exception.exp: Likewise.
* gdb.cp/gdb1355.exp: Likewise.
* gdb.cp/hang.exp: Likewise.
* gdb.cp/inherit.exp: Likewise.
* gdb.cp/local.exp: Likewise.
* gdb.cp/m-data.exp: Likewise.
* gdb.cp/m-static.exp: Likewise.
* gdb.cp/member-ptr.exp: Likewise.
* gdb.cp/method.exp: Likewise.
* gdb.cp/misc.exp: Likewise.
* gdb.cp/namespace.exp: Likewise.
* gdb.cp/overload.exp: Likewise.
* gdb.cp/ovldbreak.exp: Likewise.
* gdb.cp/pr-1023.exp: Likewise.
* gdb.cp/pr-1210.exp: Likewise.
* gdb.cp/pr-574.exp: Likewise.
* gdb.cp/printmethod.exp: Likewise.
* gdb.cp/psmang.exp: Likewise.
* gdb.cp/ref-params.exp: Likewise.
* gdb.cp/ref-types.exp: Likewise.
* gdb.cp/rtti.exp: Likewise.
* gdb.cp/templates.exp: Likewise.
* gdb.cp/try_catch.exp: Likewise.
* gdb.cp/userdef.exp: Likewise.
* gdb.cp/virtfunc.exp: Likewise.
* gdb.disasm/am33.exp: Likewise.
* gdb.disasm/h8300s.exp: Likewise.
* gdb.disasm/mn10300.exp: Likewise.
* gdb.disasm/sh3.exp: Likewise.
* gdb.disasm/t01_mov.exp: Likewise.
* gdb.disasm/t02_mova.exp: Likewise.
* gdb.disasm/t03_add.exp: Likewise.
* gdb.disasm/t04_sub.exp: Likewise.
* gdb.disasm/t05_cmp.exp: Likewise.
* gdb.disasm/t06_ari2.exp: Likewise.
* gdb.disasm/t07_ari3.exp: Likewise.
* gdb.disasm/t08_or.exp: Likewise.
* gdb.disasm/t09_xor.exp: Likewise.
* gdb.disasm/t10_and.exp: Likewise.
* gdb.disasm/t11_logs.exp: Likewise.
* gdb.disasm/t12_bit.exp: Likewise.
* gdb.disasm/t13_otr.exp: Likewise.
* gdb.hp/gdb.aCC/optimize.exp: Likewise.
* gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
* gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
* gdb.hp/gdb.base-hp/dollar.exp: Likewise.
* gdb.hp/gdb.base-hp/hwwatchbus.exp: Likewise.
* gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
* gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
* gdb.hp/gdb.base-hp/reg.exp: Likewise.
* gdb.hp/gdb.base-hp/sized-enum.exp: Likewise.
* gdb.hp/gdb.compat/xdb1.exp: Likewise.
* gdb.hp/gdb.compat/xdb3.exp: Likewise.
* gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
* gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
* gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
* gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
* gdb.mi/gdb701.exp: Likewise.
* gdb.mi/gdb792.exp: Likewise.
* gdb.mi/mi-basics.exp: Likewise.
* gdb.mi/mi-break.exp: Likewise.
* gdb.mi/mi-cli.exp: Likewise.
* gdb.mi/mi-console.exp: Likewise.
* gdb.mi/mi-disassemble.exp: Likewise.
* gdb.mi/mi-eval.exp: Likewise.
* gdb.mi/mi-file.exp: Likewise.
* gdb.mi/mi-read-memory.exp: Likewise.
* gdb.mi/mi-regs.exp: Likewise.
* gdb.mi/mi-return.exp: Likewise.
* gdb.mi/mi-simplerun.exp: Likewise.
* gdb.mi/mi-stack.exp: Likewise.
* gdb.mi/mi-stepi.exp: Likewise.
* gdb.mi/mi-syn-frame.exp: Likewise.
* gdb.mi/mi-until.exp: Likewise.
* gdb.mi/mi-var-block.exp: Likewise.
* gdb.mi/mi-var-child.exp: Likewise.
* gdb.mi/mi-var-cmd.exp: Likewise.
* gdb.mi/mi-var-display.exp: Likewise.
* gdb.mi/mi-watch.exp: Likewise.
* gdb.mi/mi2-basics.exp: Likewise.
* gdb.mi/mi2-break.exp: Likewise.
* gdb.mi/mi2-cli.exp: Likewise.
* gdb.mi/mi2-console.exp: Likewise.
* gdb.mi/mi2-disassemble.exp: Likewise.
* gdb.mi/mi2-eval.exp: Likewise.
* gdb.mi/mi2-file.exp: Likewise.
* gdb.mi/mi2-read-memory.exp: Likewise.
* gdb.mi/mi2-regs.exp: Likewise.
* gdb.mi/mi2-return.exp: Likewise.
* gdb.mi/mi2-simplerun.exp: Likewise.
* gdb.mi/mi2-stack.exp: Likewise.
* gdb.mi/mi2-stepi.exp: Likewise.
* gdb.mi/mi2-syn-frame.exp: Likewise.
* gdb.mi/mi2-until.exp: Likewise.
* gdb.mi/mi2-var-block.exp: Likewise.
* gdb.mi/mi2-var-child.exp: Likewise.
* gdb.mi/mi2-var-cmd.exp: Likewise.
* gdb.mi/mi2-var-display.exp: Likewise.
* gdb.mi/mi2-watch.exp: Likewise.
* gdb.stabs/exclfwd.exp: Likewise.
* gdb.stabs/weird.exp: Likewise.
* gdb.threads/gcore-thread.exp: Likewise.
* gdb.trace/actions.exp: Likewise.
* gdb.trace/backtrace.exp: Likewise.
* gdb.trace/circ.exp: Likewise.
* gdb.trace/collection.exp: Likewise.
* gdb.trace/deltrace.exp: Likewise.
* gdb.trace/infotrace.exp: Likewise.
* gdb.trace/limits.exp: Likewise.
* gdb.trace/packetlen.exp: Likewise.
* gdb.trace/passc-dyn.exp: Likewise.
* gdb.trace/passcount.exp: Likewise.
* gdb.trace/report.exp: Likewise.
* gdb.trace/save-trace.exp: Likewise.
* gdb.trace/tfind.exp: Likewise.
* gdb.trace/tracecmd.exp: Likewise.
* gdb.trace/while-dyn.exp: Likewise.
* gdb.trace/while-stepping.exp: Likewise.
2006-08-10 05:27:22 +00:00
gdbadmin
1367124163
*** empty log message ***
2006-08-10 00:00:02 +00:00
Joel Brobecker
4f8253f312
* NEWS: Add entry for new substitute-path commands.
2006-08-09 16:50:04 +00:00
gdbadmin
d7d01e3062
*** empty log message ***
2006-08-09 00:00:03 +00:00
Joel Brobecker
30daae6caf
* gdb.texinfo (Source Path): Add documentation for new
...
substitute-path commands.
2006-08-08 22:18:22 +00:00
Joel Brobecker
2f61ca93c2
* source.c: #include gdb_assert.h.
...
(substitute_path_rule): New struct.
(substitute_path_rules): New static global variable.
(substitute_path_rule_matches): New function.
(get_substitute_path_rule): New function.
(rewrite_source_path): New function.
(find_and_open_source): Add source path rewriting support.
(strip_trailing_directory_separator): New function.
(find_substitute_path_rule): New function.
(add_substitute_path_rule): New function.
(delete_substitute_path_rule): New function.
(show_substitute_path_command): New function.
(unset_substitute_path_command): New function.
(set_substitute_path_command): New function.
(_initialize_source): Add new substitute-path commands.
* Makefile.in (source.o): Add dependency on gdb_assert.h.
2006-08-08 22:06:06 +00:00
Joel Brobecker
f4b618d163
* gdb.base/step-bt.c: New file.
...
* gdb.base/step-bt.exp: New testcase.
2006-08-08 21:50:54 +00:00
Joel Brobecker
24a2a65414
* i386-tdep.c (i386_follow_jump): Use read_memory_nobpt to read
...
instructions.
(i386_analyze_struct_return): Likewise.
(i386_skip_probe): Likewise.
(i386_match_insn): Likewise.
(i386_analyze_frame_setup): Likewise.
(i386_analyze_register_saves): Likewise.
(i386_skip_prologue): Likewise.
2006-08-08 21:36:46 +00:00
Joel Brobecker
359a926234
* gdbcore.h (read_memory_nobpt): New function name instead of
...
deprecated_read_memory_nobpt.
* breakpoint.c (read_memory_nobpt): New function name instead
of deprecated_read_memory_nobpt.
Adjust calls to old deprecated_read_memory_nobpt accordingly.
* alpha-tdep.c: Adjust calls to deprecated_read_memory_nobpt
accordingly.
* alphanbsd-tdep.c: Likewise.
* frame.c: Likewise.
* frv-tdep.c: Likewise.
* hppa-linux-tdep.c: Likewise.
* hppa-tdep.c: Likewise.
* i386-linux-nat.c: Likewise.
* m68klinux-tdep.c: Likewise.
* mips-tdep.c: Likewise.
* s390-tdep.c: Likewise.
2006-08-08 21:32:48 +00:00
Daniel Jacobowitz
3841debee7
Commit missed files from last patch.
2006-08-08 20:32:15 +00:00
Daniel Jacobowitz
7fa2210be8
gdb/
...
* configure.ac: Check for expat.
* acinclude.m4: Include AC_LIB_HAVE_LINKFLAGS dependencies.
* Makefile.in (LIBEXPAT): New.
(CLIBS): Include $(LIBEXPAT).
* README: Mention expat.
* configure, config.in: Regenerated.
gdb/doc/
* gdb.texinfo (Installing GDB): Update menu. Move text to...
(Running Configure): ...here.
(Requirements): New node. Mention expat.
2006-08-08 20:26:23 +00:00
Daniel Jacobowitz
ce928021ab
gdb/
...
* config/sparc/embed.mt: New file.
* configure.tgt (sparc-*-rtems*): Use embed.mt.
sim/
* configure.ac (sparc-*-rtems*|sparc-*-elf*): Enable erc32 simulator.
* Makefile.in (FLAGS_TO_PASS): Include libdir.
* configure: Regenerated.
sim/erc32/
* Makefile.in (func.o, help.o): Correct dependencies.
* Makefile.in (install-sis): Honor DESTDIR.
2006-08-08 18:57:25 +00:00
Daniel Jacobowitz
9bdcbae7fe
* Makefile.in (objfiles.o, symfile.o): Update.
...
* objfiles.c: Include "expression.h" and "parser-defs.h".
(free_objfile): Clear global blocks.
* symfile.c: Include "parser-defs.h".
(clear_symtab_users): Clear global blocks.
2006-08-08 17:39:10 +00:00
Thiemo Seufer
6798554723
* breakpoint.c (update_breakpoints_after_exec): Fix type mismatch.
2006-08-08 16:05:13 +00:00
Richard Sandiford
290fadea96
gdb/gdbserver/
...
* server.c (terminal_fd): New variable.
(old_foreground_pgrp): Likewise.
(restore_old_foreground_pgrp): New function.
(start_inferior): Record the terminal file descriptor in terminal_fd
and its original foreground group in old_foreground_pgrp. Register
restore_old_foreground_pgrp with atexit().
2006-08-08 16:03:29 +00:00
Daniel Jacobowitz
3d00d119d3
gdb/
...
* symfile.c (download_write_size): Remove.
(show_download_write_size): Remove.
(load_section_callback): Don't use download_write_size.
(_initialize_symfile): Don't register download_write_size.
* NEWS: Mention 'download-write-size' removal.
gdb/doc/
* gdb.texinfo (Target Commands): Remove
'set download-write-size' and 'show download-write-size'.
gdb/testsuite/
* config/monitor.exp (gdb_load): Remove support for obsolete
download-write-size.
* gdb.base/remote.exp: Likewise. Update all callers of
gdb_timed_load.
2006-08-08 15:48:08 +00:00
gdbadmin
e23fe066f1
*** empty log message ***
2006-08-08 00:00:35 +00:00
Daniel Jacobowitz
0534816df0
* expprint.c (print_subexp_standard, dump_subexp_body_standard): Add
...
support for member pointers.
2006-08-07 03:30:54 +00:00
gdbadmin
5a2fdac0e2
*** empty log message ***
2006-08-07 00:00:35 +00:00
gdbadmin
5473f9ce1b
*** empty log message ***
2006-08-06 00:00:34 +00:00
gdbadmin
d4d7eac9b6
*** empty log message ***
2006-08-05 00:00:03 +00:00
gdbadmin
9b86ba52c4
*** empty log message ***
2006-08-04 00:00:38 +00:00
gdbadmin
e18850afea
*** empty log message ***
2006-08-03 00:00:02 +00:00
Daniel Jacobowitz
017b5bd423
* cursal.exp: Pass binfile to gdb_load.
2006-08-02 22:30:20 +00:00
Mark Kettenis
47ccd04848
* arm-tdep.h: Add multiple inclusion protection.
...
(struct gdbarch): Add forward declaration.
(armobsd_regset_from_core_section): New prototype.
* armbsd-tdep.c: New file.
* armobsd-tdep.c: Include "gdb_string.h".
(armobsd_init_abi): Set regset_from_core_section.
(armobsd_core_osabi_sniffer): New function.
(_initialize_armobsd_tdep): Register armobsd_core_osabi_sniffer.
* Makefile.in (ALLDEPFILES): Add armbsd-tdep.c.
(armbsd-tdep.o): New dependency.
(armnbsd-tdep.o): Update dependencies.
* config/arm/obsd.mt (TDEPFILES): Add armbsd-tdep.o and corelow.o.
2006-08-02 21:32:37 +00:00
Thiemo Seufer
8717790563
* linux-thread-db.c (thread_db_get_thread_local_address): Fix type
...
mismatch.
* tui/tui-stack.c (tui_show_frame_info): Likewise.
2006-08-02 10:24:00 +00:00
Daniel Jacobowitz
0cbfa4ee32
* stabs.texinfo (Member Type Descriptor): Correct example for
...
pointer to member types.
2006-08-02 03:31:21 +00:00
Daniel Jacobowitz
a22229c4cd
* c-exp.y (type): Remove incorrect pointer to member case.
...
* objc-exp.y (type): Likewise.
* p-exp.y (type): Likewise.
2006-08-02 03:13:20 +00:00
gdbadmin
02c21251a2
*** empty log message ***
2006-08-02 00:00:36 +00:00
Daniel Jacobowitz
837c599de6
* gdb.base/cursal.exp: Add "" to gdb_load call.
2006-08-01 22:57:49 +00:00
Mark Kettenis
7c00367c28
* arm-tdep.h (enum struct_return): New.
...
(struct gdbarch_tdep): Add struct_return member.
* arm-tdep.c (arm_return_value): Return
RETURN_VALUE_STRUCT_CONVENTION for aggregates when the ABI uses
pcc_struct_return.
(arm_gdbarch_init): Default to reg_struct_return.
* armobsd-tdep.c (armobsd_init_abi): Set pcc_struct_return.
2006-08-01 18:27:52 +00:00
gdbadmin
ae55530d3d
*** empty log message ***
2006-08-01 00:00:33 +00:00
Mark Kettenis
4816ec693b
* alpha-tdep.h (ALPHA_S0_REGNUM): New define.
...
* alphabsd-nat.c: Include <sys/types.h>, <sys/signal.h>,
<machine/pcb.h> and "bsd-kvm.h".
(alphabsd_supply_pcb): New function.
(_initialize_alphabsd_nat): Enable libkvm interface.
* Makefile.in (alphabsd-nat.o): Update dependencies.
* config/alpha/fbsd.mh (NATDEPFILES): Add bsd-kvm.o.
(LOADLIBES): New variable.
* config/alpha/nbsd.mh (NATDEPFILES): Add bsd-kvm.o.
(LOADLIBES): New variable.
2006-07-31 20:15:50 +00:00
Fred Fish
35d5d4ee3d
Reviewed by Daniel Jacobowitz <drow@false.org>
...
2006-07-31 Fred Fish <fnf@specifix.com>
* arm-tdep.c (arm_make_prologue_cache): Use FRAME_OBSTACK_ZALLOC
instead of calling frame_obstack_zalloc directly.
(arm_make_stub_cache): Ditto.
* frame-unwind.h: Ditto.
* frame.c (create_new_frame): Ditto.
2006-07-31 17:33:30 +00:00
gdbadmin
4b65dc6e93
*** empty log message ***
2006-07-31 00:00:33 +00:00
gdbadmin
0429061277
*** empty log message ***
2006-07-30 00:00:02 +00:00
Mark Kettenis
8dd4540b7d
* gdb.asm/asm-source.exp: Add alpha-*-netbsd* to the list of
...
NetBSD/ELF targets.
2006-07-29 19:15:00 +00:00
gdbadmin
e1eaa37962
*** empty log message ***
2006-07-29 00:00:02 +00:00
gdbadmin
07115db979
*** empty log message ***
2006-07-28 00:00:33 +00:00
Bob Wilson
0f9e5f32ca
* MAINTAINERS (Write After Approval): Add myself.
2006-07-27 23:02:56 +00:00
Daniel Jacobowitz
e896d70e97
* main.c (captured_main): Print a newline after calling
...
print_gdb_version instead of waiting until after the symbol file
has been read. Adjust error_pre_print, quit_pre_print, and
warning_pre_print values.
2006-07-27 21:31:40 +00:00
Daniel Jacobowitz
f58b68aaee
* irix5-nat.c (fetch_core_registers): Simplify and correct logic.
2006-07-27 21:27:12 +00:00
Daniel Jacobowitz
159f81f32f
* target.h (target_read_stralloc): New prototype.
...
* target.c (target_read_alloc_1): Renamed from target_read_alloc.
Take new PADDING argument.
(target_read_alloc): Use it.
(target_read_stralloc): New function.
2006-07-27 21:23:42 +00:00
Daniel Jacobowitz
9f2e1e6389
* server.c (handle_query): Correct qPart to qXfer.
2006-07-27 00:06:12 +00:00
Daniel Jacobowitz
40e57cf227
* remote.c (remote_protocol_features): Correct qPart to qXfer.
2006-07-27 00:06:02 +00:00
gdbadmin
ee5bb91ef1
*** empty log message ***
2006-07-27 00:00:35 +00:00
gdbadmin
5c998c53f5
*** empty log message ***
2006-07-26 00:00:02 +00:00
Daniel Jacobowitz
ab5c9f60b7
gdb/
...
* eval.c (evaluate_subexp_for_address): Don't incorrectly discard
calls to C++ operator*.
gdb/testsuite/
* gdb.cp/userdef.cc, gdb.cp/userdef.exp: New tests for unary
operator*.
2006-07-25 04:24:50 +00:00
gdbadmin
57d4f53f8b
*** empty log message ***
2006-07-25 00:00:02 +00:00
Daniel Jacobowitz
725a826fe2
* solib-irix.c (gdb_int32_bytes): Use gdb_byte instead of char.
...
(gdb_int64_bytes): Likewise.
(fetch_lm_info): Use .b fields of gdb_int32_bytes and gdb_int64_bytes
as first argument to extract_unsigned_integer to silence compiler
warnings.
2006-07-24 22:04:13 +00:00
Frederic Riss
72dca2f5ad
2006-07-24 Frederic Riss <frederic.riss@st.com>
...
* dwarf2read.c (struct dwarf2_per_objfile): Add
has_section_at_zero
field.
(dwarf2_locate_sections): Initialize
dwarf2_per_objfile->has_section_at_zero.
(dwarf2_get_pc_bounds): Use
dwarf2_per_objfile->has_section_at_zero
instead of HAS_RELOC test.
(read_partial_die): Ditto.
2006-07-24 21:37:04 +00:00
Daniel Jacobowitz
4c42eaff63
gdb/
...
* corefile.c (reopen_exec_file): Only check for an open exec file.
Use exec_file_attach.
* exec.c (exec_open): Make static.
(exec_file_command): Don't use target_preopen. Query directly about
changing the file.
* gdbcore.h (exec_open): Remove prototype.
gdb/testsuite/
* gdb.base/completion.exp: Update for change in "file" behavior.
* gdb.stabs/weird.exp: Likewise.
* lib/mi-support.exp (mi_gdb_file_cmd): Likewise.
* lib/gdb.exp (gdb_file_cmd): Likewise. Kill the program explicitly.
2006-07-24 20:38:08 +00:00
Frederic Riss
b05e64e5fe
2006-07-21 Frederic Riss <frederic.riss@st.com>
...
* regcache.c (struct regcache): Make register_valid_p a signed
char
array.
2006-07-24 20:10:48 +00:00
Daniel Jacobowitz
3f64f7b1c7
* linux-thread-db.c (thread_db_wait): Remove libthread_db
...
after exec events.
2006-07-24 18:57:32 +00:00
Daniel Jacobowitz
6aec2e11e5
* NEWS: Mention Windows cross debugging support.
2006-07-24 18:20:58 +00:00
Nathan Sidwell
0155cc767d
* gdb.base/auxv.exp: Skip on non-linux, non-solaris targets.
...
* gdb.base/cursal.exp: Use gdb_file_cmd first, then separate gdb_load.
2006-07-24 14:20:50 +00:00
gdbadmin
2f9c733339
*** empty log message ***
2006-07-24 00:00:33 +00:00
Daniel Jacobowitz
83eba059ff
* linux-nat.c (linux_nat_add_target): Remove extern.
...
* linux-nat.h (thread_db_init): New prototype.
2006-07-23 21:21:01 +00:00
Daniel Jacobowitz
b80864fbe5
gdb/
...
* configure.tgt: Build gdbserver for Cygwin and mingw32.
gdb/gdbserver/
* configure.ac: Check for more headers which are missing on
Windows. Automatically supply -lwsock32 and USE_WIN32API.
* configure.srv: Add Cygwin and mingw32.
* remote-utils.c: Don't include headers unconditionally which
are missing on mingw32. Include <winsock.h> for mingw32.
(remote_open): Adjust for mingw32 support. Flush
standard error after writing to it.
(remote_close, putpkt_binary, input_interrupt, block_async_io)
(unblock_async_io, enable_async_io, disable_async_io)
(readchar, getpkt): Update for Winsock support.
(prepare_resume_reply): Expect a protocol signal number.
* server.c: Disable <sys/wait.h> on mingw32.
(start_inferior): Adjust for mingw32 support. Flush
standard error after writing to it.
(attach_inferior): Likewise. Use protocol signal
numbers.
(main): Skip 'D' packet on mingw32. Use protocol signal numbers
and names.
* win32-i386-low.c: New file.
* Makefile.in (XM_CLIBS): Set.
(gdbserver, gdbreplay): Use $(INTERNAL_CFLAGS).
(win32-i386-low.o): New dependency rule.
* linux-low.c (linux_wait): Use target signal numbers.
* target.h (struct target_ops): Doc fix.
* server.h (target_signal_to_name): New prototype.
* gdbreplay.c: Don't include headers unconditionally which
are missing on mingw32. Include <winsock.h> for mingw32.
(remote_close, remote_open): Adjust for Winsock support.
* configure, config.in: Regenerated.
2006-07-23 03:52:15 +00:00
Daniel Jacobowitz
66a79c16a6
* configure.in: Allow mingw32 and cygwin targets to build cross-gdb.
...
* configure: Regenerated.
gdb/
* config/i386/cygwin.mt (DEPRECATED_TM_FILE): Delete.
* config/i386/nm-cygwin.h: Add contents of tm-cygwin.h.
* config/i386/tm-cygwin.h: Delete file.
2006-07-23 03:47:44 +00:00
gdbadmin
990b869d9b
*** empty log message ***
2006-07-23 00:00:03 +00:00
Mark Kettenis
fc5261f2f3
* infrun.c (handle_inferior_event): Typo.
2006-07-22 14:48:03 +00:00
gdbadmin
f55b8bc24b
*** empty log message ***
2006-07-22 00:00:04 +00:00
Andrew Stubbs
16026cd75d
2006-07-21 Andrew Stubbs <andrew.stubbs@st.com>
...
* cli/cli-cmds.c (source_verbose, trace_commands): New variables.
(source_script): New function.
(source_verbose_cleanup): New function.
(source_command): Move old contents to source_script.
Make function static. Parse -v option and call source_script.
(init_cli_cmds): Update source command help.
Add 'set trace-commands' command.
* cli/cli-script.c (command_next_depth): New static variable.
(suppress_next_print_command_trace): New static variable.
(reset_command_nest_depth): New function.
(print_command_trace): New function.
(execute_control_command): Split the continue_control and break_control
cases, add calls to print_command_trace and count the nest depth.
(while_command): Set suppress_next_print_command_trace.
(if_command): Likewise.
* top.c (execute_command): Call print_command_trace.
* cli/cli-cmds.h (source_verbose, trace_commands): New extern variables.
(source_command): Change to source_script.
* main.c (captued_main): Use source_script instead of source_command.
* top.h (source_command): Change to source_script.
* event-top.c (display_gdb_prompt): Call reset_command_nest_depth.
* cli/cli-script.h (print_command_trace): Export.
(reset_command_nest_depth): Likewise.
docs/
* gdb.texinfo (Optional warnings and messages): Add
'set/show trace-commands'.
(Command files): Add '-v' to source command.
testsuite/
* gdb.base/default.exp: Update source command error message.
* gdb.base/help.exp: Update 'help source' message.
2006-07-21 14:46:56 +00:00
gdbadmin
4c6dbf3a9b
*** empty log message ***
2006-07-21 00:00:34 +00:00
Daniel Jacobowitz
16963cb64b
gdb/
...
* eval.c (evaluate_struct_tuple): Skip static fields.
gdb/testsuite/
* gdb.cp/bs15503.exp: Update comment for no longer crashing
test.
2006-07-20 22:50:07 +00:00
gdbadmin
5fa2b1af8c
*** empty log message ***
2006-07-20 00:00:06 +00:00
Mark Kettenis
6ea0ec3fe4
* alphaobsd-tdep.c: Include "obsd-tdep.h".
...
(alphaobsd_init_abi): Set skip_solib_resolver.
* Makefile.in (alphaobsd-tdep.o): Update dependencies.
* config/alpha/obsd.mt (TDEPFILES): Add obsd-tdep.o.
2006-07-19 23:23:35 +00:00
Mark Kettenis
6b26d61a05
* arm-tdep.c (arm_gdbarch_init): Get default floating-point model
...
from ELF flags for binaries produced by the GNU toolchain.
2006-07-19 18:21:36 +00:00
Andrew Stubbs
6d7fd486d7
2006-07-19 Andrew Stubbs <andrew.stubbs@st.com>
...
* gdb.base/ifelse.exp: Remove troublesome 'got here' messages.
2006-07-19 13:05:21 +00:00
Nathan Sidwell
86cc68a8de
* remote-fileio.c (remote_fileio_func_rename): Reorder to process
...
input buffer before reading memory.
(remote_fileio_func_stat): Likewise.
2006-07-19 06:21:23 +00:00
Daniel Jacobowitz
29e8a84408
* blockframe.c (find_pc_partial_function): Use the minimal symbol
...
size to control the cache entry, if available.
* minsyms.c (lookup_minimal_symbol_by_pc_section): Handle minimal
symbols with zero and non-zero sizes differently.
* gdb.arch/i386-size.c, gdb.arch/i386-size.exp: New files.
2006-07-19 02:17:23 +00:00
gdbadmin
d6979f386c
*** empty log message ***
2006-07-19 00:00:03 +00:00
Daniel Jacobowitz
28b1733311
* linux-thread-db.c (td_thr_getfpregs_p, td_thr_getgregs_p)
...
(td_thr_setfpregs_p, td_thr_setgregs_p, thread_db_get_info)
(thread_db_fetch_registers, thread_db_store_registers)
(thread_db_thread_alive, thread_db_state_str): Delete.
(thread_db_load): Don't look up regset functions.
(thread_db_pid_to_str): Simplify.
(thread_db_extra_thread_info): New.
(init_thread_db_ops): Do not set to_fetch_registers,
to_store_registers, or to_thread_alive. Set to_extra_thread_info.
* Makefile.in: Remove linux-thread-db.o rule.
2006-07-18 22:53:20 +00:00
Mark Kettenis
e3ac4a1e11
* armobsd-tdep.c: Include "trad-frame.h" and "tramp-frame.h".
...
(armobsd_sigframe_init): New function.
(armobsd_sigframe): New variable.
(armobsd_init_abi): Prepend armobsd_sigframe unwinder.
* Makefile.in (armobsd-tdep.o): Update dependencies.
2006-07-18 21:10:28 +00:00
Daniel Jacobowitz
08ae6d950d
* monitor.c: Remove unused prototypes.
2006-07-18 20:45:01 +00:00
Daniel Jacobowitz
6afcfa399a
* gdb.threads/print-threads.exp: Use gdb_breakpoint.
2006-07-18 19:37:23 +00:00
Vladimir Prus
0152ebd7bc
* defs.h (print_transfer_performance): Improve comments
2006-07-18 12:48:20 +00:00
Vladimir Prus
6962ad99e4
2006-07-18 Vladimir Prus <vladimir@codesourcery.com>
...
* target.c (tcomplain): Mark with ATTR_NORETURN.
2006-07-18 12:45:56 +00:00
Vladimir Prus
4ecb6f279b
2006-07-18 Vladimir Prus <vladimir@codesourcery.com>
...
* target.c (tcomplain): Mark with ATTR_NORETURN.
2006-07-18 12:44:48 +00:00
gdbadmin
8c52373870
*** empty log message ***
2006-07-18 00:00:32 +00:00
Mark Kettenis
675dcf4fc0
* printcmd.c: Coding style fixes: add missing spaces in comments
...
and wrapping long lines.
(delete_display, enable_display_command, disable_display_command)
(printf_command, display_info, undisplay_command, free_display)
(display_command, x_command, address_info, set_command)
(inspect_command, call_command, print_command, print_command_1)
(validate_format, print_formatted, decode_format, sym_format):
Remove prototypes.
(x_command): Make static.
(printf_command): Convert error into internal consistency check.
(address_info): Avoid assignment within function call.
(printf_command): Avoid redundant cast.
* tracepoint.c (x_command): Remove extern prototype.
2006-07-17 22:15:55 +00:00
Mark Kettenis
267a692b80
* gdb.base/long_long.exp (gdb_test_long_long): Exclude
...
*-*-openbsd* from targets for wich we expect ARM FPA floating
point format.
2006-07-17 22:10:03 +00:00
Mark Kettenis
aa88762a70
* armobsd-tdep.c (armobsd_init_abi): Set skip_solib_resolver.
...
* Makefile.in (armobsd-tdep.o): Update dependencies.
* config/arm/obsd.mt (TDEPFILES): Add obsd-tdep.o.
2006-07-17 19:34:57 +00:00
Nick Roberts
616f635db8
Expect frame-begin annotation.
2006-07-17 07:29:47 +00:00
Nick Roberts
85d2fec4c8
*** empty log message ***
2006-07-17 07:28:35 +00:00
gdbadmin
b1ac51b5a3
*** empty log message ***
2006-07-17 00:00:03 +00:00
Mark Kettenis
a58dc20099
* armobsd-tdep.c: New file.
...
* Makefile.in (ALLDEPFILES): Add armobsd-tdep.c.
(armobsd-tdep.o): New dependency.
* config/arm/obsd.mt: New file.
* configure.tgt: (arm*-*-openbsd*): Set gdb_target to obsd.
2006-07-16 15:29:09 +00:00
Mark Kettenis
a4bc5cf9b4
Oops, committed spaces where it should have been a tab.
2006-07-16 11:05:07 +00:00
Mark Kettenis
d7b7af6f3a
* gdbarch.sh (deprecated_saved_pc_after_call): Delete.
2006-07-16 11:03:41 +00:00
Mark Kettenis
1cd566a444
* arm-tdep.c (arm_saved_pc_after_call): Delete.
...
(arm_gdbarch_init): Do not set deprecated_saved_pc_after_call.
2006-07-16 10:33:25 +00:00
Alfred M. Szmidt
96ffcb620f
Undefine _process_user_ before including
...
<hurd/process_request.h>.
(gnu_resume): Supply missing argument to error().
(gnu_read_inferior): Add extra parenthesis around arithmetic
expression to silence warnings from GCC.
(gnu_write_inferior): Likewise.
(gnu_xfer_memory): Changed type of MYADDR to `gdb_byte *'.
2006-07-16 09:57:02 +00:00
gdbadmin
7f37c01082
*** empty log message ***
2006-07-16 00:00:32 +00:00
Mark Kettenis
424f31152d
* armnbsd-tdep.c (arm_netbsd_elf_init_abi): Use
...
svr4_ilp_fetch_link_map_offsets.
2006-07-15 22:38:58 +00:00
Mark Kettenis
a4ab4a25cd
* armnbsd-tdep.c: Don't include "nbsd-tdep.h".
...
* config/arm/nbsd.mt (TDEPFILES): Remove nbsd-tdep.o.
(DEPRECATED_TM_FILE): Remove.
* Makefile.in (armnbsd-tdep.o): Update dependencies.
2006-07-15 21:22:51 +00:00
gdbadmin
793c6d6022
*** empty log message ***
2006-07-15 00:00:02 +00:00
Joel Brobecker
cd24f62649
* PROBLEMS: Document threads/2137.
2006-07-14 22:55:58 +00:00
Joel Brobecker
85b4c6e892
* gdb.base/help.exp: Adjust "help unset" test to accept
...
any list of unset commands.
2006-07-14 22:53:19 +00:00
gdbadmin
bb99eb1a42
*** empty log message ***
2006-07-14 00:00:32 +00:00
Mark Kettenis
06d65a1d1e
* config/alpha/tm-nbsd.h: Remove file.
...
* config/alpha/nbsd.mt (DEPRECATED_TM_FILE): Remove.
2006-07-13 21:38:11 +00:00
Corinna Vinschen
4844f454ad
* mips-tdep.c (mips_integer_to_address): Simplify be calling
...
extract_signed_integer directly. Fix comment.
2006-07-13 13:14:54 +00:00
Corinna Vinschen
7830cb4f50
* m32c-tdep.c (m32c_banked_register): New function.
...
(m32c_banked_read): Use m32c_banked_register function to evaluate
real register number.
(m32c_banked_write): Ditto.
(m32c_virtual_frame_pointer): New function.
(m32c_gdbarch_init): Add set_gdbarch_virtual_frame_pointer call.
2006-07-13 12:01:21 +00:00
Nathan Sidwell
9bb47d95dd
* m68k-tdep.c (m68k_frame_align): New.
...
(m68k_gdbarch_init): Set frame_align here.
2006-07-13 09:30:46 +00:00
Andrew Stubbs
9af2a05463
2006-07-13 Denis PILAT <denis.pilat@st.com>
...
* interps.c (interpreter_completer): Allocate one more item to the
'matches' list and set them all to 0 with a xcalloc.
2006-07-13 09:03:38 +00:00
Nick Roberts
24ca47234f
(annotate_frame_begin): Re-instate frame-begin annotation for level 3
...
annotations.
2006-07-13 07:43:44 +00:00
Nick Roberts
79ee37bca8
*** empty log message ***
2006-07-13 07:43:23 +00:00
Daniel Jacobowitz
fb93362492
gdb/
...
* infcall.c (value_arg_coerce): Use value_cast_pointers for
references. Avoid value_cast to a reference type. Don't silently
convert pointers to references.
* valops.c (value_cast_pointers): New, based on value_cast.
(value_cast): Use it. Reject reference types.
(value_ref): New.
(typecmp): Use it.
* value.h (value_cast_pointers, value_ref): New prototypes.
gdb/testsuite/
* gdb.cp/ref-params.exp: New test.
* gdb.cp/ref-params.cc: New source file.
* gdb.cp/Makefile.in (EXECUTABLES): Add ref-params.
2006-07-13 04:31:42 +00:00
Daniel Jacobowitz
d49c44d5f1
* remote.c (unpack_varlen_hex): Correct type of retval.
...
Reported by Zhigang Gong <zhigang.gong@gmail.com>.
2006-07-13 04:05:54 +00:00
gdbadmin
96e6859cba
*** empty log message ***
2006-07-13 00:00:33 +00:00
Daniel Jacobowitz
99bcc461a5
* dwarf2read.c (dwarf2_symbol_mark_computed): Handle corrupted
...
or missing location list information. Suggested by Jan
Kratochvil <lace@jankratochvil.net>.
2006-07-12 21:14:57 +00:00
Daniel Jacobowitz
cb587d836a
* Makefile.in (arm_linux_tdep_h): New variable.
...
(arm-linux-nat.o, arm-linux-tdep.o): Update.
* arm-linux-nat.c: Include "arm-linux-tdep.h".
(typeNone, typeSingle, typeDouble, typeExtended)
(FPWORDS, ARM_CPSR_REGNUM, FPREG, FPA11)
(fetch_nwfpe_single, fetch_nwfpe_double, fetch_nwfpe_none)
(fetch_nwfpe_extended, fetch_nwfpe_register, store_nwfpe_single)
(store_nwfpe_double, store_nwfpe_extended, store_nwfpe_register):
Delete.
(fetch_fpregister, fetch_fpregs, store_fpregister, store_fpregs):
Use gdb_byte buffers, NWFPE_FPSR_OFFSET, supply_nwfpe_register,
and collect_nwfpe_register.
(fill_gregset, supply_gregset, fill_fpregset, supply_fpregset): Use
new regset functions.
* arm-linux-tdep.c: Include "regset.h" and "arm-linux-tdep.h".
(arm_apcs_32): New declaration.
(ARM_LINUX_SIZEOF_GREGSET, arm_linux_supply_gregset)
(arm_linux_collect_gregset, typeNone, typeSingle, typeDouble)
(typeExtended, supply_nwfpe_register, collect_nwfpe_register)
(arm_linux_supply_nwfpe, arm_linux_collect_nwfpe)
(arm_linux_regset_from_core_section): New.
(arm_linux_init_abi): Register arm_linux_regset_from_core_section.
* arm-linux-tdep.h: New file.
* arm-tdep.h (struct regset): Declare.
(struct gdbarch_tdep): Add gregset, fpregset members.
* config/arm/linux.mh (NATDEPFILES): Remove corelow.o and
core-regset.o.
* config/arm/linux.mt (TDEPFILES): Add corelow.o.
2006-07-12 20:46:33 +00:00
Daniel Jacobowitz
8802d8ed3a
* infrun.c (handle_inferior_event): Fixed typos in printf.
2006-07-12 20:43:52 +00:00
Daniel Jacobowitz
6765f3e5d0
* remote.c (REMOTE_ALIGN_WRITES): New.
...
(remote_write_bytes): Align large write packets. Remove unused
payload_start variable.
2006-07-12 18:54:03 +00:00
Daniel Jacobowitz
0876f84a6a
gdb/
...
* remote.c (PACKET_qXfer_auxv): New, renamed from PACKET_qPart_auxv.
(remote_supported_packet): Remove #if 0.
(remote_protocol_features): Add qPart:auxv:read.
(remote_unescape_input): New function.
(readchar): Don't mask off the high bit.
(read_frame): Use fputstrn_filtered for packet data.
(getpkt_sane): Return the number of bytes read or -1. Use
fputstrn_unfiltered.
(remote_read_qxfer): New.
(remote_xfer_partial): Use it for TARGET_OBJECT_AUXV.
(_initialize_remote): Update packet registration.
* defs.h (fputstrn_filtered): New prototype.
* utils.c (fputstrn_filtered): New.
* NEWS: Mention qXfer.
gdb/doc/
* gdb.texinfo (OS Information): Update qPart reference to
qXfer.
(Remote configuration): Likewise.
(Overview): Move @cindex to the start of a paragraph. Talk
about binary data encoding.
(Packets): Refer to the overview for the details of the X
packet encoding.
(General Query Packets): Remove qPart description. Add qXfer
description. Add an anchor to qSupported. Correct feature
table title. Add a new feature for qXfer:auxv:read.
(Interrupts): Add a missing parenthesis.
gdb/gdbserver/
* server.c (decode_xfer_read, write_qxfer_response): New.
(handle_query): Take a packet length argument. Handle
qXfer:auxv:read instead of qPart:auxv:read. Mention it in
the qSupported response.
(main): Update call to handle_query.
2006-07-12 18:50:18 +00:00
Daniel Jacobowitz
13547ab600
* target.c (target_read): Stop if target_read_partial returns 0
...
when some bytes have already been read.
(target_write): Likewise for target_write_partial.
(target_read_partial, target_write_partial): Make static.
(target_read_alloc): New.
* target.h: Doc fixes.
(target_read_partial, target_write_partial): Delete prototypes.
(target_read_alloc): New prototype.
* auxv.c (target_auxv_read): Delete.
(target_auxv_search, fprint_target_auxv): Use target_read_alloc.
* auxv.h (target_auxv_read): Delete prototype.
* avr-tdep.c (avr_io_reg_read_command): Use target_read_alloc.
* ia64-tdep.c (getunwind_table, get_kernel_table): Likewise.
* linux-nat.c (linux_nat_make_corefile_notes): Likewise.
* procfs.c (procfs_make_note_section): Likewise.
* remote.c (remote_xfer_partial): Don't loop here.
* sparc-tdep.c (sparc_fetch_wcookie): Use target_read.
2006-07-12 18:13:45 +00:00
Daniel Jacobowitz
edfb1a2648
* arm-linux-tdep.c: Doc fixes.
...
(ARM_SIGCONTEXT_R0, ARM_UCONTEXT_SIGCONTEXT)
(ARM_OLD_RT_SIGFRAME_SIGINFO, ARM_OLD_RT_SIGFRAME_UCONTEXT)
(ARM_NEW_RT_SIGFRAME_UCONTEXT, ARM_NEW_SIGFRAME_MAGIC): New
constants.
(arm_linux_sigreturn_init, arm_linux_rt_sigreturn_init): Support
the new signal frame layouts.
2006-07-12 18:05:50 +00:00
Daniel Jacobowitz
6e2c7fa123
* Makefile.in (init.c) [LANG, LC_ALL]: Set to `c'.
...
* gdb_indent.sh, gdb_mbuild.sh, observer.sh: Likewise.
* gdbarch.sh: Correct comment.
2006-07-12 18:04:30 +00:00
Daniel Jacobowitz
e0f2823e31
* MAINTAINERS: Add Alfred Szmidt for the Hurd.
2006-07-12 17:37:24 +00:00
gdbadmin
60cf968246
*** empty log message ***
2006-07-12 00:00:02 +00:00
Mark Kettenis
24c4176016
* alpha-tdep.h (ALPHA_INSN_SIZE): New define.
2006-07-11 20:44:53 +00:00
gdbadmin
3a8d5cabee
*** empty log message ***
2006-07-11 00:00:02 +00:00
Mark Kettenis
8a112c90fe
* alphaobsd-tdep.c: New file.
...
* alphanbsd-tdep.c (_initialize_alphanbsd_tdep): Do not register a
handler for GDB_OSABI_OPENBSD_ELF.
* Makefile.in (ALLDEPFILES): Add alphaobsd-tdep.c.
(alphaobsd-tdep.o): New target.
* config/alpha/obsd.mt: New file.
* configure.tgt (alpha*-*-openbsd*): Set gdb_target to obsd.
2006-07-10 19:40:27 +00:00
Richard Henderson
9823e921f2
* alpha-tdep.h (struct gdbarch_tdep): Add return_in_memory.
...
* alpha-tdep.c (alpha_register_byte): Remove.
(alpha_extract_struct_value_address): Remove.
(alpha_return_value): New.
(alpha_return_in_memory_always): New.
(alpha_gdbarch_init): Set tdep->return_in_memory. Don't call
set_gdbarch_deprecated_register_byte. Do call set_gdbarch_return_value
instead of set_gdbarch_deprecated_use_struct_convention,
set_gdbarch_extract_return_value, set_gdbarch_store_return_value,
or set_gdbarch_deprecated_extract_struct_value_address.
* alphafbsd-tdep.c (alphafbsd_return_in_memory): Rename from
alphafbsd_use_struct_convention, remove gcc_p argument.
(alphafbsd_init_abi): Set tdep->return_in_memory instead of
set_gdbarch_deprecated_use_struct_convention.
2006-07-10 15:28:02 +00:00
gdbadmin
86f110ebce
*** empty log message ***
2006-07-10 00:00:04 +00:00
Mark Kettenis
b0ca857365
* alphabsd-tdep.h (alphanbsd_regset_from_core_section): New
...
prototype.
* alphanbsd-tdep.c (alphanbsd_regset_from_core_section): Handle
a.out-style core file format here. Make global.
(alphanbsd_regset_from_core_section): Remove.
(alphanbsd_sigtramp_offset): Make static.
(alphanbsd_aout_init_abi): Remove.
(alphanbsd_core_osabi_sniffer): Return GDB_OSABI_NETBSD_ELF for
a.out style core files.
(_initialize_alphanbsd_tdep): Do not register a handler for
GDB_OSABI_NETBSD_AOUT.
2006-07-09 22:01:59 +00:00
Mark Kettenis
3b03cc4361
Fix typo.
2006-07-09 16:12:30 +00:00
Mark Kettenis
3beabdb233
* alphabsd-tdep.h: Tweak comments.
...
(SIZOEF_STRUCT_REG, SIZEOF_STRUCT_FPREG): Remove.
* alphanbsd-tdep.c: Reorder includes. Include "regset.h".
(ALPHANBSD_SIZEOF_GREGS, ALPHANBSD_SIZEOF_FPREGS): New defines.
(alphanbsd_supply_fpregset, alphanbsd_supply_gregset)
(alphanbsd_aout_supply_gregset): New functions.
(alphanbsd_gregset, alphanbsd_fpregset, alphanbsd_aout_gregset):
New variables.
(alphanbsd_regset_from_core_section)
(alphanbsd_aout_regset_from_core_section): New functions.
(fetch_core_registers, fetch_elfcore_registers): Remove functions.
(alphanbsd_core_fns, alphanbsd_elf_fns): Remove variables.
(alphanbsd_init_abi): Set regset_from_core_section.
(alphanbsd_aout_init_abi, alphanbsd_core_osabi_sniffer): New
functions.
(_initialize_alphanbsd_tdep): Register NetBSD core file sniffer.
Use alphanbsd_aout_init_abi whre appropriate. Don't call
deprecated_add_core_fns.
* Makefile.in (alphanbsd-tdep.o): Update dependencies.
2006-07-09 16:12:11 +00:00
Mark Kettenis
8fe7c54bf1
* alphabsd-tdep.c (alphabsd_supply_reg, alphabsd_fill_reg)
...
(alphabsd_supply_fpreg, alphabsd_fill_fpreg): Add missing spaces.
2006-07-09 09:24:39 +00:00
Mark Kettenis
789f3b5fdc
* alphanbsd-tdep.c (alphanbsd_init_abi): Use
...
svr4_lp64_fetch_link_map_offsets instead of
nbsd_lp64_solib_svr4_fetch_link_map_offsets.
2006-07-09 09:21:19 +00:00
gdbadmin
76da99c545
*** empty log message ***
2006-07-09 00:00:32 +00:00
Mark Kettenis
071d802b19
Wrap long line.
2006-07-08 21:43:00 +00:00
gdbadmin
2ce22c7895
*** empty log message ***
2006-07-08 00:00:33 +00:00
Mark Kettenis
1dff4b6426
* gdb.arch/alpha-step.exp (test_stepi): Do not include trailing
...
spaces/tabs in regular expressions since they might not be there.
2006-07-07 23:10:42 +00:00
Andrew Stubbs
40d2e0e326
2006-07-07 Andrew Stubbs <andrew.stubbs@st.com>
...
* gdb.base/ifelse.exp: New file.
2006-07-07 12:53:47 +00:00
gdbadmin
006be5553c
*** empty log message ***
2006-07-07 00:00:33 +00:00
Andrew Stubbs
09153d5527
2006-07-06 Andrew Stubbs <andrew.stubbs@st.com>
...
* parse.c (write_exp_elt_opcode, write_exp_elt_sym, write_exp_elt_block
write_exp_elt_longcst, write_exp_elt_dblcst, write_exp_elt_type,
write_exp_elt_intern): Zero initialize tmp.
2006-07-06 14:00:48 +00:00
gdbadmin
a67c4fa97c
*** empty log message ***
2006-07-06 00:00:03 +00:00
Daniel Jacobowitz
2ec3381a43
gdb/
...
* remote.c (remote_xfer_partial): Remove KOD support.
* target.h (enum target_object): Remove TARGET_OBJECT_KOD.
* MAINTAINERS: Move Kernel Object Display entry to past maintainers.
* Makefile.in (SFILES, kod_h, COMMON_OBS, kod.o, kod-cisco.o): Remove KOD
support.
* mi/mi-cmds.c (mi_cmds): Remove dummy KOD commands.
* NEWS: Mention KOD.
* kod.h, kod.c, kod-cisco.c: Delete files.
gdb/doc/
* doc/gdb.texinfo (KOD): Remove node.
(GDB/MI Kod Commands): Remove commented out node.
2006-07-05 19:03:47 +00:00
gdbadmin
9fad7183e1
*** empty log message ***
2006-07-05 00:00:02 +00:00
Daniel Jacobowitz
7fca722e51
* remote.c (init_remote_state): Use xrealloc instead of xmalloc.
2006-07-04 13:31:31 +00:00
Nathan Sidwell
f6c957d29d
* gdb.base/huge.c: Allow CRASH_GDB to be set from command
...
line.
* gdb.base/huge.exp: Loop over compilation to find a size that
is acceptable.
* gdb.base/remote.exp: Correct expected strings.
* gdb.dwarf2/mac-fileno.S: Avoid # comments.
2006-07-04 09:40:28 +00:00
gdbadmin
f8f148971e
*** empty log message ***
2006-07-04 00:00:03 +00:00
Nathan J. Williams
4a35b02aee
2006-07-03 Nathan J. Williams <nathanw@wasabisystems.com>
...
* bsd-kvm.c (bsd_kvm_open): Open the KVM interface read-write if
write_files is set.
2006-07-03 17:26:16 +00:00
gdbadmin
c1ddd7c83b
*** empty log message ***
2006-07-03 00:00:03 +00:00
gdbadmin
e43ee86898
*** empty log message ***
2006-07-02 00:00:32 +00:00
Eli Zaretskii
594fe32349
* gdb.texinfo (GDB/MI Output Syntax, GDB/MI Simple Examples)
...
(GDB/MI Breakpoint Commands, GDB/MI Program Context)
(GDB/MI Thread Commands, GDB/MI Program Execution)
(GDB/MI Stack Manipulation, GDB/MI Variable Objects)
(GDB/MI Data Manipulation, GDB/MI Symbol Query)
(GDB/MI File Commands, GDB/MI Target Manipulation)
(GDB/MI Miscellaneous Commands): Change (@value{GDBP})->(gdb),
since the MI prompt is hard-wired into the code.
2006-07-01 12:34:30 +00:00
gdbadmin
b6450095c2
*** empty log message ***
2006-07-01 00:00:03 +00:00
Nick Roberts
a2c0224177
(GDB/MI Compatibility with CLI): Qualify more carefully.
...
(GDB/MI Simple Examples): Use @subheading for "A Bad Command".
(GDB/MI Data Manipulation): Remove description of unimplemented
display related commands as variable objects perform this function
and are superior: -display-delete, -display-disable,
-display-enable, -display-insert and -display-list. Move
-environment-cd, -environment-directory, -environment-path
and -environment-pwd to "Program Context".
(GDB/MI Program Control): Rename to "Program Execution". Move
-exec-arguments -exec-abort to...
(GDB/MI Program Context): ...here. New node split from "Data
Manipulation".
2006-06-30 21:43:22 +00:00
Nick Roberts
7e3fb70c62
*** empty log message ***
2006-06-30 21:42:03 +00:00
gdbadmin
745818a50b
*** empty log message ***
2006-06-30 00:00:02 +00:00
gdbadmin
12321cc6f6
*** empty log message ***
2006-06-29 00:00:35 +00:00
gdbadmin
74dd8f955a
*** empty log message ***
2006-06-28 00:00:33 +00:00
gdbadmin
a2c9f04d67
*** empty log message ***
2006-06-27 00:00:37 +00:00
gdbadmin
399c95b04f
*** empty log message ***
2006-06-26 00:00:03 +00:00
gdbadmin
5d51e5060a
*** empty log message ***
2006-06-25 00:00:02 +00:00
Eli Zaretskii
a6f0780aa7
defs.h (DIRNAME_SEPARATOR) [!__CYGWIN__ && _WIN32]: Define to `;'.
2006-06-24 13:48:53 +00:00
gdbadmin
269c8543af
*** empty log message ***
2006-06-24 00:00:33 +00:00
Daniel Jacobowitz
e4c161579c
* arm-tdep.c (arm_register_type): Use unsigned types for registers.
...
Add special types for sp and pc.
* Makefile.in (arm-tdep.o): Update.
2006-06-23 13:01:05 +00:00
gdbadmin
8c2afc38d8
*** empty log message ***
2006-06-23 00:00:32 +00:00
Daniel Jacobowitz
bd4a4c8015
Typo fix.
2006-06-22 20:31:12 +00:00
Daniel Jacobowitz
b9c5a23d0d
* gdb.base/store.exp: Don't use gdb_suppress_entire_file.
2006-06-22 19:57:02 +00:00
Daniel Jacobowitz
9af2e58deb
* gdb.base/gdb1555.exp: Use gdb_compile_shlib. Skip if not
...
native.
2006-06-22 19:53:46 +00:00
Daniel Jacobowitz
30930ca5c5
* gdb.stabs/exclfwd.exp: Skip the test if configure did not
...
enable stabs testing.
2006-06-22 19:50:57 +00:00
Daniel Jacobowitz
aa32fa1d64
* auxv.exp: Intercept undefined command messages before
...
gdb_test_multiple does.
2006-06-22 19:32:41 +00:00
Daniel Jacobowitz
321fef153f
Add changelog entry for unintended earlier commit:
...
* Makefile.in (host_alias): Remove.
(target_alias): Use @target_noncanonical@.
(site.exp): Don't set host_alias.
* aclocal.m4: Remove contents. Include acx.m4.
* configure: Regenerated.
* configure.ac: Use ACX_NONCANONICAL_TARGET.
2006-06-22 19:17:49 +00:00
Daniel Jacobowitz
90750ee799
Revert accidental commit.
2006-06-22 19:17:09 +00:00
Daniel Jacobowitz
01f9e8fab8
* remote-utils.c (remote_escape_output, remote_unescape_input): New.
...
(putpkt_binary): Renamed from putpkt and adjusted for binary
data.
(putpkt): New wrapper for putpkt_binary.
(readchar): Don't mask off the high bit.
(decode_X_packet): New function.
* server.c (main): Call putpkt_binary if a handler sets the packet
length. Save the length of the incoming packet. Handle 'X'.
* server.h (gdb_byte, remote_escape_output, decode_X_packet): New.
2006-06-22 15:20:47 +00:00
Daniel Jacobowitz
a31ea83d26
* remote.c (remote_escape_output): New function.
...
(remote_write_bytes): Use remote_escape_output.
2006-06-22 14:06:37 +00:00
gdbadmin
47c7e8efbb
*** empty log message ***
2006-06-22 00:01:07 +00:00
Daniel Jacobowitz
be2a5f717b
gdb/
...
* NEWS: Mention qSupported.
* remote.c (struct remote_state): Add explicit_packet_size.
(get_remote_packet_size): Check explicit_packet_size.
(get_memory_packet_size): Likewise.
(PACKET_qSupported): New enum value.
(struct protocol_feature, remote_supported_packet)
(remote_packet_size, remote_protocol_features)
(remote_query_supported): New.
(remote_open_1): Reset explicit_packet_size. Call
remote_query_supported.
(_initialize_remote): Register qSupported.
gdb/doc/
* gdb.texinfo (Remote configuration): Document set / show
remote supported-packets.
(General Query Packets): Document qSupported packet.
gdb/gdbserver/
* server.c (handle_query): Handle qSupported.
2006-06-21 13:57:21 +00:00
Andrew Stubbs
42b575e545
2006-06-21 Andrew Stubbs <andrew.stubbs@st.com>
...
* cli/cli-script.c (realloc_body_list): Zero new parts of body_list.
2006-06-21 10:49:16 +00:00
Joel Brobecker
9ae0398634
* GDB 6.5 released from GDB 6.5 branch.
2006-06-21 07:23:04 +00:00
gdbadmin
03b6d2cfd0
*** empty log message ***
2006-06-21 00:00:34 +00:00
gdbadmin
dbd9748a98
*** empty log message ***
2006-06-20 00:00:32 +00:00
Michael Snyder
8b07f6d84b
2006-06-19 Michael Snyder <msnyder@redhat.com>
...
* mips-tdep.c (mips_eabi_push_dummy_call): For 32 bit ABI, to
decide how many registers it takes to pass a floating point
argument, what matters is the size of a floating point register
(not the size of a general purpose register).
(mips_o32_push_dummy_call): Ditto.
2006-06-19 18:50:09 +00:00
Kazuhiro Inaoka
ec5a4d7599
2006-06-19 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
...
* configure.tgt: Add gdbserver support for m32r-linux.
2006-06-19 01:23:26 +00:00
gdbadmin
3db766e999
*** empty log message ***
2006-06-19 00:00:33 +00:00
Mark Kettenis
8d3239d55a
* m68klinux-tdep.c (m68k_linux_init_abi): Fix typo in comment.
2006-06-18 05:53:51 +00:00
gdbadmin
e3a095253c
*** empty log message ***
2006-06-18 00:00:03 +00:00
gdbadmin
b284a6567e
*** empty log message ***
2006-06-17 00:00:33 +00:00
Daniel Jacobowitz
14e60db5bc
* infrun.c (insert_step_resume_breakpoint_at_caller): New function,
...
based on insert_step_resume_breakpoint_at_frame.
(handle_inferior_event): Update comments. Use
insert_step_resume_breakpoint_at_caller.
(insert_step_resume_breakpoint_at_frame): Revise comments.
2006-06-16 01:12:58 +00:00
gdbadmin
9026e627ad
*** empty log message ***
2006-06-16 00:00:03 +00:00
gdbadmin
af8fafa3bf
*** empty log message ***
2006-06-15 00:00:04 +00:00
Julian Brown
81a17f794b
* dwarf2read.c (read_unspecified_type): New function.
...
(read_type_die): Handle DW_TAG_unspecified_type.
(Committed by Julian Brown.)
2006-06-14 15:06:35 +00:00
gdbadmin
fb897e0507
*** empty log message ***
2006-06-14 00:00:02 +00:00
Daniel Jacobowitz
6490cafe41
* symfile.c (load_command): Check for a changed executable before
...
"load".
2006-06-13 20:54:42 +00:00
Fred Fish
22e47e37c4
Approved by Daniel Jacobowitz.
...
2006-06-13 Fred Fish <fnf@specifix.com>
* mips-tdep.c (mips_find_long_section): New function.
(mips_gdbarch_init): Use it to set long and pointer sizes.
2006-06-13 18:17:20 +00:00
Nathan Sidwell
e63b55d15b
* lib/gdb.exp (gdb_load_cmd): New.
2006-06-13 13:20:25 +00:00
Nathan Sidwell
5600ea19e0
gdb/
...
* remote-file.io.c (remote_fileio_func_system): Treat zero length
string as NULL. Adjust for NULL pointer argument.
* doc/gdb.texinfo (system): Document behaviour with zero length
string.
gdb/testsuite/
* gdb.base/fileio.c: Add system(NULL) test.
* gdb.base/fileio.exp: Check it.
2006-06-13 08:55:22 +00:00
Nathan Sidwell
e1c2defab5
* gdb.base/break.c: Add 10a breakpoint at }
...
* gdb.base/break.exp: Add test for breakpoint at }
* gdb.cp/anon-union.cc: Add code at end of function.
* gdb.cp/anon-union.exp: Adjust end of function breakpoint.
* gdb.mi/var-cmd.c: Add code at end of function.
* gdb.mi/mi-var-display.exp: Adjust end of next.
* gdb.mi/mi2-var-display.exp: Likewise.
* gdb.base/fileio.c: Add stop function and insert calls at
stopping places.
* gdb.base/fileio.exp: Breakpoint stop function and remove
explicit line number references.
2006-06-13 08:46:17 +00:00
gdbadmin
8155f0a095
*** empty log message ***
2006-06-13 00:00:34 +00:00
Daniel Jacobowitz
bb572ddd39
* remote.c (set_remote_protocol_packet_cmd)
...
(show_remote_protocol_packet_cmd): New prototypes.
(remote_set_cmdlist, remote_show_cmdlist): Move higher.
(struct packet_config): Make name and title const.
(add_packet_config_cmd): Remove unnecessary arguments.
(_initialize_remote): Update calls.
2006-06-12 19:16:19 +00:00
gdbadmin
13dce8ef13
*** empty log message ***
2006-06-12 00:00:32 +00:00
gdbadmin
dbed2504e9
*** empty log message ***
2006-06-11 00:00:35 +00:00
Sandra Loosemore
fc320d3707
Copy edit File-I/O section of manual
2006-06-10 18:45:26 +00:00
Daniel Jacobowitz
98739726e2
* mingw-hdep.c (gdb_select): Always check for NULL fd sets
...
before calling FD_ISSET. Correct check for exceptfds which
previously tested writefds.
2006-06-10 18:24:32 +00:00
gdbadmin
859a96b293
*** empty log message ***
2006-06-10 00:00:04 +00:00
Nick Roberts
ef21caaf00
(GDB/MI): Remove duplicate acknowledgements.
...
(GDB/MI Simple Examples): Move node up one level. Use real examples.
(GDB/MI Compatibility with CLI): Update.
(GDB/MI Result Records): Add "connected" and "exit" result classes.
(GDB/MI Stream Records): Clarify target output.
(GDB/MI Command Description Format): Modify example description.
(GDB/MI Breakpoint Table Commands): Rename to...
(GDB/MI Breakpoint Commands): ...this
(GDB/MI Breakpoint Commands): Add optional thread field.
(GDB/MI Program Control): Add an introduction. Move "Program
termination" examples into exec-run description.
(GDB/MI File Commands): Mention similar CLI commands.
(GDB/MI Miscellaneous Commands): Move to end. Mention "show version"
is similar to "-gdb-version".
2006-06-09 22:37:47 +00:00
Nick Roberts
158fdf5c1f
*** empty log message ***
2006-06-09 22:35:49 +00:00
Eli Zaretskii
ddb50cd7c2
(Symbols): Fix "(gdb)"=>"(@value{GDBP})".
2006-06-09 18:52:30 +00:00
Nathan Sidwell
9938344b49
missing commit
...
* remote-fileio.h (remote_fileio_reset): Prototype.
2006-06-09 06:09:50 +00:00
Daniel Jacobowitz
4a9d57ab54
Typo fix.
2006-06-09 02:33:28 +00:00
Julian Brown
2b949cb6bb
* gdb/dwarf2read.c (partial_read_comp_unit_head): Accept version 3.
2006-06-09 00:44:28 +00:00
Julian Brown
5b031165ba
* MAINTAINERS (Write After Approval): Add myself.
2006-06-09 00:40:50 +00:00
gdbadmin
81f188e139
*** empty log message ***
2006-06-09 00:00:33 +00:00
Michael Snyder
b2d6f210e9
2006-06-08 Michael Snyder <msnyder@redhat.com>
...
* mips-tdep.c (fp_register_arg_p): Recognize floating point typedefs.
2006-06-08 19:22:46 +00:00
Daniel Jacobowitz
719abd5321
Typo fix.
2006-06-08 19:13:35 +00:00
Nathan Sidwell
6dd0fba671
* m68k-tdep.c (m68k_dwarf_reg_to_regnum): New.
...
(m68k_gdbarch_init): Set it for dwarf & dwarf2 reg number
conversion. Use M68K_NUM_REGS for number of regs.
2006-06-08 19:11:45 +00:00
Nathan Sidwell
ad9a8f3f00
* remote-fileio.c (remote_fileio_reset): New.
...
* remote-fileio.h (remote_fileio_reset): Prototype.
* remote.c (extended_remote_restart, remote_open_1): Call it.
2006-06-08 19:08:22 +00:00
Nathan Sidwell
1dd41f16d1
* gdb/remote.c (remote_open_1): Do preopen tasks before
...
irreversably destroying state.
2006-06-08 19:04:08 +00:00
Daniel Jacobowitz
ea9c271d4e
* (struct remote_state): New type, only containing
...
buf and buf_size.
(remote_state): New variable.
(get_remote_state): New function.
(struct remote_arch_state): Renamed from struct remote_state.
Removed buf and buf_size.
(get_remote_arch_state): Renamed from get_remote_state. All
necessary callers updated to call this function.
(init_remote_state): Initialize the architecture-specific state.
Update the target-specific state if necessary.
(get_remote_packet_size): New function. All previous references
changed to use this accessor function.
(packet_reg_from_regnum, packet_reg_from_pnum): Take a
remote_arch_state instead of a remote_state. All callers changed.
(_initialize_remote): Initialize the packet buffer here.
2006-06-08 18:32:12 +00:00
gdbadmin
bf81fac3c9
*** empty log message ***
2006-06-08 00:00:34 +00:00
gdbadmin
ecbc8539b0
*** empty log message ***
2006-06-07 00:00:32 +00:00
Nathan Sidwell
5cffb35013
* gdb/remote.c (remote_insert_watchpoint): Return -1, rather than
...
fatal error if packet is disabled.
(remote_remove_watchpoint, remote_insert_hw_breakpoint,
remote_remove_hw_breakpoint): Likewise.
2006-06-06 10:03:06 +00:00
gdbadmin
c91cfc5a15
*** empty log message ***
2006-06-06 00:00:03 +00:00
gdbadmin
11567b557b
*** empty log message ***
2006-06-05 00:00:32 +00:00
gdbadmin
fa1fd311e0
*** empty log message ***
2006-06-04 00:00:03 +00:00
gdbadmin
6f9a6794f6
*** empty log message ***
2006-06-03 00:00:03 +00:00
Nick Roberts
351ff01ac5
(GDB/MI File Commands): New node split from Program Control.
2006-06-02 10:15:41 +00:00
Nick Roberts
d5e40d59c5
*** empty log message ***
2006-06-02 10:14:27 +00:00
Nick Roberts
6c27247ca3
*** empty log message ***
2006-06-02 10:12:46 +00:00
Nick Roberts
1fbc2a49cc
(print_it_typical): Use EXEC_ASYNC_LOCATION_REACHED.
2006-06-02 03:43:18 +00:00
Nick Roberts
8a786d82c7
*** empty log message ***
2006-06-02 03:42:28 +00:00
gdbadmin
57078fa5d1
*** empty log message ***
2006-06-02 00:00:32 +00:00
Nick Roberts
7a9a6b69e4
(GDB/MI Development and Front Ends): Use sourceware.org for mailing lists.
2006-06-01 23:40:50 +00:00
Nick Roberts
2aef0d6bad
*** empty log message ***
2006-06-01 23:39:23 +00:00
gdbadmin
7646157852
*** empty log message ***
2006-06-01 00:00:03 +00:00
Michael Snyder
f49e4e6d76
2006-05-31 Michael Snyder <msnyder@redhat.com>
...
* mips-tdep.c: Comment tweaks.
2006-05-31 23:15:50 +00:00
Nick Roberts
af6eff6f33
(GDB/MI Development and Front Ends): New Node.
2006-05-31 21:55:46 +00:00
Nick Roberts
383a5c5284
*** empty log message ***
2006-05-31 21:54:27 +00:00
Daniel Jacobowitz
20e95c23ab
Configury changes: update src repository (binutils, gdb, and rda) to use
...
config/gettext-sister.m4 instead of the old gettext.m4. Regenerate all
affected autotools files. Include intl in gdb releases again.
2006-05-31 15:14:46 +00:00
gdbadmin
38365cdd8f
*** empty log message ***
2006-05-31 00:00:33 +00:00
Daniel Jacobowitz
ea025f5f61
* remote-utils.c (all_symbols_looked_up): New variable.
...
(look_up_one_symbol): Check it.
* server.h (look_up_one_symbol): New declaration.
* thread-db.c (thread_db_init): Set all_symbols_looked_up.
2006-05-30 19:05:33 +00:00
Daniel Jacobowitz
66f338c7b9
Typo fix.
2006-05-30 15:58:47 +00:00
Daniel Jacobowitz
9308fc88e7
gdb/
...
* Makefile.in (arm-linux-nat.o): Update dependencies.
* arm-linux-nat.c: Include "gdb_proc_service.h".
(PTRACE_GET_THREAD_AREA): Define.
(ps_get_thread_area): New function.
gdb/gdbserver/
* Makefile.in (linux-arm-low.o): Update dependencies.
* linux-arm-low.c: Include "../gdb_proc_service.h".
(PTRACE_GET_THREAD_AREA): Define.
(ps_get_thread_area): New function.
2006-05-30 15:57:09 +00:00
gdbadmin
e06ac427b4
*** empty log message ***
2006-05-30 00:00:33 +00:00
gdbadmin
1a15015e3b
*** empty log message ***
2006-05-29 00:00:32 +00:00
Alexandre Oliva
46ea248bcc
* dwarf2-frame.h (enum dwarf2_frame_reg_rule): Add
...
DWARF2_FRAME_REG_SAVED_VAL_OFFSET and
DWARF2_FRAME_REG_SAVED_VAL_EXP.
* dwarf2-frame.c (execute_cfa_program): Handle val_offset,
val_offset_sf and val_expression.
(dwarf2_frame_prev_register): Handle the new reg rules.
(dwarf2_frame_this_id): Use pc instead of function entry point.
2006-05-28 05:56:50 +00:00
Alexandre Oliva
56c987f606
* dwarf2-frame.c (struct dwarf2_cie): Add signal_frame field.
...
(dwarf2_frame_sniffer): Use it.
(decode_frame_entry_1): Set it according to augmentation "S".
2006-05-28 05:56:20 +00:00
gdbadmin
456c260faf
*** empty log message ***
2006-05-28 00:00:06 +00:00
Joel Brobecker
5648af48fb
From Peter Schauer <peterschauer@gmx.net>
...
* m2-typeprint.c (m2_record_fields): Move variable declarations
to the begining of the block.
2006-05-27 17:39:29 +00:00
gdbadmin
5864669164
*** empty log message ***
2006-05-27 00:00:02 +00:00
gdbadmin
04297bf2b9
*** empty log message ***
2006-05-26 00:00:03 +00:00
gdbadmin
8bbc8175b2
*** empty log message ***
2006-05-25 00:00:32 +00:00
gdbadmin
dad5469b96
*** empty log message ***
2006-05-24 00:00:32 +00:00
Mark Mitchell
03a73f77ad
* mt-tdep.c (mt_register_name): Correct out-of-range logic to
...
include additional registers.
* mt-tdep.c (mt_gdb_regnums): Add ZI2, ZQ2, Ichannel2,
Iscramb2, Qscramb2, Qchannel2.
(mt_register_name): Likewise.
(mt_copro_register_type): Describe ZI2 and ZQ2.
* mt-tdep.c (mt_gdb_regnums): Define
MT_COPRO_PSEUDOREG_MAC_REGNUM.
(mt_register_name): Use it.
(mt_copro_register_type): Likewise.
(mt_register_type): Likewise.
(mt_pseudo_register_read): Likewise. Read the MAC register, not
the coprocessor register.
(mt_pseudo_register_write): Likewise.
2006-05-23 18:01:58 +00:00
gdbadmin
c9fe3751af
*** empty log message ***
2006-05-23 00:00:33 +00:00
Eli Zaretskii
e16b02ee9c
(Cygwin Native): Fix last change.
2006-05-22 19:00:41 +00:00
Christopher Faylor
be90c084da
* gdb.texinfo (Cygwin Native): Document set/show cygwin-exceptions.
2006-05-22 04:17:59 +00:00
gdbadmin
ec2273bcc8
*** empty log message ***
2006-05-22 00:00:03 +00:00
Christopher Faylor
09280ddfff
(check in missing file)
...
* win32-nat.c (cygwin_exceptions): New variable.
(handle_exception): Treat a cygwin exception like a normal exception if
cygwin_exceptions is true.
(_initialize_win32_nat): Add "set cygwin-exceptions" handler.
2006-05-21 23:04:39 +00:00
Christopher Faylor
2b3c8945cd
* win32-nat.c (cygwin_exceptions): New variable.
...
(handle_exception): Treat a cygwin exception like a normal exception if
cygwin_exceptions is true.
(_initialize_win32_nat): Add "set cygwin-exceptions" handler.
2006-05-21 22:57:18 +00:00
gdbadmin
51c37cfd4e
*** empty log message ***
2006-05-21 00:00:03 +00:00
Gaius Mulley
f79daebb66
NEWS: (Improved Modula-2 language support): New section.
2006-05-20 16:30:18 +00:00
Joel Brobecker
6c0112ecf2
* gdb.base/del.exp (test_delete_alias): New function.
...
Now check that both "del" and "d" work as aliases for "delete".
2006-05-20 01:35:27 +00:00
Joel Brobecker
b4e70030cb
* configure: Regenerate using proper version of autoconf.
2006-05-20 01:20:40 +00:00
gdbadmin
f7d91c12ff
*** empty log message ***
2006-05-20 00:00:32 +00:00
Fred Fish
a1f5b8454c
Checked in under the 'obvious fix rule'
...
2006-05-19 Fred Fish <fnf@specifix.com>
* Makefile.in: Fix spelling of 'explicitly' and 'explicit'.
* dwarfread.c: Fix spelling of 'unexpected'.
* mips-tdep.c: Fix spelling of 'possible' and 'Determine'.
* stack.c: Fix spelling of 'RETURN_VALUE'.
2006-05-19 20:42:47 +00:00
gdbadmin
fd5c1a0e91
*** empty log message ***
2006-05-19 00:00:03 +00:00
Paul Gilliam
82d03102e4
2006-05-18 Paul Gilliam <pgilliam@us.ibm.com
...
* solib-svr4.c (enable_break): Breakup a long line into 3 shorter ones.
2006-05-18 20:38:56 +00:00
Fred Fish
154189a4a5
Reviewed and approved by Daniel Jacobowitz <drow@false.org>
...
2006-05-18 Fred Fish <fnf@specifix.com>
* gdb.base/a2-run.exp: Allow part of test to run when args aren't
required. Check for spurious output after program exits normally.
2006-05-18 19:34:01 +00:00
gdbadmin
e987a4e233
*** empty log message ***
2006-05-18 00:00:02 +00:00
Fred Fish
582e64c29d
Suggested, reviewed, and approved by Daniel Jacobowitz <drow@false.org>
...
2006-05-17 Fred Fish <fnf@specifix.com>
* gdb.base/relocate.exp: Use gdb_file_cmd rather than
gdb_load, so it works in the simulator.
2006-05-17 23:59:40 +00:00
Daniel Jacobowitz
f2da6b3ac3
* dwarf2-frame.c: Include "value.h".
...
(read_reg): Use unpack_long and register_type.
* Makefile.in (dwarf2-frame.o): Update.
2006-05-17 14:53:02 +00:00
Daniel Jacobowitz
1f5befc17b
* remote-rdp.c: Deleted.
...
* NEWS: Mention removal of remote-rdp.c.
* Makefile.in (ALLDEPFILES): Remove remote-rdp.c.
(remote-rdp.o): Delete.
* README: Remove description of remote-rdp.c.
* arm-tdep.c (arm_breakpoint_from_pc): Remove obsolete comment.
* config/arm/embed.mt (TDEPFILES): Remove remote-rdp.o.
2006-05-17 14:40:39 +00:00
gdbadmin
6a2f788fe6
*** empty log message ***
2006-05-17 00:00:02 +00:00
Daniel Jacobowitz
cd96dfc915
* ser-e7kpc.c: Include <time.h> if it is available.
2006-05-16 20:22:02 +00:00
Joel Brobecker
e374b60130
* version.in (version.in): Bump version number to 6.5.50 now
...
that the gdb-6.5 branch has been created.
* NEWS: Create a new section for changes that are included
since gdb-6.5. Name the "since gdb-6.4" section as the "in gdb-6.5"
section.
2006-05-16 19:43:57 +00:00
Jim Blandy
13942a4203
gdb/ChangeLog:
...
2006-05-16 Jim Blandy <jimb@codesourcery.com>
* MAINTAINERS (Authorized Committers): Gaius Mulley has accepted
the Global Maintainers' invitation to be an authorized committer
for the Modula-2 support.
2006-05-16 17:55:21 +00:00
gdbadmin
b36b7f4f14
*** empty log message ***
2006-05-16 00:00:33 +00:00
Mark Kettenis
8599da2d51
* ppcobsd-nat.c: Include "gdb_assert.h".
...
[PT_GETFPREGS] (getfpregs_supplies): New function.
(ppcobsd_fetch_registers, ppcobsd_fetch_registers): Hanlde OS
versions that have PT_GETFPREGS.
(_initialize_ppcobsd_nat) [PT_GETFPREGS]: Initialize
ppcobsd_fpreg_offsets.
* ppcobsd-tdep.h (ppcobsd_fpreg_offsets, ppcobsd_fpregset):
Declare.
* ppcobsd-tdep.c (ppcobsd_fpreg_offsets, ppcobsd_fpregset): New
variables.
(_initialize_ppcobsd_tdep): Initialize ppcobsd_fpreg_offsets.
* Makefile.in (ppcobsd-nat.o): Update dependencies.
2006-05-15 21:53:20 +00:00
Daniel Jacobowitz
4e8d927dde
* configure.ac: Use GCC_HEADER_STDINT.
...
* acinclude.m4: Include stdint.m4.
* Makefile.in (gdb_stdint_h): Define.
(distclean): Remove gdb_stdint.h.
(Makefile, stamp-h): Update rules to generate only the correct
files.
(gdb_stdint.h, stamp-int): New rules.
* config.in, configure: Regenerated.
2006-05-15 17:11:59 +00:00
Daniel Jacobowitz
19ca80ba57
* valprint.c: Include "exceptions.h".
...
(val_print): If something goes wrong while printing, supply an
error message.
2006-05-15 16:53:38 +00:00
Daniel Jacobowitz
245c7f487f
2006-05-15 Peter O'Gorman <gdb-patches@mlists.thewrittenword.com>
...
* source.c (get_current_source_symtab_and_line)
(set_current_source_symtab_and_line): Use { 0 }.
* cli/cli-cmds.c (list_command): Likewise.
2006-05-15 15:50:14 +00:00
Nick Roberts
b247355e2d
(Algorithms): Correct spelling and punctuation.
...
(Releasing GDB, Testsuite): Remove details for including DejaGnu.
2006-05-15 04:39:03 +00:00
Nick Roberts
347ceba596
*** empty log message ***
2006-05-15 04:37:48 +00:00
gdbadmin
8ebe254417
*** empty log message ***
2006-05-15 00:00:02 +00:00
Nick Roberts
2e6d207cdd
(gdbmi-send): Correct regexp for repeat commands.
...
(gdbmi): Use new variable name gdb-pc-address.
(gdbmi-frame-handler): Use new variable name gdb-pc-address.
Check that a match has been found.
2006-05-14 22:27:26 +00:00
Nick Roberts
53b33aeb32
*** empty log message ***
2006-05-14 22:25:23 +00:00
Daniel Jacobowitz
369af7bd63
* gdb.texinfo (General Query Packets): Recommend not starting
...
new packets with qC and clarify.
2006-05-14 15:09:51 +00:00
gdbadmin
7e68560d6b
*** empty log message ***
2006-05-14 00:00:34 +00:00
Gaius Mulley
2ffdbde8a9
fixed spacing between name and email address.
2006-05-13 19:07:28 +00:00
Gaius Mulley
1c547afb78
removed lengthy descriptions about function modifications.
2006-05-13 18:49:56 +00:00
Gaius Mulley
d3d3c7e6d5
tidied up ChangeLog as per GNU Coding Standards.
2006-05-13 18:45:45 +00:00
Gaius Mulley
71ded58471
split up another line in excess of 80 characters
2006-05-13 16:16:13 +00:00
Gaius Mulley
229582b795
tidied up ChangeLogs (80 character line width), added reference
...
to gaius@glam.ac.uk included into gdb/MAINTAINERS
2006-05-13 16:03:04 +00:00
Gaius Mulley
72019c9cbc
2006-05-13 Gaius Mulley <gaius@glam.ac.uk>
...
* gdb/m2-lang.h: added function extern prototypes for m2_is_long_set
and get_long_set_bounds.
* gm2/m2-typeprint.c: This file has been completely
replaced to reflect the Modula-2 syntax rather than call the
c_print_type function.
(m2_print_type): walk the Modula-2 type tree.
(m2_type_name): added.
(m2_range): added.
(m2_typedef): added.
(m2_array): added.
(m2_pointer): added.
(m2_ref): added.
(m2_unknown): added.
(m2_union): added.
(m2_procedure): added.
(m2_print_bounds): added.
(m2_short_set): added.
(m2_is_long_set): added.
(m2_get_discrete_bounds): added.
(m2_is_long_set_of_type): added.
(m2_long_set): added.
(m2_record_fields): added.
(m2_enum): added.
* gdb/dwarf2read.c: added ability to detect the language Modula-2
and handle SET and CHAR types.
(read_set_type): added.
(process_die): call read_set_type.
(read_base_type): modifed signed/unsigned char handling for Modula-2.
(set_cu_language): added Modula-2 case clause.
* gdb/m2-valprint.c: complete replacement so that Modula-2 values are
printed rather than call the C language routines.
(print_function_pointer_address): added.
(get_long_set_bounds): added.
(m2_print_long_set): added.
(print_unpacked_pointer): added.
(print_variable_at_address): added.
(m2_val_print): replaced.
2006-05-13 15:46:38 +00:00
gdbadmin
34addd0f72
*** empty log message ***
2006-05-13 00:00:34 +00:00
Mark Kettenis
def18405fb
* ppcnbsd-tdep.h: Update copyright year. Include <stddef.h>
...
(ppcnbsd_supply_reg, ppcnbsd_fill_reg, ppcnbsd_supply_fpreg)
(ppcnbsd_fill_fpreg): Remove prototypes.
(struct regset): Add forward declaration.
(ppcnbsd_gregset, ppcnbsd_fpregset): Extern declarations.
* ppcnbsd-tdep.c: Update copyright year. Include "gdbtypes.h",
"regset.h" and "gdb_string.h". Don't include "breakpoint.h",
"value.h", target.h and nbsd-tdep.h". Reorder includes.
(REG_FIXREG_OFFSET, REG_LR_OFFSET, REG_CR_OFFSET, REG_XER_OFFSET)
(REG_CTR_OFFSET, REG_PC_OFFSET, SIZEOF_STRUCT_REG)
(FPREG_FPR_OFFSET, FPREG_FPSCR_OFFSET, SIZEOF_STRUCT_FPREG):
Remove macros.
(ppcnbsd_supply_reg, ppcnbsd_fill_reg, ppcnbsd_supply_fpreg)
(ppcnbsd_fill_fpreg): Remove functions.
(fetch_core_registers, fetch_elfcore_registers): Remove functions.
(ppcnbsd_core_fns, ppcnbsd_elfcore_fns): Remove variables.
(ppcnbsd_reg_offsets): New variable.
(ppcnbsd_gregset, ppcnbsd_fpregset): New variables.
(ppcnbsd_sigtramp_cache_init): Deal with new signal trampoline
introduced in NetBSD 2.0.
(ppcnbsd_sigtramp): Provide complete signal trampoline.
(ppcnbsd2_sigtramp): New variable.
(ppcnbsd_init_abi): Set svr4_fetch_link_map_offsets to
svr4_ilp32_fetch_link_map_offsets. Set regset_from_core_section.
Add ppcnbs2_sigtramp unwinder.
(_initialize_ppcnbsd_tdep): Don't use deprecated_add_core_fns.
Initialize ppcnbsd_reg_offsets.
* ppcnbsd-nat.c: Update copyright year. Reorder includes.
(getregs_supplies): Use regnum instead of regno.
(getfpregs_supplies): Likewise.
(ppcnbsd_fetch_inferior_registers): Likewise. Call
ppc_supply_gregset and ppc_suppply_fpregset instead of
ppcnbsd_supply_reg and ppcnbsd_supply_fpreg
(ppcnbsd_store_inferior_registers): Likewise. Call
ppc_collect_gregset and ppc_collect_fpregset instead of
ppcnbsd_fill_reg and ppcnbsd_fill_fpreg.
(ppcnbsd_supply_pcb): Use `gdb_byte *' instead of `char *'.
(_initialize_ppcnbsd_nat): Add some whitespace.
* Makefile.in (ppcnbsd-nat.o, ppcnbsd-tdep.o): Update dependencies.
* config/powerpc/nbsd.mh (NATDEPFILES): Remove infptrace.o.
(NAT_FILE): Remove.
* config/powerpc/nbsd.mt (TDEPFILES): Remove nbsd-tdep.o.
2006-05-12 20:53:15 +00:00
gdbadmin
582a5d498d
*** empty log message ***
2006-05-12 00:00:02 +00:00
Daniel Jacobowitz
c4c50d3740
2006-05-11 Alfred M. Szmidt <ams@gnu.org>
...
* gnu-nat.c (inf_validate_procs): Don't use lvalue in assignments.
2006-05-11 19:37:52 +00:00
Fred Fish
8ef6493a1d
Reviewed and approved by Daniel Jacobowitz <drow@false.org>
...
2006-05-11 Fred Fish <fnf@specifix.com>
* gdb.base/bang.exp: Ignore unexpected output between the
"program exited normally" and the gdb prompt, as many other
tests do.
2006-05-11 13:09:58 +00:00
Fred Fish
576c202544
Reviewed and approved by Jim Blandy <jimb@codesourcery.com>
...
2006-05-11 Fred Fish <fnf@specifix.com>
* symtab.c (skip_prologue_using_sal): Handle single line functions
like "foo(){}", which may optimize down to a single return inst.
2006-05-11 09:29:52 +00:00
gdbadmin
64f949df5d
*** empty log message ***
2006-05-11 00:00:02 +00:00
Steve Ellcey
ba906c0813
* hppa-hpux-tdep.c (initialize_hp_cxx_exception_support): Remove
...
message.
2006-05-10 20:30:02 +00:00
Daniel Jacobowitz
16d1a08426
* agentexpr.texi: Add a copyright and license notice.
...
* observer.texi: Likewise, with GPL clause for function prototypes.
Remove trailing whitespace.
2006-05-10 18:49:08 +00:00
gdbadmin
835122fc95
*** empty log message ***
2006-05-10 00:00:36 +00:00
Andreas Schwab
4bf8967cb2
* dwarf2-frame.c (struct dwarf2_fde): Add eh_frame_p.
...
(execute_cfa_program): Add parameter eh_frame_p. Call
dwarf2_frame_eh_frame_regnum when true.
(dwarf2_frame_cache): Pass eh_frame_p from fde to
execute_cfa_program.
(decode_frame_entry_1): Call dwarf2_frame_eh_frame_regnum when
processing .eh_frame. Copy eh_frame_p to the new fde.
(struct dwarf2_frame_ops): Add eh_frame_regnum.
(dwarf2_frame_set_eh_frame_regnum): Define.
(dwarf2_frame_eh_frame_regnum): Define.
* dwarf2-frame.h (dwarf2_frame_set_eh_frame_regnum): Declare.
(dwarf2_frame_eh_frame_regnum): Declare.
2006-05-09 21:14:17 +00:00
Nathan Sidwell
52fb643739
* configure.srv (m68k*-*-uclinux*): New target.
...
* linux-low.c (linux_create_inferior): Use vfork on mmuless systems.
(linux_resume_one_process): Remove extraneous cast.
(linux_read_offsets): New.
(linux_target_op): Add linux_read_offsets on mmuless systems.
* server.c (handle_query): Add qOffsets logic.
* target.h (struct target_ops): Add read_offsets.
2006-05-09 15:21:19 +00:00
gdbadmin
a70e338f1a
*** empty log message ***
2006-05-09 00:00:03 +00:00
gdbadmin
1c58b8a886
*** empty log message ***
2006-05-08 00:00:03 +00:00
Mark Kettenis
692b141ccb
* gdb.base/help.exp: Make "delete checkpoint" part option for
...
"help d" and "help delete" tests.
2006-05-07 20:50:35 +00:00
gdbadmin
febfe8dfee
*** empty log message ***
2006-05-07 00:00:02 +00:00
David S. Miller
55e969c159
* linux-nat.c (linux_nat_do_thread_registers): Check for
...
NULL collect_regset method.
2006-05-06 23:55:36 +00:00
Ulrich Weigand
540b8a309d
* gdb.mi/mi-basics.exp: Add missing serial number to
...
expected output in some mi_gdb_test statements.
* gdb.mi/mi2-basics.exp: Likewise.
2006-05-06 20:39:15 +00:00
Ulrich Weigand
92f38ec2e1
* s390-tdep.c (s390_collect_regset): New function.
...
(s390_gregset, s390x_gregset, s390_fpregset): Add it.
2006-05-06 01:12:11 +00:00
Nick Roberts
875dc2fc84
Make LOC_OPTIMIZED_OUT the default value for a symbol.
2006-05-06 00:14:03 +00:00
Nick Roberts
6fed56b401
*** empty log message ***
2006-05-06 00:13:08 +00:00
gdbadmin
ec82b8b29c
*** empty log message ***
2006-05-06 00:00:06 +00:00
Ulrich Weigand
6fc191037f
* linux-nat.c (exit_lwp): Fix NULL pointer access.
...
(linux_nat_handle_extended): New parameter STOPPING.
(wait_lwp): Call it with STOPPING equals 1.
(linux_nat_wait): Call it with STOPPING equals 0.
2006-05-05 23:48:28 +00:00
Ulrich Weigand
d539ed7ecd
* linux-nat.c (linux_nat_wait): Do not short-cut reporting
...
of 'uninteresting' signals when single-stepping.
2006-05-05 23:46:58 +00:00
David S. Miller
c324242868
* gdb.mi/mi-regs.exp (111-data-list-register-values x): "No registers"
...
will get printed without a mi_cmd_data_list_register_values prefix.
(*-data-list-register-*): Correct regular expressions to expect the new
pseudo d? floating point registers.
* gdb.mi/mi2-regs.exp: Likewise.
2006-05-05 23:34:40 +00:00
Daniel Jacobowitz
49101e1c1a
* MAINTAINERS: Move NEWS to the documentation entry.
2006-05-05 23:20:04 +00:00
Joel Brobecker
9b6462d950
* gdb.base/del.c: New file.
...
* gdb.base/del.exp: New testcase.
2006-05-05 22:49:39 +00:00
Jim Blandy
aa56d27abe
gdb/doc/ChangeLog:
...
2006-05-05 Jim Blandy <jimb@codesourcery.com>
* gdb.texinfo (General Query Packets): Document conventions for
terminating packet names, and their violations.
2006-05-05 22:48:14 +00:00
David S. Miller
1303f75ea1
* gdb.base/savedregs.exp: Do not require that the dummy
...
frame location match up to a symbol and source file location.
2006-05-05 22:48:10 +00:00
David S. Miller
954de43bb9
* gdb.base/break.exp: Do not assume a breakpoint on
...
main will actually be in $srcfile when optimizing.
2006-05-05 22:45:35 +00:00
David S. Miller
bcc98f888e
* linux-thread-db.c (thread_db_store_registers): Use
...
regcache_raw_collect.
2006-05-05 22:42:43 +00:00
David S. Miller
4f844a660e
* linux-nat.c (linux_nat_do_thread_registers): Use the
...
regset_from_core_section infrastructure if the target
supports it.
* Makefile.in: Update dependencies.
2006-05-05 22:39:12 +00:00
Paul Gilliam
411cb3f932
2006-05-05: Paul Gilliam <pgilliam@us.ibm.com>
...
* ppc-linux-nat.c: Clean up types for ptrace.
Replace (CORE_ADDR) with (uintptr_t) to avoid the size difference
between a CORE_ADDR and a void* on ppc64 systems compiled for 32-bits.
2006-05-05 20:45:03 +00:00
Daniel Jacobowitz
597320e75b
* remote.c (remote_disconnect): Add TARGET argument.
...
* target.c (debug_to_disconnect): Delete.
(update_current_target): Do not inherit to_disconnect.
(target_disconnect): Search for a target to implement to_disconnect.
(setup_target_debug): Do not reference to_disconnect.
* target.h (struct target_ops): Add target argument to
to_disconnect.
2006-05-05 20:08:45 +00:00
Daniel Jacobowitz
5bdf862214
Readline 5.1 import for HEAD.
2006-05-05 18:26:14 +00:00
Daniel Jacobowitz
c7e64c9a76
* gdb.cp/m-static.h (class gnu_obj_4): Add dummy member.
...
* gdb.cp/m-static.cc (main): Write to test4.dummy, so that test4
is allocated by the compiler.
* gdb.mi/var-cmd.c: (do_special_tests): Write to u, anonu, s,
anons, e, anone to force their allocation by the compiler.
2006-05-05 18:04:09 +00:00
Fred Fish
401835eb9c
Approved by Daniel Jacobowitz <drow@false.org>
...
2006-05-06 Fred Fish <fnf@specifix.com>
* mips-tdep.c (mips_o64_push_dummy_call): Left shift big endian
structs or unions independent of ABI register size.
2006-05-05 18:04:04 +00:00
Fred Fish
7a076fd259
2006-05-06 Fred Fish <fnf@specifix.com>
...
* mips-tdep.c (mips_o64_return_value): Replace stub that always
returned RETURN_VALUE_STRUCT_CONVENTION with a real function.
2006-05-05 17:50:33 +00:00
Daniel Jacobowitz
605a56cbd3
* gdb.texinfo (Remote Configuration): Remove "set remotedebug"
...
and "show remotedebug".
(Debugging Output): Add additional index entries.
2006-05-05 17:29:38 +00:00
Daniel Jacobowitz
eec017952a
* mi/mi-main.c (captured_mi_execute_command): Check the return
...
value of -interpreter-exec.
2006-05-05 15:50:20 +00:00
Daniel Jacobowitz
79c214e04d
* gdb.base/help.exp: Update expected text for help d and
...
help delete.
2006-05-05 15:45:09 +00:00
gdbadmin
f4cd22bf31
*** empty log message ***
2006-05-05 00:00:32 +00:00
gdbadmin
7985b92717
*** empty log message ***
2006-05-04 00:00:04 +00:00
Jim Blandy
14b3d9c967
gdb/ChangeLog:
...
2006-05-03 Vladimir Prus <ghost@cs.msu.su>
* varobj.c (c_value_of_variable): Ignore top-level references.
(Committed by Jim Blandy.)
2006-05-03 22:59:38 +00:00
gdbadmin
cb85daf5e3
*** empty log message ***
2006-05-03 00:00:02 +00:00
gdbadmin
201a26f845
*** empty log message ***
2006-05-02 00:00:36 +00:00
Mark Kettenis
27ce9a6de2
* gdb.asm/asm-source.exp: Add powerpc-*-netbsd* to the list of
...
NetBSD/ELF targets.
2006-05-01 22:21:35 +00:00
Mark Kettenis
8608915fb1
* gdb.base/sigbpt.exp (stepi_out): FAIL when inserting a
...
single-step breakpoint fails; make this a KFAIL on
sparc*-*-openbsd*.
* gdb.base/siginfo.exp: Likewise.
* gdb.base/sigstep.exp (advance, advancei): Likewise.
2006-05-01 16:39:36 +00:00
Mark Kettenis
1893a4c08f
* breakpoint.c (insert_single_step_breakpoint): Make a failure to
...
insert a single-step breakpoint an error instead of a warning.
* breakpoint.c (remove_single_step_breakpoints): Bail out early if
no breakpoints are inserted.
2006-05-01 16:38:08 +00:00
Nathan J. Williams
21f79b33e5
2006-05-01 Nathan J. Williams <nathanw@wasabisystems.com>
...
* ppcnbsd-tdep.c (ppcnbsd_return_value): Change type of last two
arguments from void * to gdb_byte *.
2006-05-01 15:10:26 +00:00
gdbadmin
ad43f87a7e
*** empty log message ***
2006-05-01 00:00:35 +00:00
gdbadmin
7483dff83b
*** empty log message ***
2006-04-30 00:00:02 +00:00
gdbadmin
a2a8ff2ba0
*** empty log message ***
2006-04-29 00:00:35 +00:00
gdbadmin
50e4ef01df
*** empty log message ***
2006-04-28 00:00:33 +00:00
Michael Snyder
b8db102de3
2006-04-26 Michael Snyder <msnyder@redhat.com>
...
* linux-fork.c (_initialize_linux_fork): Rename "delete-fork"
command to "delete fork" (no hyphen), compatible with other
"delete" commands.
(info_forks_command): Accept a fork ID argument, for info
on a single fork. Report if no matching forks.
2006-04-26 Michael Snyder <msnyder@redhat.com>
* gdb.base/multi-forks.exp: Modify patterns for "run to exit",
which may have to consume output from other forks.
Add tests to make sure that "delete fork" succeeded.
2006-04-27 Michael Snyder <msnyder@redhat.com>
* gdb.texinfo (delete-fork): Command renamed to "delete fork".
2006-04-27 23:03:42 +00:00
gdbadmin
c43d0edc54
*** empty log message ***
2006-04-27 00:00:36 +00:00
Michael Snyder
cfde0993eb
2006-04-20 Michael Snyder <msnyder@redhat.com>
...
* remote.c: Fix spelling error in comment.
2006-04-26 18:45:32 +00:00
gdbadmin
a903b014ab
*** empty log message ***
2006-04-26 00:00:04 +00:00
Mark Kettenis
bc0c849e87
From Masaki MURANAKA <monaka@monami-software.com>:
...
* mips-mdebug-tdep.c (mips_mdebug_frame_prev_register): Change
type of last argument to `gdb_byte *'
2006-04-25 18:58:09 +00:00
Jim Blandy
5f1fb6dcb3
2006-04-11 Jim Blandy <jimb@codesourcery.com>
...
Add support for 'target remote |' on MinGW.
* ser-mingw.c (struct pipe_state): New structure.
(make_pipe_state, free_pipe_state, cleanup_pipe_state)
(pipe_windows_open, pipe_windows_close, pipe_windows_read)
(pipe_windows_write, pipe_wait_handle): New functions.
(_initialize_ser_windows): Register a "pipe" interface based on
them.
2006-04-25 18:02:13 +00:00
Michael Snyder
e61e6fd132
Remove spurious entry
2006-04-25 00:18:25 +00:00
gdbadmin
c9c3374ac3
*** empty log message ***
2006-04-25 00:00:03 +00:00
Michael Snyder
0271fba4a3
forgotten changelog entry
2006-04-24 22:39:03 +00:00
Daniel Jacobowitz
c3e2b812d0
* ser-mingw.c: Include <conio.h>.
...
(struct ser_console_state, struct net_windows_state): Add exit_select,
have_stopped, thread.
(pipe_select_thread, console_select_thread)
(net_windows_select_thread): Don't create a local state copy or
close stop_select. Exit on exit_select instead of stop_select. Set
have_stopped.
(console_select_thread): Don't report control keypresses as pending
input.
(pipe_select_thread): Allow stop_select to interrupt sleeping.
(set_console_wait_handle): Create exit_select and have_stopped.
Save the thread handle. Check _kbhit before starting a thread.
(ser_console_done_wait_handle): New.
(ser_console_close): Close new handles. Wait for the thread to
exit.
(new_windows_select_thread): Assert that an event occurred.
(net_windows_wait_handle): Check for pending input before starting
a thread.
(net_windows_done_wait_handle): New.
(net_windows_open): Create exit_select and have_stopped.
Save the thread handle.
(net_windows_close): Close new handles. Wait for the thread to
exit.
(_intiialize_ser_windows): Register done_wait_handle methods.
* serial.c [USE_WIN32API] (serial_done_wait_handle): New.
* serial.h [USE_WIN32API] (struct serial_ops): Add done_wait_handle.
[USE_WIN32API] (serial_done_wait_handle): New prototype.
* mingw-hdep.c (gdb_select): Use serial_done_wait_handle.
2006-04-24 21:00:13 +00:00
gdbadmin
655200ca7d
*** empty log message ***
2006-04-24 00:00:03 +00:00
Andreas Schwab
b8eb021a30
* rs6000-tdep.c: Include "reggroups.h" only once.
...
* Makefile.in (rs6000-tdep.o): Update dependencies.
2006-04-23 14:15:01 +00:00
gdbadmin
3f14f3d103
*** empty log message ***
2006-04-23 00:00:02 +00:00
Andrew Cagney
c5e30d0156
2006-04-22 Andrew Cagney <cagney@redhat.com>
...
* gdb.texinfo (Contributors): Credit frame unwinder contributors.
* gdbint.texinfo (Algorithms): Fix errors in frame documentation.
2006-04-22 23:12:03 +00:00
gdbadmin
9aa8aaf750
*** empty log message ***
2006-04-22 00:00:33 +00:00
Frederic Riss
4f1520fbca
2006-04-21 Frederic Riss <frederic.riss@st.com>
...
* dwarf2read.c (dwarf2_start_subfile): Change prototype to accept
compilation directory as last argument.
Always pass comp_dir as second argument to start_subfile and prepend
dirname to the filename when necessary.
Remove now superfluous search for pre-existing subfile.
(dwarf_decode_lines): Pass the compilation directory to
dwarf2_start_subfile.
2006-04-21 20:26:07 +00:00
gdbadmin
fbd9c86b6b
*** empty log message ***
2006-04-21 00:00:33 +00:00
Michael Snyder
c702009a72
2006-04-20 Michael Snyder <msnyder@redhat.com>
...
* 2006-03-22 Jim Blandy <jimb@redhat.com>
Add support for the Renesas M32C and M16C.
* gdb.asm/asm-source.exp: Add m32c target.
* gdb.asm/m32c.inc: Support for m32c target.
2006-04-20 23:24:23 +00:00
Michael Snyder
9630918965
2006-04-20 Michael Snyder <msnyder@redhat.com>
...
* 2006-03-22 Jim Blandy <jimb@redhat.com>
Add support for the Renesas M32C and M16C.
* configure.tgt (m32c-*-*): New entry.
* config/m32c/m32c.mt: New file.
* m32c-tdep.c: New file.
* Makefile.in (elf_m32c_h): New variable.
(m32c-tdep.o): New rule.
* NEWS: Mention new target.
* MAINTAINERS: Designate Jim Blandy as responsible maintainer.
2006-04-20 23:18:48 +00:00
Daniel Jacobowitz
cba5fab953
* m68klinux-tdep.c (m68k_linux_sigtramp_frame_prev_register):
...
Correct type of VALUEP. Reported by Jean-Rene Peulve
<jr.peulve@wanadoo.fr>.
2006-04-20 17:29:47 +00:00
gdbadmin
55a9e67fe5
*** empty log message ***
2006-04-20 00:00:03 +00:00
Kazuhiro Inaoka
cbba9205ad
2006-04-19 Masaki Muranaka <monaka@monami-software.com>
...
* m32r-rom.c: On MinGW, include winsock.h instead of sys/types.h,
netdb.h, netinet/in.h.
(m32r_upload_command); Add calls WSAStartup().
* remote-m32r-sdi.c: On MinGW, include winsock.h instead of
netinet/in.h.
2006-04-19 06:36:37 +00:00
gdbadmin
9e5249ce6b
*** empty log message ***
2006-04-19 00:00:34 +00:00
Daniel Jacobowitz
8181d85fdc
gdb/
...
* breakpoint.c (deprecated_read_memory_nobpt): Update to use
shadow_len.
(insert_bp_location, reattach_breakpoints, remove_breakpoint)
(delete_breakpoint): Update calls to changed methods.
(deprecated_insert_raw_breakpoint, deprecated_remove_raw_breakpoint)
(single_step_breakpoints, insert_single_step_breakpoint)
(remove_single_step_breakpoints): New.
* breakpoint.h (struct bp_target_info): New.
(struct bp_location): Replace shadow_contents with
target_info and overlay_target_info.
(deprecated_insert_raw_breakpoint, deprecated_remove_raw_breakpoint)
(insert_single_step_breakpoint, remove_single_step_breakpoints): New
prototypes.
* gdbarch.sh: Forward declare struct bp_target_info in gdbarch.h.
(memory_insert_breakpoint, memory_remove_breakpoint): Update second
argument.
* mem-break.c (default_memory_insert_breakpoint): Update. Set
placed_address, placed_size, and shadow_len.
(default_memory_remove_breakpoint): Update. Don't use
BREAKPOINT_FROM_PC.
(memory_insert_breakpoint, memory_remove_breakpoint): Update.
* target.c (update_current_target): Update prototypes for changed
functions.
(debug_to_insert_breakpoint, debug_to_remove_breakpoint)
(debug_to_insert_hw_breakpoint, debug_to_remove_hw_breakpoint):
Update.
* target.h: Forward declare struct bp_target_info.
(struct target_ops): Use a bp_target_info argument for
to_insert_breakpoint, to_remove_breakpoint,
to_insert_hw_breakpoint, and to_remove_hw_breakpoint.
(target_insert_breakpoint, target_remove_breakpoint)
(target_insert_hw_breakpoint, target_remove_hw_breakpoint)
(memory_insert_breakpoint, memory_remove_breakpoint)
(default_memory_insert_breakpoint, default_memory_remove_breakpoint):
Update.
* config/i386/nm-i386.h: Forward declare struct bp_target_info.
(i386_insert_hw_breakpoint, i386_remove_hw_breakpoint): Update.
(target_insert_hw_breakpoint, target_remove_hw_breakpoint): Likewise.
* gdbarch.c, gdbarch.h: Regenerated.
* alpha-tdep.c (alpha_software_single_step): Use
insert_single_step_breakpoint and remove_single_step_breakpoints.
Remove unused statics.
* arm-tdep.c (arm_software_single_step): Likewise. Add a note.
* cris-tdep.c (cris_software_single_step): Likewise.
* mips-tdep.c (mips_software_single_step): Likewise.
* rs6000-tdep.c (rs6000_software_single_step): Likewise.
* sparc-tdep.c (sparc_software_single_step): Likewise.
* wince.c (struct thread_info_struct): Remove step_prev.
(undoSStep): Use remove_single_step_breakpoints.
(wince_software_single_step): Use insert_single_step_breakpoint.
* corelow.c (ignore): Remove unneeded prototype. Update arguments.
* exec.c (ignore): Likewise.
* sol-thread.c (ignore): Likewise.
* procfs.c (dbx_link_shadow_contents): Delete.
(dbx_link_bpt): New.
(procfs_mourn_inferior): Remove it if necessary.
(remove_dbx_link_breakpoint): Use it.
(insert_dbx_link_bpt_in_file): Set it.
(procfs_init_inferior): Don't update dbx_link_bpt_addr.
* rs6000-nat.c (exec_one_dummy_insn): Use
deprecated_insert_raw_breakpoint and
deprecated_remove_raw_breakpoint.
* solib-irix.c (shadow_contents, breakpoint_addr): Delete.
(base_breakpoint): New.
(disable_break): Use it.
(enable_break): Set it.
* i386-nat.c (i386_insert_hw_breakpoint, i386_remove_hw_breakpoint):
Update.
* ia64-tdep.c (ia64_memory_insert_breakpoint)
(ia64_memory_remove_breakpoint): Likewise.
* m32r-tdep.c (m32r_memory_insert_breakpoint)
(m32r_memory_remove_breakpoint): Likewise.
* monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint):
Likewise. Remove unnecessary prototypes. Use placed_address
and placed_size. Removed useless read from memory.
* nto-procfs.c (procfs_insert_breakpoint)
(procfs_remove_breakpoint, procfs_insert_hw_breakpoint)
(procfs_remove_hw_breakpoint): Update.
* ocd.c (ocd_insert_breakpoint, ocd_remove_breakpoint): Likewise.
* ocd.h (ocd_insert_breakpoint, ocd_remove_breakpoint): Likewise.
* ppc-linux-tdep.c (ppc_linux_memory_remove_breakpoint): Likewise.
* ppc-tdep.h (ppc_linux_memory_remove_breakpoint): Likewise.
* remote-e7000.c (e7000_insert_breakpoint)
(e7000_remove_breakpoint): Likewise.
* remote-m32r-sdi.c (m32r_insert_breakpoint)
(m32r_remove_breakpoint): Likewise.
* remote-mips.c (mips_insert_breakpoint)
(mips_remove_breakpoint): Likewise.
* remote-rdp.c (remote_rdp_insert_breakpoint)
(remote_rdp_remove_breakpoint): Likewise.
(rdp_step): Use deprecated_insert_raw_breakpoint and
deprecated_remove_raw_breakpoint.
* remote-sds.c (sds_insert_breakpoint, sds_remove_breakpoint):
Update.
* remote-sim.c (gdbsim_insert_breakpoint, gdbsim_remove_breakpoint):
Delete.
(init_gdbsim_ops): Use memory_insert_breakpoint and
memory_remove_breakpoint.
* remote-st.c (st2000_insert_breakpoint)
(st2000_remove_breakpoint): Update. Remove unused
BREAKPOINT_FROM_PC.
* remote.c (remote_insert_breakpoint, remote_remove_breakpoint):
Update. Use placed_address and placed_size.
(remote_insert_hw_breakpoint, remote_remove_hw_breakpoint): Likewise.
gdb/doc/
* gdbint.texinfo (x86 Watchpoints, Target Conditionals): Update insert
and remove breakpoint prototypes.
(Watchpoints): Move description of target_insert_hw_breakpoint and
target_remove_hw_breakpoint ...
(Breakpoints): ... to here. Document target_insert_breakpoint and
target_remove_breakpoint.
2006-04-18 19:20:08 +00:00
Jim Blandy
4f553f885c
gdb/doc/ChangeLog:
...
2006-04-17 Jim Blandy <jimb@codesourcery.com>
* gdb.texinfo (Packets): Note that 'addr' arguments to s, S, c,
and C packets are optional.
2006-04-18 00:17:55 +00:00
gdbadmin
7570ed394f
*** empty log message ***
2006-04-18 00:00:02 +00:00
gdbadmin
b667d15886
*** empty log message ***
2006-04-17 00:00:05 +00:00
gdbadmin
53c9efcc53
*** empty log message ***
2006-04-16 00:00:02 +00:00
gdbadmin
4c1dce79e2
*** empty log message ***
2006-04-15 00:00:08 +00:00
Frederic Riss
cd852561d0
2006-04-14 Frederic Riss <frederic.riss@st.com>
...
* gdb.texinfo (Specifying source directories): Update the description
of the source file search to reflect the fact that the source path
always contains at least $cdir and $cwd.
2006-04-14 18:31:32 +00:00
gdbadmin
530392d34b
*** empty log message ***
2006-04-14 00:00:33 +00:00
gdbadmin
fa3358a462
*** empty log message ***
2006-04-13 00:00:03 +00:00
Daniel Jacobowitz
01d3a6ce13
* remote.c (extended_remote_restart): Pass the correct length
...
to getpkt.
2006-04-12 14:27:40 +00:00
gdbadmin
b0748bc881
*** empty log message ***
2006-04-12 00:00:03 +00:00
Jim Blandy
2821caf119
src/gdb/ChangeLog:
...
2006-04-11 Jim Blandy <jimb@codesourcery.com>
* serial.c (serial_open): Check for special cases at the front of
the "device" name before scanning for the ':' that would indicate
an IP-based connection.
2006-04-11 20:33:12 +00:00
gdbadmin
4d8dc229a4
*** empty log message ***
2006-04-11 00:00:02 +00:00
Christopher Faylor
02c5aecd1e
* win32-nat.c (open_symbol_file_object): New function.
...
(in_dynsym_resolve_code): Ditto.
(init_win32_ops): Fill in fields which ought not to be NULL.
2006-04-10 21:43:45 +00:00
Christopher Faylor
cb832706eb
* win32-nat.c (do_win32_fetch_inferior_registers): Don't do anything with saved
...
context if __COPY_CONTEXT_SIZE is not defined.
(handle_output_debug_string): Ditto.
2006-04-10 16:13:01 +00:00
Daniel Jacobowitz
03926e1f63
* arm-linux-tdep.c (arm_linux_extract_return_value): Use gdb_byte.
2006-04-10 14:39:24 +00:00
gdbadmin
29df5343c1
*** empty log message ***
2006-04-10 00:00:32 +00:00
David S. Miller
b2a0b9b2f6
* sparc64-linux-tdep.c (sparc64_linux_init_abi): Append dwarf2
...
frame sniffer.
* sparc-tdep.c (sparc32_gdbarch_init): Make sure to call
dwarf2_frame_set_init_reg() before gdbarch_init_osabi() so
that the latter can override.
* Makefile.in (sparc64-linux-tdep.o): Update dependencies.
2006-04-09 08:22:43 +00:00
Ulrich Weigand
ee1b3323e6
* s390-tdep.c (struct s390_prologue_data): New field 'stack'.
...
(s390_store): Call pv_area_store to track stack slots.
(s390_load): Call pv_area_fetch to track stack slots.
(s390_check_for_saved): New function.
(s390_analyze_prologue): Call pv_area_scan. Allocate and free stack.
2006-04-09 01:21:15 +00:00
Ulrich Weigand
3fc46200b1
* Makefile.in (s390-tdep.o): Add dependency on $(prologue_value_h).
...
* s390-tdep.c: Include "prologue-value.h".
(struct prologue_value): Remove.
(pv_set_to_unknown, pv_set_to_constant, pv_set_to_register,
pv_constant_last, pv_add, pv_add_constant, pv_subtract,
pv_logical_and, pv_is_identical, pv_is_register): Remove.
(compute_x_addr): Remove, replace by ...
(s390_addr): ... this new function.
(struct s390_prologue_data): Use pv_t instead of prologue_value.
(s390_store, s390_load): Likewise.
(s390_prologue_frame_unwind_cache): Likewise.
(s390_analyze_prologue): Likewise. Also, simplify and combine
several conditional statements.
2006-04-09 00:26:08 +00:00
gdbadmin
2d87175e88
*** empty log message ***
2006-04-09 00:00:02 +00:00
Jim Blandy
d750b93998
2006-04-08 Jim Blandy <jimb@codesourcery.com>
...
* Makefile.in (COMMON_OBS): List prologue-value.o. (Omitted from
last patch.)
2006-04-08 23:40:03 +00:00
David S. Miller
07c5f590ae
* sparc64-linux-tdep.c (sparc64_linux_core_gregset,
...
sparc64_linux_supply_core_gregset,
sparc64_linux_collect_core_gregset,
sparc64_linux_supply_core_fpregset,
sparc64_linux_collect_core_fpregset): New.
(sparc64_linux_init_abi): Register them with generic sparc
core regset infrastructure.
* sparc32-linux-tdep.c (sparc32_linux_core_gregset,
sparc32_linux_supply_core_gregset,
sparc32_linux_collect_core_gregset,
sparc32_linux_supply_core_fpregset,
sparc32_linux_collect_core_fpregset): New.
(sparc32_linux_init_abi): Register them with generic sparc
core regset infrastructure.
* Makefile.in: Update dependencies.
2006-04-08 21:15:26 +00:00
David S. Miller
0b4294d3c0
* sparc-linux-tdep.c (sparc32_linux_step_trap): New.
...
(sparc32_linux_init_abi): Hook it into tdep->step_trap.
* sparc64-linux-tdep.c (sparc64_linux_step_trap): New.
(sparc64_linux_init_abi): Hook it into tdep->step_trap.
* Makefile.in: Update dependencies.
2006-04-08 21:01:36 +00:00
gdbadmin
ed7fba2c22
*** empty log message ***
2006-04-08 00:00:03 +00:00
David S. Miller
a529be7c5e
Fix typo in previous commit.
2006-04-07 23:34:26 +00:00
David S. Miller
9c0dd46b95
* linux-nat.c (linux_nat_thread_alive): Handle targets that
...
do not implement PTRACE_PEEKUSER.
2006-04-07 21:42:33 +00:00
Daniel Jacobowitz
670aa98f98
* remote.c (remote_wait): Convert warning to error before
...
parsing corrupt packets.
2006-04-07 16:15:58 +00:00
Andrew Stubbs
e28493f226
2006-04-07 Andrew Stubbs <andrew.stubbs@st.com>
...
gdb/
* cli/cli-script.c (struct user_args): Add command field.
(arg_cleanup): Free command string.
(setup_user_args): Copy the command line before relying on it.
gdb/testsuite/
* gdb.base/commands.exp (recursive_source_test): New test.
2006-04-07 13:31:15 +00:00
gdbadmin
57fce297b1
*** empty log message ***
2006-04-07 00:00:02 +00:00
Joel Brobecker
7f198e01c2
* breakpoint.c (_initialize_breakpoint): Add "del" as an alias
...
of the "delete" command.
2006-04-06 18:33:05 +00:00
Randolph Chung
c9f7217ee8
2006-04-06 Randolph Chung <tausq@debian.org>
...
* MAINTAINERS (Patch champions): Add myself.
2006-04-06 15:12:47 +00:00
gdbadmin
78e5861bac
*** empty log message ***
2006-04-06 00:00:02 +00:00
Andreas Schwab
d993720d58
* Makefile.in: Update dependencies.
2006-04-05 21:51:11 +00:00
David S. Miller
faea95b19b
* sparc-linux-tdep.c (sparc32_linux_init_abi): Append
...
dwarf2 frame sniffer.
* Makefile.in (sparc-linux-tdep.o): Update dependencies.
2006-04-05 20:27:08 +00:00
David S. Miller
aff37fc18f
* dwarf2-frame.c (dwarf2_frame_ops init_reg): Add "next_frame"
...
argument.
(dwarf2_frame_default_init_reg): Likewise.
(dwarf2_frame_set_init_reg): Update init_reg arg.
(dwarf2_frame_init_reg): Take "next_frame" and pass it to
ops->init_reg().
(dwarf2_frame_cache): Pass next_frame to dwarf2_frame_init_reg.
* dwarf2-frame.h (dwarf2-frame_set_init_reg): Update declaration.
* cris-tdep.c (cris_dwarf2_frame_init_reg): Add next_frame arg.
* s390-tdep.c (s390_dwarf2_frame_init_reg): Likewise.
* sh-tdep.c (sh_dwarf2_frame_init_reg): Likewise.
* sparc64-tdep.c (sparc64_dwarf2_frame_init_reg): Likewise.
* sparc-tdep.c (sparc32_struct_return_from_sym): New function.
(sparc32_frame_cache): Call it.
(sparc32_dwarf2_struct_return_p): New function.
(sparc_dwarf2_frame_init_reg): Use it to determine if the function
returns a structure and thus we have to indicate the return PC and
NPC are 4 bytes later than usual.
2006-04-05 20:01:19 +00:00
David S. Miller
80f9e3aafe
* sparc-linux-tdep.c (sparc32_linux_sigframe_init): Pull register
...
window out of the correct stack frame.
* sparc64-linux-tdep.c (sparc64_linux_sigframe_init): Likewise.
2006-04-05 19:19:12 +00:00
David S. Miller
f5a9b87dbe
* sparc-tdep.c (sparc32_dwarf2_frame_init_reg): New.
...
(sparc32_gdbarch_init): Pass it to dwarf2_frame_set_init_reg.
* Makefile.in (sparc-tdep.o): Update dependencies.
2006-04-05 18:35:39 +00:00
gdbadmin
b12120b1d1
*** empty log message ***
2006-04-05 00:00:03 +00:00
David S. Miller
880da1859d
* gdb.base/float.exp: Add pattern for sparc targets.
2006-04-04 23:17:41 +00:00
David S. Miller
0a59b3af50
* Makefile.in (sparc-linux-nat.o, sparc64-linux-nat.o): Update for
...
new includes.
2006-04-04 22:14:52 +00:00
David S. Miller
75e192e668
* config/linux.mh (NATDEPFILES): Remove sparc-sol2-nat.o
...
* config/linux64.h (NATDEPFILES): Likewise
* sparc-linux-nat.c (supply_gregset, supply_fpregset, fill_gregset,
fill_fpregset): New.
* sparc64-linux-nat.c (supply_gregset, supply_fpregset, fill_gregset,
fill_fpregset): New.
2006-04-04 21:53:45 +00:00
Andreas Schwab
dbcd679b17
* Makefile.in (elf_common_h): Define.
2006-04-04 17:06:36 +00:00
gdbadmin
e69892d4d0
*** empty log message ***
2006-04-04 00:00:02 +00:00
Andrew Stubbs
357d3800d1
2006-04-03 Andrew Stubbs <andrew.stubbs@st.com>
...
* sh-tdep.c (sh_dwarf2_frame_init_reg): New function.
(sh_gdbarch_init): Call dwarf2_frame_set_init_reg().
2006-04-03 14:31:14 +00:00
gdbadmin
4c3a323bb9
*** empty log message ***
2006-04-03 00:00:32 +00:00
gdbadmin
3bc36923ba
*** empty log message ***
2006-04-02 00:00:03 +00:00
gdbadmin
61353e4284
*** empty log message ***
2006-04-01 00:00:32 +00:00
Michael Snyder
b620eb07bc
2006-03-31 Michael Snyder <msnyder@redhat.com>
...
* gdb.texinfo: Update copyright dates.
2006-03-31 19:47:11 +00:00
Eli Zaretskii
f8da2bffa0
Fix last change.
2006-03-31 14:17:58 +00:00
Eli Zaretskii
3156cdafc8
* gdb.texinfo (Overview): Add an index entry to "empty response".
2006-03-31 14:14:28 +00:00
Andrew Stubbs
d3c139e926
2006-03-31 Andrew Stubbs <andrew.stubbs@st.com>
...
* value.h (struct internalvar): Add field 'endian'.
* value.c (lookup_internalvar): Initialise endian.
(value_of_internalvar): Flip the endian of built-in types if required.
(set_internalvar): Set the endian.
(show_convenience): Access the value through value_of_internalvar().
2006-03-31 10:36:18 +00:00
gdbadmin
b2faffd893
*** empty log message ***
2006-03-31 00:00:04 +00:00
Daniel Jacobowitz
bb858e6a2c
2006-03-30 Vladimir Prus <ghost@cs.msu.su>
...
* remote.c (watchpoint_to_Z_packet): Use values of Z_packet_type enum
instead of hardcoded integer literals.
2006-03-30 16:56:30 +00:00
Daniel Jacobowitz
61d9b92fc1
gdb/
...
* cli/cli-script.c (insert_args): Handle NULL user_args.
gdb/testsuite/
* gdb.base/commands.exp (stray_arg0_test): New test.
2006-03-30 16:51:20 +00:00
Daniel Jacobowitz
f7060f859d
* arm-tdep.c (thumb_scan_prologue): Don't try to analyze
...
the function at zero if we have no symbols.
2006-03-30 16:48:47 +00:00
Daniel Jacobowitz
295bf0ffc7
* i386-stub.c (getpacket): Fix array overflow.
...
* m32r-stub.c (getpacket): Likewise.
* m68k-stub.c (getpacket): Likewise.
* sh-stub.c (getpacket): Likewise.
* sparc-stub.c (getpacket): Likewise.
2006-03-30 16:44:12 +00:00
Daniel Jacobowitz
7abfe01489
* frame.h (set_current_sal_from_frame): New prototype.
...
* stack.c (set_current_sal_from_frame): Make global.
* infrun.c (normal_stop): Call set_current_sal_from_frame.
2006-03-30 16:37:13 +00:00
Daniel Jacobowitz
0ec9a092fd
* linux-thread-db.c: Include "linux-nat.h".
...
(check_for_thread_db): New function, split out from
thread_db_new_objfile. Remove dead check for active
thread_db on inapplicable targets.
(thread_db_new_objfile): Call check_for_thread_db.
* Makefile.in (linux-thread-db.o): Update.
* linux-nat.c (child_post_attach): Call check_for_thread_db.
(linux_child_post_startup_inferior): Likewise.
(lin_lwp_attach_lwp): Call target_post_attach instead of
child_post_attach.
* linux-nat.h (check_for_thread_db): New prototype.
2006-03-30 16:34:23 +00:00
Daniel Jacobowitz
6d820c5c12
* remote.c (struct remote_state): Add BUF and BUF_SIZE.
...
(init_remote_state): Initialize the new fields.
(get_memory_packet_size): Update BUF and BUF_SIZE if necessary.
(set_thread, remote_thread_alive, remote_unpack_thread_info_response)
(remote_get_threadinfo, parse_threadlist_response)
(remote_get_threadlist, remote_current_thread, remote_threads_info)
(remote_threads_extra_info, extended_remote_restart, get_offsets)
(remote_check_symbols, remote_open_1, remote_detach)
(remove_vcont_probe, remote_vcont_resume, remote_resume)
(remote_wait, remote_async_wait, fetch_register_using_p)
(remote_fetch_registers, store_register_using_P)
(remote_store_registers, check_binary_download, remote_write_bytes)
(remote_read_bytes, remote_insert_breakpoint)
(remote_remove_breakpoint, remote_insert_watchpoint)
(remote_remove_watchpoint, remote_insert_hw_breakpoint)
(remote_remove_hw_breakpoint, compare_sections_command)
(remote_xfer_partial, remote_rcmd, packet_command)
(remote_get_thread_local_address): Use the global incoming buffer
instead of alloca or xmalloc. Limit outgoing packets to
rs->remote_packet_size and incoming packets to rs->buf_size.
Update calls to getpkt and remote_send.
(remote_send): Take arguments by reference.
(putpkt_binary): Eliminate junkbuf. Use skip_frame.
(skip_frame): New function.
(read_frame): Take arguments by reference. Expand the packet
buffer instead of issuing an error.
(getpkt, getpkt_sane): Take arguments by reference.
* remote.h (getpkt): Update prototype and doc.
* tracepoint.c (remote_get_noisy_reply): Take arguments by
reference.
(target_buf): Change from array to pointer.
(target_buf_size): New variable.
(remote_set_transparent_ranges): Update call to getpkt.
(trace_start_command, trace_stop_command, trace_status_command):
Update calls to remote_get_noisy_reply.
(finish_tfind_command): Take arguments by reference.
(trace_find_command, trace_find_pc_command)
(trace_find_tracepoint_command, trace_find_line_command):
(trace_find_range_command, trace_find_outside_command): Update
calls to finish_tfind_command.
(_initialize_tracepoint): Initialize target_buf_size and target_buf.
2006-03-30 16:25:06 +00:00
Paul Brook
bd717df8b1
2006-03-30 Paul Brook <paul@codesourcery.com>
...
* gdb.mi/mi-until.exp: kfail broken until command.
* gdb.mi/mi2-until.exp: Ditto.
2006-03-30 16:21:26 +00:00
Randolph Chung
3d8dcac680
2005-03-30 Randolph Chung <tausq@debian.org>
...
* hppa-linux-tdep.c: Include regset.h.
(GR_REGNUM, TR_REGNUM, greg_map): New.
(hppa_linux_supply_regset, hppa_linux_supply_fpregset): New.
(hppa_linux_regset, hppa_linux_fpregset): New.
(hppa_linux_regset_from_core_section): New.
(hppa_linux_init_abi): Set regset_from_core_section.
(_initialize_hppa_linux_tdep): Register osabi handler for
64-bit Linux.
* Makefile.in (hppa-linux-tdep.o): Update dependencies.
* config/pa/linux.mh: Stop using core-regset.o
2006-03-30 14:27:45 +00:00
Randolph Chung
29d375acb5
2006-03-30 Randolph Chung <tausq@debian.org>
...
* hppa-tdep.c (hppa_find_unwind_entry_in_block): New.
(hppa_frame_cache): Use new function to find unwind entry.
(hppa_frame_this_id): Likewise.
(hppa_frame_unwind_sniffer): Likewise.
2006-03-30 14:15:00 +00:00
gdbadmin
18f085d85b
*** empty log message ***
2006-03-30 00:00:02 +00:00
Daniel Jacobowitz
f4267320e5
2006-03-29 Daniel Jacobowitz <dan@codesourcery.com>
...
* NEWS: Mention the removal of NLM.
2006-03-29 Steve Ellcey <sje@cup.hp.com>
* Makefile.in (nlm): Remove target.
* configure.tgt (i[34567]86-*-netware*): Do not set build_nlm.
* configure.ac: Remove AC_CONFIG_SUBDIRS of nlm.
* configure: Regenerate.
* doc/gdb.texinfo: Remove gdbserve.nlm documentation.
* nlm: Remove directory.
2006-03-29 22:58:55 +00:00
Daniel Jacobowitz
698ba9341e
* Makefile.in (utils.o): Update.
...
* top.c (in_user_command): New.
(command_line_input): Use input_from_terminal_p.
(input_from_terminal_p): Don't check caution. Handle
stdin == NULL for Insight.
* top.h (in_user_command, caution): New declarations.
* utils.c: Include "top.h".
(query, defaulted_query): Check caution here. Move the call
to input_from_terminal_p higher.
* cli/cli-script.c (do_restore_user_call_depth): Only decrement
the depth. Update in_user_command if necessary.
(execute_user_command): Don't clobber old_chain. Set
in_user_command. Let do_restore_user_call_depth handle
user_call_depth.
(read_command_lines): Check whether to prompt before calling
Insight hooks.
* tui/tui-hooks.c (tui_query_hook): Remove newly unnecessary
input_from_terminal_p check.
2006-03-29 22:53:33 +00:00
Ulrich Weigand
2f00de94cb
* s390-nat.c (s390_insert_watchpoint): Add missing argument.
...
(s390_remove_watchpoint): Likewise.
2006-03-29 18:27:00 +00:00
gdbadmin
e9a7b9b5b3
*** empty log message ***
2006-03-29 00:00:33 +00:00
Jim Blandy
7d30c22d4c
src/gdb/ChangeLog:
...
2006-03-28 Jim Blandy <jimb@codesourcery.com>
* prologue-value.c, prologue-value.h: New files.
* Makefile.in (prologue_value_h): New variable.
(HFILES_NO_SRCDIR): List prologue-value.h.
(SFILES): List prologue-value.c.
(COMMON_OBS): List prologue-value.o.
(prologue-value.o): New rule.
src/gdb/doc/ChangeLog:
2006-03-28 Jim Blandy <jimb@codesourcery.com>
* gdbint.texinfo (Prologue Analysis): New section.
2006-03-28 19:19:16 +00:00
Michael Snyder
05c6a9a10e
2006-03-27 Michael Snyder <msnyder@redhat.com>
...
* xstormy16-tdep.c (xstormy16_return_value, xstormy16_push_dummy_call,
xstormy16_pointer_to_address, xstormy16_address_to_pointer,
xstormy16_frame_prev_register): Change void* to gdb_byte*.
(xstormy16_push_dummy_call): Add block-local char* val,
to avoid type conflict with outer scope variable.
2006-03-28 18:58:30 +00:00
gdbadmin
543b2a1257
*** empty log message ***
2006-03-28 00:00:02 +00:00
Andrew Stubbs
4e6cbc38c3
2006-03-27 Andrew Stubbs <andrew.stubbs@st.com>
...
* sh-tdep.c (sh_gdbarch_init): Add missing architectures.
2006-03-27 13:15:01 +00:00
Nick Roberts
5cc40a5834
New files.
2006-03-27 00:27:09 +00:00
Nick Roberts
ec793d3caa
*** empty log message ***
2006-03-27 00:22:31 +00:00
Nick Roberts
7a24eb7c24
(c_name_of_child, c_value_of_child): Allow non-zero
...
offsets for languages like Fortran.
2006-03-27 00:15:22 +00:00
Nick Roberts
75483fbe58
*** empty log message ***
2006-03-27 00:14:34 +00:00
gdbadmin
113ed9bb56
*** empty log message ***
2006-03-27 00:00:32 +00:00
Randolph Chung
97ce3a051a
2006-03-26 Randolph Chung <tausq@debian.org>
...
* config/pa/hppa64.mt: Use HPUX version of the tm file.
2006-03-26 08:18:17 +00:00
gdbadmin
29fcb30c9c
*** empty log message ***
2006-03-26 00:00:33 +00:00
Nick Roberts
897731a2ae
(gdbmi-send): Improve regexp to repeat commands.
...
Try to deal with continuation line.
(gdbmi, gdbmi-prompt1, gud-gdbmi-marker-filter): Update to new
variable names.
(gdb-break-list-regexp, gdb-stack-list-frames-regexp):
Future proof against new fields being added to MI output.
(gdbmi-prompt2, gdb-break-list-handler,gdb-get-source-file)
(gdbmi-frame-handler): Update to new variable name
gdb-get-buffer-create.
(gdbmi-frame-handler): Use hollow-right-triangle for all selected
frames which except the innermost (where execution has stopped).
2006-03-25 10:46:38 +00:00
Nick Roberts
be85b69fc6
*** empty log message ***
2006-03-25 10:46:02 +00:00
gdbadmin
9332ab0250
*** empty log message ***
2006-03-25 00:00:38 +00:00
Randolph Chung
7fc4b1a180
2006-03-24 Randolph Chung <tausq@debian.org>
...
* solib-som.c (link_map_start): Don't error out if there is
not yet a link map.
2006-03-24 23:49:56 +00:00
Daniel Jacobowitz
f973ed9c9f
* linux-nat.c (linux_ops_saved): New.
...
(super_mourn_inferior, kill_inferior, threaded, linux_nat_ops)
(child_mourn_inferior, child_wait, linux_nat_create_inferior)
(linux_nat_fetch_registers, linux_nat_store_registers)
(linux_nat_child_post_startup_inferior, init_linux_nat_ops): Delete.
(init_lwp_list): Don't set threaded.
(add_lwp): Don't modify threaded.
(delete_lwp): Don't mention non-threaded mode.
(linux_nat_switch_fork): New.
(linux_nat_attach): Update inferior_ptid.
(linux_nat_wait): Handle num_lwps == 0 at entry. Don't check
threaded flag.
(linux_nat_kill): Handle pending forks and saved forks.
(linux_nat_mourn_inferior): Handle saved forks.
(linux_nat_pid_to_str): Don't use the LWP form when there is
only one thread.
(linux_target): Don't set to_wait, to_kill, or to_mourn_inferior.
(linux_nat_add_target): New.
(_initialize_linux_nat): Don't initialize the linux native target
here.
* linux-nat.h (linux_nat_add_target, linux_nat_switch_fork): New
prototypes.
* linux-fork.c: Include "linux-nat.h".
(add_fork): Update initial PID.
(fork_load_infrun_state): Call linux_nat_switch_fork.
* Makefile.in (linux-fork.o): Update.
* alpha-linux-nat.c (_initialize_alpha_linux_nat): Use
linux_nat_add_target instead of add_target.
* amd64-linux-nat.c (_initialize_amd64_linux_nat): Likewise.
* arm-linux-nat.c (_initialize_arm_linux_nat): Likewise.
* hppa-linux-nat.c (_initialize_hppa_linux_nat): Likewise.
* ia64-linux-nat.c (_initialize_ia64_linux_nat): Likewise.
* i386-linux-nat.c (_initialize_i386_linux_nat): Likewise.
* m32r-linux-nat.c (_initialize_m32r_linux_nat): Likewise.
* m68klinux-nat.c (_initialize_m68k_linux_nat): Likewise.
* mips-linux-nat.c (_initialize_mips_linux_nat): Likewise.
* ppc-linux-nat.c (_initialize_ppc_linux_nat): Likewise.
* s390-nat.c (_initialize_s390_nat): Likewise.
* sparc-linux-nat.c (_initialize_sparc_linux_nat): Likewise.
* sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Likewise.
2006-03-24 23:08:16 +00:00
Daniel Jacobowitz
791b663bea
* linux-fork.c: Include "gdb_assert.h".
...
(fork_load_infrun_state): Set inferior_ptid and stop_pc here.
Update the register cache and selected frame also.
(linux_fork_mourn_inferior): Use fork_load_infrun_state. Return
to single fork mode if necessary.
(linux_fork_context): Remove bits handled by fork_load_infrun_state.
* Makefile.in (linux_fork_h): New.
(linux-fork.o, linux-nat.o): Update.
2006-03-24 22:44:05 +00:00
gdbadmin
fc0197af26
*** empty log message ***
2006-03-24 00:00:04 +00:00
Andreas Schwab
d311d956ed
* config/s390/s390.mh (NATDEPFILES): Add linux-fork.o.
2006-03-23 14:05:29 +00:00
gdbadmin
c5f44798e0
*** empty log message ***
2006-03-23 00:00:32 +00:00