Commit Graph

21430 Commits

Author SHA1 Message Date
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