Joel Brobecker
a896d12139
* gdb.base/default.exp: Adjust the expected output of "info
...
warranty" after the switch to GPLv3.
2007-08-23 20:36:15 +00:00
Joel Brobecker
4de6a07ed0
* Makefile.in (copying.c): Use the top-level COPYING3 as the file
...
that contains the GDB license.
* copying.awk: Adjust to the GPLv3 wording.
* copying.c: Regenerate.
2007-08-23 20:33:48 +00:00
Joel Brobecker
01d4100f86
Spelling fix.
2007-08-23 20:21:52 +00:00
Joel Brobecker
07aed0ebe2
* copying.awk: Protoization, and I18n markup.
2007-08-23 20:19:32 +00:00
Joel Brobecker
7b4336022e
* lib/gdb.exp (default_gdb_init): Increase expect buffer size
...
to 30000 (from 20000).
2007-08-23 20:10:04 +00:00
Joel Brobecker
50efebf80c
* config/djgpp/djconfig.sh: Switch license to GPLv3.
...
* copyright.sh: Likewise.
* gdb-events.sh: Likewise.
* gdb_gcore.sh: Likewise.
* gdb_mbuild.sh: Likewise.
* gdbarch.sh: Likewise.
* observer.sh: Likewise.
* features/feature_to_c.sh: Likewise.
* regformats/regdat.sh: Likewise.
2007-08-23 18:19:51 +00:00
Joel Brobecker
e22f8b7c8c
Switch the license of all .exp files to GPLv3.
...
Switch the license of all .f and .f90 files to GPLv3.
Switch the license of all .s and .S files to GPLv3.
2007-08-23 18:14:19 +00:00
Joel Brobecker
a9762ec78a
Switch the license of all .c files to GPLv3.
...
Switch the license of all .h files to GPLv3.
Switch the license of all .cc files to GPLv3.
2007-08-23 18:08:50 +00:00
Joel Brobecker
5a0e3bd0ac
* configure.ac: Switch license to GPLv3.
2007-08-23 17:58:44 +00:00
Joel Brobecker
cc00619d4d
Switch the licensing to GPLv3 for all .ads and .adb files.
2007-08-23 17:49:23 +00:00
gdbadmin
843c0a254b
*** empty log message ***
2007-08-23 00:00:06 +00:00
Daniel Jacobowitz
609ca2b957
* mips-tdep.c (mips_gdbarch_init): Use Tag_GNU_MIPS_ABI_FP to
...
determine the file's FPU type.
2007-08-22 15:16:56 +00:00
Daniel Jacobowitz
8d26208a1e
gdb/testsuite/
...
* gdb.base/callfuncs.exp (do_function_calls): Use t_double_int
and t_int_double.
* gdb.base/callfuncs.c (t_double_int, t_int_double): New.
gdb/
* mips-tdep.c (mips_n32n64_fp_arg_chunk_p): New.
(mips_n32n64_push_dummy_call): Always increment float_argreg along
with argreg. Use mips_n32n64_fp_arg_chunk_p.
2007-08-22 15:13:04 +00:00
Daniel Jacobowitz
65728c2698
* solib-svr4.c (scan_dyntag): Only read target memory when necessary.
...
Fix formatting.
(elf_locate_base): Look for DT_MIPS_RLD_MAP first. Expand comments.
(elf_lookup_lib_symbol): Fix formatting.
2007-08-22 14:22:02 +00:00
Michael Snyder
6b2d86bda4
2007-08-21 Michael Snyder <msnyder@access-company.com>
...
* dbxread.c (read_dbx_symtab): Guard null deref.
Break up long line.
2007-08-22 01:57:05 +00:00
Michael Snyder
a2ca50ae64
2007-08-21 Michael Snyder <msnyder@access-company.com>
...
* valops.c (find_overload_match): Guard against NULL.
2007-08-22 01:53:19 +00:00
Daniel Jacobowitz
54e116dd35
* MAINTAINERS (Patch Champions): Remove self.
2007-08-22 01:21:45 +00:00
gdbadmin
2096b6d6b8
*** empty log message ***
2007-08-22 00:00:02 +00:00
Jim Blandy
3fb6a9822a
* gdb.texinfo (Top): Dedicate manual to the memory of Fred Fish.
...
(title page): Include the dedication in the printed manual, as a
separate page after the copyright notice.
2007-08-21 15:09:59 +00:00
Daniel Jacobowitz
f429d7d03d
2007-08-21 Chris Smith <chris.smith@st.com>
...
* cli/cli-script.c (read_command_lines): Call dont_repeat for each
line.
2007-08-21 13:35:00 +00:00
gdbadmin
faa925f5d0
*** empty log message ***
2007-08-21 00:00:02 +00:00
Jim Blandy
d3bdde981b
* gdb.texinfo (The F Reply Packet): Avoid confusing texi2html:
...
don't break a @var across a line.
2007-08-20 19:31:11 +00:00
gdbadmin
d03c968bfe
*** empty log message ***
2007-08-20 00:00:03 +00:00
gdbadmin
edd7c692e6
*** empty log message ***
2007-08-19 00:00:34 +00:00
Michael Snyder
31e9f6b6be
2007-08-18 Michael Snyder <msnyder@svkmacdonelllnx>
...
* stabsread.c (dbx_lookup_type): Memory leak.
2007-08-18 20:22:27 +00:00
Michael Snyder
32107cd542
2007-08-18 Michael Snyder <msnyder@access-company.com>
...
* event-loop.c (delete_async_signal_handler): Move pointer null
test to before pointer dereference.
2007-08-18 20:05:48 +00:00
Michael Snyder
44db85f8e2
2007-08-18 Michael Snyder <msnyder@svkmacdonelllnx>
...
* ui-out.c (append_header_to_list): Possible cut and paste error.
2007-08-18 19:45:48 +00:00
Michael Snyder
a287cea675
2007-08-18 Michael Snyder <msnyder@svkmacdonelllnx>
...
* MAINTAINERS: white space tweak.
2007-08-18 19:39:45 +00:00
Joel Brobecker
4fcb9948bf
* gdb.base/step-line.c: Switch license to GPL version 3, and
...
update copyright year.
* gdb.base/step-line.inp: Likewise.
2007-08-18 02:13:15 +00:00
Joel Brobecker
b9c34f673c
* gdb.base/gdb1555.exp: Make expected output immune to formatting
...
changes inside gdb1555.c.
* gdb.base/pending.exp: Likewise.
2007-08-18 01:21:42 +00:00
Michael Snyder
f91162e199
2007-08-17 Michael Snyder <msnyder@access-company.com>
...
* stack.c (print_frame): Memory leak.
2007-08-18 00:21:03 +00:00
Michael Snyder
1e8189fbb5
2007-08-17 Michael Snyder <msnyder@access-company.com>
...
* completer.c (filename_completer): Avoid memory leak.
Remove unnecessary nested block.
2007-08-18 00:17:08 +00:00
gdbadmin
67f5fb248e
*** empty log message ***
2007-08-18 00:00:33 +00:00
Michael Snyder
348038cd50
2007-08-17 Michael Snyder <msnyder@access-company.com>
...
* c-exp.y (parse_number): Memory leak.
2007-08-17 23:27:42 +00:00
Michael Snyder
1f20ed9160
2007-08-17 Michael Snyder <msnyder@access-company.com>
...
* completer.c (location_completer): Must free 'fn_list', except
in the one case where it is returned (as 'list').
2007-08-17 23:24:18 +00:00
Michael Snyder
74dddad306
2007-08-17 Michael Snyder <msnyder@access-company.com>
...
* varobj.c (value_of_root): Memory leak.
2007-08-17 23:17:30 +00:00
Michael Snyder
0bd9908d01
2007-08-17 Michael Snyder <msnyder@access-company.com>
...
* gdbtypes.h (virtual_base_list): Remove export decl.
* gdbtypes.c (virtual_base_list): Make static. Not called outside.
(virtual_base_index): Memory leak.
(virtual_base_index_skip_primaries): Ditto.
2007-08-17 23:12:47 +00:00
Maxim Grigoriev
bdb4c075a2
2007-08-17 Maxim Grigoriev <maxim2405@gmail.com>
...
* xtensa-tdep.c (ARG_NOF, ARG_1ST, PS_WOE, PS_EXC, C0_MAXOPDS)
(C0_NREGS, C0_CLESV, C0_SP, C0_FP, C0_RA, C0_ARGS, C0_NARGS)
(C0_CONST, C0_INEXP, C0_NOSTK): New macros.
(xtensa_read_register): New function.
(xtensa_windowed_frame_cache, xtensa_call0_frame_cache, xtensa_c0reg)
(xtensa_insn_kind): New types.
(xtensa_frame_cache, xtensa_alloc_frame_cache, xtensa_frame_cache)
(xtensa_frame_prev_register, xtensa_return_value, xtensa_skip_prologue)
(xtensa_verify_config, xtensa_pseudo_register_read)
(xtensa_pseudo_register_write, xtensa_extract_return_value)
(xtensa_store_return_value)
(xtensa_push_dummy_call): Extended to support Xtensa Call0 ABI.
(windowing_enabled, extract_call_winsize, xtensa_unwind_dummy_id)
(xtensa_frame_this_id, xtensa_frame_prev_register)
(xtensa_register_type, xtensa_reg_to_regnum): Cosmetic changes.
(call0_frame_cache, call0_frame_get_reg_at_entry)
(call0_classify_opcode, call0_track_op)
(call0_analyze_prologue, call0_frame_cache): New functions.
2007-08-17 21:53:29 +00:00
Vladimir Prus
198757a8b1
* breakpoint.c (bpstat_free): New.
...
(bpstat_clear): Use bpstat_free.
(delete_breakpoint): Document why we cannot
remove bpstats from stop_bpstat.
* breakpoint.h (bpstat_free): Declare.
2007-08-17 17:06:04 +00:00
gdbadmin
db6d03e8ff
*** empty log message ***
2007-08-17 00:00:33 +00:00
Michael Snyder
dc66ab8ae2
event-loop.c (gdb_wait_for_event): Move statement into if block.
2007-08-16 14:51:22 +00:00
gdbadmin
b3641d5f5e
*** empty log message ***
2007-08-16 00:00:04 +00:00
Joel Brobecker
40c8aaa9fe
* ada-lang.c (resolve_subexp): Correct arity of binary operators.
2007-08-15 18:43:15 +00:00
Joel Brobecker
ee90b9ab36
* ada-lang.c (possible_user_operator_p): Alternative fix to last
...
checkin guarding against NULL.
2007-08-15 18:36:37 +00:00
Michael Snyder
e5908723e5
2007-08-14 Michael Snyder <msnyder@access-company.com>
...
* tui-command.c, tui-data.c, tui-disasm.c, tui-file.c, tui-io.c,
tui-layout.c, tui-regs.c, tui-source.c, tui-win.c, tui-windata.c,
tui-wingeneral.c, tui-winsource.c: Coding standard, && and ||
go at beginning of new line.
2007-08-15 00:19:44 +00:00
gdbadmin
3b93fc3def
*** empty log message ***
2007-08-15 00:00:02 +00:00
Michael Snyder
08ef48c5ac
2007-08-14 Michael Snyder <msnyder@access-company.com>
...
* tui-data.c, tui-data.h, tui-disasm.c, tui-disasm.h, tui-hooks.c,
tui-io.c, tui-layout.c, tui-layout.h, tui-out.c, tui-regs.c,
tui-source.c, tui-source.h, tui-stack.c, tui-win.c, tui-win.h,
tui-windata.c, tui-windata.h, tui-wingeneral.c, tui-winsource.c,
tui-winsource.h, tui.c, tui.h: Function declarations and
definitions, wrap long lines.
2007-08-14 23:50:39 +00:00
Michael Snyder
ef5eab5a0f
2007-08-14 Michael Snyder <msnyder@access-company.com>
...
* tui-command.c, tui-data.c, tui-disasm.c, tui-layout.c,
tui-regs.c, tui-win.c, tui-windata.c, tui-winsource.c, tui.c:
Reformat block comments to GNU standard.
2007-08-14 21:39:22 +00:00
Michael Snyder
1cc6d956c1
2007-08-14 Michael Snyder <msnyder@access-company.com>
...
* tui-command.c, tui-data.c, tui-data.h, tui-disasm.c, tui-file.c,
tui-hooks.c, tui-interp.c, tui-io.c, tui-layout.c, tui-out.c,
tui-regs.c, tui-regs.h, tui-source.c, tui-stack.c, tui-win.c,
tui-windata.c, tui-wingeneral.c, tui-winsource.c, tui-winsource.h,
tui.c, tui.h: Comment reformatting to coding standard (capitals,
spaces after periods, etc).
2007-08-14 21:20:09 +00:00
Michael Snyder
5b6fe301a1
2007-08-14 Michael Snyder <msnyder@access-company.com>
...
* tui-data.c, tui-data.h, tui-disasm.c, tui-hooks.c, tui-layout.c,
tui-regs.c, tui-source.c, tui-stack.c, tui-win.c, tui-windata.c,
tui-wingeneral.c, tui-wingeneral.h, tui-winsource.c, tui.c,
tui-winsource.h: Whitespace changes, fix pointer declarations
to be consistant.
2007-08-14 20:23:29 +00:00
Joel Brobecker
64a1bf1957
* ada-lang.c (field_alignment): Guard against NULL.
2007-08-14 20:16:18 +00:00
Joel Brobecker
e933291e4c
* MAINTAINERS (Global Maintainers): Add self.
2007-08-14 20:10:47 +00:00
Michael Snyder
068acb6c00
2007-08-14 Michael Snyder <msnyder@access-company.com>
...
* mi/mi-interp.c (mi_cmd_interpreter_exec): Dead code, dead variable.
2007-08-14 19:51:37 +00:00
Michael Snyder
6d307763fb
2007-08-14 Michael Snyder <msnyder@access-company.com>
...
* ada-lang.c (possible_user_operator_p): Guard against NULL.
2007-08-14 18:32:45 +00:00
Michael Snyder
348144bad4
2007-08-14 Michael Snyder <msnyder@access-company.com>
...
* varobj.c (cplus_describe_child): Guard against null.
Use "NULL" instead of "0" to initialize pointers.
2007-08-14 18:26:46 +00:00
Daniel Jacobowitz
b8926edcac
* arm-tdep.c (arm_gdbarch_init): Allow unknown ABI and FPU settings
...
to match any gdbarch with matching OSABI. Set default ABI and FPU
after running the OSABI handler.
2007-08-14 15:47:00 +00:00
Daniel Jacobowitz
cdd6623c94
* config/i386/linux.mh (NATDEPFILES): Move corelow.o from here...
...
* config/i386/linux.mt (TDEPFILES): ...to here.
2007-08-14 12:51:59 +00:00
Vladimir Prus
1267554726
Fix changelog formatting
2007-08-14 11:18:56 +00:00
Vladimir Prus
cb85195420
gdb/
...
* breakpoint.c (disable_breakpoints_in_shlibs): Remove
the 'silent' parameter and code to implement that.
* breakpoint.h (disable_breakpoints_in_shlibs): Adjust
prototype.
* win32-nat.c: Adjust.
* solib.c: Adjust.
2007-08-14 11:09:45 +00:00
Vladimir Prus
e14a792bcf
gdb/
...
* breakpoint.c (update_breakpoints_after_exec): Don't
set address to zero.
2007-08-14 08:11:45 +00:00
Michael Snyder
ac3eeb4911
2007-08-13 Michael Snyder <msnyder@access-company.com>
...
* valops.c: Whitespace clean-up.
2007-08-14 00:31:40 +00:00
gdbadmin
9763fb7a94
*** empty log message ***
2007-08-14 00:00:34 +00:00
Michael Snyder
81b7c67a8b
2007-08-13 Michael Snyder <msnyder@access-company.com>
...
* tui/tui-winsource.c (tui_alloc_source_buffer): Clean up allocation.
2007-08-13 23:06:34 +00:00
Michael Snyder
f5b73fbba3
2007-08-13 Michael Snyder <msnyder@access-company.com>
...
* event-top.c (command_line_handler): Memory leak.
2007-08-13 23:02:08 +00:00
Michael Snyder
b538c23453
2007-08-13 Michael Snyder <msnyder@access-company.com>
...
* mi/mi-cmd-var.c (mi_cmd_var_set_format): Memory leak.
No need to make copy.
2007-08-13 22:57:39 +00:00
Michael Snyder
be8ca11b9e
2007-08-13 Michael Snyder <msnyder@access-company.com>
...
* source.c (find_source_lines): Require symtab 's'.
2007-08-13 22:25:14 +00:00
Daniel Jacobowitz
2cc176786d
* config/default.exp: New file.
2007-08-13 14:35:59 +00:00
gdbadmin
4a349aac20
*** empty log message ***
2007-08-13 00:00:04 +00:00
gdbadmin
2eff3c4ee5
*** empty log message ***
2007-08-12 00:00:02 +00:00
Michael Snyder
489f05169b
2007-08-11 Michael Snyder <msnyder@access-company.com>
...
* completer.c: Spelling fix in comments.
2007-08-11 20:08:37 +00:00
Michael Snyder
687d6395d7
2007-08-10 Michael Snyder <msnyder@access-company.com>
...
* gdbtypes.c: Coding standard cleanup.
2007-08-11 00:28:30 +00:00
Michael Snyder
7ba8144421
2007-08-10 Michael Snyder <msnyder@access-company.com>
...
* gdbtypes.c: Comment/whitespace cleanup.
2007-08-11 00:22:21 +00:00
gdbadmin
8c37cbb658
*** empty log message ***
2007-08-11 00:00:33 +00:00
Michael Snyder
6aef78af04
2007-08-10 Michael Snyder <msnyder@access-company.com>
...
* stabsread.c (read_huge_number): Attempt to compute value before
values that it depends on.
2007-08-10 22:08:22 +00:00
Michael Snyder
46be51c450
2007-08-10 Michael Snyder <msnyder@access-company.com>
...
* linespec.c (decode_dollar): Dead code, ptr can't be non-null.
(decode_objc): Use "NULL" instead of 0.
(find_method): Ditto.
(decode_all_digits): Ditto.
(decode_dollar): Ditto.
2007-08-10 22:01:27 +00:00
Michael Snyder
412bbd6c82
2007-08-10 Michael Snyder <msnyder@access-company.com>
...
* mi/mi-main.c (mi_cmd_data_evaluate_expression): Resource leak.
2007-08-10 21:52:38 +00:00
Michael Snyder
76bd6e0b6e
2007-08-10 Michael Snyder <msnyder@access-company.com>
...
* mi/mi-cmd-var.c (mi_cmd_var_list_children): Memory leak.
2007-08-10 21:44:23 +00:00
Michael Snyder
518f9d3cd4
2007-08-10 Michael Snyder <msnyder@access-company.com>
...
* solib-svr4.c (enable_break): Don't free tmp_pathname until
after closing bfd.
2007-08-10 20:42:45 +00:00
Michael Snyder
9c3f90bd3a
2007-08-10 Michael Snyder <msnyder@access-company.com>
...
* completer.c: Comment/whitespace cleanup.
2007-08-10 20:35:09 +00:00
Joel Brobecker
adee02064a
* Makefile.in (i386nbsd-nat.o): Add missing dependency.
2007-08-10 17:52:09 +00:00
Maxim Grigoriev
9f8e69991e
2007-08-10 Maxim Grigoriev <maxim2405@gmail.com>
...
* remote-fileio.c (remote_fileio_resize_fd_map): Initialize newly
allocated file descriptors.
2007-08-10 17:49:48 +00:00
Joel Brobecker
271a27b8c3
* Makefile.in: Minor cleanup throughout; add some missing variables,
...
add some missing rules, remove some rules that are no longer needed,
and fix the dependencies in several rules.
2007-08-10 17:26:45 +00:00
gdbadmin
724ed4c5f2
*** empty log message ***
2007-08-10 00:00:33 +00:00
Ludovic Courtès
d4310edb35
Re-instated Guile/Scheme support.
2007-08-09 23:01:17 +00:00
Ludovic Courtès
57da77961a
Add Emacs local variables for UTF-8.
2007-08-09 22:44:38 +00:00
Ludovic Courtès
93c06293e4
Added myself to `MAINTAINERS'.
2007-08-09 21:52:04 +00:00
Michael Snyder
0997b53539
2007-08-09 Michael Snyder <msnyder@access-company.com>
...
* solib.c (solib_open): Memory leak -- openp returns xmalloc buffer.
2007-08-09 18:37:08 +00:00
Joel Brobecker
4fec86cf74
* solib-som.c (som_relocate_section_addresses): Stop saving
...
the $CODE$ section in the so_list structure.
2007-08-09 16:45:32 +00:00
gdbadmin
bd6075bf49
*** empty log message ***
2007-08-09 00:00:34 +00:00
Maxim Grigoriev
7b8715682a
2007-08-08 Maxim Grigoriev <maxim2405@gmail.com>
...
* xtensa-tdep.h (XTENSA_MAX_COPROCESSOR): New.
(xtensa_register_group_t): Add entries for coprocessors.
* xtensa-tdep.c (xtensa_init_reggroups): New register groups.
(xtensa_add_reggroups): Likewise.
(xtensa_register_reggroup_p): Likewise.
(xtensa_coprocessor_register_group): New function.
(xtensa_cp): New.
2007-08-08 23:22:18 +00:00
Jan Kratochvil
652aaa2406
2007-08-08 Jan Kratochvil <jan.kratochvil@redhat.com>
...
* serial.c (serial_open): Fix the OPEN parameter macro expansion.
2007-08-08 22:12:35 +00:00
Michael Snyder
6217bf3e40
2007-08-08 Michael Snyder <msnyder@access-company.com>
...
* target.c (target_read_string): Guard against null.
2007-08-08 22:02:43 +00:00
Michael Snyder
6225abfaac
2007-08-08 Michael Snyder <msnyder@access-company.com>
...
* varobj.c (value_of_root): Move alloc after return to avoid leak.
2007-08-08 21:46:37 +00:00
Michael Snyder
3e40160c04
2007-08-08 Michael Snyder <msnyder@access-company.com>
...
* tui/tui-layout.c (tui_set_layout): Dead code, dead variable.
2007-08-08 18:39:50 +00:00
Michael Snyder
91d2803c32
2007-08-08 Michael Snyder <msnyder@access-company.com>
...
* top.c (command_line_input): Memory leak.
2007-08-08 18:34:28 +00:00
Michael Snyder
ea5bf0a1f9
2007-08-08 Michael Snyder <msnyder@access-company.com>
...
* solib-svr4.c (open_symbol_file_object): Memory leak.
(svr4_current_sos): Ditto.
(enable_break): Ditto.
2007-08-08 18:08:52 +00:00
Michael Snyder
34e2dfde9c
2007-08-08 Michael Snyder <msnyder@access-company.com>
...
* cp-valprint.c (cp_print_hpacc_virtual_table_entries): Memory leak.
2007-08-08 18:05:37 +00:00
Michael Snyder
decbce07bc
2007-08-08 Michael Snyder <msnyder@access-company.com>
...
* dwarf2read.c (add_partial_symbol): Memory leak.
2007-08-08 18:01:35 +00:00
gdbadmin
b3f7d23b20
*** empty log message ***
2007-08-08 00:00:04 +00:00
gdbadmin
6a6ddbfd03
*** empty log message ***
2007-08-07 00:00:03 +00:00
Michael Snyder
4cdfadb1f8
2007-08-06 Michael Snyder <msnyder@access-company.com>
...
* ada-lang.c (desc_bounds): Comparison of function address to NULL.
2007-08-06 20:07:44 +00:00
gdbadmin
d0913de2b8
*** empty log message ***
2007-08-06 00:00:33 +00:00
Jim Blandy
b1ddacc73c
* macroexp.c (init_buffer): Remove testing code that overrides the
...
caller's length guess.
(gather_arguments): Use a larger initial size, now that the vector
growth code has been exercised.
2007-08-05 21:41:09 +00:00
Pedro Alves
5d9643bae4
* solib-target.c (solib_target_relocate_section_addresses): Add
...
orig_delta to addr_high.
2007-08-05 09:57:06 +00:00
Michael Snyder
1ed489bd7c
2007-08-04 Michael Snyder <msnyder@access-company.com>
...
* remote-fileio.c (remote_fileio_func_write): Memory leak.
2007-08-05 01:04:31 +00:00
Michael Snyder
c1f5197edc
2007-08-04 Michael Snyder <msnyder@access-company.com>
...
* breakpoint.c (print_one_breakpoint): Off by one error.
2007-08-05 00:43:34 +00:00
Michael Snyder
27e06d3ef0
2007-08-04 Michael Snyder <msnyder@access-company.com>
...
* tracepoint.c (add_register): Off by one error.
(stringify_collection_list): Free malloc buffer.
2007-08-05 00:36:53 +00:00
gdbadmin
0e3b351fa5
*** empty log message ***
2007-08-05 00:00:02 +00:00
Michael Snyder
474d0d0c7a
2007-08-03 Michael Snyder <msnyder@access-company.com>
...
* mi-cmd-var.c (mi_cmd_var_delete): Remove unused variable,
stop memory leak, straighten out cleanups.
2007-08-04 03:00:40 +00:00
Michael Snyder
03b4bca2d7
2007-08-03 Michael Snyder <msnyder@access-company.com>
...
* jv-lang.c (java_link_class_type): Guard against NULL.
2007-08-04 02:50:16 +00:00
gdbadmin
17e1855042
*** empty log message ***
2007-08-04 00:00:32 +00:00
gdbadmin
f620fdcf3b
*** empty log message ***
2007-08-03 00:00:03 +00:00
Michael Snyder
f9780d5b23
2007-08-02 Michael Snyder <msnyder@access-company.com>
...
* gdbtypes.c (create_set_type): Test should only be done within
the preceeding if block. Otherwise, variable is uninitialized.
2007-08-02 21:08:12 +00:00
Michael Snyder
423c0af83c
2007-08-02 Michael Snyder <msnyder@access-company.com>
...
* gdbtypes.c (check_typedef): Guard NULL.
2007-08-02 21:01:37 +00:00
gdbadmin
d74ffa39b6
*** empty log message ***
2007-08-02 00:00:03 +00:00
Michael Snyder
f88c79e6bb
2007-08-01 Michael Snyder <msnyder@access-company.com>
...
* remote-utils.c (putpkt_binary): Memory leak, free buf2.
2007-08-01 20:34:36 +00:00
Michael Snyder
3cebf8d882
2007-08-01 Michael Snyder <msnyder@access-company.com>
...
* cli/cli-decode.c (lookup_cmd): Check for null earlier, to
avoid dereference in lookup_cmd_1.
2007-08-01 20:26:31 +00:00
Michael Snyder
c0645fb52f
2007-08-01 Michael Snyder <msnyder@access-company.com>
...
* tui/tui-data.c (tui_alloc_content): Move assign out of if,
clean up long lines.
(tui_alloc_generic_win_info): Tidy by using XMALLOC macro.
(tui_alloc_win_info): Ditto.
(tui_add_content_elements): Ditto.
* tui/tui-file.c (tui_file_magic): Ditto.
2007-08-01 20:15:36 +00:00
gdbadmin
a0ac008e3e
*** empty log message ***
2007-08-01 00:00:33 +00:00
Michael Snyder
967af18d0d
2007-07-31 Michael Snyder <msnyder@access-company.com>
...
* breakpoint.c (breakpoint_init_inferior): Add 'else' to 'if'.
True and false paths are mutually exclusive.
2007-07-31 23:08:22 +00:00
Michael Snyder
40742ab60a
2007-07-31 Michael Snyder <msnyder@access-company.com>
...
* event-top.c (command_line_handler): Add pedantic return.
2007-07-31 22:01:03 +00:00
Michael Snyder
7c6e0d4812
2007-07-31 Michael Snyder <msnyder@access-company.com>
...
* f-valprint.c (info_common_command): Bail out to prevent null
pointer deref. Break up a long line.
2007-07-31 21:56:00 +00:00
Michael Snyder
c7b1adc9a0
2007-07-31 Michael Snyder <msnyder@access-company.com>
...
* exec.c (xfer_memory): Remove redundant condition from 'if'.
2007-07-31 21:49:21 +00:00
Michael Snyder
73780b3c0a
2007-07-31 Michael Snyder <msnyder@access-company.com>
...
* symfile.c (reread_separate_symbols): Free xmalloced memory.
2007-07-31 21:42:19 +00:00
Michael Snyder
abe34c358d
2007-07-31 Michael Snyder <msnyder@access-company.com>
...
* printcmd.c (build_address_symbolic): Remove dead code and dead
variable.
2007-07-31 21:36:13 +00:00
Daniel Jacobowitz
e48883f791
* linespec.c (minsym_found): Advance to the next line if possible.
...
* gdb.base/prologue.c, gdb.base/prologue.exp: New.
* lib/gdb.exp (gdb_breakpoint): Handle "temporary".
2007-07-31 19:58:40 +00:00
Pedro Alves
6b3d9b8313
* win32-low.c (winapi_CloseToolhelp32Snapshot) [_WIN32_WCE]: New
...
typedef.
(win32_CloseToolhelp32Snapshot) [_WIN32_WCE]: New global var.
(load_toolhelp) [_WIN32_WCE]: Load TOOLHELP.DLL. Get
CloseToolhelp32Snapshot.
(toolhelp_get_dll_name) [_WIN32_WCE]: Close the snapshot with
CloseToolhelp32Snapshot.
2007-07-31 13:58:19 +00:00
Pedro Alves
5720483760
* arm-wince-tdep.c (arm_wince_init_abi): Remove svr4 related call.
...
* config/arm/wince.mt (TDEPFILES): Remove solib-legacy.o and
solib-svr4.o, and add solib-target.o
2007-07-31 13:50:11 +00:00
gdbadmin
615c7d515b
*** empty log message ***
2007-07-31 00:00:32 +00:00
Maciej W. Rozycki
1ab80e5ba1
* gdb.base/dump.exp: Force the correct endianness for binary
...
formats not carrying this information.
2007-07-30 12:24:22 +00:00
gdbadmin
4f17aed340
*** empty log message ***
2007-07-30 00:00:04 +00:00
gdbadmin
b112852a8f
*** empty log message ***
2007-07-29 00:00:33 +00:00
Michael Snyder
fed8b01e54
2007-07-27 Michael Snyder <msnyder@access-company.com>
...
* tui/tui-data.c (tui_alloc_generic_win_info): Wrong arg for sizeof.
2007-07-28 01:16:39 +00:00
gdbadmin
2babdb4046
*** empty log message ***
2007-07-28 00:00:02 +00:00
Michael Snyder
c588c53caf
2007-07-27 Michael Snyder <michael.snyder@access-company.com>
...
* server.c (main): Check for inferior exit before main loop.
2007-07-27 18:44:40 +00:00
Daniel Jacobowitz
aba471f522
* gdb.threads/staticthreads.exp: Match .*sem_post.
2007-07-27 15:45:06 +00:00
Daniel Jacobowitz
d4e0720445
* gdb.base/readline.exp (operate_and_get_next): Match the final
...
prompt.
2007-07-27 15:15:02 +00:00
gdbadmin
2ab0659b4f
*** empty log message ***
2007-07-27 00:00:02 +00:00
Maciej W. Rozycki
9ceb0b4c1d
* MAINTAINERS (Write After Approval): Add myself.
2007-07-26 10:37:41 +00:00
Maciej W. Rozycki
c80a96a874
gdb/:
...
* Makefile.in (MAKEHTMLFLAGS): Also search the current directory
for include files.
gdb/doc/:
* Makefile.in (MAKEHTMLFLAGS): Also search the current directory
for include files.
2007-07-26 10:34:00 +00:00
gdbadmin
861da52811
*** empty log message ***
2007-07-26 00:00:04 +00:00
Maciej W. Rozycki
5b31182830
* Makefile.in (MAKEHTMLFLAGS): Remove "-glossary".
2007-07-25 15:25:14 +00:00
Michael Snyder
f52df7d9b7
2007-07-23 Michael Snyder <msnyder@access-company.com>
...
* solib-svr4.c (svr4_fetch_objfile_link_map): Null pointer check of
'buffer' must cover both branches that call strcmp (Coverity).
2007-07-25 02:12:33 +00:00
Michael Snyder
55765a25f6
2007-07-05 Michael Snyder <msnyder@access-company.com>
...
* stack.c (print_frame_args): Check return value of lookup_symbol.
2007-07-25 00:28:25 +00:00
gdbadmin
4cff3c28a3
*** empty log message ***
2007-07-25 00:00:33 +00:00
Michael Snyder
747f3d1889
2007-07-24 Michael Snyder <msnyder@access-company.com>
...
* ax-gdb.c (find_field): Guard against null ptr.
2007-07-24 22:49:44 +00:00
Ulrich Weigand
69ae91d311
* regformats/reg-spu.dat: Fix order of npc, id registers.
2007-07-24 12:51:51 +00:00
Ulrich Weigand
98646950ba
* target.c (memory_xfer_partial): Accesses to unmapped overlay
...
sections should always go to the executable file.
2007-07-24 12:49:24 +00:00
gdbadmin
f3c7bcacb1
*** empty log message ***
2007-07-24 00:00:33 +00:00
Kevin Buettner
2b97317d48
* lib/mi-support.exp (mi_gdb_target_load): Do a "kill" prior
...
to restarting SID.
2007-07-23 22:53:27 +00:00
gdbadmin
77998c0ee0
*** empty log message ***
2007-07-23 00:00:03 +00:00
gdbadmin
f884085217
*** empty log message ***
2007-07-22 00:00:02 +00:00
gdbadmin
07446469bc
*** empty log message ***
2007-07-21 00:00:33 +00:00
Maciej W. Rozycki
193774b320
* mips-tdep.c (heuristic_proc_start): Add more MIPS16 function
...
prologue instructions.
2007-07-20 17:29:59 +00:00
Maciej W. Rozycki
ce1f96de2e
* mips-tdep.c (mips_next_pc): Use is_mips16_addr() instead of
...
a direct test.
2007-07-20 15:31:56 +00:00
Maciej W. Rozycki
bcf1ea1e61
* mips-tdep.c (fetch_mips_16): Fix typos and reformat the
...
description.
2007-07-20 15:19:39 +00:00
gdbadmin
3185aeeca7
*** empty log message ***
2007-07-20 00:00:33 +00:00
Kevin Buettner
44efa07abf
* gdb.cp/ref-params.exp (gdb_start_again): Invoke `gdb_exit'
...
prior to `gdb_start'.
2007-07-19 00:46:45 +00:00
Kevin Buettner
7b5ebade65
* config/sid.exp (gdb_load): Add test for empty argument. Adjust
...
return value to be compatible with gdb_run_cmd in lib/gdb.exp.
Remove call to gdb_unload.
2007-07-19 00:41:27 +00:00
gdbadmin
9353f0f69c
*** empty log message ***
2007-07-19 00:00:03 +00:00
Pedro Alves
aa0403d920
* remote-utils.c (remote_open): Set SO_KEEPALIVE on remote_desc
...
instead of on tmp_desc.
2007-07-18 12:36:51 +00:00
gdbadmin
9bd06a30b3
*** empty log message ***
2007-07-18 00:00:32 +00:00
Daniel Jacobowitz
255e7678a9
2007-07-17 Pedro Alves <pedro_alves@portugalmail.pt>
...
Daniel Jacobowitz <dan@codesourcery.com>
* config/i386/cygwin.mt (TDEPFILES): Add solib-target.o.
* coff-pe-read.c (read_pe_exported_syms): Delete verbose
printf.
* NEWS: Mention gdbserver DLL support.
* gdb.base/unload.c (dlopen, dlsym, dlclose, dlerror): Define
for __WIN32__.
(SHLIB_NAME): Delete definition. Always pass dlerror to fprintf.
* gdb.base/unload.exp: Use shared library test routines.
* inferiors.c (all_dlls, dlls_changed, get_dll): New.
(add_thread): Minor cleanups.
(clear_inferiors): Move lower in the file. Clear the DLL
list.
(free_one_dll, match_dll, loaded_dll, unloaded_dll, clear_list): New.
* remote-utils.c (prepare_resume_reply): Check dlls_changed.
(xml_escape_text): New.
* server.c (handle_query): Handle qXfer:libraries:read. Report it
for qSupported.
(handle_v_cont): Report errors.
(gdbserver_version): Update.
(main): Correct size of own_buf. Do not report initial DLL events.
* server.h (struct dll_info, all_dlls, dlls_changed, loaded_dll)
(unloaded_dll, xml_escape_text): New.
* win32-low.c (enum target_waitkind): Update comments.
(win32_add_one_solib, get_image_name, winapi_EnumProcessModules)
(winapi_GetModuleInformation, winapi_GetModuleFileNameExA)
(win32_EnumProcessModules, win32_GetModuleInformation)
(win32_GetModuleFileNameExA, load_psapi, psapi_get_dll_name)
(winapi_CreateToolhelp32Snapshot, winapi_Module32First)
(winapi_Module32Next, win32_CreateToolhelp32Snapshot)
(win32_Module32First, win32_Module32Next, load_toolhelp)
(toolhelp_get_dll_name, handle_load_dll, handle_unload_dll): New.
(get_child_debug_event): Handle DLL events.
(win32_wait): Likewise.
2007-07-17 12:51:41 +00:00
Daniel Jacobowitz
a8c50c1f55
* dwarf2read.c (dwarf_decode_lines): Detect address size mismatches.
2007-07-17 12:46:35 +00:00
gdbadmin
741d7ba69c
*** empty log message ***
2007-07-17 00:00:03 +00:00
H.J. Lu
2e024c20eb
2007-07-16 H.J. Lu <hongjiu.lu@intel.com>
...
* i386-linux-nat.c (fetch_regs): Work around gcc 3.4 alias
warning bug.
2007-07-16 18:34:50 +00:00
gdbadmin
b1269cfcf2
*** empty log message ***
2007-07-16 00:00:02 +00:00
gdbadmin
8ff6e67ea7
*** empty log message ***
2007-07-15 00:00:03 +00:00
Kevin Buettner
f219aedc69
* mep-tdep.c (mep_analyze_prologue): Update comment for BRA
...
instruction case.
2007-07-14 00:15:50 +00:00
gdbadmin
729954add5
*** empty log message ***
2007-07-14 00:00:03 +00:00
gdbadmin
ab3cc16895
*** empty log message ***
2007-07-13 00:00:33 +00:00
Kevin Buettner
1ba3e7a3e6
* mep-tdep.c (IS_BRA, BRA_DISP): New macros.
...
(mep_analyze_prologue): Add case for BRA instruction.
2007-07-13 00:00:15 +00:00
Ulrich Weigand
f1e5580630
* solib-svr4.c (LM_ADDR_CHECK): Relax prelink recognition heuristic.
2007-07-12 20:15:24 +00:00
Daniel Jacobowitz
0d37add962
* configure.srv: Set srv_linux_regsets for sh*-*-linux*.
...
* linux-sh-low.c (sh_fill_gregset, target_regsets): New.
2007-07-12 19:59:00 +00:00
Nick Roberts
5824a90153
*** empty log message ***
2007-07-12 07:58:38 +00:00
Nick Roberts
9e6c4bd5b8
(Server Prefix): New node. Adapt from existing node
...
in annotate.texinfo.
(Command History): Link to new node.
2007-07-12 07:57:57 +00:00
gdbadmin
d86b9970ef
*** empty log message ***
2007-07-12 00:00:02 +00:00
gdbadmin
6dff536ad7
*** empty log message ***
2007-07-11 00:00:03 +00:00
Nick Roberts
d1aa2f5076
Include "top.h".
...
(breakpoint_1): Don't set convenience variable $_ if server prefix
is used.
(_initialize_breakpoint): Describe this behaviour in command help.
2007-07-10 22:59:42 +00:00
Nick Roberts
d9f71b56cf
*** empty log message ***
2007-07-10 22:58:42 +00:00
gdbadmin
53be10ea0a
*** empty log message ***
2007-07-10 00:00:02 +00:00
gdbadmin
e50b2dffd4
*** empty log message ***
2007-07-09 00:00:02 +00:00
Pedro Alves
45e2715e39
* win32-low.c (handle_output_debug_string): Ignore event if not
...
waiting.
2007-07-08 19:37:46 +00:00
Pedro Alves
358eb95ea3
* solib-target.c (library_list_start_segment): Cast address to
...
CORE_ADDR.
2007-07-08 19:31:11 +00:00
Pedro Alves
c5674cf19d
* win32-arm-low.c (arm_wince_breakpoint): Fix typo.
2007-07-08 00:25:30 +00:00
gdbadmin
d50a998f25
*** empty log message ***
2007-07-08 00:00:33 +00:00
gdbadmin
1ad48f4ecc
*** empty log message ***
2007-07-07 00:00:33 +00:00
Mark Kettenis
a4e7b2e7cf
* bsd-uthread.c (bsd_uthread_wait): Don't try to fetch thread IDs
...
for terminated processes.
2007-07-06 11:39:44 +00:00
gdbadmin
99ee455748
*** empty log message ***
2007-07-06 00:00:03 +00:00
Michael Snyder
2ed23f5f14
2007-07-05 Michael Snyder <msnyder@access-company.com>
...
* event-top.c (cli_command_loop): Prompt string can (and should)
be freed after call to readline (Coverity). Also move local var
declarations into block where they are used.
* tui/tui-interp.c (tui_command_loop): Prompt string can (and
should) be freed after call to readline (Coverity). Also move
local var declarations into block where they are used.
2007-07-05 22:47:27 +00:00
Ulrich Weigand
d52e7ea3d1
2007-07-05 Markus Deuling <deuling@de.ibm.com>
...
* gdbint.texinfo (PC_LOAD_SEGMENT): Remove description.
2007-07-05 12:22:32 +00:00
gdbadmin
fd28bf3f05
*** empty log message ***
2007-07-05 00:00:03 +00:00
Eli Zaretskii
5fc14d0a92
(Target Conditionals): Fix last change.
2007-07-04 21:51:23 +00:00
gdbadmin
a9d8f06556
*** empty log message ***
2007-07-04 00:00:33 +00:00
Andreas Schwab
a25694b439
* linux-nat.c (linux_nat_info_proc_cmd): Fix parsing of columns in
...
/proc/../stat.
2007-07-03 17:01:55 +00:00
Daniel Jacobowitz
2bbe3cc107
2007-07-03 Paul Gilliam <pgilliam@us.ibm.com>
...
Thiago Bauermann <bauerman@br.ibm.com>
Joseph S. Myers <joseph@codesourcery.com>
Daniel Jacobowitz <dan@codesourcery.com>
gdb/
* remote.c (remote_check_symbols): Use
gdbarch_convert_from_func_ptr_addr.
* infcall.c (find_function_addr): Handle function descriptors
without debugging information.
* ppc-linux-tdep.c (ppc_linux_convert_from_func_ptr_addr): Renamed
from ppc64_linux_convert_from_func_ptr_addr. Handle -msecure-plt.
(ppc_linux_init_abi): Always set convert_from_func_ptr_addr.
* solib-svr4.c (solib_break_names): Remove "._dl_debug_state".
(bfd_lookup_symbol): Do not take a SECT_FLAGS argument. Always
allow SEC_CODE and SEC_DATA.
(enable_break): Update calls. Pass current_target to solib_add.
Use gdbarch_convert_from_func_ptr_addr.
gdb/gdbserver/
* remote-utils.c (look_up_one_symbol): Handle 'm' packets.
2007-07-03 15:58:42 +00:00
Daniel Jacobowitz
9f43d28cb0
2007-07-03 Ilko Iliev <iliev@ronetix.at>
...
Daniel Jacobowitz <dan@codesourcery.com>
* symfile.c (print_transfer_performance): Avoid integer overflow.
Use larger units.
2007-07-03 15:32:20 +00:00
Ulrich Weigand
4a9bb1dfa1
2007-07-03 Markus Deuling <deuling@de.ibm.com>
...
* gdb.texinfo: Replace following macros by their appropriate gdbarch
routines:
(TARGET_CHAR_SIGNED, CALL_DUMMY_LOCATION, CANNOT_FETCH_REGISTER)
(CANNOT_STORE_REGISTER, GET_LONGJMP_TARGET, POINTER_TO_ADDRESS)
(ADDRESS_TO_POINTER, INNER_THAN, FRAME_NUM_ARGS)
(HAVE_NONSTEPPABLE_WATCHPOINT, TARGET_SHORT_BIT, TARGET_INT_BIT)
(TARGET_LONG_BIT, TARGET_LONG_LONG_BIT, TARGET_FLOAT_BIT)
(TARGET_DOUBLE_BIT, TARGET_LONG_DOUBLE_BIT, TARGET_PTR_BIT
(TARGET_ADDR_BIT, SP_REGNUM, PC_REGNUM, PS_REGNUM, FP0_REGNUM)
(STAB_REG_TO_REGNUM, ECOFF_REG_TO_REGNUM, DWARF_REG_TO_REGNUM)
(SDB_REG_TO_REGNUM, DWARF2_REG_TO_REGNUM, BELIEVE_PCC_PROMOTION)
(CONVERT_REGISTER_P, REGISTER_TO_VALUE, VALUE_TO_REGISTER)
(POINTER_TO_ADDRESS, ADDRESS_TO_POINTER, EXTRACT_RETURN_VALUE)
(STORE_RETURN_VALUE, SKIP_PROLOGUE, MEMORY_INSERT_BREAKPOINT)
(BREAKPOINT_FROM_PC, MEMORY_REMOVE_BREAKPOINT, DECR_PC_AFTER_BREAK)
(ADDR_BITS_REMOVE, TARGET_PRINT_INSN, SKIP_TRAMPOLINE_CODE)
(IN_SOLIB_RETURN_TRAMPOLINE, NAME_OF_MALLOC, ADDRESS_CLASS_TYPE_FLAGS)
(ADDRESS_CLASS_TYPE_FLAGS_TO_NAME, ADDRESS_CLASS_TYPE_FLAGS_P).
(ADDRESS_CLASS_NAME_to_TYPE_FLAGS, ADJUST_BREAKPOINT_ADDRESS)
(PRINT_FLOAT_INFO, PRINT_VECTOR_INFO, INTEGER_TO_ADDRESS)
(SKIP_PERMANENT_BREAKPOINT, TARGET_VIRTUAL_FRAME_POINTER)
(SOFTWARE_SINGLE_STEP_P)
(push_dummy_call, stabs_argument_has_addr, unwind_sp, unwind_pc)
(print_registers_info, push_dummy_code, unwind_dummy_id): Rework
(REGISTER_CONVERT_TO_TYPE, END_OF_TEXT_DEFAULT, GDB_MULTI_ARCH)
(GDB_TARGET_IS_HPPA, DEPRECATED_GET_SAVED_REGISTER)
(SYMBOLS_CAN_START_WITH_DOLLAR, DEPRECATED_INIT_EXTRA_FRAME_INFO)
(DEPRECATED_INIT_FRAME_PC, DEPRECATED_SIGTRAMP_START)
(IN_SOLIB_CALL_TRAMPOLINE, NO_HIF_SUPPORT, REGISTER_CONVERTIBLE)
(DEPRECATED_REGISTER_RAW_SIZE, PARM_BOUNDARY, DEPRECATED_STACK_ALIGN)
(PROLOGUE_FIRSTLINE_OVERLAP, DEPRECATED_POP_FRAME, STEP_SKIPS_DELAY)
(TARGET_COMPLEX_BIT, TARGET_DOUBLE_COMPLEX_BIT)
(OS9K_VARIABLES_INSIDE_BLOCK, KERNEL_U_ADDR, KERNEL_U_ADDR_HPUX)
(REGISTER_U_ADDR, U_REGS_OFFSET, DEBUG_PTRACE): Remove description.
(Converting an existing Target Architecture to Multi-arch): Remove
section.
(gdbarch_unwind_pc, gdbarch_unwind_sp): Renew code example.
(gdbarch_addr_bits_remove): Add code example.
* gdb.texinfo: Replace REGISTER_NAME by gdbarch_register_name.
2007-07-03 12:21:22 +00:00
Ulrich Weigand
3a40aaa0eb
2007-07-03 Markus Deuling <deuling@de.ibm.com>
...
* cp-namespace.c (lookup_symbol_file): Add block to
lookup_symbol_global call.
* Makefile.in (solist_h): Add dependency on symtab header.
(symtab.o): Add dependency on solist header.
* solib.c (solib_global_lookup): New function.
* solib-svr4.c (scan_dyntag): Likewise.
(elf_locate_base): Call helper routine scan_dyntag.
(elf_lookup_lib_symbol): New function.
(_initialize_svr4_solib): Add elf_lookup_lib_symbol to svr4_so_ops.
* solist.h (symtab.h): New include.
(struct target_so_ops): New member lookup_lib_global_symbol.
(solib_global_lookup): New prototype.
* symtab.c: New include solist.h.
(lookup_objfile_from_block): New function.
(lookup_global_symbol_from_objfile): New function.
(basic_lookup_symbol_nonlocal): Add block to lookup_symbol_global call.
(lookup_symbol_global): Call library-specific lookup procedure.
* symtab.h (lookup_global_symbol_from_objfile): New prototype.
* NEWS: Document framework.
testsuite/
* gdb.base/solib-symbol.exp: New file (testcase multiple symbol lookup).
* gdb.base/solib-symbol-lib.c: Likewise.
* gdb.base/solib-symbol-main.c: Likewise.
2007-07-03 12:14:44 +00:00
Daniel Jacobowitz
c8c1229320
* target-descriptions.c (tdesc_create_reg): Do not set reg->type
...
to NULL.
* cli/cli-script.c (build_command_line): Update NULL check.
2007-07-03 01:23:01 +00:00
Michael Snyder
7877e97730
2007-07-02 Michael Snyder <msnyder@access-company.com>
...
* p-exp.y (yylex): Memory leak, 'uptokstart' must be freed (Coverity).
2007-07-03 01:01:13 +00:00
gdbadmin
3d07a0f02e
*** empty log message ***
2007-07-03 00:00:33 +00:00
Daniel Jacobowitz
cfa9d6d991
* Makefile.in (XMLFILES): Add library-list.dtd.
...
(ALLDEPFILES): Add solib-target.o.
(solib-target.o): New rule.
* remote.c (PACKET_qXfer_libraries): New constant.
(remote_protocol_features): Add qXfer:libraries:read.
(remote_wait): Recognize library stop replies.
(remote_async_wait): Likewise. Fix typo.
(remote_xfer_partial): Handle TARGET_OBJECT_LIBRARIES.
(init_remote_async_ops): Fix typo.
(_initialize_remote): Register "set remote library-info-packet".
* solib-som.c (som_current_sos): Set addr_low and addr_high.
* solib-target.c: New file.
* solib.c (solib_map_sections): Use addr_low and addr_high instead
of textsection.
(info_sharedlibrary_command): Likewise.
(solib_add_library, solib_remove_library): New.
* solist.h (struct so_list): Replace textsection with addr_low and
addr_high.
* target.h (enum target_object): Add TARGET_OBJECT_LIBRARIES.
* NEWS: Describe new qXfer:libraries:read and shared library
event support.
* features/library-list.dtd: New.
* gdb.texinfo (Remote Configuration): Document library-info-packet.
Add other missing entries. Adjust the table size to fit.
(Stop Reply Packets): Use @itemize instead of @enumerate. Document
stop reasons including the new "library" event.
(General Query Packets): Adjust table widths for qSupported. Mention
qXfer:libraries:read reply to qSupported and document the new packet.
(Library List Format): New section.
2007-07-02 22:01:09 +00:00
Daniel Jacobowitz
b0f4b84b5c
* infrun.c (inferior_ignoring_startup_exec_events): Delete.
...
(start_remote): Use STOP_QUIETLY_REMOTE.
(handle_inferior_event): Do not condition TARGET_WAITKIND_LOADED
support on a SOLIB_ADD definition. Update breakpoints_inserted.
Update to match shared library event breakpoint support. Only
resume if appropriate. Handle STOP_QUIETLY_REMOTE.
(normal_stop): Handle TARGET_WAITKIND_LOADED.
* fork-child.c (startup_inferior): Do not set
inferior_ignoring_startup_exec_events
* inferior.h (inferior_ignoring_startup_exec_events): Delete
declaration.
(enum stop_kind): Improve documentation. Add STOP_QUIETLY_REMOTE.
* config/gdbserver.exp (gdb_reconnect): New.
* gdb.base/so-disc-shr.c, gdb.base/solib-disc.c,
gdb.base/solib-disc.exp: New files.
* lib/gdb.exp (gdb_test_multiple): Allow tests to match "Ending
remote debugging".
(gdb_compile): Add shlib_load flag.
* lib/gdbserver-support.exp (gdbserver_run): Save the protocol and
port.
(gdbserver_reconnect): New.
2007-07-02 21:29:28 +00:00
Ulrich Weigand
9bbf65bb08
2007-07-02 Markus Deuling <deuling@de.ibm.com>
...
* breakpoint.c (insert_bp_location): Remove dead code
(DISABLE_UNSETTABLE_BREAK).
(disable_breakpoints_in_shlibs)
(disable_breakpoints_in_unloaded_shlib): Likewise (comment).
2007-07-02 18:30:19 +00:00
Daniel Jacobowitz
a4954f26af
* breakpoint.c (reattach_breakpoints): Do not use remove_breakpoint.
...
Call insert_bp_location.
2007-07-02 16:14:01 +00:00
Daniel Jacobowitz
ae13219ef8
* inferiors.c (change_inferior_id): Add comment.
...
* linux-low.c (check_removed_breakpoint): Add an early
prototype. Improve debug output.
(linux_attach): Doc update.
(linux_detach_one_process, linux_detach): Clean up before releasing
each process.
(send_sigstop, wait_for_sigstop): Improve comments and debug output.
* linux-low.h (struct process_info): Doc improvement.
* mem-break.c (delete_all_breakpoints): New.
* mem-break.h (delete_all_breakpoints): New prototype.
* thread-db.c (find_first_thread): New.
(thread_db_create_event): Call it instead of
thread_db_find_new_threads. Clean up unused variables.
(maybe_attach_thread): Remove first thread handling.
(thread_db_find_new_threads): Use find_first_thread.
(thread_db_get_tls_address): Likewise.
2007-07-02 15:35:36 +00:00
H.J. Lu
b48516f9cd
2007-07-01 H.J. Lu <hongjiu.lu@intel.com>
...
* core-regset.c (fetch_core_registers): Work around gcc 3.4
alias warning bug.
2007-07-02 00:03:29 +00:00
gdbadmin
c0598e6a6c
*** empty log message ***
2007-07-02 00:00:02 +00:00
Daniel Jacobowitz
962257181f
* minsyms.c (lookup_minimal_symbol_by_pc_section): Search fewer
...
objfiles.
2007-07-01 22:39:04 +00:00
Daniel Jacobowitz
1b05479a47
2007-07-01 Daniel Jacobowitz <dan@codesourcery.com>
...
* top.c (gdb_readline_wrapper_line): Call rl_callback_handler_remove.
(struct gdb_readline_wrapper_cleanup): Remove prompt_orig.
(gdb_readline_wrapper_cleanup): Do not reset the prompt.
(gdb_readline_wrapper): Do not save the prompt. Pass our prompt
to display_gdb_prompt.
2007-07-01 Nick Roberts <nickrob@snap.net.nz>
Daniel Jacobowitz <dan@codesourcery.com>
* gdb.base/annota3.exp: Test for if construct.
2007-07-01 22:37:52 +00:00
Daniel Jacobowitz
5ad3a4ca20
PR symtab/2161
...
* target.c (memory_xfer_partial): Do not continue past targets with
all memory.
2007-07-01 22:35:55 +00:00
Jan Kratochvil
159fcc13bb
* gdb.texinfo (Attach): Fixed GDB exit inferior detachment.
2007-07-01 09:13:05 +00:00
gdbadmin
b726c1c10c
*** empty log message ***
2007-07-01 00:00:03 +00:00
Andreas Schwab
4713453b1e
* m68k-tdep.c (m68k_ps_type): New.
...
(m68k_init_types): New.
(m68k_register_type): Use m68k_ps_type for PS register.
(_initialize_m68k_tdep): Call m68k_init_types.
2007-06-30 17:15:15 +00:00
Andreas Schwab
4ed7793328
* m68k-tdep.c (m68k_gdbarch_init): Don't infer coldfire flavour
...
from the generic m68k arch.
2007-06-30 15:35:19 +00:00
gdbadmin
6b2e58e2a6
*** empty log message ***
2007-06-30 00:00:02 +00:00
Michael Snyder
f08312c2d4
2007-06-28 Michael Snyder <msnyder@access-company.com>
...
* m2-typeprint.c (m2_print_type): Move pointer ref after null test
(Coverity).
2007-06-29 00:35:08 +00:00
Michael Snyder
f66d1690c3
2007-06-28 Michael Snyder <msnyder@svkmacdonelllnx>
...
* gdbint.texinfo (Table, Tuple and List Functions) Fix typo.
2007-06-29 00:23:44 +00:00
gdbadmin
d2ea1f5742
*** empty log message ***
2007-06-29 00:00:33 +00:00
Michael Snyder
a787bedf4f
2007-06-28 Michael Snyder <msnyder@access-company.com>
...
* linux-thread-db.c (thread_db_get_thread_local_address): Add
gdb_assert before using return value of find_thread_pid (Coverity).
2007-06-28 23:02:06 +00:00
Michael Snyder
77accacd47
2007-06-28 Michael Snyder <msnyder@access-company.com>
...
* source.c (unset_substitute_path_command): Plug leak (Coverity).
2007-06-28 22:14:06 +00:00
Michael Snyder
dd3526aae6
2007-06-28 Michael Snyder <msnyder@access-company.com>
...
* cli/cli-script.c (build_command_line): Add null pointer guard
(Coverity).
2007-06-28 21:48:54 +00:00
gdbadmin
90a6e26921
*** empty log message ***
2007-06-28 00:00:04 +00:00
Daniel Jacobowitz
4105de343e
* linux-thread-db.c (thread_db_attach): Delete.
...
(thread_db_detach): Typo fix. Call target_mourn_inferior
instead of fixing up proc_handle.
(have_threads_callback, have_threads): New functions.
(thread_db_wait): Remove dead proc_handle.pid check. Only
translate PTIDs if we have registered threads. Check for new
threads if we have none.
(thread_db_create_inferior, thread_db_post_startup_inferior): Delete.
(find_new_threads_callback): Only enable event reporting if TID == 0.
(same_ptid_callback): New.
(thread_db_get_thread_local_address): Check for new threads.
(init_thread_db_ops): Don't set to_attach, to_create_inferior,
or to_post_startup_inferior.
* thread-db.c (thread_db_find_new_threads): Add prototype.
(thread_db_create_event): Check for the main thread before adding
a new thread.
(maybe_attach_thread): Only enable event reporting if TID == 0.
(thread_db_get_tls_address): Check for new threads.
2007-06-27 11:52:02 +00:00
gdbadmin
2cea28dd72
*** empty log message ***
2007-06-27 00:00:33 +00:00
Daniel Jacobowitz
86f78eb20c
* gdb.base/chng-syms.exp: Handle glibc's __GI_exit.
2007-06-26 20:28:47 +00:00
gdbadmin
27a2f8743e
*** empty log message ***
2007-06-26 00:00:02 +00:00
Nick Roberts
b6fd0dfb46
(Register and Memory Data): Break sections
...
into nodes and add a menu.
2007-06-25 04:21:02 +00:00
Nick Roberts
671028766f
*** empty log message ***
2007-06-25 04:20:38 +00:00
gdbadmin
6d63cc93dc
*** empty log message ***
2007-06-25 00:00:03 +00:00
gdbadmin
19dc8cedc8
*** empty log message ***
2007-06-24 00:00:32 +00:00
gdbadmin
3447842b6e
*** empty log message ***
2007-06-23 00:00:33 +00:00
Ulrich Weigand
1c0fdd0e37
* infrun.c (adjust_pc_after_break): Do not assume software single-step
...
is always active if SOFTWARE_SINGLE_STEP_P is true.
(resume): Use gdbarch_software_single_step[_p] instead of
SOFTWARE_SINGLE_STEP[_P].
(handle_inferior_event): Do not check for SOFTWARE_SINGLE_STEP_P.
* gdbarch.sh (software_single_step): Remove target macro.
* gdbarch.h, gdbarch.c: Regenerate.
2007-06-22 12:47:48 +00:00
Ulrich Weigand
e487cc15a4
* gdbarch.sh (gdbarch_swap_ftype, deprecated_register_gdbarch_swap,
...
DEPRECATED_REGISTER_GDBARCH_SWAP): Remove.
(struct gdbarch_swap, struct gdbarch_swap_registration,
struct gdbarch_swap_registry, gdbarch_swap_registry,
current_gdbarch_swap_init_hack, current_gdbarch_swap_out_hack,
current_gdbarch_swap_in_hack): Remove.
(find_arch_by_info): Do not call current_gdbarch_swap_init_hack.
(gdbarch_find_by_info): Do not call current_gdbarch_swap_in_hack
and current_gdbarch_swap_out_hack, update current_gdbarch directly.
(deprecated_current_gdbarch_select_hack): Likewise.
* gdbarch.h, gdbarch.c: Regenerate.
2007-06-22 12:45:38 +00:00
Ulrich Weigand
d5c3145792
* infrun.c (clear_proceed_status): Clean up stop_registers.
...
(normal_stop): Allocate regcache for stop_registers.
(struct inferior_status): Remove stop_registers member.
(save_inferior_status): Do not save stop_registers.
(restore_inferior_status): Do not restore stop_registers.
(discard_inferior_status): Do not discard stop_registers.
(build_infrun): Remove.
(_initialize_infrun): Do not swap stop_registers.
2007-06-22 12:38:04 +00:00
Ulrich Weigand
911c95a5ae
* remote.c (remote_address_masked): If remote_address_size is zero,
...
default to target address size.
(build_remote_gdbarch_data): Remove.
(_initialize_remote): Do not swap remote_address_size.
2007-06-22 12:36:00 +00:00
Ulrich Weigand
5674de600f
* gdbtypes.h (builtin_type_true_char, builtin_type_void,
...
builtin_type_char, builtin_type_short, builtin_type_int,
builtin_type_long, builtin_type_signed_char,
builtin_type_unsigned_char, builtin_type_unsigned_short,
builtin_type_unsigned_int, builtin_type_unsigned_long,
builtin_type_float, builtin_type_double, builtin_type_long_double,
builtin_type_complex, builtin_type_double_complex, builtin_type_string,
builtin_type_bool, builtin_type_long_long,
builtin_type_unsigned_long_long, builtin_type_void_data_ptr,
builtin_type_void_func_ptr, builtin_type_CORE_ADDR): Replace global
variable declaration with compatibility macro.
* gdbtypes.c (builtin_type_true_char, builtin_type_void,
builtin_type_char, builtin_type_short, builtin_type_int,
builtin_type_long, builtin_type_signed_char,
builtin_type_unsigned_char, builtin_type_unsigned_short,
builtin_type_unsigned_int, builtin_type_unsigned_long,
builtin_type_float, builtin_type_double, builtin_type_long_double,
builtin_type_complex, builtin_type_double_complex, builtin_type_string,
builtin_type_bool, builtin_type_long_long,
builtin_type_unsigned_long_long, builtin_type_void_data_ptr,
builtin_type_void_func_ptr, builtin_type_CORE_ADDR): Remove.
(build_gdbtypes): Remove.
(_initialize_gdbtypes): Do not call build_gdbtypes, move installing
opaque-type-resolution command here. Do not call
deprecated_register_gdbarch_swap.
2007-06-22 12:32:19 +00:00
Ulrich Weigand
64c50499d5
* gdbtypes.h (struct builtin_type): New members nodebug_text_symbol,
...
nodebug_data_symbol, nodebug_unknown_symbol, and nodebug_tls_symbol.
* gdbtypes.c (gdbtypes_post_init): Initialize nodebug_ default types.
* parse.c (msym_text_symbol_type, msym_data_symbol_type): Remove.
(msym_unknown_symbol_type, msym_tls_symbol_type): Remove.
(write_exp_msymbol): Use builtin nodebug_ types instead of them.
(build_parse): Remove.
(_initialize_parse): Do not call build_parse. Do not register
msym_ types for gdbarch-swapping.
* dwarf2read.c (new_symbol): Use default nodebug_data_symbol type
instead of creating private type.
* xcoffread.c (func_symbol_type, var_symbol_type): Remove.
(_initialize_xcoffread): Do not initialized them.
(process_xcoff_symbol): Use builtin nodebug_ types instead of them.
* mdebugread.c (nodebug_func_symbol_type): Remove.
(nodebug_var_symbol_type): Remove.
(_initialize_mdebugread): Do not initialize them.
(parse_symbol): Use builtin nodebug_ type instead of them.
(parse_procedure): Likewise.
2007-06-22 12:27:00 +00:00
gdbadmin
b8fc7630f9
*** empty log message ***
2007-06-22 00:00:02 +00:00
Maciej W. Rozycki
6a2eb47454
gdb/:
...
* printcmd.c (do_one_display): If display/i, start with an initial
line feed to avoid bad layout if there is a branch delay slot.
gdb/testsuite/:
* gdb.base/display.exp: Allow a newline after display/i.
* gdb.base/pc-fp.exp: Likewise.
* gdb.base/sigbpt.exp: Likewise.
2007-06-21 15:26:05 +00:00
Maciej W. Rozycki
a464298641
gdb/:
...
* disasm.c (gdb_print_insn): Return the number of branch delay
slot instructions too.
* disasm.h (gdb_print_insn): Update prototype.
* printcmd.c (branch_delay_insns): New variable to record the
number of delay slot instructions after disassembling a branch.
(print_formatted): Record the number of branch delay slot
instructions.
(do_examine): When disassembling, if the last instruction
disassembled has any branch delay slots, then bump the count so
that they get disassembled too.
* tui/tui-disasm.c (tui_disassemble): Update the call to
gdb_print_insn().
* NEWS: Document the new behaviour.
gdb/doc/:
* gdb.texinfo (Examining Memory): Document the new behaviour.
gdb/gdbtk/:
* generic/gdbtk-cmds.c (gdbtk_load_asm): Update the call to
gdb_print_insn().
2007-06-21 15:18:51 +00:00
Andreas Schwab
ade2871640
* regcache.c (write_pc_pid): Restore missing else.
2007-06-21 12:10:48 +00:00
Vladimir Prus
e9c1719407
* gdb.texinfo (Standard Target Features): Document
...
m68k features.
2007-06-21 06:33:03 +00:00
gdbadmin
7beabd3b82
*** empty log message ***
2007-06-21 00:00:02 +00:00
Ulrich Weigand
28c38f1079
* regcache.c (regcache_print): Use get_current_regcache ()
...
instead of current_regcache.
2007-06-20 20:47:34 +00:00
Daniel Jacobowitz
2b876972d0
* linux-low.c (linux_create_inferior): Try execv before execvp.
...
* spu-low.c (spu_create_inferior): Likewise.
2007-06-20 18:54:21 +00:00
H.J. Lu
52b5720866
2007-06-20 H.J. Lu <hongjiu.lu@intel.com>
...
PR 4606
* gcore.c (gcore_command): Use bfd_make_section_anyway_with_flags
instead of bfd_make_section_anyway.
(gcore_create_callback): Likewise. Also set SEC_NEVER_LOAD
when clearing SEC_LOAD.
2007-06-20 18:32:10 +00:00
gdbadmin
210727995e
*** empty log message ***
2007-06-20 00:00:33 +00:00
Joseph Myers
8bf8793ca0
* arm-tdep.c (arm_push_dummy_call): Correct padding of partial
...
registers for big-endian.
2007-06-19 22:44:13 +00:00