aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
2013-01-11gdb/Jan Kratochvil2-3/+6
* macrocmd.c (macro_inform_no_debuginfo): Use puts_filtered instead of fputs_filtered. Append trailing newline.
2013-01-11gdb/testsuite/Jan Kratochvil2-1/+6
* gdb.base/dprintf.exp (dprintf info 1): Fix expectation on 64-bit targets.
2013-01-11gdb/Yao Qi2-1/+6
2013-01-11 Yao Qi <yao@codesourcery.com> Stan Shebs <stan@codesourcery.com> * psymtab.c (init_psymbol_list): Clarify the comment.
2013-01-11gdb/Yao Qi2-29/+26
* breakpoint.c (print_one_breakpoint_location): Remove dead code. (update_dprintf_command_list): Assert that 'printf_line' is non-null. Remove condition check.
2013-01-11gdb/testsuite/Yao Qi3-1/+30
* gdb.base/dprintf.exp: Check the output of 'info breakpoints' for dprintf. * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Check the fields in "=breakpoint-created" for dprintf.
2013-01-11*** empty log message ***gdbadmin1-1/+1
2013-01-10gdb/Jan Kratochvil4-4/+13
Code cleanup. * psymtab.c (psymtab_to_fullname, psymtab_to_fullname): Make the return type const char *. * tui/tui-source.c (tui_source_is_displayed): Make the parameter fname const char *. * tui/tui-source.h (tui_source_is_displayed): Likewise.
2013-01-10*** empty log message ***gdbadmin1-1/+1
2013-01-09Fixes for solaris compilerAnthony Green3-2/+8
2013-01-09 * symfile.h (quick_symbol_functions): Delete memberDoug Evans5-108/+173
pre_expand_symtabs_matching. All uses removed. * dwarf2read.c (dw2_lookup_symbol): Implement. (dw2_do_expand_symtabs_matching): Delete. (dw2_pre_expand_symtabs_matching): Delete. (struct dw2_symtab_iterator): New type. (dw2_symtab_iter_init, dw2_symtab_iter_next): New functions. (dw2_expand_symtabs_for_function): Rewrite. (dwarf2_gdb_index_functions): Update. * psymtab.c (pre_expand_symtabs_matching_psymtabs): Delete. (psym_functions): Update.
2013-01-09 * config/pa/hpux.mh (NATDEPFILES): Remove somread.o.Tom Tromey5-47/+117
* configure: Rebuild. * configure.ac: Add somread.o to the build if BFD has SOM support. * somread.c: Include som/aout.h, not syms.h. (som_symtab_read): Use som_external_symbol_dictionary_record. Unpack records manually. (_initialize_somread): Declare.
2013-01-09*** empty log message ***gdbadmin1-1/+1
2013-01-08gdb: x86: fix x32 builds with inline asmMike Frysinger2-1/+7
We need to cast the pointer up to 64bits so that the push works on x32 targets. For 64bit targets, this makes no difference. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2013-01-082013-01-08 Hui Zhu <hui_zhu@mentor.com>Hui Zhu4-7/+8
* printcmd.c: Remove define of function output_command. * tracepoint.c: Remove extern of function output_command. * valprint.h: (output_command): New extern.
2013-01-08*** empty log message ***gdbadmin1-1/+1
2013-01-07 * objc-lang.c (objc_emit_char, objc_printchar, objc_printstr):Tom Tromey2-146/+10
Remove. (objc_language_defn): Use c_printchar, c_printstr, c_emit_char.
2013-01-07 PR cli/7719:Tom Tromey17-248/+109
* NEWS: Update. * ada-valprint.c (printstr, print_field_values): Remove "inspect_it" code. * cp-valprint.c (cp_print_value_fields): Remove "inspect_it" code. * jv-valprint.c (java_print_value_fields): Remove "inspect_it" code. * m2-lang.c (m2_printstr): Remove "inspect_it" code. * main.c (captured_main): Remove "epoch" argument. * objc-lang.c (objc_printstr): Remove "inspect_it" code. * p-lang.c (pascal_printstr): Remove "inspect_it" code. * p-valprint.c (pascal_object_print_value_fields): Remove "inspect_it" code. * printcmd.c (print_command_1): Remove 'inspect' argument. (print_command, call_command): Update. (inspect_command): Remove. (_initialize_printcmd): Make "inspect" an alias for "print". * top.c (epoch_interface): Remove. * top.h (epoch_interface): Remove. * valprint.c (user_print_options): Update. (print_converted_chars_to_obstack): Remove "inspect_it" code. * valprint.h (struct value_print_options) <inspect_it>: Remove field. doc * gdb.texinfo (Mode Options): Don't mention -epoch. (Data, Emacs): Remove obsolete comments.
2013-01-07Simplifly ptrace_request_to_str's implementation...Joel Brobecker2-147/+58
... following Pedro's advice of using a temporary macro. gdb/gdbserver/ChangeLog: * lynx-low.c (ptrace_request_to_str): Define a temporary macro and use it to simplify this function's implementation.
2013-01-07Add ptrace error handling in lynx_resumeJoel Brobecker2-0/+9
gdb/gdbserver/ChangeLog: * lynx-low.c (lynx_resume): Call perror_with_name if lynx_ptrace sets errno.
2013-01-07Make x86-lynx GDBserver pass XML register map to GDB.Joel Brobecker2-0/+7
This is not strictly needed, since both GDB and GDBserver seem to agree on the register numbering without this. But this allows us to make sure that this is always going to be the case. gdb/gdbserver/ChangeLog: * configure.srv (i[34567]86-*-lynxos*): Set srv_xmlfiles.
2013-01-07Allow powerpc-*-lynxos* GDBserver to send register map via XML...Joel Brobecker2-0/+7
... back to GDB. The transfer occurs when GDB sends the 'qXfer:features:read:target.xml' packet. This allows us to make sure that GDB and GDBserver use the same register numbering. This is important on Lynx 178, where GDB selects the rs6000:6000 architecture by default instead of the powerpc:common architecture. gdb/gdbserver/ChangeLog: * configure.srv (powerpc-*-lynxos*): Set srv_xmlfiles.
2013-01-07LynxOS: Resume the same thread when receiving a thread create/exit event.Joel Brobecker2-4/+17
Before this patch, the ptid passed to lynx_resume was completely ignored, and we used the current_inferior. This resulted in trying to resume the inferior execution using the wrong ptid after having received a thread create/exit event, because the inferior_ptid was still set to the ptid prior to receiving the signal. gdb/gdbserver/ChangeLog: * lynx-low.c (lynx_resume): Use the resume_info parameter to determine the ptid for the lynx_ptrace call, unless it is equal to minus_one_ptid, in which case we use the ptid of the current_inferior. (lynx_wait_1): After having received a thread create/exit event, resume the inferior's execution using the signaling thread's ptid, rather than the old ptid.
2013-01-07Delete unused variable in lynx_resumeJoel Brobecker2-2/+5
gdb/gdbserver/ChangeLog: * lynx-low.c (lynx_resume): Delete variable ret.
2013-01-07Fix build failure on darwin due to darwin_read_dyld_info not being defined.Joel Brobecker2-1/+6
gdb/ChangeLog: * darwin-nat.c: Fix typo in TASK_DYLD_INFO_COUNT macro test used to decide whether to define darwin_read_dyld_info or not.
2013-01-07*** empty log message ***gdbadmin1-1/+1
2013-01-06*** empty log message ***gdbadmin1-1/+1
2013-01-05*** empty log message ***gdbadmin1-1/+1
2013-01-04*** empty log message ***gdbadmin1-1/+1
2013-01-03 * main.c (relocate_gdb_directory): Avoid calling stat functionPierre Muller2-1/+6
if DIR is empty.
2013-01-03gdb/Yao Qi2-12/+11
* psymtab.c (fixup_psymbol_section): Update declaration. (fixup_psymbol_section): Remove code returning value.
2013-01-03gdb/Yao Qi3-15/+13
* symtab.h: Remove some out of date comments. (enum exception_event_kind): Move it ... * breakpoint.c: ... here.
2013-01-03*** empty log message ***gdbadmin1-1/+1
2013-01-02add bug number to previous commitMike Frysinger1-0/+1
2013-01-02gdb: fix building on Darwin 9Mike Frysinger2-1/+13
TASK_DYLD_INFO_COUNT etc. are not defined.
2013-01-02 * symfile.h (struct ecoff_debug_hack): Remove.Tom Tromey3-8/+5
* objfiles.c: Don't include mdebugread.h.
2013-01-02 * gdb.texinfo (GDB/MI Output Records): Update menu.Tom Tromey2-19/+134
(GDB/MI Breakpoint Information): New node. (GDB/MI Breakpoint Commands) <-break-info>: Link to new node. <-break-insert>: Likewise.
2013-01-02 * config/i386/darwin.mh (NATDEPFILES): Remove machoread.o.Tom Tromey4-1/+67
* configure.ac: Check for Mach-O support in BFD. Update CONFIG_OBS. * configure: Rebuild.
2013-01-02 * acinclude.m4 (GDB_AC_CHECK_BFD): New macro.Tom Tromey4-48/+66
* configure.ac: Use GDB_AC_CHECK_BFD. * configure: Rebuild.
2013-01-02 * MAINTAINERS: Update my email.Maxim Kuvyrkov2-1/+5
2013-01-02*** empty log message ***gdbadmin1-1/+1
2013-01-01ppc-aix: .bss relocation problem when overlapping with the .data sectionJoel Brobecker1-0/+5
Add missing ChangeLog entry.
2013-01-01ppc-aix: .bss relocation problem when overlapping with the .data sectionJoel Brobecker1-0/+69
It has been observed that the GNU linker can sometimes improperly set the address of the .bss section in such a way that it overlaps with the end of the .data section. This causes problems in GDB when trying to print the value of variables located in that section, because the loader appears to be gracefully but silently adjusting the address of the .bss section to avoid the overlap, thus causing a mismatch between the address where GDB thinks it is, vs the address where it actually lives. This patch works around the problem while it a fix in the linker is being explored. gdb/ChangeLog: * rs6000-nat.c (bss_data_overlap): New function. (vmap_symtab): Use it to adjust the .bss section's offset.
2013-01-01Add make_cleanup_free_command_lines declaration "extern".Joel Brobecker2-1/+6
gdb/ChangeLog: * cli/cli-script.h (make_cleanup_free_command_lines): Make extern.
2013-01-01Update years in copyright notice for the GDB files.Joel Brobecker700-753/+700
Two modifications: 1. The addition of 2013 to the copyright year range for every file; 2. The use of a single year range, instead of potentially multiple year ranges, as approved by the FSF.
2013-01-01Update years in copyright notice for the GDB files.Joel Brobecker2202-2465/+2210
Two modifications: 1. The addition of 2013 to the copyright year range for every file; 2. The use of a single year range, instead of potentially multiple year ranges, as approved by the FSF.
2013-01-01Update copyright year in gdb/gdbserver/gdbreplay version output.Joel Brobecker5-3/+12
gdb/ChangeLog: * top.c (print_gdb_version): Update copyright year. gdb/gdbserver/ChangeLog: * gdbreplay.c (gdbreplay_version): Update copyright year. * server.c (gdbserver_version): Likewise.
2013-01-01Rotate gdb's ChangeLog file.Joel Brobecker3-13320/+13330
gdb: * ChangeLog-2012: Renamed from ChangeLog: * ChangeLog: New file. * config/djgpp/fnchange.lst: Add entry for ChangeLog-2012.
2013-01-01*** empty log message ***gdbadmin1-1/+1
2012-12-31gdb/doc/Yao Qi2-58/+90
* gdb.texinfo (Remote Non-Stop): Move paragraphs to ... (Packets): Move "vStopped" packet to ... (Notification Packets): ... here. Describe the components of notification. Add a table of supported notifications. Add an example on the process of he async notification.
2012-12-31*** empty log message ***gdbadmin1-1/+1