1 1.1 christos 2012-12-28 Jan Kratochvil <jan.kratochvil (a] redhat.com> 2 1.1 christos 3 1.1 christos * symtab.c (find_line_symtab): Call symtab_to_fullname instead of 4 1.1 christos accessing FULLNAME directly. 5 1.1 christos 6 1.1 christos 2012-12-25 Sergio Durigan Junior <sergiodj (a] redhat.com> 7 1.1 christos 8 1.1 christos * frv-linux-tdep.c (frv_linux_pc_in_sigtramp): Fix typo. 9 1.1 christos 10 1.1 christos 2012-12-25 Jan Kratochvil <jan.kratochvil (a] redhat.com> 11 1.1 christos 12 1.1 christos * ada-lang.c (is_known_support_routine): New variable fullname. Use 13 1.1 christos access call to verify the symtab_to_fullname result. 14 1.1 christos * breakpoint.c (print_breakpoint_location, update_static_tracepoint): 15 1.1 christos Remove NULL check of symtab_to_fullname result. 16 1.1 christos * cli/cli-cmds.c (edit_command): Likewise. 17 1.1 christos * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_file) 18 1.1 christos (mi_cmd_file_list_exec_source_files): Likewise. 19 1.1 christos * python/py-symtab.c (stpy_fullname): Likewise. 20 1.1 christos * source.c (symtab_to_fullname): Update function comment. Rename 21 1.1 christos variable r to fd, move it to inner block. Always provide non-NULL 22 1.1 christos result. 23 1.1 christos (print_source_lines_base): Remove NULL check of symtab_to_fullname 24 1.1 christos result. 25 1.1 christos * stack.c (print_frame): Likewise. 26 1.1 christos * symtab.c (iterate_over_some_symtabs, find_line_symtab, sources_info): 27 1.1 christos Likewise. 28 1.1 christos * tracepoint.c (print_one_static_tracepoint_marker): Likewise. 29 1.1 christos 30 1.1 christos 2012-12-24 Jan Kratochvil <jan.kratochvil (a] redhat.com> 31 1.1 christos 32 1.1 christos Code cleanup. 33 1.1 christos * dwarf2read.c (fixup_go_packaging): Do not check symtab->FILENAME for 34 1.1 christos NULL. 35 1.1 christos * linespec.c (add_sal_to_sals): Likewise. 36 1.1 christos * psympriv.h (allocate_psymtab): Add ATTRIBUTE_NONNULL. 37 1.1 christos * stack.c (print_frame): Do not check symtab->FILENAME for NULL. 38 1.1 christos * symfile.h (allocate_symtab): Add ATTRIBUTE_NONNULL. 39 1.1 christos * symtab.h (struct symtab): Add comment it is never NULL for filename. 40 1.1 christos * tracepoint.c (set_traceframe_context): Do not check symtab->FILENAME 41 1.1 christos for NULL. 42 1.1 christos * tui/tui-source.c (tui_set_source_content): Likewise. 43 1.1 christos 44 1.1 christos 2012-12-24 Jan Kratochvil <jan.kratochvil (a] redhat.com> 45 1.1 christos 46 1.1 christos * breakpoint.c (breakpoint_re_set): Remove the skip_re_set call. 47 1.1 christos * infrun.c (handle_inferior_event): Rename the called function to 48 1.1 christos function_name_is_marked_for_skip, pass it TMP_SAL. 49 1.1 christos * skip.c (struct skiplist_entry): Update function_name comment. Remove 50 1.1 christos fields pc, gdbarch and pending. 51 1.1 christos (skip_function_pc): Rename this forward declaration to ... 52 1.1 christos (skip_function): ... here. 53 1.1 christos (skip_file_command): Remove variable pending and its use, remove 54 1.1 christos initialization of E fields pending and gdbarch. Do not use SYMTAB 55 1.1 christos filename, use the specified one. 56 1.1 christos (skip_function_command): Remove variable func_pc, do not set it. 57 1.1 christos Update the caller of skip_function. Replace decode_line_1 call by 58 1.1 christos a lookup_symbol call. Remove variables orig_arg, decode_exception and 59 1.1 christos sals. Update the caller of skip_function. 60 1.1 christos (skip_info): Remove variable address_width and its use. Do not print 61 1.1 christos address (PC). Renumber column 5 to 4. 62 1.1 christos (skip_function_pc): Rename to ... 63 1.1 christos (skip_function): ... here and remove its parameters pc, arch and 64 1.1 christos pending. Update the function comment and no longer use those 65 1.1 christos parameters. 66 1.1 christos (function_pc_is_marked_for_skip): Rename to ... 67 1.1 christos (function_name_is_marked_for_skip): ... here, update function comment 68 1.1 christos just to a skip.h reference, replace pc parameter by function_name and 69 1.1 christos function_sal. No longer use E field pending and pc. Remove variables 70 1.1 christos searched_for_sal, sal and filename. Call compare_filenames_for_search 71 1.1 christos instead of just strcmp. 72 1.1 christos (skip_re_set): Remove the function. 73 1.1 christos * skip.h (struct symtab_and_line): New declaration. 74 1.1 christos (function_pc_is_marked_for_skip): Rename to ... 75 1.1 christos (function_name_is_marked_for_skip): ... here, replace pc parameter by 76 1.1 christos function_name and function_sal, update the function comment. 77 1.1 christos 78 1.1 christos 2012-12-18 Pierre Muller <muller (a] sourceware.org> 79 1.1 christos 80 1.1 christos * ui-file.h (tee_file_new): Add extern modifier in header declaration. 81 1.1 christos 82 1.1 christos 2012-12-20 Tom Tromey <tromey (a] redhat.com> 83 1.1 christos 84 1.1 christos * serial.c (deprecated_serial_fd): Remove. 85 1.1 christos * serial.h (deprecated_serial_fd): Remove. 86 1.1 christos 87 1.1 christos 2012-12-20 Yao Qi <yao (a] codesourcery.com> 88 1.1 christos 89 1.1 christos * maint.c (_initialize_maint_cmds): Move code ... 90 1.1 christos * symmisc.c (_initialize_symmisc): ... to here. 91 1.1 christos (maintenance_print_msymbols): Make it static. 92 1.1 christos (maintenance_print_objfiles): Likewise. 93 1.1 christos (maintenance_print_symbols): Likewise. 94 1.1 christos (maintenance_info_symtabs): Likewise. 95 1.1 christos * symtab.h (maintenance_print_msymbols): Remove declaration. 96 1.1 christos (maintenance_print_objfiles, maintenance_print_symbols): Likewise. 97 1.1 christos (maintenance_info_symtabs): Likewise. 98 1.1 christos 99 1.1 christos 2012-12-20 Yao Qi <yao (a] codesourcery.com> 100 1.1 christos 101 1.1 christos * maint.c (_initialize_maint_cmds): Move code to ... 102 1.1 christos * psymtab.c (_initialize_psymtab): ... here. New. 103 1.1 christos Include "gdbcmd.h". 104 1.1 christos (maintenance_print_psymbols): Make it static. 105 1.1 christos (maintenance_info_psymtabs, maintenance_check_symtabs): Likewise. 106 1.1 christos * symtab.h (maintenance_print_psymbols): Remove declaration. 107 1.1 christos (maintenance_check_symtabs, maintenance_info_psymtabs): Likewise. 108 1.1 christos 109 1.1 christos 2012-12-19 Maxim Kuvyrkov <maxim (a] codesourcery.com> 110 1.1 christos 111 1.1 christos * MAINTAINERS: Add myself to write-after-approval maintainers. 112 1.1 christos 113 1.1 christos 2012-12-19 Andreas Tobler <andreast (a] neon.andreas.nets> 114 1.1 christos 115 1.1 christos * mips-tdep.c (micromips_deal_with_atomic_sequence): Initialize 116 1.1 christos branch_bp to keep gcc happy. 117 1.1 christos 118 1.1 christos 2012-12-19 Joel Brobecker <brobecker (a] adacore.com> 119 1.1 christos 120 1.1 christos * gdbarch.sh (copyright): Update copyright years. 121 1.1 christos * gdbarch.h, gdbarch.c: Regenerate. 122 1.1 christos * copyright.py (EXCLUDE_LIST): Remove gdbarch.h and gdbarch.c. 123 1.1 christos (MULTIPLE_COPYRIGHT_HEADERS): Add 'gdb/gdbarch.sh'. 124 1.1 christos 125 1.1 christos 2012-12-19 Joel Brobecker <brobecker (a] adacore.com> 126 1.1 christos 127 1.1 christos * acinclude.m4: Update contact info in copyright notice. 128 1.1 christos 129 1.1 christos 2012-12-19 Yao Qi <yao (a] codesourcery.com> 130 1.1 christos 131 1.1 christos * maint.c (maintenance_print_statistics): Make it static. 132 1.1 christos * symtab.h (maintenance_print_statistics): Remove declaration. 133 1.1 christos 134 1.1 christos 2012-12-19 Joel Brobecker <brobecker (a] adacore.com> 135 1.1 christos 136 1.1 christos * NEWS: Add entry announcing ppc-lynx178 support. 137 1.1 christos 138 1.1 christos 2012-12-19 Joel Brobecker <brobecker (a] adacore.com> 139 1.1 christos 140 1.1 christos Revert the following change (compatibility issues with libiconv): 141 1.1 christos * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add errno. 142 1.1 christos * gnulib/import/errno.in.h: Import. 143 1.1 christos * gnulib/import/m4/errno_h.m4: Import. 144 1.1 christos * gnulib/aclocal.m4: Regenerate. 145 1.1 christos * gnulib/configure: Regenerate. 146 1.1 christos * gnulib/import/Makefile.am: Update. 147 1.1 christos * gnulib/import/Makefile.in: Update. 148 1.1 christos * gnulib/import/m4/gnulib-cache.m4: Update. 149 1.1 christos * gnulib/import/m4/gnulib-comp.m4: Update. 150 1.1 christos 151 1.1 christos 2012-12-18 Tom Tromey <tromey (a] redhat.com> 152 1.1 christos 153 1.1 christos * defs.h (directory_command): Don't declare. 154 1.1 christos * source.c (directory_command): Now static. 155 1.1 christos 156 1.1 christos 2012-12-18 Tom Tromey <tromey (a] redhat.com> 157 1.1 christos 158 1.1 christos * infcmd.c (all_registers_info, nexti_command, stepi_command) 159 1.1 christos (continue_command, interrupt_target_command): Now static. 160 1.1 christos (registers_info): Remove declaration. 161 1.1 christos * inferior.h (all_registers_info, nexti_command, stepi_command) 162 1.1 christos (continue_command, interrupt_target_command): Don't declare. 163 1.1 christos 164 1.1 christos 2012-12-18 Tom Tromey <tromey (a] redhat.com> 165 1.1 christos 166 1.1 christos * cli/cli-cmds.c (apropos_command): Now static. 167 1.1 christos 168 1.1 christos 2012-12-18 Tom Tromey <tromey (a] redhat.com> 169 1.1 christos 170 1.1 christos * breakpoint.c (dprintf_command): Now static. 171 1.1 christos 172 1.1 christos 2012-12-18 Tom Tromey <tromey (a] redhat.com> 173 1.1 christos 174 1.1 christos * Makefile.in (init.c): Declare initialize_all_files; 175 1.1 christos don't include call-cmds.h. 176 1.1 christos * call-cmds.h: Remove. 177 1.1 christos * symtab.c: Don't include call-cmds.h. 178 1.1 christos * top.c: Don't include call-cmds.h. Declare 179 1.1 christos initialize_all_files. 180 1.1 christos 181 1.1 christos 2012-12-18 Tom Tromey <tromey (a] redhat.com> 182 1.1 christos 183 1.1 christos * symfile.c (list_overlays_command, map_overlay_command) 184 1.1 christos (unmap_overlay_command): Now static. 185 1.1 christos 186 1.1 christos 2012-12-18 Tom Tromey <tromey (a] redhat.com> 187 1.1 christos 188 1.1 christos * cli/cli-cmds.c (_initialize_cli_cmds): Remove "document", 189 1.1 christos "define", "while", and "if" commands. 190 1.1 christos * cli/cli-script.c (while_command, if_command, define_command) 191 1.1 christos (document_command): Now static. 192 1.1 christos (_initialize_cli_script): New function. 193 1.1 christos * cli/cli-script.h (while_command, if_command, define_command) 194 1.1 christos (document_command): Don't declare. 195 1.1 christos 196 1.1 christos 2012-12-18 Tom Tromey <tromey (a] redhat.com> 197 1.1 christos 198 1.1 christos * cli/cli-cmds.c (_initialize_cli_cmds): New function. 199 1.1 christos (init_cli_cmds): Move most code into new function. 200 1.1 christos 201 1.1 christos 2012-12-18 Tom Tromey <tromey (a] redhat.com> 202 1.1 christos 203 1.1 christos * minsyms.c (lookup_solib_trampoline_symbol_by_pc): Now static. 204 1.1 christos * minsyms.h (lookup_solib_trampoline_symbol_by_pc): Don't 205 1.1 christos declare. 206 1.1 christos 207 1.1 christos 2012-12-18 Joel Brobecker <brobecker (a] adacore.com> 208 1.1 christos 209 1.1 christos * defs.h (enum gdb_osabi): Add GDB_OSABI_LYNXOS178. 210 1.1 christos * osabi.c (gdb_osabi_names): Add entry for GDB_OSABI_LYNXOS178. 211 1.1 christos * xcoffread.c (xcoff_get_core_n_import_files): New function. 212 1.1 christos (xcoff_get_n_import_files): New function. 213 1.1 christos * xcoffread.h (xcoffread.h): Add declaration. 214 1.1 christos * rs6000-aix-tdep.c: #include "xcoffread.h". 215 1.1 christos (rs6000_aix_osabi_sniffer): Do not return GDB_OSABI_AIX for 216 1.1 christos XCOFF executables that do not depend on any shared library. 217 1.1 christos * rs6000-lynx178-tdep.c: New file. 218 1.1 christos * configure.tgt: Add powerpc-*-lynx*178 handling. 219 1.1 christos * Makefile.in (ALL_TARGET_OBS): Add rs6000-lynx178-tdep.o. 220 1.1 christos (ALLDEPFILES): Add rs6000-lynx178-tdep.c. 221 1.1 christos 222 1.1 christos 2012-12-18 Hui Zhu <hui_zhu (a] mentor.com> 223 1.1 christos 224 1.1 christos * ui-file.c (ui_file): Add to_fseek. 225 1.1 christos (ui_file_new): Call set_ui_file_fseek. 226 1.1 christos (null_file_fseek, ui_file_fseek, set_ui_file_fseek, 227 1.1 christos stdio_file_fseek): New functions. 228 1.1 christos (stdio_file_new): Call set_ui_file_fseek. 229 1.1 christos * ui-file.h (ui_file_fseek_ftype): New typedef. 230 1.1 christos (set_ui_file_fseek, ui_file_fseek): New externs. 231 1.1 christos 232 1.1 christos 2012-12-18 Hui Zhu <hui_zhu (a] mentor.com> 233 1.1 christos 234 1.1 christos * ui-file.c (set_ui_file_flush): Change flush to flush_ptr. 235 1.1 christos (set_ui_file_isatty): Change isatty to isatty_ptr. 236 1.1 christos (set_ui_file_rewind): Change rewind to rewind_ptr. 237 1.1 christos (set_ui_file_put): Change put to put_ptr. 238 1.1 christos (set_ui_file_write): Change write to write_ptr. 239 1.1 christos (set_ui_file_write_async_safe): Change write_async_safe to 240 1.1 christos write_async_safe_ptr. 241 1.1 christos (set_ui_file_read): Change read to read_ptr. 242 1.1 christos (set_ui_file_fputs): Change fputs to fputs_ptr. 243 1.1 christos (set_ui_file_data): Change delete to delete_ptr. 244 1.1 christos 245 1.1 christos 2012-12-18 Joel Brobecker <brobecker (a] adacore.com> 246 1.1 christos 247 1.1 christos * solib-darwin.c (darwin_current_sos): Fix indentation. 248 1.1 christos (darwin_read_exec_load_addr): New function. 249 1.1 christos (darwin_solib_create_inferior_hook): Rebase executable. 250 1.1 christos * objfiles.c (objfile_rebase1, objfile_rebase): New functions. 251 1.1 christos * objfiles.h (objfile_rebase1, objfile_rebase): Add prototypes. 252 1.1 christos 253 1.1 christos 2012-12-18 Joel Brobecker <brobecker (a] adacore.com> 254 1.1 christos 255 1.1 christos * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add errno. 256 1.1 christos * gnulib/import/errno.in.h: Import. 257 1.1 christos * gnulib/import/m4/errno_h.m4: Import. 258 1.1 christos * gnulib/aclocal.m4: Regenerate. 259 1.1 christos * gnulib/configure: Regenerate. 260 1.1 christos * gnulib/import/Makefile.am: Update. 261 1.1 christos * gnulib/import/Makefile.in: Update. 262 1.1 christos * gnulib/import/m4/gnulib-cache.m4: Update. 263 1.1 christos * gnulib/import/m4/gnulib-comp.m4: Update. 264 1.1 christos 265 1.1 christos 2012-12-18 Joel Brobecker <brobecker (a] adacore.com> 266 1.1 christos 267 1.1 christos * gnulib/update-gnulib.sh (GNULIB_COMMIT_SHA1): Set to 268 1.1 christos 8d5bd1402003bd0153984b138735adf537d960b0. 269 1.1 christos * gnulib/aclocal.m4, configure, config.in: Regenerate. 270 1.1 christos * gnulib/import/m4/extern-inline.m4: Import. 271 1.1 christos * gnulib/import/wctype-h.c: Import. 272 1.1 christos * gnulib/import/Makefile.am: Update. 273 1.1 christos * gnulib/import/Makefile.in: Update. 274 1.1 christos * gnulib/import/alloca.in.h: Update. 275 1.1 christos * gnulib/import/extra/snippet/warn-on-use.h: Update. 276 1.1 christos * gnulib/import/localcharset.c: Update. 277 1.1 christos * gnulib/import/m4/fcntl-o.m4: Update. 278 1.1 christos * gnulib/import/m4/gnulib-cache.m4: Update. 279 1.1 christos * gnulib/import/m4/gnulib-comp.m4: Update. 280 1.1 christos * gnulib/import/m4/wctype_h.m4: Update. 281 1.1 christos * gnulib/import/stdbool.in.h: Update. 282 1.1 christos * gnulib/import/verify.h: Update. 283 1.1 christos * gnulib/import/wctype.in.h: Update. 284 1.1 christos 285 1.1 christos 2012-12-18 Joel Brobecker <brobecker (a] adacore.com> 286 1.1 christos 287 1.1 christos * gnulib/update-gnulib.sh: Add call to autoheader. 288 1.1 christos 289 1.1 christos 2012-12-17 Tom Tromey <tromey (a] redhat.com> 290 1.1 christos 291 1.1 christos * top.c (xgdb_verbose): Remove. 292 1.1 christos 293 1.1 christos 2012-12-16 Jan Kratochvil <jan.kratochvil (a] redhat.com> 294 1.1 christos 295 1.1 christos Code cleanup. 296 1.1 christos * skip.c (skip_function_command, skip_file_command, skip_info): Remove 297 1.1 christos unused forward declarations. 298 1.1 christos (skip_file_command): Make variables symtab and filename targets const. 299 1.1 christos Use proper 0 vs. NULL constant everywhere. 300 1.1 christos (skip_function_command): Use proper 0 vs. NULL constant everywhere. 301 1.1 christos Include empty line after declarations. Use GNU spacing in a comment. 302 1.1 christos Do not use strlen for end of string check. 303 1.1 christos (skip_info): Use proper 0 vs. NULL constant everywhere. Add column 5 304 1.1 christos comments. 305 1.1 christos (skip_enable_command, skip_disable_command, skip_delete_command) 306 1.1 christos (add_skiplist_entry): Use proper 0 vs. NULL constant everywhere. 307 1.1 christos (function_pc_is_marked_for_skip): Make variable filename target const. 308 1.1 christos Use proper 0 vs. NULL constant everywhere. Fix GNU non-compliant 309 1.1 christos comment formatting. 310 1.1 christos (skip_re_set): Add empty line after function comment. Use proper 0 vs. 311 1.1 christos NULL constant everywhere. Include empty line after declarations. Make 312 1.1 christos variable symtab target const. Do not use strlen for end of string 313 1.1 christos check. 314 1.1 christos 315 1.1 christos 2012-12-16 Jan Kratochvil <jan.kratochvil (a] redhat.com> 316 1.1 christos 317 1.1 christos Code cleanup. 318 1.1 christos * breakpoint.c (clear_command): Remove variable sal_name_len and its 319 1.1 christos initialization, remove it from the compare_filenames_for_search call. 320 1.1 christos * dwarf2read.c (dw2_map_symtabs_matching_filename): Remove variable 321 1.1 christos name_len and its initialization, remove it from the 322 1.1 christos compare_filenames_for_search calls. 323 1.1 christos * psymtab.c (partial_map_symtabs_matching_filename): Likewise. 324 1.1 christos * symtab.c (compare_filenames_for_search): Remove the search_len 325 1.1 christos parameter, update the function comment, new variable search_len 326 1.1 christos initialized from SEARCH_NAME. 327 1.1 christos (iterate_over_some_symtabs): Remove variable name_len and its 328 1.1 christos initialization, remove it from the compare_filenames_for_search calls. 329 1.1 christos * symtab.h (compare_filenames_for_search): Remove the search_len 330 1.1 christos parameter. 331 1.1 christos 332 1.1 christos 2012-12-16 Joel Brobecker <brobecker (a] adacore.com> 333 1.1 christos 334 1.1 christos * Makefile.in (SFILES): Move ravenscar-thread.c from here... 335 1.1 christos (ALLDEPFILES): ... to there. 336 1.1 christos 337 1.1 christos 2012-12-15 Joel Brobecker <brobecker (a] adacore.com> 338 1.1 christos 339 1.1 christos * configure.tgt (sparc-*-*): Add missing '\' in gdb_target_ops. 340 1.1 christos 341 1.1 christos 2012-12-15 Joel Brobecker <brobecker (a] adacore.com> 342 1.1 christos 343 1.1 christos * ppc-ravenscar-thread.h, ppc-ravenscar-thread.c: New files. 344 1.1 christos * Makefile.in (ALL_TARGET_OBS): Add ppc-ravenscar-thread.o. 345 1.1 christos (HFILES_NO_SRCDIR): Add ppc-ravenscar-thread.h. 346 1.1 christos (ALLDEPFILES): Add ppc-ravenscar-thread.c. 347 1.1 christos * configure.tgt: Add ravenscar-thread.o and ppc-ravenscar-thread.o 348 1.1 christos to gdb_target_obs for every target that uses rs6000-tdep.o. 349 1.1 christos * rs6000-tdep.c: #include "ppc-ravenscar-thread.h". 350 1.1 christos (rs6000_gdbarch_init): Call register_e500_ravenscar_ops 351 1.1 christos or register_ppc_ravenscar_ops. 352 1.1 christos 353 1.1 christos 2012-12-15 Joel Brobecker <brobecker (a] adacore.com> 354 1.1 christos 355 1.1 christos * sparc-ravenscar-thread.h: SPARC_RAVENSCAR_THREAD_H renames 356 1.1 christos RAVENSCAR_SPARC_THREAD_H. 357 1.1 christos * sparc-ravenscar-thread.c: Rename all global entities 358 1.1 christos whose name is uses "ravenscar_sparc" as the prefix to use 359 1.1 christos "sparc_ravenscar" instead. 360 1.1 christos 361 1.1 christos 2012-12-15 Joel Brobecker <brobecker (a] adacore.com> 362 1.1 christos 363 1.1 christos * sparc-ravenscar-thread.h: Renames ravenscar-sparc-thread.h. 364 1.1 christos * sparc-ravenscar-thread.c: Renames ravenscar-sparc-thread.c. 365 1.1 christos Adjust sparc-ravenscar-thread.h #include. 366 1.1 christos * sparc-tdep.c: Adjust sparc-ravenscar-thread.h #include 367 1.1 christos accordingly. 368 1.1 christos * Makefile.in: Replace ravenscar-sparc-thread with 369 1.1 christos sparc-ravenscar-thread throughout. 370 1.1 christos * configure.tgt: Likewise. 371 1.1 christos 372 1.1 christos 2012-12-15 Joel Brobecker <brobecker (a] adacore.com> 373 1.1 christos 374 1.1 christos * gdbarch.sh: Add "struct ravenscar_arch_ops" forward 375 1.1 christos declaration. 376 1.1 christos (ravenscar_ops): New gdbarch variable. 377 1.1 christos * gdbarch.h, gdbarch.c: Regenerate. 378 1.1 christos * ravenscar-thread.h (ravenscar_register_arch_ops): Delete. 379 1.1 christos * ravenscar-thread.c (current_arch_ops): Delete. 380 1.1 christos (ravenscar_fetch_registers): Get the ravenscar_arch_ops 381 1.1 christos from the gdbarch. 382 1.1 christos (ravenscar_store_registers, ravenscar_prepare_to_store): Likewise. 383 1.1 christos (ravenscar_inferior_created): Add gdbarch_ravenscar_ops check. 384 1.1 christos (ravenscar_register_arch_ops): Delete. 385 1.1 christos * ravenscar-sparc-thread.h: New file. 386 1.1 christos * ravenscar-sparc-thread.c: #include "ravenscar-sparc-thread.h". 387 1.1 christos (ravenscar_sparc_ops): Define value statically. 388 1.1 christos (_initialize_ravenscar_sparc): Delete. 389 1.1 christos (register_sparc_ravenscar_ops): New function. 390 1.1 christos * sparc-tdep.c: #include "ravenscar-sparc-thread.h". 391 1.1 christos (sparc32_gdbarch_init): Add call to register_sparc_ravenscar_ops. 392 1.1 christos * Makefile.in (ALL_TARGET_OBS): Add ravenscar-thread.o and 393 1.1 christos ravenscar-sparc-thread.o. 394 1.1 christos (SFILES): Add ravenscar-thread.c. 395 1.1 christos (HFILES_NO_SRCDIR): Add ravenscar-sparc-thread.h. 396 1.1 christos (ALLDEPFILES): ravenscar-sparc-thread.c. 397 1.1 christos * configure.tgt: Add ravenscar-thread.o and ravenscar-sparc-thread.o 398 1.1 christos to gdb_target_obs 399 1.1 christos for all the targets that use sparc-tdep.o. 400 1.1 christos 401 1.1 christos 2012-12-15 Joel Brobecker <brobecker (a] adacore.com> 402 1.1 christos 403 1.1 christos * ravenscar-thread.c (ravenscar_is_open): Delete. 404 1.1 christos (ravenscar_initialize): Move most of the code from here... 405 1.1 christos (ravenscar_inferior_created): ... to there. Invert logic. 406 1.1 christos (ravenscar_close): Delete. 407 1.1 christos (init_ravenscar_thread_ops): Remove setting of 408 1.1 christos ravenscar_ops.to_close. 409 1.1 christos 410 1.1 christos 2012-12-15 Joel Brobecker <brobecker (a] adacore.com> 411 1.1 christos 412 1.1 christos * objfiles.c (init_entry_point_info): Move function from here... 413 1.1 christos * symfile.c (init_entry_point_info): ... to there. Make static. 414 1.1 christos * objfiles.h (objfiles.h): Delete declaration. 415 1.1 christos 416 1.1 christos 2012-12-15 Joel Brobecker <brobecker (a] adacore.com> 417 1.1 christos 418 1.1 christos * symfile.c (syms_from_objfile_1): Renames syms_from_objfile. 419 1.1 christos Remove call to init_entry_point_info. Add OBJFILE's 420 1.1 christos section_offsets and num_sections initialization. Add note 421 1.1 christos about entry info in the function documentation. 422 1.1 christos (syms_from_objfile): New function. 423 1.1 christos * coffread.c (coff_symfile_init): Remove call to 424 1.1 christos init_entry_point_info. 425 1.1 christos * machoread.c (macho_symfile_init): Likewise. 426 1.1 christos * xcoffread.c(xcoff_symfile_init): Likewise. 427 1.1 christos 428 1.1 christos 2012-12-15 Yao Qi <yao (a] codesourcery.com> 429 1.1 christos 430 1.1 christos * remote-notif.c (_initialize_notif): Add new commands 431 1.1 christos 'set debug notification' and 'show debug notification'. 432 1.1 christos * NEWS: Mention these new commands. 433 1.1 christos 434 1.1 christos 2012-12-15 Yao Qi <yao (a] codesourcery.com> 435 1.1 christos 436 1.1 christos * Makefile.in (REMOTE_OBS): Add "remote-notif.o". 437 1.1 christos (SFILES): Add "remote-notif.c". 438 1.1 christos (HFILES_NO_SRCDIR): Add "remote-notif.h" and "common/queue.h". 439 1.1 christos * remote-notif.c: New. Factored out from remote.c. 440 1.1 christos * remote-notif.h: New. 441 1.1 christos * remote.c: Include "remote-notif.h". 442 1.1 christos (stop_reply_xmalloc, do_stop_reply_xfree): 443 1.1 christos (remote_parse_stop_reply, remote_get_pending_stop_replies): 444 1.1 christos (remote_async_get_pending_events_handler): Remove declarations. 445 1.1 christos (remote_parse_stop_reply): Declare. 446 1.1 christos (pending_stop_reply): Remove. 447 1.1 christos (remote_async_get_pending_events_token): Move to 448 1.1 christos remote-notif.c. 449 1.1 christos (remote_close): Replace 'delete_async_event_handler' with 450 1.1 christos remote_notif_unregister_async_event_handler. 451 1.1 christos Don't call discard_pending_stop_replies. 452 1.1 christos (remote_start_remote): Replace code with remote_notif_parse 453 1.1 christos and remote_notif_get_pending_replies. 454 1.1 christos (remote_open_1): Replace 'create_async_event_handler' with 455 1.1 christos remote_notif_register_async_event_handler. 456 1.1 christos (extended_remote_attach_1): Call remote_notif_parse and 457 1.1 christos notif_stop_reply_push. 458 1.1 christos (struct stop_reply) <next>: Remove. 459 1.1 christos <base>: New field. 460 1.1 christos Callers update. 461 1.1 christos (stop_reply_queue): Change its type. 462 1.1 christos (stop_reply_xmalloc, do_stop_reply_xfree): Remove. 463 1.1 christos (remote_notif_remove_all): New. 464 1.1 christos (discard_pending_stop_replies): Update. 465 1.1 christos (remote_notif_stop_ack, stop_reply_dtr): New. 466 1.1 christos (remote_notif_stop_alloc_event): New. 467 1.1 christos (notif_client_stop): New variable. 468 1.1 christos (stop_reply_match_ptid, stop_reply_match_ptid_and_ws: New. 469 1.1 christos (queued_stop_reply, peek_stop_reply): Adjust. 470 1.1 christos (remote_get_pending_stop_replies): Rename to 471 1.1 christos remote_notif_get_pending_events. 472 1.1 christos (handle_notification): Move to remote-notif.c. 473 1.1 christos (remote_async_get_pending_events_handler): Likewise. 474 1.1 christos (remote_wait_as): Adjust to call remote_notif_parse. 475 1.1 christos Call 'getpkt_or_notif_sane' instead of 'getpkt_sane'. 476 1.1 christos Return minus_one_ptid early if gets a notification. 477 1.1 christos (remote_wait): Call QUEUE_is_empty (notif_reply_p). 478 1.1 christos (_initialize_remote): Call QUEUE_alloc. Update caller. 479 1.1 christos (remote_resume): Call 'remote_notif_process' in all-stop mode. 480 1.1 christos * remote.h: Include "remote-notif.h". 481 1.1 christos (remote_notif_get_pending_replies): Declare. 482 1.1 christos 483 1.1 christos 2012-12-15 Yao Qi <yao (a] codesourcery.com> 484 1.1 christos 485 1.1 christos * remote.c (discard_pending_stop_replies): Update declaration. 486 1.1 christos (remote_detach_1, extended_remote_mourn_1): Likewise. 487 1.1 christos (discard_pending_stop_replies): Change parameter from PID to 488 1.1 christos INF. 489 1.1 christos (remote_close): Update caller. 490 1.1 christos (_initialize_remote): Attach discard_pending_stop_replies to 491 1.1 christos inferior_exit observer. 492 1.1 christos 493 1.1 christos 2012-12-15 Yao Qi <yao (a] codesourcery.com> 494 1.1 christos 495 1.1 christos * remote.c (getpkt_or_notif_sane): Add one more argument in 496 1.1 christos its declaration. 497 1.1 christos (getpkt_or_notif_sane_1): Add one more argument. 498 1.1 christos (getpkt_sane): Update caller. 499 1.1 christos (getpkt_or_notif_sane): Likewise. Update call 500 1.1 christos togetpkt_or_notif_sane_1. 501 1.1 christos (remote_wait_ns): Update caller. 502 1.1 christos 503 1.1 christos 2012-12-15 Yao Qi <yao (a] codesourcery.com> 504 1.1 christos Doug Evans <dje (a] google.com> 505 1.1 christos 506 1.1 christos * common/queue.h: New. 507 1.1 christos 508 1.1 christos 2012-12-15 Yao Qi <yao (a] codesourcery.com> 509 1.1 christos 510 1.1 christos * breakpoint.c (print_one_breakpoint_location): Display the 511 1.1 christos state of 'installed' of each non-pending location of a tracepoint 512 1.1 christos in both CLI and MI. 513 1.1 christos (download_tracepoint_locations): Notify 'breakpoint-modified' 514 1.1 christos observer if any tracepoint location is downloaded. 515 1.1 christos * tracepoint.c (start_tracing): Likewise. 516 1.1 christos (merge_uploaded_tracepoints): Record all modified 517 1.1 christos tracepoints and notify 'breakpoint-modified' observer for them. 518 1.1 christos 519 1.1 christos * NEWS: Mention the change for CLI and MI. 520 1.1 christos 521 1.1 christos 2012-12-15 Yao Qi <yao (a] codesourcery.com> 522 1.1 christos 523 1.1 christos * breakpoint.c (download_tracepoint_locations): Iterate over 524 1.1 christos ALL_TRACEPOINTS first and then iterate over locations of 525 1.1 christos each tracepoint. 526 1.1 christos 527 1.1 christos 2012-12-14 Pierre Muller <muller (a] sourceware.org> 528 1.1 christos Pedro Alves <palves (a] redhat.com> 529 1.1 christos 530 1.1 christos * solib-target.c (solib_target_current_sos): Remove 'const' 531 1.1 christos qualifier from type of library_document local variable to be 532 1.1 christos able to free it and avoid a memory leak. 533 1.1 christos Use cleanup chain to avoid leak even if exceptino is generated. 534 1.1 christos 535 1.1 christos 2012-12-14 Tom Tromey <tromey (a] redhat.com> 536 1.1 christos 537 1.1 christos PR c++/8888: 538 1.1 christos * symtab.c (lookup_symbol_aux): If constructor is found, consider 539 1.1 christos returning the type instead. 540 1.1 christos * c-exp.y (classify_name): Check STRUCT_DOMAIN if a constructor is 541 1.1 christos found. 542 1.1 christos 543 1.1 christos 2012-12-14 Tom Tromey <tromey (a] redhat.com> 544 1.1 christos 545 1.1 christos Partial fix for PR c++/14160: 546 1.1 christos * c-typeprint.c (c_type_print_base): Use TYPE_FN_FIELD_CONSTRUCTOR. 547 1.1 christos * dwarf2read.c (dwarf2_is_constructor): New function. 548 1.1 christos (dwarf2_add_member_fn): Use it. 549 1.1 christos * gnu-v3-abi.c (gnuv3_pass_by_reference): Use 550 1.1 christos TYPE_FN_FIELD_CONSTRUCTOR. 551 1.1 christos * jv-typeprint.c (java_type_print_base): Use 552 1.1 christos TYPE_FN_FIELD_CONSTRUCTOR. 553 1.1 christos * gdbtypes.h (struct fn_field) <is_constructor>: New field. 554 1.1 christos <dummy>: Shrink. 555 1.1 christos (TYPE_FN_FIELD_CONSTRUCTOR): New macro. 556 1.1 christos 557 1.1 christos 2012-12-14 Tom Tromey <tromey (a] redhat.com> 558 1.1 christos 559 1.1 christos * c-exp.y (block, variable, name_not_typename, lex_one_token, 560 1.1 christos classify_name): Update. 561 1.1 christos * c-valprint.c (c_val_print): Update. 562 1.1 christos * f-exp.y (yylex): Update. 563 1.1 christos * go-exp.y (package_name_p, classify_packaged_name) 564 1.1 christos (classify_name): Update. 565 1.1 christos * jv-exp.y (push_variable): Update. 566 1.1 christos * m2-exp.y (variable): Update. 567 1.1 christos * mi/mi-cmd-stack.c (list_args_or_locals): Update. 568 1.1 christos * p-exp.y (block, variable, yylex): Update. 569 1.1 christos * p-valprint.c (pascal_val_print): Update. 570 1.1 christos * parse.c (write_dollar_variable): Update. 571 1.1 christos * printcmd.c (address_info): Update. 572 1.1 christos * python/py-symbol.c (gdbpy_lookup_symbol): Update. 573 1.1 christos * symtab.c (lookup_symbol_aux, lookup_symbol_in_language) 574 1.1 christos (lookup_symbol): Change type of 'is_a_field_of_this'. 575 1.1 christos (check_field): Add 'is_a_field_of_this' argument. 576 1.1 christos * symtab.h (struct field_of_this_result): New. 577 1.1 christos (lookup_symbol, lookup_symbol_in_language): Update. 578 1.1 christos 579 1.1 christos 2012-12-14 Tom Tromey <tromey (a] redhat.com> 580 1.1 christos 581 1.1 christos * symtab.c (check_field): Now static. Move from... 582 1.1 christos * valops.c (check_field): ... here. Remove. 583 1.1 christos * value.h (check_field): Don't declare. 584 1.1 christos 585 1.1 christos 2012-12-14 Tom Tromey <tromey (a] redhat.com> 586 1.1 christos 587 1.1 christos * NEWS: Mention "info proc" and core files. 588 1.1 christos * corelow.c (core_info_proc): New function. 589 1.1 christos (init_core_ops): Set to_info_proc. 590 1.1 christos * gdbarch.c, gdbarch.h: Rebuild. 591 1.1 christos * gdbarch.sh (core_info_proc): New method. 592 1.1 christos * infcmd.c (info_proc_cmd_1): Invoke target_info_proc first. 593 1.1 christos * linux-tdep.c (linux_core_info_proc_mappings) 594 1.1 christos (linux_core_info_proc): New functions. 595 1.1 christos (linux_find_memory_region_ftype): New typedef. 596 1.1 christos (linux_find_memory_regions_full): New function, from 597 1.1 christos linux_find_memory_regions. 598 1.1 christos (struct linux_find_memory_regions_data): New. 599 1.1 christos (linux_find_memory_regions_thunk): New function. 600 1.1 christos (linux_find_memory_regions): Rewrite. 601 1.1 christos (struct linux_make_mappings_data): New. 602 1.1 christos (linux_make_mappings_callback) 603 1.1 christos (linux_make_mappings_corefile_notes): New functions. 604 1.1 christos (linux_make_corefile_notes): Call linux_make_mappings_corefile_notes. 605 1.1 christos (linux_init_abi): Call set_gdbarch_core_info_proc. 606 1.1 christos * target.c (target_info_proc): Return 'int'. 607 1.1 christos * target.h (target_info_proc): Update. 608 1.1 christos 609 1.1 christos 2012-12-14 Pierre Muller <muller (a] sourceware.org> 610 1.1 christos 611 1.1 christos * windows-nat.c (windows_xfer_shared_libraries): Avoid 612 1.1 christos memory leak when OFFSET >= LEN_AVAIL. 613 1.1 christos 614 1.1 christos 2012-12-13 Tom Tromey <tromey (a] redhat.com> 615 1.1 christos 616 1.1 christos * solib-svr4.c (enable_break): Use SECT_OFF_TEXT. 617 1.1 christos 618 1.1 christos 2012-12-13 Tom Tromey <tromey (a] redhat.com> 619 1.1 christos 620 1.1 christos * acinclude.m4 (CY_AC_C_WORKS): Remove. 621 1.1 christos 622 1.1 christos 2012-12-13 Pierre Muller <muller (a] sourceware.org> 623 1.1 christos 624 1.1 christos * coff-pe-read.c (pe_text_section_offset): Increase size of sname 625 1.1 christos local variable and zero terminate it to avoid possible problems 626 1.1 christos in strcmp. 627 1.1 christos 628 1.1 christos 2012-12-13 Pedro Alves <palves (a] redhat.com> 629 1.1 christos 630 1.1 christos * coff-pe-read.c: Include coff/internal.h. 631 1.1 christos (read_pe_exported_syms): Use SCNNMLEN instead of hardcoded 8. 632 1.1 christos Null terminate buffer explicitly instead of memset the whole 633 1.1 christos buffer. 634 1.1 christos 635 1.1 christos 2012-12-13 Pierre Muller <muller (a] sourceware.org> 636 1.1 christos 637 1.1 christos * coff-pe-read.c (IMAGE_SCN_CNT_TEXT, IMAGE_SCN_CNT_INITIALIZED_DATA) 638 1.1 christos (IMAGE_SCN_CNT_UNINITIALIZED_DATA): Remove useless checks 639 1.1 christos for already defined macros. 640 1.1 christos 641 1.1 christos 2012-12-13 Pierre Muller <muller (a] sourceware.org> 642 1.1 christos 643 1.1 christos * coff-pe-read.h (pe_text_section_offset): Declare new function. 644 1.1 christos * coff-pe-read.c (debug_coff_pe_read): New static variable. 645 1.1 christos (struct read_pe_section_data): Add section_name field. 646 1.1 christos (IMAGE_SCN_CNT_CODE): New macro, if not already defined. 647 1.1 christos (IMAGE_SCN_CNT_INITIALIZED_DATA): Ditto. 648 1.1 christos (IMAGE_SCN_CNT_UNINITIALIZED_DATA): Ditto. 649 1.1 christos (get_pe_section_index): New function. 650 1.1 christos (struct pe_sections_info): New type. 651 1.1 christos (get_section_vmas): Use new struct pe_sections_info. 652 1.1 christos (add_pe_exported_sym): Handle unnamed exported function. 653 1.1 christos (add_pe_forwarded_sym): New function. 654 1.1 christos (read_pe_truncate_name): Truncate at last dot. 655 1.1 christos (pe_as16): New function. 656 1.1 christos (read_pe_exported_syms): Use ordinal of function to 657 1.1 christos retrieve correct RVA address of function and handle 658 1.1 christos forwarded symbol. 659 1.1 christos (pe_text_section_offset): New function. 660 1.1 christos (show_debug_coff_pe_read): New function. 661 1.1 christos (_initialize_coff_pe_read): New function adding 662 1.1 christos 'set/show debug coff_pe_read' commands. 663 1.1 christos 664 1.1 christos * windows-tdep.c (windows_xfer_shared_library): Use 665 1.1 christos pe_text_section_offset function instead of possibly wrong 666 1.1 christos 0x1000 constant for .text sextion offset. 667 1.1 christos 668 1.1 christos 2012-12-13 Pedro Alves <palves (a] redhat.com> 669 1.1 christos 670 1.1 christos * gdbarch.sh (do_read): Set IFS to blank. 671 1.1 christos 672 1.1 christos 2012-12-12 Mircea Gherzan <mircea.gherzan (a] intel.com> 673 1.1 christos 674 1.1 christos * NEWS: Mention the -catch-load/-catch-unload MI commands. 675 1.1 christos 676 1.1 christos 2012-12-12 Mircea Gherzan <mircea.gherzan (a] intel.com> 677 1.1 christos 678 1.1 christos * Makefile.in (SUBDIR_MI_OBS): Add mi-cmd-catch.o. 679 1.1 christos (SUBDIR_MI_SRCS): Add mi/mi-cmd-catch.c. 680 1.1 christos * breakpoint.c (add_solib_catchpoint): New function that 681 1.1 christos can be used by both CLI and MI, factored out from 682 1.1 christos catch_load_or_unload. 683 1.1 christos (catch_load_or_unload): Strip it down and make it use the 684 1.1 christos new add_solib_catchpoint. 685 1.1 christos * breakpoint.h (add_solib_catchpoint): Declare it. 686 1.1 christos * mi/mi-cmd-break.h: New file. 687 1.1 christos * mi/mi-cmd-break.c: Include mi-cmd-break.h. 688 1.1 christos (setup_breakpoint_reporting): New function used for both 689 1.1 christos catchpoints and breakpoints. 690 1.1 christos (mi_cmd_break_insert): Use setup_breakpoint_reporting. 691 1.1 christos * mi/mi-cmd-catch.c: New file. 692 1.1 christos * mi/mi-cmds.c (mi_cmds): Add the handlers for -catch-load 693 1.1 christos and -catch-unload. 694 1.1 christos * mi/mi-cmds.h: Declare the handlers for -catch-load and 695 1.1 christos -catch-unload. 696 1.1 christos 697 1.1 christos 2012-11-28 Tom Tromey <tromey (a] redhat.com> 698 1.1 christos 699 1.1 christos * dbxread.c (read_dbx_symtab): Update. 700 1.1 christos (end_psymtab, dbx_psymtab_to_symtab_1, dbx_psymtab_to_symtab) 701 1.1 christos (read_ofile_symtab): Add 'objfile' argument. 702 1.1 christos * dwarf2read.c (process_psymtab_comp_unit_reader) 703 1.1 christos (build_type_psymtabs_reader): Update. 704 1.1 christos (dwarf2_psymtab_to_symtab): Add 'objfile' argument. 705 1.1 christos * mdebugread.c (mdebug_psymtab_to_symtab): Add 'objfile' 706 1.1 christos argument. 707 1.1 christos (parse_procedure, parse_partial_symbols): Update. 708 1.1 christos (psymtab_to_symtab_1): Add 'objfile' argument. 709 1.1 christos * psympriv.h (struct partial_symtab) <objfile>: Remove. 710 1.1 christos <read_symtab>: Add 'objfile' argument. 711 1.1 christos (sort_pst_symbols, discard_psymtab): Update. 712 1.1 christos * psymtab.c (partial_map_expand_apply): Update. 713 1.1 christos (find_pc_sect_psymtab_closer): Add 'objfile' argument. 714 1.1 christos (find_pc_sect_psymtab, find_pc_sect_symtab_from_partial): Update. 715 1.1 christos (find_pc_sect_psymbol): Add 'objfile' argument. 716 1.1 christos (lookup_symbol_aux_psymtabs): Update. 717 1.1 christos (match_partial_symbol, lookup_partial_symbol, psymtab_to_symtab): 718 1.1 christos Add 'objfile' argument. 719 1.1 christos (find_last_source_symtab_from_partial, dump_psymtab) 720 1.1 christos (dump_psymtabs_for_objfile, read_symtabs_for_function) 721 1.1 christos (expand_partial_symbol_tables, read_psymtabs_with_filename) 722 1.1 christos (find_symbol_file_from_partial, map_matching_symbols_psymtab) 723 1.1 christos (expand_symtabs_matching_via_partial): Update. 724 1.1 christos (sort_pst_symbols): Add 'objfile' argument. 725 1.1 christos (allocate_psymtab): Update. 726 1.1 christos (discard_psymtab): Add 'objfile' argument. 727 1.1 christos (maintenance_info_psymtabs, maintenance_check_symtabs): Update. 728 1.1 christos * stabsread.h (end_psymtab): Update. 729 1.1 christos * xcoffread.c (this_symtab_objfile): New global. 730 1.1 christos (process_linenos, enter_line_range, xcoff_next_symbol_text): 731 1.1 christos Update. 732 1.1 christos (read_xcoff_symtab): Add 'objfile' argument. 733 1.1 christos (read_symbol, read_symbol_lineno): Update. 734 1.1 christos (xcoff_psymtab_to_symtab_1, xcoff_psymtab_to_symtab) 735 1.1 christos (xcoff_end_psymtab): Add 'objfile' argument. 736 1.1 christos (scan_xcoff_symtab): Update. 737 1.1 christos 738 1.1 christos 2012-12-12 Paul Koning <paul_koning (a] dell.com> 739 1.1 christos 740 1.1 christos Add support for Python 3. 741 1.1 christos * NEWS: Mention Python 3 support. 742 1.1 christos * varobj.c (value_get_print_value): Use 743 1.1 christos python_string_to_target_string. 744 1.1 christos * python/py-block.c: Use PyVarObject_HEAD_INIT in initialization 745 1.1 christos of type objects. 746 1.1 christos * python/py-breakpoint.c: Ditto. 747 1.1 christos * python/py-cmd.c: Ditto. 748 1.1 christos * python/py-event.c: Ditto. 749 1.1 christos * python/py-event.h: Ditto. 750 1.1 christos * python/py-evtregistry.c: Ditto. 751 1.1 christos * python/py-finishbreakpoint.c: Ditto. 752 1.1 christos * python/py-frame.c: Ditto. 753 1.1 christos * python/py-function.c: Ditto. 754 1.1 christos * python/py-infthread.c: Ditto. 755 1.1 christos * python/py-lazy-string.c: Ditto. 756 1.1 christos * python/py-progspace.c: Ditto. 757 1.1 christos * /python/py-symbol.c: Ditto. 758 1.1 christos * python/py-evts.c: (gdbpy_initialize_py_events): Add module 759 1.1 christos initialization for Python 3. 760 1.1 christos * python/py-inferior.c: Use PyVarObject_HEAD_INIT in initialization 761 1.1 christos of type objects. 762 1.1 christos (infpy_read_memory): Return memoryview object if Python 3. 763 1.1 christos (infpy_write_memory): Use "s*" operand parsing code for Python 3. 764 1.1 christos (infpy_search_memory): Ditto. 765 1.1 christos (get_buffer): New function for Python 3. 766 1.1 christos * python/py-objfile.c: Use PyVarObject_HEAD_INIT in initialization 767 1.1 christos of type objects. 768 1.1 christos (objfpy_dealloc): Use Py_TYPE to call tp_free. 769 1.1 christos * python/py-param.c: Use PyVarObject_HEAD_INIT in initialization 770 1.1 christos of type objects. 771 1.1 christos (get_attr): Use PyUnicode_CompareWithASCIIString if Python 3. 772 1.1 christos (set_attr): Ditto. 773 1.1 christos * python/py-prettyprint.c (print_string_repr): use PyBytes methods 774 1.1 christos instead of PyString methods if Python 3. 775 1.1 christos (print_children): Skip push_dummy_python_frame call if Python 3. 776 1.1 christos * python/py-symtab.c: Use PyVarObject_HEAD_INIT in initialization 777 1.1 christos of type objects. 778 1.1 christos (salpy_dealloc): Use Py_TYPE to call tp_free. 779 1.1 christos * python/py-type.c: Use PyVarObject_HEAD_INIT in initialization 780 1.1 christos of type objects. 781 1.1 christos (field_dealloc): Use Py_TYPE to call tp_free. 782 1.1 christos (typy_dealloc): Ditto. 783 1.1 christos (type_object_as_number): Adjust struct initializations for 784 1.1 christos differences in layout for Python 2 vs. Python 3. 785 1.1 christos * python/py-utils.c (python_string_to_unicode): Omit non-Unicode 786 1.1 christos string case for Python 3. 787 1.1 christos (unicode_to_encoded_python_string): Shorten code (no functional 788 1.1 christos change). 789 1.1 christos (python_string_to_target_python_string): Comment that in Python 3 790 1.1 christos returned value is a Python "bytes" type. 791 1.1 christos (gdbpy_is_string): Omit non-Unicode string check in Python 3. 792 1.1 christos (gdb_py_object_from_longest): Omit non-long integer case in Python 793 1.1 christos 3. 794 1.1 christos (gdb_py_object_from_ulongest): Ditto. 795 1.1 christos * python/py-value.c: Use PyVarObject_HEAD_INIT in initialization 796 1.1 christos of type objects. 797 1.1 christos (valpy_dealloc): Use Py_TYPE to call tp_free. 798 1.1 christos (valpy_int): Omit function if Python 3. 799 1.1 christos (convert_value_from_python): Use "%S" format (Python object as a 800 1.1 christos string) if Python 3. 801 1.1 christos (value_object_as_number): Adjust struct initializations for 802 1.1 christos differences in layout for Python 2 vs. Python 3. 803 1.1 christos * python/python-config.py: Adjust syntax for Python 3 804 1.1 christos compatibility. 805 1.1 christos Include "sys.abiflags" string as part of python library name, if 806 1.1 christos that attribute exists (Python 3). 807 1.1 christos * python/python-internal.h (IS_PY3): Define if Python 3. 808 1.1 christos (Py_TPFLAGS_HAVE_ITER, Py_TPFLAGS_CHECKTYPES): Define with 809 1.1 christos placeholder value if Python 3. 810 1.1 christos (PyInt_Check, PyInt_FromLong, PyInt_AsLong, PyString_FromString, 811 1.1 christos PyString_Decode, PyString_FromFormat, PyString_Check): Define as 812 1.1 christos analogous Python 3 API function if Python 3. 813 1.1 christos (PyVarObject_HEAD_INIT): Define if not already defined. 814 1.1 christos (Py_TYPE): Ditto. 815 1.1 christos * python/python.c (eval_python_command): Omit Py_FlushLine call if 816 1.1 christos Python 3. 817 1.1 christos Check return values of all Python API calls for error. 818 1.1 christos Supply dummy "python" and "python-interactive" commands if Python 819 1.1 christos initialization failed. 820 1.1 christos (_initialize_python): Convert argc to wchar_t** if Python 3. 821 1.1 christos Add module initialization for Python 3. 822 1.1 christos (finish_python_initialization): Pass wchar_t * argument to 823 1.1 christos PySys_SetPath if Python 3. 824 1.1 christos * python/lib/gdb/__init__.py: Define "reload" if Python 3. 825 1.1 christos (_GdbFile): New class for common output file behavior. 826 1.1 christos (GdbOutFile): Subclass from _GdbFile. 827 1.1 christos (GdbOutputErrorFile): Ditto. 828 1.1 christos (auto_load_packages): Adjust syntax for Python 3 compatibility. 829 1.1 christos * python/lib/gdb/printing.py: Define basestr and int if Python 3. 830 1.1 christos * python/lib/gdb/prompt.py: Use sorted() function rather than 831 1.1 christos sort() method. 832 1.1 christos * python/lib/gdb/command/explore.py: Define raw_input if Python 3. 833 1.1 christos Adjust syntax for Python 3 compatibility. 834 1.1 christos * python/lib/gdb/command/pretty_printers.py: Use sorted() function 835 1.1 christos rather than sort() method. 836 1.1 christos Adjust syntax for Python 3 compatibility. 837 1.1 christos * python/lib/gdb/command/type_printers.py: Ditto. 838 1.1 christos 839 1.1 christos 2012-12-12 Tom Tromey <tromey (a] redhat.com> 840 1.1 christos 841 1.1 christos * coffread.c (coff_objfile_data_key): New global. 842 1.1 christos (coff_symfile_init): Use set_objfile_data. 843 1.1 christos (coff_symfile_read): Use objfile_data. 844 1.1 christos (coff_symfile_finish): Don't free deprecated_sym_private. 845 1.1 christos (coff_free_info): New function. 846 1.1 christos (_initialize_coffread): Initialize coff_objfile_data_key. 847 1.1 christos * mdebugread.c (pending_list): Update comment. 848 1.1 christos * objfiles.h (struct objfile) <deprecated_sym_private>: Remove. 849 1.1 christos * symfile.c (reread_symbols): Don't mention 850 1.1 christos deprecated_sym_private. 851 1.1 christos * xcoffread.c (xcoff_objfile_data_key): New global. 852 1.1 christos (XCOFF_DATA): New macro. 853 1.1 christos (process_linenos, enter_line_range, xcoff_next_symbol_text) 854 1.1 christos (read_xcoff_symtab, coff_getfilename, read_symbol_lineno): Use 855 1.1 christos XCOFF_DATA. 856 1.1 christos (xcoff_new_init) Use set_objfile_data. 857 1.1 christos (xcoff_symfile_finish): Don't free deprecated_sym_private. 858 1.1 christos (init_stringtab, swap_sym, scan_xcoff_symtab) 859 1.1 christos (xcoff_get_toc_offset, xcoff_initial_scan): Use XCOFF_DATA. 860 1.1 christos (xcoff_free_info): New function. 861 1.1 christos (_initialize_xcoffread): Initialize xcoff_objfile_data_key. 862 1.1 christos 863 1.1 christos 2012-12-12 Mircea Gherzan <mircea.gherzan (a] intel.com> 864 1.1 christos 865 1.1 christos * MAINTAINERS (Write After Approval): Add "Mircea Gherzan". 866 1.1 christos 867 1.1 christos 2012-12-12 Tom Tromey <tromey (a] redhat.com> 868 1.1 christos 869 1.1 christos * coffread.c (coff_symfile_init): Use set_objfile_data. 870 1.1 christos (coff_symfile_read): Use DBX_SYMFILE_INFO. 871 1.1 christos * dbxread.c (dbx_objfile_data_key): New global. 872 1.1 christos (dbx_symfile_init): Use set_objfile_data. 873 1.1 christos (dbx_symfile_finish): Don't free deprecated_sym_stab_info. 874 1.1 christos (dbx_free_symfile_info): New function. 875 1.1 christos (coffstab_build_psymtabs, elfstab_build_psymtabs): Use 876 1.1 christos DBX_SYMFILE_INFO. 877 1.1 christos (stabsect_build_psymtabs): Use set_objfile_data. 878 1.1 christos (_initialize_dbxreadb): Initialize dbx_objfile_data_key. 879 1.1 christos * elfread.c (elf_symtab_read): Use DBX_SYMFILE_INFO, 880 1.1 christos set_objfile_data. 881 1.1 christos (free_elfinfo): Use DBX_SYMFILE_INFO. 882 1.1 christos (elf_symfile_finish): Don't free deprecated_sym_stab_info. 883 1.1 christos (elfstab_offset_sections): Use DBX_SYMFILE_INFO. 884 1.1 christos * gdb-stabs.h (dbx_objfile_data_key): Declare. 885 1.1 christos (DBX_SYMFILE_INFO): Rewrite to use objfile_data. 886 1.1 christos * objfiles.h (struct objfile) <deprecated_sym_stab_info>: Remove. 887 1.1 christos * somread.c (som_symfile_finish): Don't free 888 1.1 christos deprecated_sym_stab_info. 889 1.1 christos 890 1.1 christos 2012-12-12 Joel Brobecker <brobecker (a] adacore.com> 891 1.1 christos 892 1.1 christos * gdbarch.sh (software_single_step): Remove trailing space in 893 1.1 christos comment (gdbarch.h is already correct). 894 1.1 christos 895 1.1 christos 2012-12-11 Tom Tromey <tromey (a] redhat.com> 896 1.1 christos 897 1.1 christos * dwarf2read.c (dwarf2_get_dwz_file): Set 'dwz_file'. 898 1.1 christos 899 1.1 christos 2012-12-11 Tom Tromey <tromey (a] redhat.com> 900 1.1 christos 901 1.1 christos * dsrec.c (report_transfer_performance): Don't declare. 902 1.1 christos (load_srec): Use gettimeofday, print_transfer_performance. 903 1.1 christos * symfile.c (report_transfer_performance): Remove. 904 1.1 christos 905 1.1 christos 2012-12-11 Pedro Alves <pedro (a] codesourcery.com> 906 1.1 christos Pedro Alves <palves (a] redhat.com> 907 1.1 christos 908 1.1 christos * procfs.c (procfs_make_note_section) [NEW_PROC_API]: Output a 909 1.1 christos NT_PSTATUS note. 910 1.1 christos * sol2-tdep.c (sol2_core_pid_to_str): Print process IDs 911 1.1 christos differently from LWP IDs. 912 1.1 christos 913 1.1 christos 2012-12-11 Pedro Alves <palves (a] redhat.com> 914 1.1 christos 915 1.1 christos * configure.ac (detect type of /proc): Remove Unixware handling. 916 1.1 christos * configure: Regenerate. 917 1.1 christos * proc-api.c (ioctl_table) [PIOCLSTATUS]: Don't mention Unixware. 918 1.1 christos (ioctl_table) [PCRESET]: Remove entry. 919 1.1 christos * proc-events.c (SYS_lwp_create, SYS_lwp_exit, SYS_lwp_wait) 920 1.1 christos (SYS_lwp_self, SYS_lwp_info, SYS_lwp_private, SYS_lwp_kill) 921 1.1 christos (SYS_lwp_suspend, SYS_lwp_continue): Don't define. 922 1.1 christos * proc-why.c (pr_why_table) [PR_SUSPENDED]: Don't mention Unixware. 923 1.1 christos * procfs.c: Remove all UNIXWARE guarded code, and all traces of 924 1.1 christos Unixware in comments throughout. 925 1.1 christos * i386-tdep.c (i386_svr4_sigtramp_p): Don't match _sigacthandler, 926 1.1 christos and remove mention of Unixware. 927 1.1 christos 928 1.1 christos 2012-12-10 Doug Evans <dje (a] google.com> 929 1.1 christos 930 1.1 christos * dwarf2read.c (dwarf2_cu): Enhance comment. 931 1.1 christos (dwarf2_get_pc_bounds): Only add ranges_base for DIEs that live in 932 1.1 christos the DWO file. 933 1.1 christos (dwarf2_record_block_ranges): Ditto. 934 1.1 christos 935 1.1 christos * dwarf2read.c (create_dwo_in_dwp): Tweak comment. 936 1.1 christos 937 1.1 christos * symtab.c (find_pc_sect_symtab): Add comment. 938 1.1 christos 939 1.1 christos 2012-12-10 Tom Tromey <tromey (a] redhat.com> 940 1.1 christos 941 1.1 christos * defs.h: Don't check for definition of LONGEST. 942 1.1 christos (min, max): Remove duplicates. 943 1.1 christos 944 1.1 christos 2012-12-10 Tom Tromey <tromey (a] redhat.com> 945 1.1 christos 946 1.1 christos * dwarf2read.c (dwarf2_fetch_die_loc_sect_off): New function. 947 1.1 christos (dwarf2_fetch_die_loc_cu_off): Rename from 948 1.1 christos dwarf2_fetch_die_location_block. Rewrite to use 949 1.1 christos dwarf2_fetch_die_loc_sect_off. 950 1.1 christos * dwarf2loc.h (dwarf2_fetch_die_loc_sect_off): Declare. 951 1.1 christos (dwarf2_fetch_die_loc_cu_off): Rename. 952 1.1 christos * dwarf2loc.c (indirect_pieced_value): Use 953 1.1 christos dwarf2_fetch_die_loc_sect_off. 954 1.1 christos * dwarf2expr.h (struct dwarf_expr_context) <len, data>: Update 955 1.1 christos comment. 956 1.1 christos (struct dwarf_expr_piece) <v.ptr.die>: Now a sect_offset. 957 1.1 christos * dwarf2expr.c (add_piece): Update. 958 1.1 christos (execute_stack_op) <DW_OP_GNU_implicit_pointer>: Update comment. 959 1.1 christos 960 1.1 christos 2012-12-10 Tom Tromey <tromey (a] redhat.com> 961 1.1 christos 962 1.1 christos * buildsym.c (struct pending_block): Move from buildsym.h. 963 1.1 christos (pending_blocks): Likewise; now static. 964 1.1 christos (pending_block_obstack): New global. 965 1.1 christos (free_pending_blocks): Free blocks. 966 1.1 christos (record_pending_block): Use pending_block_obstack. 967 1.1 christos * buildsym.h (struct pending_block): Move definition to 968 1.1 christos buildsym.c. 969 1.1 christos (pending_blocks): Don't declare. 970 1.1 christos 971 1.1 christos 2012-12-10 Pedro Alves <palves (a] redhat.com> 972 1.1 christos 973 1.1 christos * solib-svr4.c (svr4_solib_create_inferior_hook) [_SCO_DS]: Remove 974 1.1 christos dead SCO code, and adjust function description comment. 975 1.1 christos 976 1.1 christos 2012-12-09 Jan Kratochvil <jan.kratochvil (a] redhat.com> 977 1.1 christos 978 1.1 christos * configure.ac (CC_HAS_LONG_LONG): Replace by AC_MSG_ERROR. 979 1.1 christos * defs.h (LONGEST, ULONGEST): Remove conditionalization for 980 1.1 christos CC_HAS_LONG_LONG. 981 1.1 christos * dwarf2-frame.c (DW64_CIE_ID): Likewise. 982 1.1 christos * dwarf2read.c (extract_cu_value): Remove the function. 983 1.1 christos (create_cus_from_index_list): Make the return type void, inline the 984 1.1 christos extract_cu_value caller, include new gdb_static_assert. 985 1.1 christos (create_cus_from_index): Make the return type void, update the function 986 1.1 christos comment, update the create_cus_from_index_list caller. 987 1.1 christos (create_signatured_type_table_from_index): Make the return type void, 988 1.1 christos inline the extract_cu_value caller, include new gdb_static_assert. 989 1.1 christos (dwarf2_read_index): Update the create_cus_from_index and 990 1.1 christos create_signatured_type_table_from_index caller. 991 1.1 christos * printcmd.c (ui_printf): Remove conditionalizations for 992 1.1 christos CC_HAS_LONG_LONG. 993 1.1 christos * config.in: Regenerate. 994 1.1 christos * configure: Regenerate. 995 1.1 christos 996 1.1 christos 2012-12-09 Jan Kratochvil <jan.kratochvil (a] redhat.com> 997 1.1 christos 998 1.1 christos * dwarf2read.c (struct dwarf2_cu): New field producer_is_gcc_lt_4_3. 999 1.1 christos Update the comment for checked_producer. 1000 1.1 christos (check_producer): New forward declaration. 1001 1.1 christos (producer_is_gcc_lt_4_3): New function. 1002 1.1 christos (find_file_and_directory): Simulate *COMP_DIR only for gcc < 4.3. 1003 1.1 christos (check_producer): Initialize also PRODUCER_IS_GCC_LT_4_3. 1004 1.1 christos 1005 1.1 christos 2012-12-07 Tom Tromey <tromey (a] redhat.com> 1006 1.1 christos 1007 1.1 christos * ada-lang.c (ada_make_symbol_completion_list): Add 'code' 1008 1.1 christos argument, assertion. 1009 1.1 christos * c-exp.y (typebase): Add completion productions. 1010 1.1 christos * completer.c (expression_completer): Handle tag completion. 1011 1.1 christos * expression.h (parse_expression_for_completion): Add argument. 1012 1.1 christos * f-lang.c (f_make_symbol_completion_list): Add 'code' 1013 1.1 christos argument. 1014 1.1 christos * language.h (struct language_defn) 1015 1.1 christos <la_make_symbol_completion_list>: Add 'code' argument. 1016 1.1 christos * parse.c (expout_tag_completion_type, expout_completion_name): 1017 1.1 christos New globals. 1018 1.1 christos (mark_struct_expression): Add assertion. 1019 1.1 christos (mark_completion_tag): New function. 1020 1.1 christos (parse_exp_in_context): Initialize new globals. 1021 1.1 christos (parse_expression_for_completion): Add 'code' argument. Handle 1022 1.1 christos tag completion. 1023 1.1 christos * parser-defs.h (mark_completion_tag): Declare. 1024 1.1 christos * symtab.c (default_make_symbol_completion_list_break_on): Add 1025 1.1 christos 'code' argument. Update. 1026 1.1 christos (default_make_symbol_completion_list): Add 'code' argument. 1027 1.1 christos (make_symbol_completion_list): Update. 1028 1.1 christos (make_symbol_completion_type): New function. 1029 1.1 christos * symtab.h (default_make_symbol_completion_list_break_on) 1030 1.1 christos (default_make_symbol_completion_list): Update. 1031 1.1 christos (make_symbol_completion_type): Declare. 1032 1.1 christos 1033 1.1 christos 2012-12-07 Tom Tromey <tromey (a] redhat.com> 1034 1.1 christos 1035 1.1 christos * expression.h (parse_expression_for_completion): Rename 1036 1.1 christos from parse_field_expression. 1037 1.1 christos (parse_completion): Rename from in_parse_field. 1038 1.1 christos * c-exp.y (lex_one_token): Update. 1039 1.1 christos * completer.c (expression_completer): Update. 1040 1.1 christos * go-exp.y (lex_one_token): Update. 1041 1.1 christos * p-exp.y (yylex): Update. 1042 1.1 christos * parse.c (parse_completion): Rename from in_parse_field. 1043 1.1 christos (parse_exp_in_context): Update. 1044 1.1 christos (parse_expression_for_completion): Rename from 1045 1.1 christos parse_field_expression. Update. 1046 1.1 christos 1047 1.1 christos 2012-12-07 Tom Tromey <tromey (a] redhat.com> 1048 1.1 christos 1049 1.1 christos * typeprint.c (_initialize_typeprint): Set completer 1050 1.1 christos for "whatis" and "ptype". 1051 1.1 christos 1052 1.1 christos 2012-12-07 Joel Brobecker <brobecker (a] adacore.com> 1053 1.1 christos 1054 1.1 christos * copyright.py (NOT_FSF_LIST): Remove duplicate entry 1055 1.1 christos "sim/common/cgen-fpu.h". Remove invalid entries 1056 1.1 christos "sim/common/sim-fpu.c" and "sim/mn10300/sim-main.h", 1057 1.1 christos which actually have an FSF copyright header. 1058 1.1 christos 1059 1.1 christos 2012-12-07 Joel Brobecker <brobecker (a] adacore.com> 1060 1.1 christos 1061 1.1 christos * osf-share/AT386/cma_thread_io.h: Delete. 1062 1.1 christos * osf-share/HP800/cma_thread_io.h: Delete. 1063 1.1 christos * osf-share/README: Delete. 1064 1.1 christos * osf-share/RIOS/cma_thread_io.h: Delete. 1065 1.1 christos * osf-share/cma_attr.h: Delete. 1066 1.1 christos * osf-share/cma_deb_core.h: Delete. 1067 1.1 christos * osf-share/cma_debug_client.h: Delete. 1068 1.1 christos * osf-share/cma_errors.h: Delete. 1069 1.1 christos * osf-share/cma_handle.h: Delete. 1070 1.1 christos * osf-share/cma_init.h: Delete. 1071 1.1 christos * osf-share/cma_list.h: Delete. 1072 1.1 christos * osf-share/cma_mutex.h: Delete. 1073 1.1 christos * osf-share/cma_sched.h: Delete. 1074 1.1 christos * osf-share/cma_semaphore_defs.h: Delete. 1075 1.1 christos * osf-share/cma_sequence.h: Delete. 1076 1.1 christos * osf-share/cma_stack.h: Delete. 1077 1.1 christos * osf-share/cma_stack_int.h: Delete. 1078 1.1 christos * osf-share/cma_tcb_defs.h: Delete. 1079 1.1 christos * osf-share/cma_util.h: Delete. 1080 1.1 christos * Makefile.in (HFILES_NO_SRCDIR): Remove entries for the files 1081 1.1 christos in osf-share. 1082 1.1 christos * config/djgpp/fnchange.lst: Remove osf-share/cma_stack_int.h entry. 1083 1.1 christos * contrib/ari/gdb_find.sh: Remove handling of osf-share. 1084 1.1 christos * copyright.sh (NOT_FSF_LIST): Remove "gdb/osf-share" entry. 1085 1.1 christos 1086 1.1 christos 2012-12-06 Pedro Alves <palves (a] redhat.com> 1087 1.1 christos Tom Tromey <tromey (a] redhat.com> 1088 1.1 christos 1089 1.1 christos * valops.c (value_cast): Move TYPE_CODE_VOID case earlier. 1090 1.1 christos 1091 1.1 christos 2012-12-06 Jens Elmenthaler <jens.elmenthaler (a] advantest.com> 1092 1.1 christos 1093 1.1 christos PR mi/14741: 1094 1.1 christos * mi/mi-cmd-var.c (varobj_update_one): Take value of 1095 1.1 christos attribute "dynamic" and "displayhint" from printed child, 1096 1.1 christos not the root variable. 1097 1.1 christos 1098 1.1 christos 2012-12-06 Joel Brobecker <brobecker (a] adacore.com> 1099 1.1 christos 1100 1.1 christos * aix-thread.c (getthrds): Fix type of 4th parameter. 1101 1.1 christos (get_signaled_thread): Change type of variable ktid to tid_t. 1102 1.1 christos 1103 1.1 christos 2012-12-06 Hui Zhu <hui_zhu (a] mentor.com> 1104 1.1 christos 1105 1.1 christos * dwarf2loc.c (dwarf_expr_frame_base): Add check for the return 1106 1.1 christos value of get_frame_block. 1107 1.1 christos 1108 1.1 christos 2012-12-05 Pierre Muller <muller (a] sourceware.org> 1109 1.1 christos 1110 1.1 christos Avoid memory leaks on struct cmd_list_element.doc field. 1111 1.1 christos * cli/cli-decode.c (add_alias_cmd): Make a copy of doc field 1112 1.1 christos if flags contains DOC_ALLOCATED. 1113 1.1 christos (add_setshow_cmd_full): Add DOC_ALLOCATED to set and show 1114 1.1 christos flags. 1115 1.1 christos (delete_cmd): Handle DOC_ALLOCATED flag. 1116 1.1 christos * cli/cli-decode.h (DOC_ALLOCATED): New macro for use 1117 1.1 christos in flags filed of struct cmd_list_element. 1118 1.1 christos (struct cmd_list_element): Document new flag item. 1119 1.1 christos 1120 1.1 christos 2012-12-04 Doug Evans <dje (a] google.com> 1121 1.1 christos 1122 1.1 christos * symmisc.c: Whitespace fixes. 1123 1.1 christos 1124 1.1 christos 2012-12-04 Karthik Bhat <kv.bhat (a] samsung.com> 1125 1.1 christos 1126 1.1 christos * i386-tdep.c (i386_skip_prologue): Using symbol table 1127 1.1 christos to find the end of prologue for clang compiled binaries. 1128 1.1 christos * amd64-tdep.c (amd64_skip_prologue): Using symbol table 1129 1.1 christos to find the end of prologue for clang compiled binaries. 1130 1.1 christos 1131 1.1 christos 2012-12-03 Doug Evans <dje (a] google.com> 1132 1.1 christos 1133 1.1 christos * dwarf2read.c (struct dwarf2_per_objfile): Clarify comment. 1134 1.1 christos (dw2_find_symbol_file): Delete unused local file_data. 1135 1.1 christos 1136 1.1 christos 2012-12-03 Tom Tromey <tromey (a] redhat.com> 1137 1.1 christos 1138 1.1 christos * ada-exp.y (write_object_renaming, write_var_or_type) 1139 1.1 christos (write_ambiguous_var, write_var_from_sym): Make blocks const. 1140 1.1 christos * ada-lang.c (replace_operator_with_call) 1141 1.1 christos (find_old_style_renaming_symbol): Make blocks const. 1142 1.1 christos * ada-lang.h (ada_find_renaming_symbol): Update. 1143 1.1 christos (struct ada_symbol_info) <block>: Now const. 1144 1.1 christos * breakpoint.c (watch_command_1): Update. 1145 1.1 christos * breakpoint.h (struct watchpoint) <exp_valid_block, 1146 1.1 christos cond_exp_valid_block>: Now const. 1147 1.1 christos * c-exp.y (classify_inner_name, classify_name): Make block 1148 1.1 christos argument const. 1149 1.1 christos * expprint.c (print_subexp_standard) <OP_VAR_VALUE>: Make 'b' 1150 1.1 christos const. 1151 1.1 christos * expression.h (innermost_block, parse_exp_1): Update. 1152 1.1 christos (union exp_element) <block>: Now const. 1153 1.1 christos * gdbtypes.c (lookup_template_type, lookup_enum, lookup_union) 1154 1.1 christos (lookup_struct): Make block argument const. 1155 1.1 christos * gdbtypes.h (lookup_template_type): Update. 1156 1.1 christos * go-exp.y (classify_name, classify_packaged_name) 1157 1.1 christos (package_name_p): Make block argument const. 1158 1.1 christos * objc-lang.c (lookup_struct_typedef): Make block argument const. 1159 1.1 christos * objc-lang.h (lookup_struct_typedef): Update. 1160 1.1 christos * parse.c (parse_exp_in_context, parse_exp_1) 1161 1.1 christos (write_exp_elt_block): Make block arguments const. 1162 1.1 christos (expression_context_block, innermost_block): Now const. 1163 1.1 christos * parser-defs.h (write_exp_elt_block): Update. 1164 1.1 christos (expression_context_block, innermost_block, block_found): Now 1165 1.1 christos const. 1166 1.1 christos * printcmd.c (struct display) <block>: Now const. 1167 1.1 christos * symtab.h (lookup_struct, lookup_union, lookup_enum): Update. 1168 1.1 christos * valops.c (address_of_variable): Make block argument const. 1169 1.1 christos * value.h (value_of_variable): Update. 1170 1.1 christos * varobj.c (struct varobj_root) <valid_block>: Now const. 1171 1.1 christos 1172 1.1 christos 2012-11-30 Yao Qi <yao (a] codesourcery.com> 1173 1.1 christos 1174 1.1 christos * breakpoint.c (print_one_breakpoint_location): Indent code. 1175 1.1 christos 1176 1.1 christos 2012-11-30 Yao Qi <yao (a] codesourcery.com> 1177 1.1 christos 1178 1.1 christos * breakpoint.c (print_one_breakpoint_location): Combine two 1179 1.1 christos blocks handling 'hit count' together. 1180 1.1 christos 1181 1.1 christos 2012-11-30 Yao Qi <yao (a] codesourcery.com> 1182 1.1 christos 1183 1.1 christos * infrun.c (error_is_running, ensure_not_running): Move them 1184 1.1 christos to ... 1185 1.1 christos * infcmd.c (error_is_running, ensure_not_running): ... here. 1186 1.1 christos Make them 'static'. 1187 1.1 christos * inferior.h: Remove declarations of error_is_running and 1188 1.1 christos ensure_not_running. 1189 1.1 christos 1190 1.1 christos 2012-11-30 Yao Qi <yao (a] codesourcery.com> 1191 1.1 christos 1192 1.1 christos * tic6x-linux-tdep.c (tic6x_register_sigcontext_offset): Don't 1193 1.1 christos check REGNUM >= 0. 1194 1.1 christos 1195 1.1 christos 2012-11-30 Yao Qi <yao (a] codesourcery.com> 1196 1.1 christos 1197 1.1 christos * infrun.c: Make the declaration of 'init_infwait_state' 1198 1.1 christos static. 1199 1.1 christos (init_infwait_state): Make it 'static'. 1200 1.1 christos 1201 1.1 christos 2012-11-29 Ulrich Weigand <uweigand (a] de.ibm.com> 1202 1.1 christos 1203 1.1 christos * python/python.c (finalize_python): Cast unused PyGILState_Ensure 1204 1.1 christos return value to void to avoid compiler warning. 1205 1.1 christos 1206 1.1 christos 2012-11-29 Ulrich Weigand <uweigand (a] de.ibm.com> 1207 1.1 christos 1208 1.1 christos * opencl-lang.c (opencl_print_type): New function. 1209 1.1 christos (opencl_language_arch_info): Install it. 1210 1.1 christos 1211 1.1 christos 2012-11-29 Tom Tromey <tromey (a] redhat.com> 1212 1.1 christos 1213 1.1 christos * contrib/ari/gdb_ari.sh: Remove rules for xasprintf and 1214 1.1 christos xvasprintf. 1215 1.1 christos * common/common-utils.c (xasprintf, xvasprintf): Remove. 1216 1.1 christos * common/common-utils.h (xasprintf, xvasprintf): Remove. 1217 1.1 christos 1218 1.1 christos 2012-11-29 Jerome Guitton <guitton (a] adacore.com> 1219 1.1 christos 1220 1.1 christos * ada-lang.c (ada_is_interface_tag): New function. 1221 1.1 christos (ada_is_ignored_field): Add interface tags to the list 1222 1.1 christos of ignored fields. 1223 1.1 christos 1224 1.1 christos 2012-11-29 Jerome Guitton <guitton (a] adacore.com> 1225 1.1 christos 1226 1.1 christos * ada-lang.h (ada_tag_value_at_base_address): New function 1227 1.1 christos declaration. 1228 1.1 christos * ada-lang.c (is_ada95_tag, ada_tag_value_at_base_address): 1229 1.1 christos New functions. 1230 1.1 christos (ada_to_fixed_type_1, ada_evaluate_subexp): Let ada_tag_base_address 1231 1.1 christos relocate the class-wide value if need be. 1232 1.1 christos (ada_value_struct_elt, ada_value_ind, ada_coerce_ref): 1233 1.1 christos Let ada_tag_value_at_base_address relocate the class-wide access/ref 1234 1.1 christos before dereferencing it. 1235 1.1 christos * ada-valprint.c (ada_val_print_1): Relocate to base address 1236 1.1 christos before displaying the content of an interface-wide ref. 1237 1.1 christos 1238 1.1 christos 2012-11-29 Jerome Guitton <guitton (a] adacore.com> 1239 1.1 christos 1240 1.1 christos * ada-lang.c (ada_evaluate_subexp): Unwrap only in EVAL_NORMAL. 1241 1.1 christos 1242 1.1 christos 2012-11-29 Joel Brobecker <brobecker (a] adacore.com> 1243 1.1 christos 1244 1.1 christos GDB 7.5.1 released. 1245 1.1 christos 1246 1.1 christos 2012-11-29 Yao Qi <yao (a] codesourcery.com> 1247 1.1 christos Tom Tromey <tromey (a] redhat.com> 1248 1.1 christos 1249 1.1 christos * eval.c (evaluate_subexp_standard): Get the correct pointer 1250 1.1 christos type for TYPE_CODE_MEMBERPTR. 1251 1.1 christos 1252 1.1 christos 2012-11-28 Edjunior Machado <emachado (a] linux.vnet.ibm.com> 1253 1.1 christos 1254 1.1 christos * rs6000-tdep.c (gdb_print_insn_powerpc): Remove info->mach checking, 1255 1.1 christos since now it is being done by binutils' powerpc_init_dialect(). 1256 1.1 christos 1257 1.1 christos 2012-11-28 Tom Tromey <tromey (a] redhat.com> 1258 1.1 christos 1259 1.1 christos PR gdb/14290: 1260 1.1 christos * solib-darwin.c (gdb_bfd_mach_o_fat_extract): New function. 1261 1.1 christos (darwin_solib_get_all_image_info_addr_at_init, darwin_bfd_open): 1262 1.1 christos Use it. 1263 1.1 christos * gdb_bfd.h (gdb_bfd_mark_parent): Declare. 1264 1.1 christos * gdb_bfd.c (gdb_bfd_mark_parent): New function. 1265 1.1 christos (gdb_bfd_openr_next_archived_file): Use it. 1266 1.1 christos 1267 1.1 christos 2012-11-28 Markus Metzger <markus.t.metzger (a] intel.com> 1268 1.1 christos 1269 1.1 christos * configure.ac: Check for linux/perf_event.h. 1270 1.1 christos * config.in: Regenerated. 1271 1.1 christos * configure: Regenerated. 1272 1.1 christos 1273 1.1 christos 2012-11-28 Yao Qi <yao (a] codesourcery.com> 1274 1.1 christos 1275 1.1 christos * breakpoint.c (_initialize_breakpoint): Call add_alias_cmd to 1276 1.1 christos abbreviate 'delete tracepoints' to 'delete tr'. 1277 1.1 christos * corefile.c (_initialize_core): Call add_alias_cmd to 1278 1.1 christos abbreviate 'set gnutarget' to 'set g'. 1279 1.1 christos * value.c (_initialize_values): Call add_alias_cmd to abbreviate 1280 1.1 christos 'show convenience' to 'show conv'. 1281 1.1 christos 1282 1.1 christos 2012-11-27 Joel Brobecker <brobecker (a] adacore.com> 1283 1.1 christos 1284 1.1 christos * sparc-sol2-nat.c (supply_gregset): Fix first parameter in 1285 1.1 christos call to sparc_supply_fpregset. 1286 1.1 christos (fill_fpregset): Fix first parameter in call to 1287 1.1 christos sparc_collect_fpregset. 1288 1.1 christos 1289 1.1 christos 2012-11-27 Daniel Jacobowitz <dan (a] codesourcery.com> 1290 1.1 christos Kazu Hirata <kazu (a] codesourcery.com> 1291 1.1 christos Yao Qi <yao (a] codesourcery.com> 1292 1.1 christos 1293 1.1 christos * objfiles.c (init_entry_point_info): Call 1294 1.1 christos gdbarch_convert_from_func_ptr_addr and 1295 1.1 christos gdbarch_addr_bits_remove here ... 1296 1.1 christos (entry_point_address_query): ... instead of here. 1297 1.1 christos * solib-svr4.c (exec_entry_point): Call 1298 1.1 christos gdbarch_addr_bits_remove. 1299 1.1 christos * symfile.c (generic_load): Call gdbarch_addr_bits_remove on 1300 1.1 christos the entry address. 1301 1.1 christos 1302 1.1 christos 2012-11-27 Daniel Jacobowitz <dan (a] codesourcery.com> 1303 1.1 christos Yao Qi <yao (a] codesourcery.com> 1304 1.1 christos 1305 1.1 christos * eval.c (evaluate_subexp_standard): Add handling of 1306 1.1 christos TYPE_CODE_MEMBERPTR when calling functions. Correct the 1307 1.1 christos result of ptype for calling a TYPE_CODE_METHODPTR. 1308 1.1 christos 1309 1.1 christos 2012-11-27 Yao Qi <yao (a] codesourcery.com> 1310 1.1 christos 1311 1.1 christos * symtab.c (symtab_symbol_info): Fix a -Wformat-extra-args 1312 1.1 christos warning. 1313 1.1 christos Add i18n markup. 1314 1.1 christos 1315 1.1 christos 2012-11-26 Alexander Larsson <alexl (a] redhat.com> 1316 1.1 christos Jan Kratochvil <jan.kratochvil (a] redhat.com> 1317 1.1 christos Tom Tromey <tromey (a] redhat.com> 1318 1.1 christos 1319 1.1 christos * NEWS: Mention mini debuginfo feature. 1320 1.1 christos * minidebug.c: New file. 1321 1.1 christos * configure.ac: Check for lzma. 1322 1.1 christos * configure, config.in: Rebuild. 1323 1.1 christos * Makefile.in (LIBLZMA): New variable. 1324 1.1 christos (CLIBS): Include LIBLZMA. 1325 1.1 christos (SFILES): Mention minidebug.c. 1326 1.1 christos (COMMON_OBS): Mention minidebug.o. 1327 1.1 christos * symfile.c (read_symbols): New function. 1328 1.1 christos (syms_from_objfile, reread_symbols): Call it. 1329 1.1 christos * symfile.h (find_separate_debug_file_in_section): Declare. 1330 1.1 christos 1331 1.1 christos 2012-11-26 Keith Seitz <keiths (a] redhat.com> 1332 1.1 christos 1333 1.1 christos * exec.c (exec_file_attach): Move cleanup after verifying that 1334 1.1 christos memory has in fact been allocated. 1335 1.1 christos 1336 1.1 christos 2012-11-26 Tom Tromey <tromey (a] redhat.com> 1337 1.1 christos 1338 1.1 christos * ada-lang.c (user_select_syms): Use SYMBOL_SYMTAB. 1339 1.1 christos * dwarf2read.c (dw2_find_symbol_file, fixup_go_packaging): Use 1340 1.1 christos SYMBOL_SYMTAB. 1341 1.1 christos * skip.c (skip_info): Use SYMBOL_SYMTAB. 1342 1.1 christos 1343 1.1 christos 2012-11-26 Maxime Villard <rustyBSD (a] gmx.fr> 1344 1.1 christos Pedro Alves <palves (a] redhat.com> 1345 1.1 christos 1346 1.1 christos * common/linux-osdata.c (linux_xfer_osdata_fds): Decrease buffer 1347 1.1 christos size parameter passed to readlink by one byte. 1348 1.1 christos * fbsd-nat.c (fbsd_pid_to_exec_file): Ditto. 1349 1.1 christos * linux-nat.c (linux_child_pid_to_exec_file): Ditto. 1350 1.1 christos * nbsd-nat.c (nbsd_pid_to_exec_file): Ditto. 1351 1.1 christos * inf-child.c (inf_child_fileio_readlink): Decrease local buffer's 1352 1.1 christos size by one byte. 1353 1.1 christos 1354 1.1 christos 2012-11-26 Yao Qi <yao (a] codesourcery.com> 1355 1.1 christos 1356 1.1 christos * f-valprint.c (f77_create_arrayprint_offset_tbl): Remove 1357 1.1 christos extraneous parentheses. 1358 1.1 christos 1359 1.1 christos 2012-11-26 Yao Qi <yao (a] codesourcery.com> 1360 1.1 christos 1361 1.1 christos * remote.c (remote_start_remote): Typo fix. 1362 1.1 christos 1363 1.1 christos 2012-11-23 David S. Miller <davem (a] davemloft.net> 1364 1.1 christos 1365 1.1 christos * sparc-tdep.h (struct sparc_fpregset): New data structure. 1366 1.1 christos (sparc32_sunos4_fpregset, sparc32_bsd_fpregset, 1367 1.1 christos sparc32_sol2_fpregset): Declare new globals. 1368 1.1 christos (sparc32_supply_fpregset, sparc32_collect_fpregset): Add new 1369 1.1 christos 'fpregset' argument. 1370 1.1 christos * sparc64-tdep.h (sparc64_supply_fpregset, 1371 1.1 christos sparc64_collect_fpregset): Likewise. 1372 1.1 christos (sparc64_sol2_fpregset, sparc64_bsd_fpregset): Declare new 1373 1.1 christos globals. 1374 1.1 christos * sparc-nat.h (struct sparc_fpregset): Add forward declaration. 1375 1.1 christos (sparc_fpregset): Declare new global. 1376 1.1 christos (sparc_supply_fpregset, sparc_collect_fpregset): Add new 1377 1.1 christos 'fpregset' argument. 1378 1.1 christos * sparc-linux-nat.c (supply_fpregset): Pass sparc_fpregset down 1379 1.1 christos into handler. 1380 1.1 christos (fill_fpregset): Likewise. 1381 1.1 christos (_initialize_sparc_linux_nat): Set sparc_fpregset to 1382 1.1 christos sparc32_bsd_fpregset. 1383 1.1 christos * sparc-linux-tdep.c (sparc32_linux_supply_core_fpregset): Pass 1384 1.1 christos sparc32_bsd_fpregset down into handler. 1385 1.1 christos (sparc32_linux_collect_core_fpregset): Likewise. 1386 1.1 christos * sparc-nat.c (sparc_fpregset): Define. 1387 1.1 christos (sparc_supply_fpregset): Add 'fpregset' argument. 1388 1.1 christos (sparc_collect_fpregset): Likewise. 1389 1.1 christos (sparc_fetch_inferior_registers): Pass sparc_fpregset down 1390 1.1 christos into fpregset handler. 1391 1.1 christos (sparc_store_inferior_registers): Likewise. 1392 1.1 christos (_initialize_sparc_nat): Set sparc_fpregset to 1393 1.1 christos sparc32_sunos4_fpregset if NULL. 1394 1.1 christos * sparc-sol2-nat.c (supply_gregset): Pass sparc_sol2_fpregset 1395 1.1 christos down into handler. 1396 1.1 christos (fill_fpregset): Likewise. 1397 1.1 christos * sparc-sol2-tdep.c (sparc32_sol2_fpregset): Define. 1398 1.1 christos * sparc-tdep.c (sparc32_supply_fpregset): Add fpregset arg and 1399 1.1 christos use it to compute offsets. 1400 1.1 christos (sparc32_collect_fpregset): Likewise. 1401 1.1 christos (sparc32_sunos4_fpregset, sparc32_bsd_fpregset): Define. 1402 1.1 christos * sparc64-linux-nat.c (supply_fpregset): Pass sparc64_bsd_fpregset 1403 1.1 christos down into handler. 1404 1.1 christos (fill_fpregset): Likewise. 1405 1.1 christos * sparc64-linux-tdep.c (sparc64_linux_supply_core_fpregset): 1406 1.1 christos Likewise. 1407 1.1 christos (sparc64_linux_collect_core_fpregset): Likewise. 1408 1.1 christos * sparc64-sol2-tdep.c (sparc64_sol2_fpregset): Define. 1409 1.1 christos * sparc64-tdep.c (sparc64_supply_fpregset): Add fpregset arg and 1410 1.1 christos use it to compute offsets. 1411 1.1 christos (sparc64_collect_fpregset): Likewise. 1412 1.1 christos (sparc64_bsd_fpregset): Define. 1413 1.1 christos * sparc64fbsd-tdep.c (sparc64fbsd_supply_fpregset): Padd 1414 1.1 christos sparc64_bsd_fpregset down into handler. 1415 1.1 christos (sparc64fbsd_collect_fpregset): Likewise. 1416 1.1 christos * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Add fpregset arg 1417 1.1 christos and pass sparc{32,64}_bsd_fpregset down into handler. 1418 1.1 christos (sparc64nbsd_collect_fpregset): Likewise. 1419 1.1 christos * sparc64nbsd-tdep.c (sparc64nbsd_supply_fpregset): Pass 1420 1.1 christos sparc64_bsd_fpregset down into handler. 1421 1.1 christos * sparc64obsd-tdep.c (sparc64obsd_supply_gregset): Likewise. 1422 1.1 christos * sparcnbsd-nat.c (_initialize_sparcnbsd_nat): Set sparc_fpregset 1423 1.1 christos to sparc32_bsd_fpregset. 1424 1.1 christos * sparcnbsd-tdep.c (sparc32nbsd_supply_gregset): Pass 1425 1.1 christos sparc32_bsd_fpregset down into sparc32_supply_fpregset. 1426 1.1 christos (sparc32nbsd_supply_fpregset): Likewise. 1427 1.1 christos 1428 1.1 christos 2012-11-21 Tom Tromey <tromey (a] redhat.com> 1429 1.1 christos 1430 1.1 christos * gdbtypes.h (struct cplus_struct_type) <localtype_ptr>: Remove 1431 1.1 christos field. 1432 1.1 christos (TYPE_LOCALTYPE_PTR, TYPE_LOCALTYPE_FILE, TYPE_LOCALTYPE_LINE): 1433 1.1 christos Remove. 1434 1.1 christos * c-typeprint.c (c_type_print_base): Update. 1435 1.1 christos 1436 1.1 christos 2012-11-21 Yao Qi <yao (a] codesourcery.com> 1437 1.1 christos 1438 1.1 christos PR tdep/7438 1439 1.1 christos * gdbarch.sh (smash_text_address): Remove. 1440 1.1 christos * gdbarch.c, gdbarch.h: Regenerate. 1441 1.1 christos * arm-tdep.c (arm_smash_text_address): Remove. 1442 1.1 christos (arm_gdbarch_init): Don't call set_gdbarch_smash_text_address. 1443 1.1 christos * hppa-tdep.c (hppa_smash_text_address): Remove. 1444 1.1 christos (hppa_addr_bits_remove): Rename from hppa_smash_text_address. 1445 1.1 christos (hppa_gdbarch_init): Don't call set_gdbarch_smash_text_address. 1446 1.1 christos Caller update. 1447 1.1 christos * coffread.c (coff_symtab_read): Caller update. 1448 1.1 christos * dbxread.c (process_one_symbol): Likewise. 1449 1.1 christos * elfread.c (record_minimal_symbol): Likewise. 1450 1.1 christos * somread.c (som_symtab_read): Likewise. 1451 1.1 christos 1452 1.1 christos 2012-11-20 Pierre Muller <muller (a] sourceware.org> 1453 1.1 christos 1454 1.1 christos ARI fixes: sprintf rule. 1455 1.1 christos Replace sprintf function calls for char arrays by 1456 1.1 christos calls to xsnprintf calls. 1457 1.1 christos * arm-tdep.c (arm_push_dummy_call): Replace sprintf by xsnprintf. 1458 1.1 christos (arm_dwarf_reg_to_regnum, arm_return_value): Ditto. 1459 1.1 christos (arm_neon_quad_read, arm_pseudo_read): Ditto. 1460 1.1 christos (arm_neon_quad_write, arm_pseudo_write): Ditto. 1461 1.1 christos * breakpoint.c (condition_completer): Ditto. 1462 1.1 christos (create_tracepoint_from_upload): Ditto. 1463 1.1 christos * dwarf2read.c (file_full_name): Ditto. 1464 1.1 christos * gcore.c (gcore_command): Ditto. 1465 1.1 christos * gnu-nat.c (proc_string, gnu_pid_to_str): Ditto. 1466 1.1 christos * go32-nat.c (go32_sysinfo): Ditto. 1467 1.1 christos * interps.c (interp_set): Ditto. 1468 1.1 christos * m32c-tdep.c (make_types): Ditto. 1469 1.1 christos * ppc-linux-nat.c (fetch_register, store_register): Ditto. 1470 1.1 christos * remote-m32r-sdi.c (m32r_open): Ditto. 1471 1.1 christos * sol-thread.c (td_err_string): Ditto. 1472 1.1 christos (td_state_string, solaris_pid_to_str): Ditto. 1473 1.1 christos * symtab.c (gdb_mangle_name): Ditto. 1474 1.1 christos * cli/cli-script.c (execute_control_command): Ditto. 1475 1.1 christos (define_command, document_command): Ditto. 1476 1.1 christos * tui/tui-io.c (tui_rl_display_match_list): Ditto. 1477 1.1 christos * tui/tui-stack.c (tui_make_status_line): Ditto. 1478 1.1 christos * tui/tui-win.c (tui_update_gdb_sizes): Ditto. 1479 1.1 christos 1480 1.1 christos 2012-11-20 Mike Frysinger <vapier (a] gentoo.org> 1481 1.1 christos 1482 1.1 christos * cli/cli-decode.c (complete_on_cmdlist): Add a fourth arg and check 1483 1.1 christos it when looking at ptr->func. 1484 1.1 christos * command.h (complete_on_cmdlist): Add a fourth arg. 1485 1.1 christos * completer.c (complete_line_internal): Add local ignore_help_classes, 1486 1.1 christos and set it to 1 when reason is not handle_help. Pass this down to 1487 1.1 christos lookup_cmd_1 and complete_on_cmdlist. 1488 1.1 christos 1489 1.1 christos 2012-11-20 Tom Tromey <tromey (a] redhat.com> 1490 1.1 christos 1491 1.1 christos * completer.c (count_struct_fields): Remove. 1492 1.1 christos (expression_completer): Don't call count_struct_fields. 1493 1.1 christos 1494 1.1 christos 2012-11-20 Pedro Alves <palves (a] redhat.com> 1495 1.1 christos 1496 1.1 christos * annotate.c (breakpoints_changed): Rename to ... 1497 1.1 christos (annotate_breakpoints_changed): ... this. 1498 1.1 christos (annotate_stopped, breakpoint_changed): Adjust caller. 1499 1.1 christos * annotate.h (breakpoints_changed): Rename to ... 1500 1.1 christos (annotate_breakpoints_changed): ... this. 1501 1.1 christos * breakpoint.c (set_breakpoint_condition, breakpoint_set_commands) 1502 1.1 christos (do_map_commands_command, init_raw_breakpoint, clear_command) 1503 1.1 christos (set_ignore_count, enable_breakpoint_disp): Adjust callers. 1504 1.1 christos 1505 1.1 christos 2012-11-20 David S. Miller <davem (a] davemloft.net> 1506 1.1 christos 1507 1.1 christos * common/linux-osdata.c (get_number_of_cpu_cores): Delete. 1508 1.1 christos (linux_xfer_osdata_processes): Fetch _SC_NPROCESSORS_ONLN via 1509 1.1 christos sysconf. 1510 1.1 christos (get_cores_used_by_process): Update comment. 1511 1.1 christos 1512 1.1 christos 2012-11-20 Yao Qi <yao (a] codesourcery.com> 1513 1.1 christos 1514 1.1 christos * objfiles.c (init_entry_point_info): Remove trailing spaces. 1515 1.1 christos 1516 1.1 christos 2012-11-20 Yao Qi <yao (a] codesourcery.com> 1517 1.1 christos 1518 1.1 christos * infrun.c (handle_inferior_event): Pass 'saved_singlestep_ptid' 1519 1.1 christos to deprecated_context_hook. 1520 1.1 christos 1521 1.1 christos 2012-11-19 Yao Qi <yao (a] codesourcery.com> 1522 1.1 christos 1523 1.1 christos * infrun.c (infwait_state): Add static. 1524 1.1 christos 1525 1.1 christos 2012-11-16 Keith Seitz <keiths (a] redhat.com> 1526 1.1 christos 1527 1.1 christos PR c++/13615 1528 1.1 christos * cp-namespace.c (cp_lookup_symbol_in_namespace): Add SEARCH 1529 1.1 christos parameter and pass it to lookup_symbol_file. 1530 1.1 christos (cp_lookup_symbol_imports): Tell cp_lookup_symbol_in_namespace 1531 1.1 christos to search base classes. 1532 1.1 christos (cp_lookup_symbol_namespace): Likewise. 1533 1.1 christos (lookup_namespace_scope): Likewise. 1534 1.1 christos (lookup_symbol_file): Add SEARCH parameter. 1535 1.1 christos If SEARCH is non-zero and no symbol is found, lookup the class 1536 1.1 christos and call cp_lookup_nested_symbol. 1537 1.1 christos (find_symbol_in_baseclass): New function. 1538 1.1 christos (cp_lookup_nested_symbol): Do not let 1539 1.1 christos cp_lookup_symbol_in_namespace search through base classes. 1540 1.1 christos Do that later when there is no global symbol match. 1541 1.1 christos 1542 1.1 christos 2012-11-16 Doug Evans <dje (a] google.com> 1543 1.1 christos 1544 1.1 christos * main.c (gdb_datadir_provided): New static global. 1545 1.1 christos (get_init_files): If --data-directory is provided, 1546 1.1 christos and SYSTEM_GDBINIT lives in data-directory, look for it there. 1547 1.1 christos * NEWS: Mention it. 1548 1.1 christos 1549 1.1 christos 2012-11-15 Pierre Muller <muller (a] sourceware.org> 1550 1.1 christos 1551 1.1 christos ARI fixes: move gdb_wait and gdb_stat headers to common subdirectory. 1552 1.1 christos * gdb_stat.h: Delete. Moved to common directory. 1553 1.1 christos * common/gdb_stat.h: New file. 1554 1.1 christos * gdb_wait.h: Delete. Moved to common directory. 1555 1.1 christos * common/gdb_wait.h: New file. 1556 1.1 christos * Makefile.in (H_FILES_NO_SRC): Adapt to new header 1557 1.1 christos location. 1558 1.1 christos * contrib/ari/gdb_ari.sh (wait.h rule): Adapt to new gdb_wait.h 1559 1.1 christos location. 1560 1.1 christos (stat.h rule): Adapt to new gdb_stat.h location. 1561 1.1 christos * common/linux-osdata.c: Include "gdb_stat.h" header instead of 1562 1.1 christos <sys/stat.h> header. 1563 1.1 christos * common/linux-ptrace.c: Include "gdb_wait.h" header instead of 1564 1.1 christos <sys/wait.h> header. 1565 1.1 christos 1566 1.1 christos 2012-11-15 Pierre Muller <muller (a] sourceware.org> 1567 1.1 christos 1568 1.1 christos * configure.ac (AC_HEADER_STAT): Remove. 1569 1.1 christos * gdb_stat.h (STAT_MACROS_BROKEN): Remove macro use 1570 1.1 christos and corresponding code. 1571 1.1 christos * configure: Regenerate. 1572 1.1 christos * config.in: Regenerate. 1573 1.1 christos 1574 1.1 christos 2012-11-15 Pierre Muller <muller (a] sourceware.org> 1575 1.1 christos 1576 1.1 christos ARI xasprintf rule fixes. 1577 1.1 christos * dwarf2read.c (create_dwo_in_dwp): Use xstrprintf function 1578 1.1 christos instead of xasprintf. 1579 1.1 christos (open_and_init_dwp_file): Ditto. 1580 1.1 christos 1581 1.1 christos 2012-11-14 Luis Machado <lgustavo (a] codesourcery.com> 1582 1.1 christos 1583 1.1 christos * value.c (value_actual_type): Check for TYPE_CODE_STRUCT 1584 1.1 christos target types. 1585 1.1 christos 1586 1.1 christos 2012-11-14 Tom Tromey <tromey (a] redhat.com> 1587 1.1 christos 1588 1.1 christos * configure, config.in: Rebuild. 1589 1.1 christos * configure.ac: Don't check for ctype.h, time.h. 1590 1.1 christos * expprint.c: Don't use HAVE_CTYPE_H. 1591 1.1 christos 1592 1.1 christos 2012-11-13 Tom Tromey <tromey (a] redhat.com> 1593 1.1 christos 1594 1.1 christos * gdbarch.h, gdbarch.c: Rebuild. 1595 1.1 christos * gdbarch.sh (set_target_gdbarch): Rename from 1596 1.1 christos deprecated_target_gdbarch_select_hack. 1597 1.1 christos * arch-utils.c (gdbarch_update_p): Update. 1598 1.1 christos (set_gdbarch_from_file): Update. 1599 1.1 christos 1600 1.1 christos 2012-11-14 Pierre Muller <muller (a] sourceware.org> 1601 1.1 christos 1602 1.1 christos * MAINTAINERS (Responsible Maintainers/misc): Add myself 1603 1.1 christos as responsible of contrib/ari directory. 1604 1.1 christos 1605 1.1 christos 2012-11-14 Daniel Jacobowitz <dan (a] codesourcery.com> 1606 1.1 christos Yao Qi <yao (a] codesourcery.com> 1607 1.1 christos 1608 1.1 christos * arm-tdep.c (arm_addr_bits_remove): Do not adjust the low 1609 1.1 christos bit of EXC_RETURN. 1610 1.1 christos (arm_m_exception_cache, arm_m_exception_this_id) 1611 1.1 christos (arm_m_exception_prev_register, arm_m_exception_unwind_sniffer) 1612 1.1 christos (arm_m_exception_unwind): New. 1613 1.1 christos (arm_gdbarch_init): Register arm_m_exception_unwind. 1614 1.1 christos 1615 1.1 christos 2012-11-13 Giuseppe Montalto <giuseppe.montalto (a] st.com> 1616 1.1 christos 1617 1.1 christos * mi/mi-main.c (mi_cmd_data_write_memory): Handle additional 1618 1.1 christos parameter COUNT, for pattern filling of memory regions. 1619 1.1 christos * NEWS: Mention it. 1620 1.1 christos 1621 1.1 christos 2012-11-13 Markus Metzger <markus.t.metzger (a] intel.com> 1622 1.1 christos 1623 1.1 christos * disasm.h (DISASSEMBLY_FILENAME): New macro. 1624 1.1 christos * disasm.c (do_mixed_source_and_assembly): Pass filename flag on 1625 1.1 christos to print_source_lines (). 1626 1.1 christos * symtab.h (PRINT_SOURCE_LINES_FILENAME): New print source lines 1627 1.1 christos flag. 1628 1.1 christos * source.c (print_source_lines_base): Prefix source line with 1629 1.1 christos filename if PRINT_SOURCE_LINES_FILENAME flag is set. 1630 1.1 christos 1631 1.1 christos 2012-11-13 Markus Metzger <markus.t.metzger (a] intel.com> 1632 1.1 christos 1633 1.1 christos * symtab.h (print_source_lines_flags): New enum. 1634 1.1 christos * source.c (print_source_lines_base): Change noerror to flags. 1635 1.1 christos (print_source_lines): Change noerror to flags. 1636 1.1 christos 1637 1.1 christos 2012-11-13 Pierre Muller <muller (a] sourceware.org> 1638 1.1 christos 1639 1.1 christos ARI fixes: Avoid sprintf function use rule. 1640 1.1 christos * charset.c (convert_between_encodings): Use xsnprintf. 1641 1.1 christos * cli-out.c (cli_field_int): Likewise. 1642 1.1 christos * cp-namespace.c (cp_lookup_nested_symbol): Likewise. 1643 1.1 christos * expprint.c (op_name_standard): Likewise. 1644 1.1 christos * frv-tdep.c (set_variant_num_gprs): Likewise. 1645 1.1 christos (set_variant_num_fprs): Likewise. 1646 1.1 christos * m68hc11-tdep.c (m68hc11_initialize_register_info): Likewise. 1647 1.1 christos * nto-tdep.c (nto_find_and_open_solib): Likewise. 1648 1.1 christos (nto_init_solib_absolute_prefix): Likewise. 1649 1.1 christos * source.c (init_source_path): Likewise. 1650 1.1 christos (print_source_lines_base): Likewise. 1651 1.1 christos * valprint.c (print_wchar): Likewise. 1652 1.1 christos * mi/mi-out.c (mi_field_int): Likewise. 1653 1.1 christos windows-nat.c (windows_pid_to_exec_file): Likewise. 1654 1.1 christos (windows_create_inferior): Likewise. 1655 1.1 christos (_initialize_check_for_gdb_ini): Likewise. 1656 1.1 christos 1657 1.1 christos 2012-11-12 Joel Brobecker <brobecker (a] adacore.com> 1658 1.1 christos 1659 1.1 christos * frame.h (deprecated_frame_register_read): Renames 1660 1.1 christos frame_register_read. 1661 1.1 christos * frame.c (deprecated_frame_register_read): Renames 1662 1.1 christos frame_register_read. Update all callers. 1663 1.1 christos * i386-tdep.c: Update all callers of frame_register_read. 1664 1.1 christos * infcmd.c: Likewise. 1665 1.1 christos * jit.c: Likewise. 1666 1.1 christos * mips-tdep.c: Likewise. 1667 1.1 christos * mt-tdep.c: Likewise. 1668 1.1 christos * sh64-tdep.c: Likewise. 1669 1.1 christos 1670 1.1 christos 2012-11-12 Joel Brobecker <brobecker (a] adacore.com> 1671 1.1 christos 1672 1.1 christos * frame.h (frame_register_read): Remove FIXME comment. 1673 1.1 christos * frame.c (frame_register_read): Add suggestion explaining 1674 1.1 christos which function to use in place of this one. 1675 1.1 christos 1676 1.1 christos 2012-11-12 Tom Tromey <tromey (a] redhat.com> 1677 1.1 christos 1678 1.1 christos * python/python.c (start_type_printers): Initialize 'result_obj'. 1679 1.1 christos 1680 1.1 christos 2012-11-12 Tom Tromey <tromey (a] redhat.com> 1681 1.1 christos 1682 1.1 christos * NEWS: Update. 1683 1.1 christos * data-directory/Makefile.in (PYTHON_FILES): Add 1684 1.1 christos type_printers.py. 1685 1.1 christos * python/lib/gdb/command/type_printers.py: New file. 1686 1.1 christos * python/lib/gdb/command/types.py (TypePrinter): New class. 1687 1.1 christos (_get_some_type_recognizers, get_type_recognizers, 1688 1.1 christos apply_type_recognizers, register_type_printer): New 1689 1.1 christos functions. 1690 1.1 christos * python/py-objfile.c (objfile_object) <type_printers>: New 1691 1.1 christos field. 1692 1.1 christos (objfpy_dealloc): Decref new field. 1693 1.1 christos (objfpy_new): Set new field. 1694 1.1 christos (objfpy_get_type_printers, objfpy_set_type_printers): New 1695 1.1 christos functions. 1696 1.1 christos (objfile_to_objfile_object): Set new field. 1697 1.1 christos (objfile_getset): Add "type_printers". 1698 1.1 christos * python/py-progspace.c (pspace_object) <type_printers>: New 1699 1.1 christos field. 1700 1.1 christos (pspy_dealloc): Decref new field. 1701 1.1 christos (pspy_new): Set new field. 1702 1.1 christos (pspy_get_type_printers, pspy_set_type_printers): New functions. 1703 1.1 christos (pspace_to_pspace_object): Set new field. 1704 1.1 christos (pspace_getset): Add "type_printers". 1705 1.1 christos * python/python.c (start_type_printers, apply_type_printers, 1706 1.1 christos free_type_printers): New functions. 1707 1.1 christos (_initialize_python): Set gdb.type_printers. 1708 1.1 christos * python/python.h (start_type_printers, apply_type_printers, 1709 1.1 christos free_type_printers): Declare. 1710 1.1 christos * typeprint.c (type_print_raw_options, default_ptype_flags): 1711 1.1 christos Update for new fields. 1712 1.1 christos (do_free_global_table, create_global_typedef_table, 1713 1.1 christos find_global_typedef): New functions. 1714 1.1 christos (find_typedef_in_hash): Use find_global_typedef. 1715 1.1 christos (whatis_exp): Use create_global_typedef_table. Change cleanup 1716 1.1 christos handling. 1717 1.1 christos * typeprint.h (struct type_print_options) <global_typedefs, 1718 1.1 christos global_printers>: New fields. 1719 1.1 christos 1720 1.1 christos 2012-11-12 Tom Tromey <tromey (a] redhat.com> 1721 1.1 christos 1722 1.1 christos * c-typeprint.c (find_typedef_for_canonicalize, 1723 1.1 christos print_name_maybe_canonical): New functions. 1724 1.1 christos (c_print_type): Look up type name. 1725 1.1 christos (cp_type_print_derivation_info): Add flags argument. Use 1726 1.1 christos print_name_maybe_canonical. 1727 1.1 christos (cp_type_print_method_args): Add wrapping. 1728 1.1 christos (c_type_print_varspec_prefix): Use print_name_maybe_canonical. 1729 1.1 christos (c_type_print_template_args): New function. 1730 1.1 christos (c_type_print_base): Change wrapping. Use 1731 1.1 christos print_name_maybe_canonical. 1732 1.1 christos <TYPE_CODE_STRUCT>: Possibly create a typedef hash, and do 1733 1.1 christos type name lookups. 1734 1.1 christos * gdbtypes.c (types_equal): No longer static. 1735 1.1 christos * gdbtypes.h (types_equal): Declare. 1736 1.1 christos * typeprint.c (type_print_raw_options, default_ptype_flags): 1737 1.1 christos Update. 1738 1.1 christos (struct typedef_hash_table): New. 1739 1.1 christos (hash_typedef_field, eq_typedef_field, 1740 1.1 christos recursively_update_typedef_hash, add_template_parameters, 1741 1.1 christos create_typedef_hash, free_typedef_hash, do_free_typedef_hash, 1742 1.1 christos make_cleanup_free_typedef_hash, copy_typedef_hash_element, 1743 1.1 christos copy_typedef_hash, find_typedef_in_hash): New functions. 1744 1.1 christos * typeprint.h (struct type_print_options) <local_typedefs>: 1745 1.1 christos New field. 1746 1.1 christos (recursively_update_typedef_hash, add_template_parameters, 1747 1.1 christos create_typedef_hash, free_typedef_hash, 1748 1.1 christos make_cleanup_free_typedef_hash, copy_typedef_hash, 1749 1.1 christos find_typedef_in_hash): Declare. 1750 1.1 christos 1751 1.1 christos 2012-11-12 Tom Tromey <tromey (a] redhat.com> 1752 1.1 christos 1753 1.1 christos * cp-support.c (inspect_type, 1754 1.1 christos replace_typedefs_qualified_name, replace_typedefs): Add 1755 1.1 christos finder, data arguments. Call as needed. 1756 1.1 christos (cp_canonicalize_string_full): New function. 1757 1.1 christos (cp_canonicalize_string_no_typedefs): Rewrite. 1758 1.1 christos * cp-support.h (canonicalization_ftype): New typedef. 1759 1.1 christos (cp_canonicalize_string_full): Declare. 1760 1.1 christos 1761 1.1 christos 2012-11-12 Tom Tromey <tromey (a] redhat.com> 1762 1.1 christos 1763 1.1 christos * NEWS: Update. 1764 1.1 christos * c-typeprint.c (c_type_print_base): Handle print_method and 1765 1.1 christos print_typedefs flags. 1766 1.1 christos * gdbcmd.h (setprinttypelist, showprinttypelist): Declare. 1767 1.1 christos * python/py-type.c (typy_str): Use LA_PRINT_TYPE and raw 1768 1.1 christos options. 1769 1.1 christos * typeprint.c (type_print_raw_options, default_ptype_flags): 1770 1.1 christos Update for new field.s 1771 1.1 christos (whatis_exp): Parse flags. Use LA_PRINT_TYPE. 1772 1.1 christos (setprinttypelist, showprinttypelist, print_methods, 1773 1.1 christos print_typedefs): New globals. 1774 1.1 christos (set_print_type, show_print_type, set_print_type_methods, 1775 1.1 christos show_print_type_methods, set_print_type_typedefs, 1776 1.1 christos show_print_type_typedefs): New functions. 1777 1.1 christos (_initialize_typeprint): Update documentation. Add "print 1778 1.1 christos type methods" and "print type typedefs" parameters. 1779 1.1 christos * typeprint.h (struct type_print_options) <print_methods, 1780 1.1 christos print_typedefs>: New fields. 1781 1.1 christos 1782 1.1 christos 2012-11-12 Tom Tromey <tromey (a] redhat.com> 1783 1.1 christos 1784 1.1 christos * c-typeprint.c (cp_type_print_method_args): Add flags 1785 1.1 christos argument. Call c_print_type, not type_print. 1786 1.1 christos (c_type_print_base): Call c_print_type, not type_print. 1787 1.1 christos Update. 1788 1.1 christos 1789 1.1 christos 2012-11-12 Tom Tromey <tromey (a] redhat.com> 1790 1.1 christos 1791 1.1 christos * ada-lang.c (user_select_syms, ada_print_subexp): Pass flags 1792 1.1 christos to type-printing functions. 1793 1.1 christos * ada-lang.h (ada_print_type): Add argument. 1794 1.1 christos * ada-typeprint.c (print_array_type, print_variant_clauses, 1795 1.1 christos print_variant_part, print_selected_record_field_types, 1796 1.1 christos print_record_field_types, print_unchecked_union_type, 1797 1.1 christos print_func_type, ada_print_type): Add flags argument. 1798 1.1 christos (ada_print_typedef): Update. 1799 1.1 christos * c-exp.y (OPERATOR conversion_type_id): Update. 1800 1.1 christos * c-lang.h (c_print_type, c_type_print_base): Update. 1801 1.1 christos * c-typeprint.c (c_print_type, c_type_print_varspec_prefix, 1802 1.1 christos c_type_print_modifier, c_type_print_args, 1803 1.1 christos c_type_print_varspec_suffix, c_type_print_base): Add flags 1804 1.1 christos argument. 1805 1.1 christos * cp-valprint.c (cp_print_class_member): Update. 1806 1.1 christos * dwarf2read.c (dwarf2_compute_name): Update. 1807 1.1 christos * f-lang.h (f_print_type): Add argument. 1808 1.1 christos * f-typeprint.c (f_print_type): Add flags argument. 1809 1.1 christos * gnu-v3-abi.c (gnuv3_print_method_ptr): Update. 1810 1.1 christos * go-lang.h (go_print_type): Add argument. 1811 1.1 christos * go-typeprint.c (go_print_type): Add flags argument. 1812 1.1 christos * jv-lang.h (java_print_type): Add argument. 1813 1.1 christos * jv-typeprint.c (java_type_print_base, java_print_type): Add 1814 1.1 christos flags argument. 1815 1.1 christos * language.c (unk_lang_print_type): Add flags argument. 1816 1.1 christos * language.h (struct language_defn) <la_print_type>: Add flags 1817 1.1 christos argument. 1818 1.1 christos (LA_PRINT_TYPE): Likewise. 1819 1.1 christos * m2-lang.h (m2_print_type): Add argument. 1820 1.1 christos * m2-typeprint.c (m2_print_type, m2_range, m2_typedef, 1821 1.1 christos m2_array, m2_pointer, m2_ref, m2_procedure, m2_long_set, 1822 1.1 christos m2_unbounded_array, m2_record_fields): Add flags argument. 1823 1.1 christos * p-lang.h (pascal_print_type, pascal_type_print_base, 1824 1.1 christos pascal_type_print_varspec_prefix): Add argument. 1825 1.1 christos * p-typeprint.c (pascal_print_type, 1826 1.1 christos pascal_type_print_varspec_prefix, pascal_print_func_args, 1827 1.1 christos pascal_type_print_varspec_suffix, pascal_type_print_base): Add 1828 1.1 christos flags argument. 1829 1.1 christos * symmisc.c (print_symbol): Update. 1830 1.1 christos * typeprint.c (type_print_raw_options, default_ptype_flags): 1831 1.1 christos New globals. 1832 1.1 christos (type_print): Update. 1833 1.1 christos * typeprint.h (struct type_print_options): New. 1834 1.1 christos (type_print_raw_options): Declare. 1835 1.1 christos (c_type_print_varspec_suffix, c_type_print_args): Add argument. 1836 1.1 christos 1837 1.1 christos 2012-11-10 Keith Seitz <keiths (a] redhat.com> 1838 1.1 christos 1839 1.1 christos * breakpoint.c (clear_command): Add cleanup for 1840 1.1 christos sals.sals if an argument is given. 1841 1.1 christos 1842 1.1 christos * linespec.c (parse_linespec): Do cleanups after 1843 1.1 christos parsing a convenience variable. 1844 1.1 christos 1845 1.1 christos 2012-11-10 Keith Seitz <keiths (a] redhat.com> 1846 1.1 christos 1847 1.1 christos PR gdb/14288 1848 1.1 christos * c-valprint.c (c_val_print): For character arrays 1849 1.1 christos with "print null" option on, print ellipses if 1850 1.1 christos the output is truncated and the next character is not \000. 1851 1.1 christos * valprint.c (MAX_WCHARS): Define. 1852 1.1 christos (WCHAR_BUFLEN): Likewise. 1853 1.1 christos (WCHAR_BUFLEN_MAX): Likewise. 1854 1.1 christos (struct converted_character): New structure. 1855 1.1 christos (count_next_character): New function. 1856 1.1 christos (print_converted_chars_to_obstack): New function. 1857 1.1 christos (generic_printstr): Rewrite using count_next_character 1858 1.1 christos and print_converted_chars_to_obstack. 1859 1.1 christos 1860 1.1 christos 2012-11-10 Stephane Carrez <Stephane.Carrez (a] gmail.com> 1861 1.1 christos 1862 1.1 christos * tui/tui.c (tui_rl_command_key): Switch to TUI_ONE_COMMAND_MODE 1863 1.1 christos while executing the gdb command. 1864 1.1 christos (tui_rl_startup_hook): Do not switch back to TUI_SINGLE_KEY_MODE if we 1865 1.1 christos are called from prompt_for_continue. 1866 1.1 christos * tui/tui-io.c (tui_redisplay_readline): Likewise. 1867 1.1 christos 1868 1.1 christos 2012-11-10 Stephane Carrez <Stephane.Carrez (a] gmail.com> 1869 1.1 christos 1870 1.1 christos PR tui/9584 1871 1.1 christos 1872 1.1 christos * tui/tui.c (tui_rl_command_key): Do not call execute_command 1873 1.1 christos but insert the command to execute in readline's buffer. 1874 1.1 christos 1875 1.1 christos 2012-11-09 Tom Tromey <tromey (a] redhat.com> 1876 1.1 christos 1877 1.1 christos * gdbarch.sh (target_gdbarch): Remove macro. 1878 1.1 christos (get_target_gdbarch): Rename to target_gdbarch. 1879 1.1 christos * gdbarch.c, gdbarch.h: Rebuild. 1880 1.1 christos * ada-tasks.c, aix-thread.c, amd64-linux-nat.c, arch-utils.c, 1881 1.1 christos arm-tdep.c, auxv.c, breakpoint.c, bsd-uthread.c, corefile.c, 1882 1.1 christos darwin-nat-info.c, dcache.c, dsrec.c, exec.c, fbsd-nat.c, 1883 1.1 christos filesystem.c, gcore.c, gnu-nat.c, i386-darwin-nat.c, i386-nat.c, 1884 1.1 christos ia64-vms-tdep.c, inf-ptrace.c, infcmd.c, jit.c, linux-nat.c, 1885 1.1 christos linux-tdep.c, linux-thread-db.c, m32r-rom.c, memattr.c, 1886 1.1 christos mep-tdep.c, microblaze-tdep.c, mips-linux-nat.c, 1887 1.1 christos mips-linux-tdep.c, mips-tdep.c, monitor.c, moxie-tdep.c, 1888 1.1 christos nto-procfs.c, nto-tdep.c, ppc-linux-nat.c, proc-service.c, 1889 1.1 christos procfs.c, progspace.c, ravenscar-thread.c, record.c, 1890 1.1 christos remote-m32r-sdi.c, remote-mips.c, remote-sim.c, remote.c, 1891 1.1 christos rl78-tdep.c, rs6000-nat.c, rx-tdep.c, s390-nat.c, sol-thread.c, 1892 1.1 christos solib-darwin.c, solib-dsbt.c, solib-frv.c, solib-ia64-hpux.c, 1893 1.1 christos solib-irix.c, solib-pa64.c, solib-som.c, solib-spu.c, 1894 1.1 christos solib-sunos.c, solib-svr4.c, solib.c, spu-linux-nat.c, 1895 1.1 christos spu-multiarch.c, spu-tdep.c, symfile-mem.c, symfile.c, symtab.c, 1896 1.1 christos target-descriptions.c, target.c, target.h, tracepoint.c, 1897 1.1 christos windows-nat.c, windows-tdep.c, xcoffsolib.c, cli/cli-dump.c, 1898 1.1 christos common/agent.c, mi/mi-interp.c, python/py-finishbreakpoint.c, 1899 1.1 christos python/py-inferior.c, python/python.c: Update. 1900 1.1 christos 1901 1.1 christos 2012-11-09 Andrew Burgess <aburgess (a] broadcom.com> 1902 1.1 christos 1903 1.1 christos * source.c (print_source_lines_base): Add fullname field giving 1904 1.1 christos full path to file in mi output. 1905 1.1 christos * NEWS: Mention the new fullname field. 1906 1.1 christos 1907 1.1 christos 2012-11-09 Yao Qi <yao (a] codesourcery.com> 1908 1.1 christos 1909 1.1 christos * NEWS: Mention the fix to the ambiguity of 'fo' command. 1910 1.1 christos 1911 1.1 christos 2012-11-09 Pedro Alves <palves (a] redhat.com> 1912 1.1 christos 1913 1.1 christos PR gdb/14306 1914 1.1 christos 1915 1.1 christos * infrun.c: Include target-descriptions.h. 1916 1.1 christos (follow_exec): Fetch new target description. 1917 1.1 christos 1918 1.1 christos 2012-11-09 Yao Qi <yao (a] codesourcery.com> 1919 1.1 christos 1920 1.1 christos * i386-tdep.c (i386_analyze_frame_setup): Handle opcode 1921 1.1 christos 0x8d (lea). 1922 1.1 christos 1923 1.1 christos 2012-11-09 Yao Qi <yao (a] codesourcery.com> 1924 1.1 christos 1925 1.1 christos * breakpoint.c: Declare set_tracepoint_count. 1926 1.1 christos (install_breakpoint): Call set_tracepoint_count if B is a 1927 1.1 christos tracepoint. 1928 1.1 christos (trace_command): Don't call set_tracepoint_count. Re-indent. 1929 1.1 christos (strace_command, ftrace_command): 1930 1.1 christos (create_tracepoint_from_upload): Likewise. 1931 1.1 christos 1932 1.1 christos 2012-11-09 Pedro Alves <palves (a] redhat.com> 1933 1.1 christos 1934 1.1 christos * gdbarch.sh (target_gdbarch) <gdbarch.h>: Reimplement as macro. 1935 1.1 christos (get_target_gdbarch) <gdbarch.h>: New function. 1936 1.1 christos (startup_gdbarch) <gdbarch.h>: Declare. 1937 1.1 christos <gdbarch.c> (target_gdbarch): Delete. 1938 1.1 christos <gdbarch.c> (deprecated_target_gdbarch_select_hack): Set the 1939 1.1 christos current inferior's gdbarch. 1940 1.1 christos <gdbarch.c> (get_target_gdbarch): New function. 1941 1.1 christos * inferior.c: Include target-descriptions.h. 1942 1.1 christos (free_inferior): Free target description info. 1943 1.1 christos (add_inferior_with_spaces): Set the inferior's initial 1944 1.1 christos architecture. 1945 1.1 christos (clone_inferior_command): Copy the original inferior's target 1946 1.1 christos description if it was user specified. 1947 1.1 christos (initialize_inferiors): Add comment. 1948 1.1 christos * inferior.h (struct target_desc_info): Forward declare. 1949 1.1 christos (struct inferior) <gdbarch>: New field. 1950 1.1 christos * linux-nat.c: Include target-descriptions.h. 1951 1.1 christos (linux_child_follow_fork): Copy the parent's architecture and 1952 1.1 christos target description to the child. 1953 1.1 christos * target-descriptions.c: Include inferior.h. 1954 1.1 christos (struct target_desc_info): New structure, holding the equivalents 1955 1.1 christos of ... 1956 1.1 christos (target_desc_fetched, current_target_desc) 1957 1.1 christos (target_description_filename): ... these removed globals. 1958 1.1 christos (get_tdesc_info, target_desc_info_from_user_p) 1959 1.1 christos (copy_inferior_target_desc_info, target_desc_info_free): New. 1960 1.1 christos (target_desc_fetched, current_target_desc) 1961 1.1 christos (target_description_filename): Reimplemented as convenience 1962 1.1 christos macros. 1963 1.1 christos (tdesc_filename_cmd_string): New global. 1964 1.1 christos (set_tdesc_filename_cmd): Copy the string manipulated by the "set 1965 1.1 christos tdescs filename ..." commands to the per-inferior equivalent. 1966 1.1 christos (show_tdesc_filename_cmd): Get the value to show from the 1967 1.1 christos per-inferior description filename. 1968 1.1 christos (_initilize_target_descriptions): Change the "set/show tdesc 1969 1.1 christos filename" commands' variable. 1970 1.1 christos * target-descriptions.h (struct target_desc, struct target_desc_info) 1971 1.1 christos (struct inferior): Forward declare. 1972 1.1 christos (target_find_description, target_clear_description) 1973 1.1 christos (target_current_description): Adjust comments. 1974 1.1 christos (copy_inferior_target_desc_info, target_desc_info_free) 1975 1.1 christos (target_desc_info_from_user_p). Declare. 1976 1.1 christos 1977 1.1 christos 2012-11-08 Stephane Carrez <Stephane.Carrez (a] gmail.com> 1978 1.1 christos 1979 1.1 christos * tui/tui-hooks.c (tui_about_to_proceed): New function. 1980 1.1 christos (tui_target_wait_hook): Remove. 1981 1.1 christos (tui_install_hooks): Install the about_to_proceed observer. 1982 1.1 christos (tui_remove_hooks): And remove it here. 1983 1.1 christos 1984 1.1 christos 2012-11-08 Tom Tromey <tromey (a] redhat.com> 1985 1.1 christos 1986 1.1 christos * linux-tdep.c (linux_make_siginfo_note): New function. 1987 1.1 christos (linux_make_corefile_notes): Use it. 1988 1.1 christos * corelow.c (get_core_siginfo): New function. 1989 1.1 christos (core_xfer_partial) <TARGET_OBJECT_SIGNAL_INFO>: New case. 1990 1.1 christos 1991 1.1 christos 2012-11-08 Tom Tromey <tromey (a] redhat.com> 1992 1.1 christos 1993 1.1 christos PR gdb/14704: 1994 1.1 christos * gdb_bfd.c (gdb_bfd_ref): Set BFD_DECOMPRESS. 1995 1.1 christos (zlib_decompress_section): Remove. 1996 1.1 christos (gdb_bfd_map_section): Only check for compressed section 1997 1.1 christos in mmap case. Use bfd_get_full_section_contents. 1998 1.1 christos * osabi.c (check_note): Add 'sectsize' argument. Read 1999 1.1 christos section data. 2000 1.1 christos (generic_elf_osabi_sniff_abi_tag_sections): Don't read 2001 1.1 christos section data. Update for check_note change. 2002 1.1 christos * xcoffread.c (xcoff_initial_scan): Use 2003 1.1 christos bfd_get_full_section_contents. 2004 1.1 christos * py-auto-load.c (auto_load_section_scripts): Use 2005 1.1 christos bfd_get_full_section_contents. 2006 1.1 christos * contrib/cc-with-tweaks.sh: Add -Z option. 2007 1.1 christos 2008 1.1 christos 2012-11-08 Tom Tromey <tromey (a] redhat.com> 2009 1.1 christos 2010 1.1 christos * python/py-bpevent.c: Include defs.h. 2011 1.1 christos * python/py-continueevent.c: Include defs.h. 2012 1.1 christos * python/py-event.c: Include defs.h. 2013 1.1 christos * python/py-event.h: Don't include defs.h. 2014 1.1 christos * python/py-events.h: Don't include defs.h. 2015 1.1 christos * python/py-evts.c: Include defs.h. 2016 1.1 christos * python/py-exitedevent.c: Include defs.h. 2017 1.1 christos * python/py-newobjfileevent.c: Include defs.h. 2018 1.1 christos * python/py-signalevent.c: Include defs.h. 2019 1.1 christos * python/py-stopevent.c: Include defs.h. 2020 1.1 christos * python/py-threadevent.c: Include defs.h. 2021 1.1 christos 2022 1.1 christos 2012-11-08 Pierre Muller <muller (a] sourceware.org> 2023 1.1 christos 2024 1.1 christos * update-web-ari.sh (print_heading): Add number of files 2025 1.1 christos checked. 2026 1.1 christos (nb_files): New variable counting the number of sources 2027 1.1 christos files found by gdb_find.sh script. 2028 1.1 christos (debug_awk): New variable to allow extra debug output. 2029 1.1 christos (indexes): Add more information if DEBUG_AWK is set. 2030 1.1 christos 2031 1.1 christos 2012-11-08 Edjunior Machado <emachado (a] linux.vnet.ibm.com> 2032 1.1 christos 2033 1.1 christos * ppc-linux-tdep.c (ppc64_standard_linkage1, ppc64_standard_linkage2, 2034 1.1 christos ppc64_standard_linkage3): Mark ld r11 instructions as optional, 2035 1.1 christos following the change in PLT call stubs on linker. 2036 1.1 christos 2037 1.1 christos 2012-11-08 Pierre Muller <muller (a] sourceware.org> 2038 1.1 christos 2039 1.1 christos * contrib/ari/gdb_ari.sh (LANG, LC_ALL): Use 'C' instead of 'c' 2040 1.1 christos as default language. 2041 1.1 christos (AWK): Use = instead of == for sh test to avoid warning. 2042 1.1 christos (Linux rule): Correct [:digit] into [[:digit:]]. 2043 1.1 christos (__func__ rule): Adapt to "gdb_assert.h" move to common subdirectory. 2044 1.1 christos (vasprintf rule): Adapt to common subdirectory moves. 2045 1.1 christos (xasprintf rule): Idem. 2046 1.1 christos (xvasprintf rule): Idem. 2047 1.1 christos (var_boolean rule): Accept occurence in == or != test. 2048 1.1 christos 2049 1.1 christos * contrib/ari/gdb_find.sh: Also prune gdbtk directory. 2050 1.1 christos 2051 1.1 christos 2012-11-08 Stephane Carrez <Stephane.Carrez (a] gmail.com> 2052 1.1 christos 2053 1.1 christos * tui/tui-hooks.c (tui_inferior_exit): New function. 2054 1.1 christos (tui_detach_hook): Remove. 2055 1.1 christos (tui_install_hooks): Install the inferior exit observer. 2056 1.1 christos (tui_remove_hooks): Remove it. 2057 1.1 christos 2058 1.1 christos 2012-11-08 Yao Qi <yao (a] codesourcery.com> 2059 1.1 christos 2060 1.1 christos PR gdb/14777. 2061 1.1 christos * source.c (_initialize_source): Call add_com_alias to abbreviate 2062 1.1 christos 'forward-search' as 'fo'. 2063 1.1 christos 2064 1.1 christos 2012-11-07 Pedro Alves <palves (a] redhat.com> 2065 1.1 christos 2066 1.1 christos * arm-tdep.c: Make defs.h be the first include. 2067 1.1 christos * coff-pe-read.c: Ditto. 2068 1.1 christos * gnu-nat.c: Ditto. 2069 1.1 christos * go32-nat.c: Ditto. 2070 1.1 christos * i386-nat.c: Ditto. 2071 1.1 christos * ppcnbsd-nat.c: Ditto. 2072 1.1 christos * ada-varobj.h: Don't include defs.h. 2073 1.1 christos * i386-darwin-tdep.h: Ditto. 2074 1.1 christos * i386-nat.h: Ditto. 2075 1.1 christos 2076 1.1 christos 2012-11-07 Pedro Alves <palves (a] redhat.com> 2077 1.1 christos 2078 1.1 christos * MAINTAINERS: New FSF-appointed maintainers replace the Steering 2079 1.1 christos Committee. 2080 1.1 christos 2081 1.1 christos 2012-11-07 Pierre Muller <muller (a] sourceware.org> 2082 1.1 christos 2083 1.1 christos * common/linux-osdata.c (dirent.h): ARI fix: Remove. 2084 1.1 christos File already uses "gdb_dirent.h" header. 2085 1.1 christos 2086 1.1 christos 2012-11-07 Yao Qi <yao (a] codesourcery.com> 2087 1.1 christos 2088 1.1 christos * breakpoint.c (get_tracepoint_by_number): Remove 'extern int 2089 1.1 christos tracepoint_count'. 2090 1.1 christos 2091 1.1 christos 2012-11-06 Tom Tromey <tromey (a] redhat.com> 2092 1.1 christos 2093 1.1 christos * target.h (inferior_has_forked, inferior_has_vforked) 2094 1.1 christos (inferior_has_execd, inferior_has_called_syscall): Remove 2095 1.1 christos declarations. 2096 1.1 christos 2097 1.1 christos 2012-11-06 Pierre Muller <muller (a] sourceware.org> 2098 1.1 christos 2099 1.1 christos * remote.c (remote_insert_hw_breakpoint): ARI fix, 2100 1.1 christos add missing internalization markup. 2101 1.1 christos 2102 1.1 christos 2012-11-06 Pedro Alves <palves (a] redhat.com> 2103 1.1 christos 2104 1.1 christos PR gdb/14810 2105 1.1 christos 2106 1.1 christos * breakpoint.c (bpstat_stop_status): Skip disabled locations. 2107 1.1 christos 2108 1.1 christos 2012-11-06 Pierre Muller <muller (a] sourceware.org> 2109 1.1 christos 2110 1.1 christos * contrib/ari/create-web-ari-in-src.sh: Avoid problem if script 2111 1.1 christos is not executable. 2112 1.1 christos 2113 1.1 christos 2012-11-05 Joel Brobecker <brobecker (a] adacore.com> 2114 1.1 christos 2115 1.1 christos * gnulib/update-gnulib.sh: New script. 2116 1.1 christos 2117 1.1 christos 2012-11-05 Stephane Carrez <Stephane.Carrez (a] gmail.com> 2118 1.1 christos 2119 1.1 christos * MAINTAINERS: Update my email address. 2120 1.1 christos 2121 1.1 christos 2012-11-05 Tom Tromey <tromey (a] redhat.com> 2122 1.1 christos 2123 1.1 christos * frame.c (put_frame_register): Don't use temporary buffer. 2124 1.1 christos 2125 1.1 christos 2012-11-05 Pedro Alves <palves (a] redhat.com> 2126 1.1 christos 2127 1.1 christos * inferior.c (exit_inferior_1): Clear 'vfork_parent' in the vfork 2128 1.1 christos child. Clear 'pending_detach'. 2129 1.1 christos * infrun.c (handle_vfork_child_exec_or_exit): Clear 2130 1.1 christos 'pending_detach' in the vfork parent. 2131 1.1 christos 2132 1.1 christos 2012-11-05 Doug Evans <dje (a] google.com> 2133 1.1 christos 2134 1.1 christos Add support for DWP files. http://gcc.gnu.org/wiki/DebugFissionDWP 2135 1.1 christos * contrib/cc-with-tweaks.sh: Add -p parameter to invoke dwp. 2136 1.1 christos * dwarf2read.c: #include "elf-bfd.h". 2137 1.1 christos (struct dwarf2_per_objfile): New members dwp_checked, dwp_file. 2138 1.1 christos (dwop_section_names): Renamed from dwo_section names. All uses 2139 1.1 christos updated. Add entries for .debug_cu_index, .debug_tu_index. 2140 1.1 christos (struct dwo_file): Rename dwo_name to name, dwo_bfd to dbfd. 2141 1.1 christos All uses updated. 2142 1.1 christos (struct dwp_sections): New type. 2143 1.1 christos (struct virtual_dwo_sections): New type. 2144 1.1 christos (struct dwp_hash_table): New type. 2145 1.1 christos (struct dwp_file): New type. 2146 1.1 christos (init_cutu_and_read_dies): Ensure DWO info/types section has been 2147 1.1 christos read in. Handle DWOs coming from DWP files. 2148 1.1 christos (lookup_dwo_file_slot): New function. 2149 1.1 christos (dwarf2_locate_dwo_sections): Move definition closer to use. 2150 1.1 christos (create_dwo_debug_info_hash_table_reader): Renamed from 2151 1.1 christos create_debug_info_hash_table_reader. All callers updated. 2152 1.1 christos (create_dwo_debug_info_hash_table): Renamed from 2153 1.1 christos create_debug_info_hash_table. All callers updated. 2154 1.1 christos (create_dwp_hash_table): New function. 2155 1.1 christos (locate_virtual_dwo_sections, create_dwo_in_dwp): New functions. 2156 1.1 christos (lookup_dwo_in_dwp): New function. 2157 1.1 christos (try_open_dwop_file): Renamed from try_open_dwo_file. New parameter 2158 1.1 christos is_dwp. All callers updated. 2159 1.1 christos (open_dwop_file): Renamed from open_dwo_file. All callers updated. 2160 1.1 christos (open_and_init_dwo_file): Renamed from init_dwo_file. 2161 1.1 christos All callers updated. 2162 1.1 christos (lookup_dwo_file): Delete. 2163 1.1 christos (dwarf2_locate_dwp_sections): New function. 2164 1.1 christos (hash_dwp_loaded_cutus, eq_dwp_loaded_cutus): New functions. 2165 1.1 christos (allocate_dwp_loaded_cutus_table): New function. 2166 1.1 christos (open_and_init_dwp_file): New function. 2167 1.1 christos (lookup_dwo_cutu): New function. 2168 1.1 christos (lookup_dwo_comp_unit, lookup_dwo_type_unit): Call it. 2169 1.1 christos 2170 1.1 christos 2012-11-03 Yao Qi <yao (a] codesourcery.com> 2171 1.1 christos 2172 1.1 christos Fix PR gdb/14617. 2173 1.1 christos * breakpoint.c (trace_pass_set_count): Call 2174 1.1 christos observer_notify_breakpoint_modified instead of 2175 1.1 christos observer_notify_tracepoint_modified. 2176 1.1 christos * mi/mi-cmd-break.c (mi_cmd_break_passcount): Likewise. 2177 1.1 christos 2178 1.1 christos 2012-11-02 Tom Tromey <tromey (a] redhat.com> 2179 1.1 christos 2180 1.1 christos * breakpoint.c (catch_syscall_completer): Pass 'word' as second 2181 1.1 christos argument to complete_on_enum. 2182 1.1 christos 2183 1.1 christos 2012-11-02 Tom Tromey <tromey (a] redhat.com> 2184 1.1 christos 2185 1.1 christos * configure: Rebuild. 2186 1.1 christos * configure.ac (build_warnings): Add -Wempty-body. 2187 1.1 christos * m68k-tdep.c (m68k_gdbarch_init): Remove empty 'if'. 2188 1.1 christos * remote.c (handle_notification): Use braces for empty 'else' body. 2189 1.1 christos * s390-tdep.c (s390_analyze_prologue): Use braces for empty 2190 1.1 christos 'else' body. 2191 1.1 christos * sh64-tdep.c (sh64_push_dummy_call): Use braces for empty 2192 1.1 christos 'else' body. 2193 1.1 christos * solib-som.c (som_relocate_section_addresses): Use braces 2194 1.1 christos for empty 'else' body. 2195 1.1 christos * ui-file.c (stdio_file_write): Use braces for empty 'if' body. 2196 1.1 christos (stdio_file_write_async_safe, stdio_file_fputs): Likewise. 2197 1.1 christos 2198 1.1 christos 2012-11-02 Pedro Alves <palves (a] redhat.com> 2199 1.1 christos 2200 1.1 christos PR gdb/14766 2201 1.1 christos 2202 1.1 christos * infrun.c (handle_inferior_event) 2203 1.1 christos <TARGET_WAITKIND_EXITED/TARGET_WAITKIND_SIGNALLED>: Switch to 2204 1.1 christos null_ptid before handling a vfork child exec or exit. Switch to 2205 1.1 christos the event ptid afterwards. 2206 1.1 christos 2207 1.1 christos 2012-11-02 Yao Qi <yao (a] codesourcery.com> 2208 1.1 christos 2209 1.1 christos * std-operator.def: Remove OP_LABELED. 2210 1.1 christos * eval.c: Remove the declaration of 'get_label'. 2211 1.1 christos (get_label): Remove. 2212 1.1 christos (evaluate_struct_tuple): Remove code handling OP_LABELED. 2213 1.1 christos Update comment. 2214 1.1 christos Remove local variable 'variantno' and related code. 2215 1.1 christos Replace 'substruct_type' with 'struct_type'. Replace 'subfieldno' 2216 1.1 christos with 'fieldno'. 2217 1.1 christos * expprint.c (print_subexp_standard): Likewise. 2218 1.1 christos (dump_subexp_body_standard): Likewise. 2219 1.1 christos * parse.c (operator_length_standard): Likewise. 2220 1.1 christos 2221 1.1 christos 2012-11-01 Pierre Muller <muller (a] ics.u-strasbg.fr> 2222 1.1 christos 2223 1.1 christos Incorporate ARI web page generator into GDB sources. 2224 1.1 christos * contrib/ari/create-web-ari-in-src.sh: New file. 2225 1.1 christos * contrib/ari/gdb_ari.sh: New file. 2226 1.1 christos * contrib/ari/gdb_find.sh: New file. 2227 1.1 christos * contrib/ari/update-web-ari.sh: New file. 2228 1.1 christos 2229 1.1 christos 2012-10-31 Tom Tromey <tromey (a] redhat.com> 2230 1.1 christos 2231 1.1 christos * gdbarch.c: Rebuild. 2232 1.1 christos * gdbarch.sh: Remove references to gdbarch_swap. 2233 1.1 christos * corelow.c (core_open): Remove obsolete comment. 2234 1.1 christos 2235 1.1 christos 2012-10-31 Andrew Burgess <aburgess (a] broadcom.com> 2236 1.1 christos 2237 1.1 christos PR cli/14772 2238 1.1 christos * c-typeprint.c (c_print_type): Don't print a space for vector 2239 1.1 christos types, this is handled within the suffix. 2240 1.1 christos (c_type_print_varspec_suffix): Add a space to vector suffix. 2241 1.1 christos 2242 1.1 christos 2012-10-26 Pedro Alves <palves (a] redhat.com> 2243 1.1 christos 2244 1.1 christos * amd64-tdep.c (amd64_relocate_instruction): Use 2245 1.1 christos store_unsigned_integer instead of memcpy. 2246 1.1 christos * i386-tdep.c (i386_relocate_instruction): Ditto. 2247 1.1 christos 2248 1.1 christos 2012-10-26 Pedro Alves <palves (a] redhat.com> 2249 1.1 christos 2250 1.1 christos * infrun.c (handle_inferior_event): Merge handling of 2251 1.1 christos TARGET_WAITKIND_EXITED and TARGET_WAITKIND_SIGNALLED into a single 2252 1.1 christos switch case. 2253 1.1 christos 2254 1.1 christos 2012-10-26 Pedro Alves <palves (a] redhat.com> 2255 1.1 christos 2256 1.1 christos * infrun.c (handle_inferior_event) <TARGET_WAITKIND_SIGNALLED>: 2257 1.1 christos Remove comment. 2258 1.1 christos 2259 1.1 christos 2012-10-26 Pedro Alves <palves (a] redhat.com> 2260 1.1 christos 2261 1.1 christos * target.c (target_waitstatus_to_string): Handle 2262 1.1 christos TARGET_WAITKIND_VFORK_DONE. 2263 1.1 christos 2264 1.1 christos 2012-10-26 Pedro Alves <palves (a] redhat.com> 2265 1.1 christos 2266 1.1 christos * infrun.c (handle_inferior_event): Print TARGET_WAITKIND_VFORKED 2267 1.1 christos as "TARGET_WAITKIND_VFORKED", not "TARGET_WAITKIND_FORKED". 2268 1.1 christos 2269 1.1 christos 2012-10-24 Tristan Gingold <gingold (a] adacore.com> 2270 1.1 christos 2271 1.1 christos * ravenscar-sparc-thread.c (ravenscar_sparc_fetch_registers): 2272 1.1 christos Add comments. 2273 1.1 christos 2274 1.1 christos 2012-10-24 Joel Brobecker <brobecker (a] adacore.com> 2275 1.1 christos 2276 1.1 christos * ravenscar-thread.c (ravenscar_wait): Only update the list 2277 1.1 christos of threads and inferior_ptid if the inferior is still alive. 2278 1.1 christos 2279 1.1 christos 2012-10-24 Joel Brobecker <brobecker (a] adacore.com> 2280 1.1 christos 2281 1.1 christos * ada-lang.c (is_known_support_routine): Use lbasename when 2282 1.1 christos matching the symtab's filename against 2283 1.1 christos known_runtime_file_name_patterns. 2284 1.1 christos 2285 1.1 christos 2012-10-24 Joel Brobecker <brobecker (a] adacore.com> 2286 1.1 christos 2287 1.1 christos * ada-lang.c (ada_same_array_size_p): New function. 2288 1.1 christos (ada_promote_array_of_integrals): New function. 2289 1.1 christos (coerce_for_assign): Add handling of arrays where the elements 2290 1.1 christos are integrals of a smaller size than the size of the target 2291 1.1 christos array element type. 2292 1.1 christos 2293 1.1 christos 2012-10-24 Joel Brobecker <brobecker (a] adacore.com> 2294 1.1 christos 2295 1.1 christos * doublest.c (convert_doublest_to_floatformat): Fix comparison 2296 1.1 christos against maximum exponent value. 2297 1.1 christos 2298 1.1 christos 2012-10-24 Joel Brobecker <brobecker (a] adacore.com> 2299 1.1 christos 2300 1.1 christos * ada-lang.h (ADA_KNOWN_RUNTIME_FILE_NAME_PATTERNS): Add entry for 2301 1.1 christos "unwind-seh.c". 2302 1.1 christos 2303 1.1 christos 2012-10-24 Joel Brobecker <brobecker (a] adacore.com> 2304 1.1 christos 2305 1.1 christos * ada-lang.c (ada_template_to_fixed_record_type_1): Do not 2306 1.1 christos strip typedef layer when computing the fixed type's field type, 2307 1.1 christos only when computing its size. 2308 1.1 christos 2309 1.1 christos 2012-10-24 Mark Kettenis <kettenis (a] gnu.org> 2310 1.1 christos 2311 1.1 christos PR gdb/12783 2312 1.1 christos * i386-tdep.c (i386_return_value): Handle complex double and long 2313 1.1 christos double. 2314 1.1 christos 2315 1.1 christos 2012-10-24 Joel Brobecker <brobecker (a] adacore.com> 2316 1.1 christos 2317 1.1 christos * windows-nat.c (windows_create_inferior) [!__CYGWIN__]: 2318 1.1 christos New local variable args_len. 2319 1.1 christos Quote the name of the executable when computing the command line. 2320 1.1 christos 2321 1.1 christos 2012-10-23 Mark Kettenis <kettenis (a] gnu.org> 2322 1.1 christos 2323 1.1 christos PR gdb/12796 2324 1.1 christos PR gdb/12798 2325 1.1 christos PR gdb/12800 2326 1.1 christos * amd64-tdep.h (enum amd64_regnum): Add AMD64_ST1_REGNUM and 2327 1.1 christos AMD64_FTAG_REGNUM. 2328 1.1 christos * amd64-tdep.c (amd64_classify): Classify complex types. 2329 1.1 christos (amd64_return_value): Handle the COMPLEX_X87 class. 2330 1.1 christos 2331 1.1 christos 2012-10-23 Joel Brobecker <brobecker (a] adacore.com> 2332 1.1 christos 2333 1.1 christos * rs6000-aix-tdep.c (rs6000_aix_auto_wide_charset): New function. 2334 1.1 christos (rs6000_aix_init_osabi): Set auto_wide_charset gdbarch method. 2335 1.1 christos 2336 1.1 christos 2012-10-23 Joel Brobecker <brobecker (a] adacore.com> 2337 1.1 christos 2338 1.1 christos * amd64-windows-tdep.c (amd64_windows_auto_wide_charset): New 2339 1.1 christos function. 2340 1.1 christos (amd64_windows_init_abi): Set auto_wide_charset gdbarch method 2341 1.1 christos to amd64_windows_auto_wide_charset. 2342 1.1 christos 2343 1.1 christos 2012-10-23 Yao Qi <yao (a] codesourcery.com> 2344 1.1 christos 2345 1.1 christos * event-top.c (mark_async_signal_handler_wrapper): Remove. 2346 1.1 christos * event-top.h: Remove its declaration. 2347 1.1 christos (async_request_quit): Call mark_async_signal_handler instead of 2348 1.1 christos mark_async_signal_handler_wrapper. 2349 1.1 christos (async_do_nothing, async_disconnect): Likewise. 2350 1.1 christos (async_stop_sig): Likewise. 2351 1.1 christos * remote.c (handle_remote_sigint): Likewise. 2352 1.1 christos (handle_remote_sigint_twice): Likewise. 2353 1.1 christos 2354 1.1 christos 2012-10-23 Yao Qi <yao (a] codesourcery.com> 2355 1.1 christos 2356 1.1 christos * event-top.c (sigint_token, sighup_token): Replace 'void *' 2357 1.1 christos with 'static struct async_signal_handler *'. 2358 1.1 christos (sighup_token, sigquit_token, sigstp_token): Likewise. 2359 1.1 christos 2360 1.1 christos 2012-10-22 Ali Anwar <ali_anwar (a] codesourcery.com> 2361 1.1 christos 2362 1.1 christos * gdbarch.sh (function_list): Use 'pstring' when printing 2363 1.1 christos a variable which could return NULL. 2364 1.1 christos * gdbarch.c: Regenerate. 2365 1.1 christos 2366 1.1 christos 2012-10-10 Joel Brobecker <brobecker (a] adacore.com> 2367 1.1 christos Tom Tromey <tromey (a] redhat.com> 2368 1.1 christos 2369 1.1 christos * rs6000-aix-tdep.c (rs6000_aix_osabi_sniffer): Replace 2370 1.1 christos inneffective if condition by gdb assertion. Add function 2371 1.1 christos description comment. 2372 1.1 christos 2373 1.1 christos 2012-10-19 Joel Brobecker <brobecker (a] adacore.com> 2374 1.1 christos 2375 1.1 christos * parser-defs.h (struct exp_descriptor): Document constraint 2376 1.1 christos on return value for "op_name" callbacks. 2377 1.1 christos 2378 1.1 christos 2012-10-18 Tom Tromey <tromey (a] redhat.com> 2379 1.1 christos 2380 1.1 christos * tracepoint.c (print_one_static_tracepoint_marker): Constify. 2381 1.1 christos * symtab.c (iterate_over_some_symtabs): Constify. 2382 1.1 christos * source.h (symtab_to_fullname): Return 'const char *'. 2383 1.1 christos * source.c (symtab_to_fullname): Return 'const char *'. 2384 1.1 christos * python/py-symtab.c (stpy_fullname): Constify. 2385 1.1 christos * cli/cli-cmds.c (edit_command): Constify. 2386 1.1 christos * breakpoint.c (print_breakpoint_location) 2387 1.1 christos (update_static_tracepoint): Constify. 2388 1.1 christos 2389 1.1 christos 2012-10-18 Tom Tromey <tromey (a] redhat.com> 2390 1.1 christos 2391 1.1 christos * breakpoint.c (compare_breakpoints): Fix comparison. 2392 1.1 christos 2393 1.1 christos 2012-10-18 Tom Tromey <tromey (a] redhat.com> 2394 1.1 christos 2395 1.1 christos * valprint.c (generic_emit_char, generic_printstr): Pass size of 2396 1.1 christos gdb_wchar_t to convert_between_encodings. 2397 1.1 christos 2398 1.1 christos 2012-10-17 Yao Qi <yao (a] codesourcery.com> 2399 1.1 christos 2400 1.1 christos * breakpoint.c (invalidate_bp_value_on_memory_change): Add one 2401 1.1 christos more parameter 'inferior'. 2402 1.1 christos * corefile.c (write_memory_with_notification): Caller update. 2403 1.1 christos 2404 1.1 christos * mi/mi-cmd-var.c: Include "mi-main.h". 2405 1.1 christos (mi_cmd_var_assign): Set mi_suppress_notification.data_write_memory 2406 1.1 christos to 1 and restore it later. 2407 1.1 christos * mi/mi-cmds.c (mi_cmd mi_cmds): Update for "data-write-memory" 2408 1.1 christos and "data-write-memory-bytes. 2409 1.1 christos * mi/mi-interp.c: Include objfiles.h. 2410 1.1 christos (mi_interpreter_init): Call observer_attach_memory_changed. 2411 1.1 christos (mi_memory_changed): New. 2412 1.1 christos * mi/mi-main.h (struct mi_suppress_notification) <memory>: 2413 1.1 christos New field. 2414 1.1 christos 2415 1.1 christos * NEWS: Mention new MI notification "memory-changed". 2416 1.1 christos 2417 1.1 christos 2012-10-16 Jan Kratochvil <jan.kratochvil (a] redhat.com> 2418 1.1 christos 2419 1.1 christos * dwarf2loc.c (dwarf_expr_reg_to_entry_parameter): Remove comment. 2420 1.1 christos 2421 1.1 christos 2012-10-15 Doug Evans <dje (a] google.com> 2422 1.1 christos 2423 1.1 christos New option -nh: inhibit loading of ~/.gdbinit. 2424 1.1 christos * NEWS: Mention -nh. 2425 1.1 christos * main.c (captured_main): Recognize and process -nh. 2426 1.1 christos (print_gdb_help): Mention -nh. 2427 1.1 christos * gdb.1: Mention -nh. Remove erroneous docs on -nx behavior. 2428 1.1 christos 2429 1.1 christos 2012-10-15 H.J. Lu <hongjiu.lu (a] intel.com> 2430 1.1 christos 2431 1.1 christos PR backtrace/14646 2432 1.1 christos PR gdb/14647 2433 1.1 christos * i386-tdep.h (gdbarch_tdep): Remove sp_regnum_from_eax and 2434 1.1 christos pc_regnum_from_eax. 2435 1.1 christos * i386-tdep.c (i386_gdbarch_init): Don't use sp_regnum_from_eax 2436 1.1 christos nor pc_regnum_from_eax. 2437 1.1 christos * amd64-tdep.c (amd64_x32_init_abi): Don't set sp_regnum_from_eax 2438 1.1 christos nor pc_regnum_from_eax. 2439 1.1 christos 2440 1.1 christos 2012-10-15 Jan Kratochvil <jan.kratochvil (a] redhat.com> 2441 1.1 christos 2442 1.1 christos Fix entry values resolving in inlined frames. 2443 1.1 christos * dwarf2loc.c (dwarf_expr_reg_to_entry_parameter): Move func_addr, 2444 1.1 christos gdbarch and caller_frame initialization later. Skip INLINE_FRAME 2445 1.1 christos entries of FRAME. 2446 1.1 christos 2447 1.1 christos 2012-10-15 Joel Brobecker <brobecker (a] adacore.com> 2448 1.1 christos 2449 1.1 christos * configure.ac: Build with -DMS_WIN64 if building with Python 2450 1.1 christos enabled using GCC on amd64-windows. 2451 1.1 christos * configure: Regenerate. 2452 1.1 christos 2453 1.1 christos 2012-10-15 Tom Tromey <tromey (a] redhat.com> 2454 1.1 christos 2455 1.1 christos PR python/14635: 2456 1.1 christos * python/py-symtab.c (del_objfile_sal): Set 'symtab' field 2457 1.1 christos to Py_None. 2458 1.1 christos 2459 1.1 christos 2012-10-15 Tom Tromey <tromey (a] redhat.com> 2460 1.1 christos 2461 1.1 christos PR python/14634: 2462 1.1 christos * python/py-symbol.c (sympy_dealloc): Check for NULL symbol. 2463 1.1 christos 2464 1.1 christos 2012-10-11 Andrew Burgess <aburgess (a] broadcom.com> 2465 1.1 christos 2466 1.1 christos * remote-sim.c (gdbsim_create_inferior): Call init_thread_list to 2467 1.1 christos reset thread numbering back to 1. 2468 1.1 christos 2469 1.1 christos 2012-10-11 Doug Evans <dje (a] google.com> 2470 1.1 christos 2471 1.1 christos PR breakpoints/14643. 2472 1.1 christos * linespec.c (struct ls_parser): New member keyword_ok. 2473 1.1 christos (linespec_lexer_lex_string): Add comment. 2474 1.1 christos (linespec_lexer_lex_one): Ignore keywords if it's the wrong place 2475 1.1 christos for one. 2476 1.1 christos (parse_linespec): Set keyword_ok. 2477 1.1 christos 2478 1.1 christos 2012-10-10 Doug Evans <dje (a] google.com> 2479 1.1 christos 2480 1.1 christos * dwarf2read.c (process_psymtab_comp_unit_reader): Remove duplicate 2481 1.1 christos "0x" prefix on address in log message. 2482 1.1 christos 2483 1.1 christos * dwarf2read.c (read_1_byte): Add const to buf parameter. 2484 1.1 christos (read_1_signed_byte, read_2_bytes, read_2_signed_bytes): Ditto. 2485 1.1 christos (read_4_bytes, read_4_signed_bytes, read_8_bytes): Ditto. 2486 1.1 christos (lookup_dwo_file): Add const to dwo_name parameter. 2487 1.1 christos (lookup_dwo_comp_unit, lookup_dwo_type_unit): Ditto. 2488 1.1 christos 2489 1.1 christos 2012-10-06 Jan Kratochvil <jan.kratochvil (a] redhat.com> 2490 1.1 christos 2491 1.1 christos Fix crash during stepping on ppc32. 2492 1.1 christos * ppc-linux-tdep.c (powerpc_linux_in_dynsym_resolve_code): Test NULL 2493 1.1 christos SYM. 2494 1.1 christos 2495 1.1 christos 2012-10-03 Doug Evans <dje (a] google.com> 2496 1.1 christos 2497 1.1 christos PR symtab/14601 2498 1.1 christos * buildsym.c (buildsym_init): Reset using_directives to NULL. 2499 1.1 christos 2500 1.1 christos 2012-10-02 Andrew Burgess <aburgess (a] broadcom.com> 2501 1.1 christos 2502 1.1 christos * remote-sim.c (dump_mem): Always dump buffer contents, zero fill 2503 1.1 christos output and use uint32_t not long to ensure 4 byte size. 2504 1.1 christos 2505 1.1 christos 2012-10-02 Joel Brobecker <brobecker (a] adacore.com> 2506 1.1 christos 2507 1.1 christos * rs6000-nat.c (add_vmap): Set "last" to "next" after having 2508 1.1 christos unref'ed it. 2509 1.1 christos 2510 1.1 christos 2012-10-01 Andrew Burgess <aburgess (a] broadcom.com> 2511 1.1 christos 2512 1.1 christos * target.c (simple_search_memory): Include access length in 2513 1.1 christos warning message. 2514 1.1 christos 2515 1.1 christos 2012-09-28 Nathan Miller <nathanm2 (a] us.ibm.com> 2516 1.1 christos Edjunior Machado <emachado (a] linux.vnet.ibm.com> 2517 1.1 christos 2518 1.1 christos PR gdb/13989 2519 1.1 christos * solib.c (solib_find): Prevent GDB from loading native libraries when 2520 1.1 christos debugging a cross-target corefile. 2521 1.1 christos 2522 1.1 christos 2012-09-28 selven <pcthegreat (a] gmail.com> 2523 1.1 christos 2524 1.1 christos Make definition match declaration. 2525 1.1 christos 2526 1.1 christos * regcache.c (regcache_register_status): Change return type to 2527 1.1 christos enum register_status. 2528 1.1 christos 2529 1.1 christos 2012-09-28 Yao Qi <yao (a] codesourcery.com> 2530 1.1 christos 2531 1.1 christos * mi/mi-main.c (mi_cmd_data_write_memory): Call 2532 1.1 christos write_memory_with_notification instead of write_memory. 2533 1.1 christos (mi_cmd_data_write_memory_bytes): Call write_memory_with_notification 2534 1.1 christos instead of target_write_memory. 2535 1.1 christos 2536 1.1 christos 2012-09-28 Yao Qi <yao (a] codesourcery.com> 2537 1.1 christos 2538 1.1 christos * mi/mi-main.c (mi_cmd_data_write_memory_bytes): Emit error 2539 1.1 christos when the length of content is not an even number. 2540 1.1 christos 2541 1.1 christos 2012-09-27 Tom Tromey <tromey (a] redhat.com> 2542 1.1 christos 2543 1.1 christos Fix https://bugzilla.redhat.com/show_bug.cgi?id=849357 2544 1.1 christos * cp-valprint.c (cp_print_value_fields): Use get_vptr_fieldno. 2545 1.1 christos 2546 1.1 christos 2012-09-27 Joel Brobecker <brobecker (a] adacore.com> 2547 1.1 christos 2548 1.1 christos * sol-thread.c (sol_thread_fetch_registers) 2549 1.1 christos (sol_thread_store_registers): Delete commented out code. 2550 1.1 christos 2551 1.1 christos 2012-09-27 Joel Brobecker <brobecker (a] adacore.com> 2552 1.1 christos 2553 1.1 christos * sol-thread.c (ps_lgetxregsize, ps_lgetxregs, ps_lsetxregs): 2554 1.1 christos Move these functions to sparc-sol-thread.c. 2555 1.1 christos * sparc-sol-thread.c: New file. 2556 1.1 christos * configure.ac: Add sparc-sol-thread.o to CONFIG_OBS and 2557 1.1 christos sparc-sol-thread.c to CONFIG_SRCS for sparc-solaris native 2558 1.1 christos configurations. 2559 1.1 christos * configure: Regenerate. 2560 1.1 christos 2561 1.1 christos 2012-09-27 Joel Brobecker <brobecker (a] adacore.com> 2562 1.1 christos 2563 1.1 christos * sol-thread.c (ps_lgetxregsize, ps_lgetxregs, ps_lsetxregs): 2564 1.1 christos Remove commented-out code. 2565 1.1 christos 2566 1.1 christos 2012-09-27 Joel Brobecker <brobecker (a] adacore.com> 2567 1.1 christos 2568 1.1 christos * sol-thread.c (ps_lgetxregsize, ps_lgetxregs, ps_lsetxregs): 2569 1.1 christos Enable this code for sparc hosts only. 2570 1.1 christos 2571 1.1 christos 2012-09-27 Joel Brobecker <brobecker (a] adacore.com> 2572 1.1 christos 2573 1.1 christos * procfs.h (procfs_find_LDT_entry): Add declaration. 2574 1.1 christos * sol-thread.c (ps_lgetLDT): Delete local declaration of 2575 1.1 christos function procfs_find_LDT_entry. 2576 1.1 christos 2577 1.1 christos 2012-09-27 Joel Brobecker <brobecker (a] adacore.com> 2578 1.1 christos 2579 1.1 christos * procfs.c (proc_get_LDT_entry): Make static. 2580 1.1 christos 2581 1.1 christos 2012-09-27 Joel Brobecker <brobecker (a] adacore.com> 2582 1.1 christos 2583 1.1 christos * procfs.c (proc_find_memory_regions): Fix declaration. 2584 1.1 christos 2585 1.1 christos 2012-09-27 Siddhesh Poyarekar <siddhesh (a] redhat.com> 2586 1.1 christos 2587 1.1 christos * amd64-tdep.c (amd64_return_value): Revert previous change 2588 1.1 christos that used TYPE_LENGTH directly. 2589 1.1 christos * bfin-tdep.c (bfin_extract_return_value): Likewise. 2590 1.1 christos (bfin_store_return_value): Likewise. 2591 1.1 christos * cris-tdep.c (cris_store_return_value): Likewise. 2592 1.1 christos (cris_extract_return_value): Likewise. 2593 1.1 christos * h8300-tdep.c (h8300_extract_return_value): Likewise. 2594 1.1 christos * hppa-tdep.c (hppa64_return_value): Likewise. 2595 1.1 christos * lm32-tdep.c (lm32_store_return_value): Likewise. 2596 1.1 christos * microblaze-tdep.c (microblaze_store_return_value): Likewise. 2597 1.1 christos * spu-tdep.c (spu_value_from_register): Likewise. 2598 1.1 christos * vax-tdep.c (vax_return_value): Likewise. 2599 1.1 christos 2600 1.1 christos 2012-09-27 Siddhesh Poyarekar <siddhesh (a] redhat.com> 2601 1.1 christos 2602 1.1 christos * gdbtypes.c (lookup_array_range_type): Expand parameters 2603 1.1 christos LOW_BOUND and HIGH_BOUND to LONGEST. 2604 1.1 christos (lookup_string_range_type): Likewise. 2605 1.1 christos * gdbtypes.h (lookup_array_range_type): Likewise. 2606 1.1 christos (lookup_string_range_type): Likewise. 2607 1.1 christos * valops.c (value_cstring): Expand parameter LEN to ssize_t. 2608 1.1 christos Expand HIGHBOUND to ssize_t. 2609 1.1 christos (value_string): Likewise. 2610 1.1 christos * value.h (value_cstring): Expand parameter LEN to ssize_t. 2611 1.1 christos (value_string): Likewise. 2612 1.1 christos 2613 1.1 christos 2012-09-27 Yao Qi <yao (a] codesourcery.com> 2614 1.1 christos 2615 1.1 christos PR breakpoints/13898 2616 1.1 christos * breakpoint.h (tracepoint_breakpoint_ops): Forward declaration. 2617 1.1 christos * mi/mi-cmd-break.c (mi_cmd_break_insert): Set breakpoint_ops 2618 1.1 christos per breakpoint type. 2619 1.1 christos 2620 1.1 christos 2012-09-26 Pierre Muller <muller (a] ics.u-strasbg.fr> 2621 1.1 christos 2622 1.1 christos * procfs.c: Add gdb_bfd header. 2623 1.1 christos * rs6000-nat.c: Likewise. 2624 1.1 christos * solib-pa64.c: Likewise. 2625 1.1 christos * spu-linux-nat.c: Likewise. 2626 1.1 christos * windows-nat.c: Likewise. 2627 1.1 christos 2628 1.1 christos 2012-09-26 Tom Tromey <tromey (a] redhat.com> 2629 1.1 christos 2630 1.1 christos * f-lang.h (BLANK_COMMON_NAME_LOCAL): Remove. 2631 1.1 christos 2632 1.1 christos 2012-09-26 Tom Tromey <tromey (a] redhat.com> 2633 1.1 christos 2634 1.1 christos * dwarf2read.c (mark_common_block_symbol_computed): New function. 2635 1.1 christos (read_common_block): Handle child DIEs with 2636 1.1 christos DW_AT_data_member_location. 2637 1.1 christos (new_symbol_full): Add special case for common blocks. 2638 1.1 christos 2639 1.1 christos 2012-09-26 Jan Kratochvil <jan.kratochvil (a] redhat.com> 2640 1.1 christos Tom Tromey <tromey (a] redhat.com> 2641 1.1 christos 2642 1.1 christos * dwarf2read.c (read_common_block): Rewrite. 2643 1.1 christos (new_symbol_full): Handle DW_TAG_common_block. 2644 1.1 christos * f-lang.c (head_common_list, find_common_for_function): 2645 1.1 christos Remove. 2646 1.1 christos * f-lang.h (struct common_entry, struct saved_f77_common, 2647 1.1 christos SAVED_F77_COMMON, SAVED_F77_COMMON_PTR, COMMON_ENTRY, 2648 1.1 christos COMMON_ENTRY_PTR, head_common_list, find_common_for_function, 2649 1.1 christos BLANK_COMMON_NAME_LOCAL): Remove. 2650 1.1 christos (struct common_block): New. 2651 1.1 christos * f-valprint.c (list_all_visible_commons): Remove. 2652 1.1 christos (info_common_command_for_block): New function. 2653 1.1 christos (info_common_command): Use it. 2654 1.1 christos * stack.c (iterate_over_block_locals): Special case for 2655 1.1 christos COMMON_BLOCK_DOMAIN. 2656 1.1 christos * symtab.h (enum domain_enum_tag) <COMMON_BLOCK_DOMAIN>: New 2657 1.1 christos constant. 2658 1.1 christos (struct general_symbol_info) <value.common_block>: New field. 2659 1.1 christos (SYMBOL_VALUE_COMMON_BLOCK): New define. 2660 1.1 christos 2661 1.1 christos 2012-09-26 Jan Kratochvil <jan.kratochvil (a] redhat.com> 2662 1.1 christos Tom Tromey <tromey (a] redhat.com> 2663 1.1 christos 2664 1.1 christos * f-lang.c (allocate_saved_bf_node, 2665 1.1 christos allocate_saved_function_node, allocate_saved_f77_common_node, 2666 1.1 christos allocate_common_entry_node, tail_common_list, current_common, 2667 1.1 christos saved_bf_list, saved_bf_list_end, current_head_bf_list, 2668 1.1 christos tmp_bf_ptr, add_common_block, add_common_entry, 2669 1.1 christos find_first_common_named, patch_common_entries, 2670 1.1 christos patch_all_commons_by_name, ADD_BF_SYMNUM, clear_bf_list, 2671 1.1 christos global_remote_debug, get_bf_for_fcn, saved_function_list, 2672 1.1 christos saved_function_list_end, clear_function_list, struct saved_fcn, 2673 1.1 christos struct saved_bf_symnum, SAVED_FUNCTION, SAVED_FUNCTION_PTR, 2674 1.1 christos SAVED_BF, SAVED_BF_PTR): Remove. 2675 1.1 christos * f-lang.h (tail_common_list, current_common, 2676 1.1 christos UNINITIALIZED_SECNUM, COMMON_NEEDS_PATCHING, 2677 1.1 christos BLANK_COMMON_NAME_ORIGINAL, BLANK_COMMON_NAME_MF77, 2678 1.1 christos DEFAULT_UPPER_BOUND, DEFAULT_LOWER_BOUND, real_main_name, 2679 1.1 christos real_main_c_value): Remove. 2680 1.1 christos * f-valprint.c (there_is_a_visible_common_named): Remove. 2681 1.1 christos 2682 1.1 christos 2012-09-26 Andrew Burgess <aburgess (a] broadcom.com> 2683 1.1 christos 2684 1.1 christos * breakpoint.c (update_global_location_list): Ignore previous 2685 1.1 christos duplicate status of a breakpoint when starting a new scan for 2686 1.1 christos duplicate breakpoints. 2687 1.1 christos 2688 1.1 christos 2012-09-26 Karthik Bhat <kv.bhat (a] samsung.com> 2689 1.1 christos PR breakpoints/14419 2690 1.1 christos * arm-tdep.c (arm_skip_prologue): Extending producer check to 2691 1.1 christos support LLVM compiler. 2692 1.1 christos 2693 1.1 christos 2012-09-26 Siddhesh Poyarekar <siddhesh (a] redhat.com> 2694 1.1 christos 2695 1.1 christos * amd64-tdep.c (amd64_return_value): Use TYPE_LENGTH directly. 2696 1.1 christos * bfin-tdep.c (bfin_extract_return_value): Likewise. 2697 1.1 christos (bfin_store_return_value): Likewise. 2698 1.1 christos * cris-tdep.c (cris_store_return_value): Likewise. 2699 1.1 christos (cris_extract_return_value): Likewise. 2700 1.1 christos * h8300-tdep.c (h8300_extract_return_value): Likewise. 2701 1.1 christos * hppa-tdep.c (hppa64_return_value): Likewise. 2702 1.1 christos * lm32-tdep.c (lm32_store_return_value): Likewise. 2703 1.1 christos * microblaze-tdep.c (microblaze_store_return_value): Likewise. 2704 1.1 christos * spu-tdep.c (spu_value_from_register): Likewise. 2705 1.1 christos * vax-tdep.c (vax_return_value): Likewise. 2706 1.1 christos 2707 1.1 christos 2012-09-26 Siddhesh Poyarekar <siddhesh (a] redhat.com> 2708 1.1 christos 2709 1.1 christos * breakpoint.c (invalidate_bp_value_on_memory_change): Expand 2710 1.1 christos parameter LEN to ssize_t. 2711 1.1 christos 2712 1.1 christos 2012-09-25 Siddhesh Poyarekar <siddhesh (a] redhat.com> 2713 1.1 christos 2714 1.1 christos * ada-valprint.c (ada_val_print_1): Eliminate single-use 2715 1.1 christos variable LEN. 2716 1.1 christos * alpha-tdep.c (alpha_extract_return_value): Use TYPE_LENGTH 2717 1.1 christos directly. 2718 1.1 christos (alpha_store_return_value): Likewise. 2719 1.1 christos * amd64-tdep.c (amd64_classify_aggregate): Likewise. 2720 1.1 christos (amd64_push_arguments): Likewise. 2721 1.1 christos * ax-gdb.c (gen_trace_static_fields): Likewise. 2722 1.1 christos (gen_traced_pop): Likewise. 2723 1.1 christos * bfin-tdep.c (bfin_push_dummy_call): Likewise. 2724 1.1 christos * breakpoint.c (update_watchpoint): Likewise. 2725 1.1 christos * findcmd.c (parse_find_args): Use local variable for type 2726 1.1 christos instead of length. 2727 1.1 christos * findvar.c (default_read_var_value): Use TYPE_LENGTH directly. 2728 1.1 christos * h8300-tdep.c (h8300h_extract_return_value): Likewise. 2729 1.1 christos (h8300_store_return_value): Likewise. 2730 1.1 christos * i386-darwin-tdep.c (i386_darwin_push_dummy_call): Likewise. 2731 1.1 christos Use i386_darwin_arg_type_alignment directly. 2732 1.1 christos * infcall.c (call_function_by_hand): Use TYPE_LENGTH directly. 2733 1.1 christos * lm32-tdep.c (lm32_push_dummy_call): Likewise. 2734 1.1 christos * m68hc11-tdep.c (m68hc11_push_dummy_call): Likewise. 2735 1.1 christos (m68hc11_extract_return_value): Likewise. 2736 1.1 christos * mep-tdep.c (mep_push_dummy_call): Likewise. 2737 1.1 christos * printcmd.c (float_type_from_length): Likewise. 2738 1.1 christos * s390-tdep.c (s390_value_from_register): Likewise. 2739 1.1 christos * stack.c (read_frame_arg): Likewise. 2740 1.1 christos * tracepoint.c (encode_actions_1): Likewise. 2741 1.1 christos * valops.c (value_fetch_lazy): Use local variable for type 2742 1.1 christos instead of length. Use TYPE_LENGTH directly. 2743 1.1 christos * value.c (value_contents_equal): Use TYPE_LENGTH directly. 2744 1.1 christos 2745 1.1 christos 2012-09-25 Joel Brobecker <brobecker (a] adacore.com> 2746 1.1 christos 2747 1.1 christos * symtab.c (skip_prologue_sal): Fix typo in comment. 2748 1.1 christos 2749 1.1 christos 2012-09-25 Joel Brobecker <brobecker (a] adacore.com> 2750 1.1 christos 2751 1.1 christos * linespec.c (create_sals_line_offset): Fix typo in comment. 2752 1.1 christos 2753 1.1 christos 2012-09-25 Siddhesh Poyarekar <siddhesh (a] redhat.com> 2754 1.1 christos 2755 1.1 christos * c-typeprint.c (c_type_print_varspec_suffix): Remove cast and 2756 1.1 christos use plongest to print the array size. 2757 1.1 christos 2758 1.1 christos 2012-09-24 Siddhesh Poyarekar <siddhesh (a] redhat.com> 2759 1.1 christos 2760 1.1 christos * m2-typeprint.c (m2_enum): Expand LASTVAL to LONGEST. 2761 1.1 christos * p-valprint.c (pascal_type_print_base): Likewise. 2762 1.1 christos 2763 1.1 christos 2012-09-22 Yao Qi <yao (a] codesourcery.com> 2764 1.1 christos 2765 1.1 christos * remote.c (remote_get_trace_status): Remove setting default 2766 1.1 christos values of fields of 'ts'. 2767 1.1 christos 2768 1.1 christos 2012-09-21 Jan Kratochvil <jan.kratochvil (a] redhat.com> 2769 1.1 christos 2770 1.1 christos Fix internal error on canonicalization of clang types. 2771 1.1 christos * cp-name-parser.y (operator): New comment at make_operator call for 2772 1.1 christos new, delete, new[] and delete[]. 2773 1.1 christos (exp): Use "sizeof ". Add new comment at make_operator call. 2774 1.1 christos 2775 1.1 christos 2012-09-21 Jan Kratochvil <jan.kratochvil (a] redhat.com> 2776 1.1 christos 2777 1.1 christos Fix disassemble without parameters in tailcall frame. 2778 1.1 christos * cli/cli-cmds.c (disassemble_current_function): Use 2779 1.1 christos get_frame_address_in_block. 2780 1.1 christos 2781 1.1 christos 2012-09-21 Tom Tromey <tromey (a] redhat.com> 2782 1.1 christos 2783 1.1 christos * c-typeprint.c (c_type_print_base) <TYPE_CODE_STRUCT, 2784 1.1 christos TYPE_CODE_UNION>: Unify, removing a goto. 2785 1.1 christos 2786 1.1 christos 2012-09-21 Tom Tromey <tromey (a] redhat.com> 2787 1.1 christos 2788 1.1 christos * c-typeprint.c (cp_type_print_derivation_info): Fix comment. 2789 1.1 christos 2790 1.1 christos 2012-09-21 Andrew Burgess <aburgess (a] broadcom.com> 2791 1.1 christos 2792 1.1 christos * findvar.c (read_frame_register_value): Mark the result value as 2793 1.1 christos optimized out if any of the input registers have been optimized out. 2794 1.1 christos 2795 1.1 christos 2012-09-21 Andreas Schwab <schwab (a] linux-m68k.org> 2796 1.1 christos 2797 1.1 christos * python/python.c (finalize_python): Only define if HAVE_PYTHON. 2798 1.1 christos 2799 1.1 christos 2012-09-21 Siddhesh Poyarekar <siddhesh (a] redhat.com> 2800 1.1 christos 2801 1.1 christos * eval.c (evaluate_subexp_standard): Eliminate single-use 2802 1.1 christos variable LOWER. 2803 1.1 christos 2804 1.1 christos 2012-09-21 Yao Qi <yao (a] codesourcery.com> 2805 1.1 christos 2806 1.1 christos * mi/mi-interp.c: Declare mi_record_changed. 2807 1.1 christos (mi_interpreter_init): Call observer_attach_record_changed. 2808 1.1 christos (mi_record_changed): New. 2809 1.1 christos * record.c (record_open): Call observer_notify_record_changed. 2810 1.1 christos (cmd_record_stop): Call observer_notify_record_changed. 2811 1.1 christos * NEWS: Mention it. 2812 1.1 christos 2813 1.1 christos 2012-09-20 Tom Tromey <tromey (a] redhat.com> 2814 1.1 christos 2815 1.1 christos * NEWS: Update. 2816 1.1 christos * python/python.c (finalize_python): New function. 2817 1.1 christos (_initialize_python): Make a final cleanup. 2818 1.1 christos 2819 1.1 christos 2012-09-19 Doug Evans <dje (a] google.com> 2820 1.1 christos 2821 1.1 christos * buildsym.h (param_symbols): Delete, unused. 2822 1.1 christos (context_stack): Delete member "params", unused. 2823 1.1 christos * buildsym.c (push_context): Update. 2824 1.1 christos * dwarf2read.c (read_func_scope): Update. 2825 1.1 christos 2826 1.1 christos 2012-09-19 Thomas Schwinge <thomas (a] codesourcery.com> 2827 1.1 christos 2828 1.1 christos * sh-tdep.c (sh_register_convert_to_virtual) 2829 1.1 christos (sh_register_convert_to_raw): Add a gdbarch parameter. Update 2830 1.1 christos all callers. Just do a memcpy if not the little-endian case. 2831 1.1 christos 2832 1.1 christos * h8300-tdep.c (h8300_gdbarch_init): Invoke 2833 1.1 christos set_gdbarch_double_format and set_gdbarch_long_double_format. 2834 1.1 christos * m68hc11-tdep.c (m68hc11_gdbarch_init): Invoke 2835 1.1 christos set_gdbarch_double_format. 2836 1.1 christos * sh-tdep.c (sh_gdbarch_init): Likewise. 2837 1.1 christos 2838 1.1 christos * NEWS: Document the removal of SH's 'regs' command. 2839 1.1 christos * sh-tdep.c (_initialize_sh_tdep): Remove the deprecated 'regs' 2840 1.1 christos command. 2841 1.1 christos 2842 1.1 christos 2012-09-18 Sergio Durigan Junior <sergiodj (a] redhat.com> 2843 1.1 christos 2844 1.1 christos * infcmd.c (_initialize_infcmd): Register `j' as an alias for 2845 1.1 christos `jump'. 2846 1.1 christos 2847 1.1 christos 2012-09-18 Joel Brobecker <brobecker (a] adacore.com> 2848 1.1 christos 2849 1.1 christos * linespec.c (iterate_over_all_matching_symtabs): Use the correct 2850 1.1 christos language when iterating over symbols. 2851 1.1 christos 2852 1.1 christos 2012-09-18 Yao Qi <yao (a] codesourcery.com> 2853 1.1 christos 2854 1.1 christos * mi/mi-interp.c: Declare mi_tsv_created and mi_tsv_deleted. 2855 1.1 christos (mi_interpreter_init): Call observer_attach_tsv_created and 2856 1.1 christos observer_attach_tsv_deleted. 2857 1.1 christos (mi_tsv_created, mi_tsv_deleted): New. 2858 1.1 christos * tracepoint.c (delete_trace_state_variable): Call 2859 1.1 christos observer_notify_tsv_deleted. 2860 1.1 christos (trace_variable_command): Call observer_notify_tsv_created. 2861 1.1 christos (delete_trace_variable_command): Call 2862 1.1 christos observer_notify_tsv_deleted. 2863 1.1 christos (create_tsv_from_upload): Call observer_notify_tsv_created. 2864 1.1 christos * NEWS: Mention it. 2865 1.1 christos 2866 1.1 christos 2012-09-18 Yao Qi <yao (a] codesourcery.com> 2867 1.1 christos 2868 1.1 christos * tracepoint.c (tfind_1): Call observer_notify_traceframe_changed 2869 1.1 christos if traceframe changed. 2870 1.1 christos * mi/mi-cmds.c (mi_cmd mi_cmds): Adjust for command 2871 1.1 christos "trace-find". 2872 1.1 christos * mi/mi-interp.c: Declare 'mi_traceframe_changed'. 2873 1.1 christos (mi_interpreter_init): Hook mi_traceframe_changed to observer 2874 1.1 christos 'traceframe_changed'. 2875 1.1 christos (mi_traceframe_changed): New. 2876 1.1 christos * mi/mi-main.h (struct mi_suppress_notification) <traceframe>: 2877 1.1 christos New field. 2878 1.1 christos * NEWS: Mention the new MI notification. 2879 1.1 christos 2880 1.1 christos 2012-09-17 Mike Wrighton <wrighton (a] codesourcery.com> 2881 1.1 christos 2882 1.1 christos * MAINTAINERS (Write After Approval): Add "Mike Wrighton". 2883 1.1 christos 2884 1.1 christos 2012-09-17 Jan Kratochvil <jan.kratochvil (a] redhat.com> 2885 1.1 christos 2886 1.1 christos * common/linux-ptrace.c: Change __i386__ to __i386__ || __x86_64__. 2887 1.1 christos (linux_ptrace_test_ret_to_nx): Extend comment for x86_64. Change 2888 1.1 christos __i386__ to __i386__ || __x86_64__. Extend code also for __x86_64__. 2889 1.1 christos Extend code also for PaX support. Convert all gdb_assert to warning 2890 1.1 christos calls. 2891 1.1 christos 2892 1.1 christos 2012-09-17 Jan Kratochvil <jan.kratochvil (a] redhat.com> 2893 1.1 christos 2894 1.1 christos Implement auto-load user conveniences suggested by Doug Evans. 2895 1.1 christos * auto-load.c: Include top.h. 2896 1.1 christos (file_is_auto_load_safe): New variable advice_printed. Print advice. 2897 1.1 christos (_initialize_auto_load): New variable scripts_directory_help. Mention 2898 1.1 christos GDBPY_AUTO_FILE_NAME and GDB_AUTO_FILE_NAME for set auto-load 2899 1.1 christos scripts-directory. Document in online help one can use also files for 2900 1.1 christos set auto-load safe-path. 2901 1.1 christos * python/py-auto-load.c: (GDBPY_AUTO_FILE_NAME): Move it from here ... 2902 1.1 christos * python/python.h (GDBPY_AUTO_FILE_NAME): ... to here. 2903 1.1 christos 2904 1.1 christos 2012-09-17 Siddhesh Poyarekar <siddhesh (a] redhat.com> 2905 1.1 christos 2906 1.1 christos * tic6x-tdep.c (tic6x_push_dummy_call): Remove unused definition 2907 1.1 christos of LEN. 2908 1.1 christos 2909 1.1 christos 2012-09-17 Siddhesh Poyarekar <siddhesh (a] redhat.com> 2910 1.1 christos 2911 1.1 christos * m2-valprint.c (m2_print_array_contents): Eliminate variable 2912 1.1 christos ELTLEN and use TYPE_LENGTH directly. 2913 1.1 christos (m2_val_print): Likewise. 2914 1.1 christos * m68k-tdep.c (m68k_svr4_extract_return_value): Eliminate 2915 1.1 christos variable LEN and use TYPE_LENGTH directly. 2916 1.1 christos (m68k_svr4_store_return_value): Likewise. 2917 1.1 christos * mips-tdep.c (mips_o32_push_dummy_call): Eliminate variable 2918 1.1 christos ARGLEN and use TYPE_LENGTH directly. 2919 1.1 christos (mips_o64_push_dummy_call): Likewise. 2920 1.1 christos * s390-tdep (s390_function_arg_pass_by_reference): Eliminate 2921 1.1 christos variable LENGTH and use TYPE_LENGTH directly. 2922 1.1 christos (s390_function_arg_float): Likewise. 2923 1.1 christos (s390_function_arg_integer): Likewise. 2924 1.1 christos (s390_push_dummy_call): Likewise. 2925 1.1 christos (s390_return_value_convention): Likewise. 2926 1.1 christos * spu-tdep.c (spu_push_dummy_call): Eliminate LEN and use 2927 1.1 christos TYPE_LENGTH directly. 2928 1.1 christos 2929 1.1 christos 2012-09-17 Yao Qi <yao (a] codesourcery.com> 2930 1.1 christos 2931 1.1 christos * cli/cli-decode.c (add_setshow_zuinteger_unlimited_cmd): New. 2932 1.1 christos Update comment to add_setshow_integer_cmd. 2933 1.1 christos * cli/cli-setshow.c (do_set_command): Handle case 2934 1.1 christos 'var_zuinteger_unlimited'. 2935 1.1 christos (do_show_command): Likewise. 2936 1.1 christos * cli/cli-cmds.c (init_cmds): Call add_setshow_zuinteger_unlimited_cmd 2937 1.1 christos for command 'remotetimeout'. 2938 1.1 christos * command.h (enum var_types): New zuinteger_unlimited. Update comment 2939 1.1 christos to var_integer. 2940 1.1 christos * source.c (_initialize_source): Call 2941 1.1 christos add_setshow_zuinteger_unlimited_cmd for command 'set listsize'. 2942 1.1 christos 2943 1.1 christos 2012-09-17 Siddhesh Poyarekar <siddhesh (a] redhat.com> 2944 1.1 christos 2945 1.1 christos * infrun.c (restore_infcall_suspend_state): Eliminate single-use 2946 1.1 christos variable LEN. 2947 1.1 christos 2948 1.1 christos 2012-09-17 Jan Kratochvil <jan.kratochvil (a] redhat.com> 2949 1.1 christos 2950 1.1 christos PR 14119 2951 1.1 christos * frame.c (skip_inlined_frames): Skip also TAILCALL_FRAME frames. 2952 1.1 christos (frame_pop): Drop also TAILCALL_FRAME frames. 2953 1.1 christos * infcmd.c (finish_command): Ignore also TAILCALL_FRAME frames. 2954 1.1 christos 2955 1.1 christos 2012-09-17 Jan Kratochvil <jan.kratochvil (a] redhat.com> 2956 1.1 christos Pedro Alves <palves (a] redhat.com> 2957 1.1 christos 2958 1.1 christos PR 14548 2959 1.1 christos * infrun.c (handle_inferior_event): Do not reverse-continue back to the 2960 1.1 christos function start if we are already at function start. Both for 2961 1.1 christos reverse-next and for reverse-step into function without line number 2962 1.1 christos info. 2963 1.1 christos 2964 1.1 christos 2012-09-17 Jan Kratochvil <jan.kratochvil (a] redhat.com> 2965 1.1 christos 2966 1.1 christos Code cleanup - rename 'inline' depth to 'artificial' depth. 2967 1.1 christos * breakpoint.c (set_momentary_breakpoint): Rename at a caller to 2968 1.1 christos frame_id_artificial_p, extend the comment. 2969 1.1 christos * dwarf2-frame-tailcall.c (tailcall_frame_this_id): Rename at a user. 2970 1.1 christos * frame.c (fprint_frame_id): Rename at a user, change debug output 2971 1.1 christos text to "artificial=". 2972 1.1 christos (skip_inlined_frames): Rename to ... 2973 1.1 christos (skip_artificial_frames): ... here. Extend the comment. 2974 1.1 christos (get_stack_frame_id, frame_unwind_caller_id): Rename at a caller. 2975 1.1 christos (frame_id_inlined_p): Rename to ... 2976 1.1 christos (frame_id_artificial_p): ... here. Rename at a user. 2977 1.1 christos (frame_id_eq, frame_id_inner, frame_unwind_caller_pc) 2978 1.1 christos (frame_unwind_caller_pc_if_available, frame_unwind_caller_arch): Rename 2979 1.1 christos at a user. 2980 1.1 christos * frame.h (struct frame_id): Rename inline_depth to artificial_depth. 2981 1.1 christos Extend the comment. 2982 1.1 christos (frame_id_inlined_p): Rename to ... 2983 1.1 christos (frame_id_artificial_p): ... here. 2984 1.1 christos * inline-frame.c (inline_frame_this_id): Rename at a user. 2985 1.1 christos 2986 1.1 christos 2012-09-14 Andrew Burgess <aburgess (a] broadcom.com> 2987 1.1 christos 2988 1.1 christos * c-typeprint.c (c_type_print_varspec_suffix): Display the size of 2989 1.1 christos vector variables using vector_size syntax rather than array 2990 1.1 christos syntax. 2991 1.1 christos 2992 1.1 christos 2012-09-14 Siddhesh Poyarekar <siddhesh (a] redhat.com> 2993 1.1 christos 2994 1.1 christos * valarith.c (value_concat): Replace unsafe ALLOCA with 2995 1.1 christos XMALLOC/XFREE. 2996 1.1 christos 2997 1.1 christos 2012-09-14 Pedro Alves <palves (a] redhat.com> 2998 1.1 christos 2999 1.1 christos * gdb.1 (SEE ALSO): Expand pointer to GDB's Texinfo manual. 3000 1.1 christos 3001 1.1 christos 2012-09-14 Khoo Yit Phang <khooyp (a] cs.umd.edu> 3002 1.1 christos 3003 1.1 christos Point contrib/cc-with-tweaks.sh to the build-local data-directory. 3004 1.1 christos * contrib/cc-with-tweaks.sh (GDB): Add -data-directory 3005 1.1 christos data-directory as appropriate. 3006 1.1 christos 3007 1.1 christos 2012-09-14 Siddhesh Poyarekar <siddhesh (a] redhat.com> 3008 1.1 christos 3009 1.1 christos * printcmd.c (ui_printf): Eliminate single-use variable 3010 1.1 christos PARAM_LEN. 3011 1.1 christos 3012 1.1 christos 2012-09-14 Yao Qi <yao (a] codesourcery.com> 3013 1.1 christos Pedro Alves <palves (a] redhat.com> 3014 1.1 christos 3015 1.1 christos * valops.c (value_assign): Move observer_notify_target_changed 3016 1.1 christos below to replace reinit_frame_cache. 3017 1.1 christos 3018 1.1 christos 2012-09-13 Khoo Yit Phang <khooyp (a] cs.umd.edu> 3019 1.1 christos 3020 1.1 christos Refactor Python "gdb" module into a proper Python package, by 3021 1.1 christos introducing a new "_gdb" module for code implemented in C, and 3022 1.1 christos using reload/__import__ instead of exec. 3023 1.1 christos * python/lib/gdb/__init__.py: Import * from _gdb. 3024 1.1 christos (GdbOutputFile, sys.stdout, GdbOutputErrorFile, sys.stderr, 3025 1.1 christos prompt_hook, sys.argv): Moved from finish_python_initialization. 3026 1.1 christos (pretty_printers, PYTHONDIR): Moved from _initialize_python. 3027 1.1 christos (packages, auto_load_packages): New list and function replacing 3028 1.1 christos module_dict and auto-loading code, using __file__ instead of 3029 1.1 christos gdb.PYTHONDIR and reload/__import__ instead of exec. 3030 1.1 christos (GdbSetPythonDirectory): Replacing function of the same name 3031 1.1 christos from finish_python_initialization, using reload/__import__ instead 3032 1.1 christos of exec, as well as call auto_load_packages. 3033 1.1 christos * python/py-prettyprint.c (find_pretty_printer_from_gdb): Check 3034 1.1 christos gdb_python_module and not gdb_module. 3035 1.1 christos * python/python-internal.h (gdb_python_module): Declare. 3036 1.1 christos * python/python.c (gdb_python_module): New global. 3037 1.1 christos (before_prompt_hook): Check gdb_python_module and not gdb_module. 3038 1.1 christos (_initialize_python): Rename gdb module to _gdb. 3039 1.1 christos Move gdb.PYTHONDIR and gdb.pretty_printer to lib/gdb/__init__.py. 3040 1.1 christos (finish_python_initialization): Move Python code to 3041 1.1 christos lib/gdb/__init__.py; instead, set up sys.path and import gdb into 3042 1.1 christos __main__. 3043 1.1 christos 3044 1.1 christos 2012-09-13 Pedro Alves <palves (a] redhat.com> 3045 1.1 christos 3046 1.1 christos * Makefile.in (COMMON_OBS): Add registry.o. 3047 1.1 christos * registry.c: New file. 3048 1.1 christos * registry.h (struct registry_container): Declare. 3049 1.1 christos (registry_data_callback): New typedef. 3050 1.1 christos (struct registry_data, struct registry_data_registration, struct 3051 1.1 christos registry_data_registry): New type. 3052 1.1 christos (register_data_with_cleanup, registry_alloc_data) 3053 1.1 christos (registry_callback_adaptor, registry_clear_data) 3054 1.1 christos (registry_container_free_data, registry_set_data, registry_data): 3055 1.1 christos Declare. 3056 1.1 christos (DEFINE_REGISTRY): Refactor structures and functions as shims over 3057 1.1 christos the new common structures and functions. 3058 1.1 christos (DECLARE_REGISTRY): Declare struct TAG ## _data. Use the tagged 3059 1.1 christos callback typedefs. 3060 1.1 christos 3061 1.1 christos 2012-09-12 Mike Wrighton <wrighton (a] codesourcery.com> 3062 1.1 christos 3063 1.1 christos * remote.c (remote_insert_hw_breakpoint): Throw exception if 3064 1.1 christos there is an error inserting hardware breakpoints and use the 3065 1.1 christos error message from the target. 3066 1.1 christos 3067 1.1 christos * breakpoint.c (insert_bp_location, insert_breakpoint_locations): 3068 1.1 christos Catch this exception and print the error message contained within. 3069 1.1 christos Do not print the default hardware error breakpoint message in this 3070 1.1 christos case. 3071 1.1 christos 3072 1.1 christos 2012-09-12 Doug Evans <dje (a] google.com> 3073 1.1 christos 3074 1.1 christos * dwarf2read.c (dwarf2_read_addr_index): Fix handling the case where 3075 1.1 christos cu == NULL. 3076 1.1 christos 3077 1.1 christos 2012-09-11 Doug Evans <dje (a] google.com> 3078 1.1 christos 3079 1.1 christos * dwarf2read.c (dw2_do_expand_symtabs_matching): Don't examine 3080 1.1 christos .gdb_index symbol attributes if there are none. 3081 1.1 christos 3082 1.1 christos 2012-09-11 Joel Brobecker <brobecker (a] adacore.com> 3083 1.1 christos 3084 1.1 christos * symtab.h (struct minimal_symbol) [has_size]: New field. 3085 1.1 christos (MSYMBOL_SIZE): Adjust to forbid macro from being used as lvalue. 3086 1.1 christos (SET_MSYMBOL_SIZE, MSYMBOL_HAS_SIZE): New macros. 3087 1.1 christos * printcmd.c (build_address_symbolic): Only filter out zero-sized 3088 1.1 christos minimal symbols if the symbol's size is actually known. 3089 1.1 christos * minsyms.c (prim_record_minimal_symbol_full): Adjust setting 3090 1.1 christos of msymbol's size field. Add comment. 3091 1.1 christos * elfread.c (elf_symtab_read, elf_rel_plt_read): Use 3092 1.1 christos SET_MSYMBOL_SIZE to set the minimal symbol size. 3093 1.1 christos 3094 1.1 christos 2012-09-11 Joel Brobecker <brobecker (a] adacore.com> 3095 1.1 christos 3096 1.1 christos * minsyms.c (install_minimal_symbols): Use memset to fill entire 3097 1.1 christos minimal_symbol struct object, rather than setting some of its 3098 1.1 christos fields one by one. 3099 1.1 christos 3100 1.1 christos 2012-09-11 Andrew Burgess <aburgess (a] broadcom.com> 3101 1.1 christos 3102 1.1 christos * c-typeprint.c (c_type_print_varspec_prefix): Pass through the 3103 1.1 christos passed_a_ptr flag when displaying typedef types. 3104 1.1 christos 3105 1.1 christos 2012-09-10 Joel Brobecker <brobecker (a] adacore.com> 3106 1.1 christos 3107 1.1 christos * ada-lang.c (coerce_unspec_val_to_type): Make sure that 3108 1.1 christos the optimized_out flag is preserved. 3109 1.1 christos 3110 1.1 christos 2012-09-10 Anthony Green <green (a] moxielogic.com> 3111 1.1 christos 3112 1.1 christos * moxie-tdep.c (moxie_analyze_prologue): Update for function 3113 1.1 christos prologue changes in GCC. 3114 1.1 christos 3115 1.1 christos 2012-09-10 Keith Seitz <keiths (a] redhat.com> 3116 1.1 christos 3117 1.1 christos PR gdb/13483 3118 1.1 christos * gdbtypes.h (BOOL_PTR_CONVERSION_BADNESS): Rename to ... 3119 1.1 christos (BOOL_CONVERSION_BADNESS): ... this. 3120 1.1 christos * gdbtypes.c (BOOL_PTR_CONVERSION_BADNESS): Likewise. 3121 1.1 christos (rank_one_type): Allow all boolean conversions 3122 1.1 christos permitted by the standard. 3123 1.1 christos 3124 1.1 christos 2012-09-06 Tom Tromey <tromey (a] redhat.com> 3125 1.1 christos 3126 1.1 christos * python/py-newobjfileevent.c (create_new_objfile_event_object): 3127 1.1 christos Don't decref py_objfile. 3128 1.1 christos 3129 1.1 christos 2012-09-02 Khoo Yit Phang <khooyp (a] cs.umd.edu> 3130 1.1 christos 3131 1.1 christos Do not enable -lmcheck by default when Python is enabled with 3132 1.1 christos threading support. 3133 1.1 christos * configure.ac: (python_has_threads) New variable, by testing 3134 1.1 christos if WITH_THREAD is defined in Python.h. 3135 1.1 christos Move --enable-lmcheck after --with-python. 3136 1.1 christos Do not enable -lmcheck by default if python_has_threads=yes. 3137 1.1 christos Warn if --enable-lmcheck and python_has_threads=yes. 3138 1.1 christos * configure: Regenerate. 3139 1.1 christos 3140 1.1 christos 2012-08-31 Yao Qi <yao (a] codesourcery.com> 3141 1.1 christos 3142 1.1 christos * mi/mi-cmds.c (mi_cmds): New macros DEF_MI_CMD_CLI 3143 1.1 christos DEF_MI_CMD_MI DEF_MI_CMD_CLI_1 and DEF_MI_CMD_CLI_1. 3144 1.1 christos Update some commands. 3145 1.1 christos * mi/mi-cmds.h (struct mi_cmd) <suppress_notification>: New field. 3146 1.1 christos * mi/mi-main.c (mi_cmd_execute): Set 3147 1.1 christos '*parse->cmd->suppress_notification' to 1. 3148 1.1 christos 3149 1.1 christos 2012-08-31 Yao Qi <yao (a] codesourcery.com> 3150 1.1 christos 3151 1.1 christos * mi/mi-cmds.c (mi_cmds): Add 'static'. 3152 1.1 christos 3153 1.1 christos 2012-08-30 Khoo Yit Phang <khooyp (a] cs.umd.edu> 3154 1.1 christos 3155 1.1 christos * MAINTAINERS (Write After Approval): Add "Khoo Yit Phang". 3156 1.1 christos 3157 1.1 christos 2012-08-29 Doug Evans <dje (a] google.com> 3158 1.1 christos 3159 1.1 christos * main.c (print_gdb_help): Remove reference to 3160 1.1 christos --use-deprecated-index-sections. 3161 1.1 christos 3162 1.1 christos 2012-08-28 Yao Qi <yao (a] codesourcery.com> 3163 1.1 christos 3164 1.1 christos * cli/cli-cmds.c (max_user_call_depth): Add 'unsigned'. 3165 1.1 christos (init_cmds): Call add_setshow_uinteger_cmd for command 3166 1.1 christos 'max-user-call-depth'. 3167 1.1 christos * cli/cli-script.c (execute_user_command): Add 'unsigned' to the 3168 1.1 christos declaration of 'max_user_call_depth'. 3169 1.1 christos * frame.c (backtrace_limit): Add 'unsigned'. 3170 1.1 christos (_initialize_frame): Call add_setshow_uinteger_cmd for command 3171 1.1 christos 'limit'. 3172 1.1 christos * remote.c (remoteaddresssize): Add 'unsigned'. 3173 1.1 christos (remote_address_masked): Change local var 'address_size' to 3174 1.1 christos 'unsigned'. 3175 1.1 christos (_initialize_remote): Call add_setshow_uinteger_cmd for 3176 1.1 christos 'remoteaddresssize'. 3177 1.1 christos * top.c (history_size): Add 'unsigned'. 3178 1.1 christos (show_commands): Change local variables to 'unsigned'. 3179 1.1 christos (set_history_size_command): Don't check history_size is negative. 3180 1.1 christos Adjust the condition to call unstifle_history and set history_size 3181 1.1 christos to UNIT_MAX. 3182 1.1 christos 3183 1.1 christos 2012-08-28 Pedro Alves <palves (a] redhat.com> 3184 1.1 christos 3185 1.1 christos PR gdb/14428 3186 1.1 christos 3187 1.1 christos * infcmd.c (default_print_one_register_info): New, factored out 3188 1.1 christos from default_print_registers_info. 3189 1.1 christos (default_print_registers_info): Use it. Mark value unavailable if 3190 1.1 christos necessary. 3191 1.1 christos (registers_info): Print user registers with 3192 1.1 christos default_print_one_register_info. 3193 1.1 christos 3194 1.1 christos 2010-08-27 H.J. Lu <hongjiu.lu (a] intel.com> 3195 1.1 christos 3196 1.1 christos PR tui/14486 3197 1.1 christos * tui/tui-source.c (tui_source_is_displayed): Check if TUI_SRC_WIN 3198 1.1 christos is not NULL before referencing it. 3199 1.1 christos 3200 1.1 christos 2012-08-27 Jan Kratochvil <jan.kratochvil (a] redhat.com> 3201 1.1 christos 3202 1.1 christos * breakpoint.c (parse_breakpoint_sals) <(*address) == NULL>: New 3203 1.1 christos variable pc. Call find_pc_line instead of find_pc_overlay, restore 3204 1.1 christos original PC for it. 3205 1.1 christos 3206 1.1 christos 2012-08-27 Eli Zaretskii <eliz (a] gnu.org> 3207 1.1 christos Jan Kratochvil <jan.kratochvil (a] redhat.com> 3208 1.1 christos 3209 1.1 christos * auto-load.c (auto_load_objfile_script): Rename to ... 3210 1.1 christos (auto_load_objfile_script_1): ... here, change variable realname to 3211 1.1 christos parameter realname, document it, add return value, add variable retval. 3212 1.1 christos (auto_load_objfile_script): New function. 3213 1.1 christos 3214 1.1 christos 2012-08-27 Jan Kratochvil <jan.kratochvil (a] redhat.com> 3215 1.1 christos 3216 1.1 christos * cli/cli-decode.c (print_doc_line): Keep skipping '.' and ',' not 3217 1.1 christos followed by a whitespace. 3218 1.1 christos 3219 1.1 christos 2012-08-27 Jan Kratochvil <jan.kratochvil (a] redhat.com> 3220 1.1 christos 3221 1.1 christos PR gdb/14494. 3222 1.1 christos * dwarf2read.c (dwarf2_locate_sections): Move variable aflag here. 3223 1.1 christos Move the SEC_HAS_CONTENTS check here - for any NAMES use. 3224 1.1 christos (dwarf2_locate_sections) <eh_frame>: Move the variable and check from 3225 1.1 christos here. 3226 1.1 christos 3227 1.1 christos 2012-08-27 Wei-cheng Wang <cole945 (a] gmail.com> 3228 1.1 christos 3229 1.1 christos * memattr.c (create_mem_region): Fix memory region overlapping 3230 1.1 christos checking. 3231 1.1 christos 3232 1.1 christos 2012-08-24 Siddhesh Poyarekar <siddhesh (a] redhat.com> 3233 1.1 christos 3234 1.1 christos * h8300-tdep.c (h8300_push_dummy_call): Replace unsafe alloca 3235 1.1 christos with xmalloc/cleanup. 3236 1.1 christos * mt-tdep.c (mt_push_dummy_call): Likewise. 3237 1.1 christos * tilegx-tdep.c (tilegx_push_dummy_call): Likewise. 3238 1.1 christos * xstormy16-tdep.c (xstormy16_push_dummy_call): Likewise. 3239 1.1 christos 3240 1.1 christos 2012-08-24 Yao Qi <yao (a] codesourcery.com> 3241 1.1 christos 3242 1.1 christos * jv-exp.y (push_expression_name): Add "." at the end of error 3243 1.1 christos message. 3244 1.1 christos 3245 1.1 christos 2012-08-23 Khoo Yit Phang <khooyp (a] cs.umd.edu> 3246 1.1 christos 3247 1.1 christos Document how to return from "python-interactive" to GDB. 3248 1.1 christos * python/python.c (_initialize_python): Update documentation. 3249 1.1 christos 3250 1.1 christos 2012-08-23 Pedro Alves <palves (a] redhat.com> 3251 1.1 christos 3252 1.1 christos * infrun.c (_initialize_infrun) <handle command help text>: 3253 1.1 christos Mention that multiple signals are supported. 3254 1.1 christos 3255 1.1 christos 2012-08-23 Pedro Alves <palves (a] redhat.com> 3256 1.1 christos 3257 1.1 christos * infcmd.c (_initialize_infcmd) <signal command>: Fix typo in help 3258 1.1 christos string. 3259 1.1 christos 3260 1.1 christos 2012-08-23 Yao Qi <yao (a] codesourcery.com> 3261 1.1 christos 3262 1.1 christos * tracepoint.c (disconnect_tracing): Call set_tracepoint_num. 3263 1.1 christos (tfind_1): Don't call registers_changed, set_traceframe_num, 3264 1.1 christos and clear_traceframe_info. 3265 1.1 christos Call set_current_traceframe. 3266 1.1 christos (set_current_traceframe): call set_traceframe_num. 3267 1.1 christos 3268 1.1 christos 2012-08-22 Sergio Durigan Junior <sergiodj (a] redhat.com> 3269 1.1 christos 3270 1.1 christos * remote-sim.c (_initialize_remote_sim): Pass NULL argument to 3271 1.1 christos `register_inferior_data_with_cleanup', fixing regression on PowerPC64. 3272 1.1 christos 3273 1.1 christos 2012-08-22 Khoo Yit Phang <khooyp (a] cs.umd.edu> 3274 1.1 christos 3275 1.1 christos Enable readline in Python in a GDB-specific way and block the 3276 1.1 christos standard Python readline module to prevent conflicts with GDB. 3277 1.1 christos * Makefile.in (SUBDIR_PYTHON_OBS): Add py-gdb-readline.o. 3278 1.1 christos (SUBDIR_PYTHON_SRCS): Add python/py-gdb-readline.c. 3279 1.1 christos (py-gdb-readline.o): Add rule to compile python/py-gdb-readline.c. 3280 1.1 christos * python/py-gdb-readline.c: New file. 3281 1.1 christos * python/python-internal.h (gdbpy_initialize_gdb_readline): New 3282 1.1 christos prototype. 3283 1.1 christos * python/python.c (_initialize_python): Call 3284 1.1 christos gdbpy_initialize_gdb_readline. 3285 1.1 christos 3286 1.1 christos 2012-08-22 Keith Seitz <keiths (a] redhat.com> 3287 1.1 christos 3288 1.1 christos * defs.h: Include build-gnulib/config.h 3289 1.1 christos 3290 1.1 christos 2012-08-22 Joseph Myers <joseph (a] codesourcery.com> 3291 1.1 christos 3292 1.1 christos * arm-tdep.c (thumb_get_next_pc_raw): Mask off low bits for bx pc 3293 1.1 christos and blx pc. 3294 1.1 christos 3295 1.1 christos 2012-08-22 Khoo Yit Phang <khooyp (a] cs.umd.edu> 3296 1.1 christos 3297 1.1 christos Add a new "python-interactive" command that starts a standard 3298 1.1 christos Python interactive prompt with "pi" as alias, and add "py" as 3299 1.1 christos an alias to "python". 3300 1.1 christos * NEWS: Mention the new commands. 3301 1.1 christos * python/python.c (eval_python_command): New function. 3302 1.1 christos (python_interactive_command): For "python-interactive" with 3303 1.1 christos arguments, call eval_python_command. For "python-interactive" 3304 1.1 christos without arguments, call PyRun_InteractiveLoop. 3305 1.1 christos (_initialize_python): Add "python-interactive" command with 3306 1.1 christos "pi" as alias, and add "py" as an alias to "python". 3307 1.1 christos 3308 1.1 christos 2012-08-22 Tom Tromey <tromey (a] redhat.com> 3309 1.1 christos 3310 1.1 christos * defs.h (quit_flag): Don't declare. 3311 1.1 christos (clear_quit_flag, check_quit_flag, set_quit_flag): Declare. 3312 1.1 christos (QUIT): Use new functions. 3313 1.1 christos * event-top.c (command_handler): Use clear_quit_flag. 3314 1.1 christos (handle_sigint): Use set_quit_flag. 3315 1.1 christos (async_request_quit): Use check_quit_flag. Don't check 3316 1.1 christos immediate_quit. 3317 1.1 christos * exceptions.c (throw_exception): Use clear_quit_flag. 3318 1.1 christos * main.c (captured_main): Use clear_quit_flag. 3319 1.1 christos * python/python.c (clear_quit_flag, set_quit_flag) 3320 1.1 christos (check_quit_flag): New functions. 3321 1.1 christos * remote-sim.c (gdb_os_poll_quit): Use check_quit_flag, 3322 1.1 christos clear_quit_flag. 3323 1.1 christos * remote.c (remote_wait_as): Use check_quit_flag, 3324 1.1 christos clear_quit_flag. 3325 1.1 christos (remote_start_remote): Call QUIT. 3326 1.1 christos * symfile.c (load_progress): Use check_quit_flag. 3327 1.1 christos * top.c (command_loop): Use clear_quit_flag. 3328 1.1 christos (command_line_input): Call QUIT. 3329 1.1 christos * utils.c (quit_flag): Conditionally define. 3330 1.1 christos (clear_quit_flag, check_quit_flag, set_quit_flag): New 3331 1.1 christos functions. 3332 1.1 christos (prompt_for_continue): Call QUIT. Use quit, not 3333 1.1 christos async_request_quit. 3334 1.1 christos * remote-mips.c (mips_expect_timeout): Call QUIT. 3335 1.1 christos * monitor.c (monitor_expect): Call QUIT. 3336 1.1 christos 3337 1.1 christos 2012-08-22 Tom Tromey <tromey (a] redhat.com> 3338 1.1 christos 3339 1.1 christos * event-top.c (sigwinch_token, handle_sigwinch): Remove. 3340 1.1 christos (async_init_signals): Update. 3341 1.1 christos * utils.c (init_page_info): Don't use SIGWINCH_HANDLER. 3342 1.1 christos (SIGWINCH_HANDLER_BODY): Remove. 3343 1.1 christos 3344 1.1 christos 2012-08-22 Tom Tromey <tromey (a] redhat.com> 3345 1.1 christos 3346 1.1 christos * jit.c (jit_object_close_impl): Don't malloc the objfile 3347 1.1 christos name. 3348 1.1 christos * objfiles.c (allocate_objfile): Don't malloc the objfile 3349 1.1 christos name. 3350 1.1 christos (free_objfile): Don't free the objfile name. 3351 1.1 christos * objfiles.h (struct objfile) <name>: Update comment. 3352 1.1 christos * symfile.c (reread_symbols): Fix reference counting. Don't 3353 1.1 christos malloc objfile name. 3354 1.1 christos 3355 1.1 christos 2012-08-22 Tom Tromey <tromey (a] redhat.com> 3356 1.1 christos 3357 1.1 christos * windows-nat.c (windows_make_so): Use gdb_bfd_open. 3358 1.1 christos * symfile.c (bfd_open_maybe_remote): Use gdb_bfd_open. 3359 1.1 christos (symfile_bfd_open): Likewise. 3360 1.1 christos (generic_load): Likewise. 3361 1.1 christos * solib.c (solib_bfd_fopen): Use gdb_bfd_open. 3362 1.1 christos * solib-pa64.c (pa64_solib_create_inferior_hook): Use 3363 1.1 christos gdb_bfd_open. 3364 1.1 christos * solib-darwin.c (darwin_solib_get_all_image_info_addr_at_init): 3365 1.1 christos Use gdb_bfd_open. 3366 1.1 christos * rs6000-nat.c (add_vmap): Use gdb_bfd_open. 3367 1.1 christos * remote-mips.c (mips_load_srec): Use gdb_bfd_open. 3368 1.1 christos (pmon_load_fast): Likewise. 3369 1.1 christos * remote-m32r-sdi.c (m32r_load): Use gdb_bfd_open. 3370 1.1 christos * procfs.c (insert_dbx_link_bpt_in_file): Use gdb_bfd_open. 3371 1.1 christos * machoread.c (macho_symfile_read_all_oso): Use gdb_bfd_open. 3372 1.1 christos (macho_check_dsym): Likewise. 3373 1.1 christos * m32r-rom.c (m32r_load): Use gdb_bfd_open. 3374 1.1 christos (m32r_upload_command): Likewise. 3375 1.1 christos * gdb_bfd.h (gdb_bfd_cache): Declare. 3376 1.1 christos * gdb_bfd.c (struct gdb_bfd_data): New. 3377 1.1 christos (gdb_bfd_cache): New global. 3378 1.1 christos (struct gdb_bfd_cache_search): New. 3379 1.1 christos (hash_bfd): New function. 3380 1.1 christos (eq_bfd): Likewise. 3381 1.1 christos (gdb_bfd_open): Likewise. 3382 1.1 christos (gdb_bfd_ref): Allocate a gdb_bfd_data and attach to the BFD. 3383 1.1 christos (gdb_bfd_unref): Remove closed BFD from cache. Update for 3384 1.1 christos gdb_bfd_data. 3385 1.1 christos * exec.c (exec_file_attach): Use gdb_bfd_open. 3386 1.1 christos * dsrec.c (load_srec): Use gdb_bfd_open. 3387 1.1 christos 3388 1.1 christos 2012-08-22 Tom Tromey <tromey (a] redhat.com> 3389 1.1 christos 3390 1.1 christos * dwarf2read.c (macro_start_file): Update. 3391 1.1 christos * objfiles.c (get_objfile_bfd_data): Initialize macro_cache. 3392 1.1 christos (free_objfile_per_bfd_storage): Destroy macro_cache. 3393 1.1 christos (allocate_objfile, free_objfile): Update. 3394 1.1 christos * objfiles.h (struct objfile_per_bfd_storage) <macro_cache>: 3395 1.1 christos New field. 3396 1.1 christos (struct objfile) <macro_cache>: Remove. 3397 1.1 christos * symfile.c (reread_symbols): Update. 3398 1.1 christos * symmisc.c (print_symbol_bcache_statistics): Update. 3399 1.1 christos (print_objfile_statistics): Update. 3400 1.1 christos 3401 1.1 christos 2012-08-22 Tom Tromey <tromey (a] redhat.com> 3402 1.1 christos 3403 1.1 christos * elfread.c (elf_symtab_read): Update. 3404 1.1 christos * objfiles.c (objfiles_bfd_data): New global. 3405 1.1 christos (get_objfile_bfd_data, free_objfile_per_bfd_storage) 3406 1.1 christos (objfile_bfd_data_free, set_objfile_per_bfd): New functions. 3407 1.1 christos (allocate_objfile, free_objfile): Update. 3408 1.1 christos (_initialize_objfiles): Initialize objfiles_bfd_data. 3409 1.1 christos * objfiles.h (struct objfile_per_bfd_storage): New. 3410 1.1 christos (struct objfile) <per_bfd>: New field. 3411 1.1 christos <filename_cache>: Remove. 3412 1.1 christos (set_objfile_per_bfd): Declare. 3413 1.1 christos * symfile.c (reread_symbols): Update. Call 3414 1.1 christos set_objfile_per_bfd. 3415 1.1 christos (allocate_symtab): Update. 3416 1.1 christos * symmisc.c (print_symbol_bcache_statistics): Update. 3417 1.1 christos (print_objfile_statistics): Print the size of the BFD obstack. 3418 1.1 christos 3419 1.1 christos 2012-08-22 Tom Tromey <tromey (a] redhat.com> 3420 1.1 christos 3421 1.1 christos * gdb_bfd.h: Include registry.h. Use DECLARE_REGISTRY. 3422 1.1 christos * gdb_bfd.c: Use DEFINE_REGISTRY. 3423 1.1 christos (struct gdb_bfd_data): Add REGISTRY_FIELDS. 3424 1.1 christos (gdb_bfd_ref): Call bfd_alloc_data. 3425 1.1 christos (gdb_bfd_unref): Call bfd_free_data. 3426 1.1 christos 3427 1.1 christos 2012-08-22 Tom Tromey <tromey (a] redhat.com> 3428 1.1 christos 3429 1.1 christos * registry.h (struct registry_fields): New. 3430 1.1 christos (REGISTRY_FIELDS): Redefine. 3431 1.1 christos (REGISTRY_ACCESS_FIELD): New macro. 3432 1.1 christos (DEFINE_REGISTRY): Add ACCESS argument. Update defined 3433 1.1 christos functions. 3434 1.1 christos 3435 1.1 christos 2012-08-22 Tom Tromey <tromey (a] redhat.com> 3436 1.1 christos 3437 1.1 christos * auto-load.c (_initialize_auto_load): Update. 3438 1.1 christos * solib-svr4.c (_initialize_svr4_solib): Update 3439 1.1 christos * solib-dsbt.c (_initialize_dsbt_solib): Update. 3440 1.1 christos * solib-darwin.c (_initialize_darwin_solib): Update. 3441 1.1 christos * registry.h: New file. 3442 1.1 christos * python/py-progspace.c (gdbpy_initialize_pspace): Update. 3443 1.1 christos * python/py-inferior.c (gdbpy_initialize_inferior): Update. 3444 1.1 christos * progspace.h: Include registry.h. Use DECLARE_REGISTRY. 3445 1.1 christos (register_program_space_data_with_cleanup) 3446 1.1 christos (register_program_space_data, program_space_alloc_data) 3447 1.1 christos (clear_program_space_data, set_program_space_data) 3448 1.1 christos (program_space_data): Don't declare. 3449 1.1 christos * progspace.c: Use DEFINE_REGISTRY. 3450 1.1 christos (struct program_space_data, struct 3451 1.1 christos program_space_data_registration, struct 3452 1.1 christos program_space_data_registry, program_space_data_registry) 3453 1.1 christos (register_program_space_data_with_cleanup) 3454 1.1 christos (register_program_space_data, program_space_alloc_data) 3455 1.1 christos (program_space_free_data, clear_program_space_data) 3456 1.1 christos (set_program_space_data, program_space_data): Remove. 3457 1.1 christos * objfiles.h: Include registry.h. Use DECLARE_REGISTRY. 3458 1.1 christos (struct objfile) <data, num_data>: Replace with REGISTRY_FIELDS. 3459 1.1 christos (register_objfile_data_with_cleanup, register_objfile_data) 3460 1.1 christos (clear_objfile_data, set_objfile_data, objfile_data): Don't 3461 1.1 christos declare. 3462 1.1 christos * objfiles.c: Use DEFINE_REGISTRY. 3463 1.1 christos (struct objfile_data, struct objfile_data_registration, struct 3464 1.1 christos objfile_data_registry, objfile_data_registry) 3465 1.1 christos (register_objfile_data_with_cleanup, register_objfile_data) 3466 1.1 christos (objfile_alloc_data, objfile_free_data, clear_objfile_data) 3467 1.1 christos (set_objfile_data, objfile_data): Remove. 3468 1.1 christos (_initialize_objfiles): Update. 3469 1.1 christos * jit.c (_initialize_jit): Update. 3470 1.1 christos * inflow.c (_initialize_inflow): Update. 3471 1.1 christos * inferior.h: Include registry.h. Use DECLARE_REGISTRY. 3472 1.1 christos (struct inferior) <data, num_data>: Replace with REGISTRY_FIELDS. 3473 1.1 christos (register_inferior_data_with_cleanup, register_inferior_data) 3474 1.1 christos (clear_inferior_data, set_inferior_data, inferior_data): Don't 3475 1.1 christos declare. 3476 1.1 christos * inferior.c: Use DEFINE_REGISTRY. 3477 1.1 christos (struct inferior_data, struct inferior_data_registration, struct 3478 1.1 christos inferior_data_registry, inferior_data_registry) 3479 1.1 christos (register_inferior_data_with_cleanup, register_inferior_data) 3480 1.1 christos (inferior_alloc_data, inferior_free_data clear_inferior_data) 3481 1.1 christos (set_inferior_data, inferior_data): Remove. 3482 1.1 christos * auxv.c (_initialize_auxv): Update. 3483 1.1 christos * ada-lang.c (_initialize_ada_language): Update. 3484 1.1 christos * breakpoint.c (_initialize_breakpoint): Update. 3485 1.1 christos * i386-nat.c (i386_use_watchpoints): Update. 3486 1.1 christos 3487 1.1 christos 2012-08-22 Tom Tromey <tromey (a] redhat.com> 3488 1.1 christos 3489 1.1 christos * exec.c (exec_close, exec_file_attach): Update. 3490 1.1 christos (add_to_section_table): Initialize 'key' field. 3491 1.1 christos (add_target_sections, remove_target_sections): Add 'key' argument. 3492 1.1 christos * exec.h (add_target_sections, remove_target_sections): Add 3493 1.1 christos 'key' argument. 3494 1.1 christos * solib.c (solib_map_sections, update_solib_list, clear_solib) 3495 1.1 christos (reload_shared_libraries_1): Update. 3496 1.1 christos * target.h (struct target_section) <key>: New field. 3497 1.1 christos 3498 1.1 christos 2012-08-22 Tom Tromey <tromey (a] redhat.com> 3499 1.1 christos 3500 1.1 christos * cli/cli-cmds.c (filter_sals): Handle nelts == 0 case. 3501 1.1 christos 3502 1.1 christos 2012-08-21 Pierre Muller <muller (a] ics.u-strasbg.fr> 3503 1.1 christos 3504 1.1 christos * symfile.c (allocate_symtab): Use host_address_to_string 3505 1.1 christos function instead of cast of pointer to long which is not 3506 1.1 christos compatible with x86_64-w64-mingw32 build. 3507 1.1 christos 3508 1.1 christos 2012-08-19 Andrew Pinski <apinski (a] cavium.com> 3509 1.1 christos 3510 1.1 christos * mips-tdep.c (is_octeon): New function. 3511 1.1 christos (is_octeon_bbit_op): New function. 3512 1.1 christos (mips32_next_pc): Handle Octeon's bbit instructions. 3513 1.1 christos (mips32_instruction_has_delay_slot): Likewise. 3514 1.1 christos 3515 1.1 christos 2012-08-19 Andrew Pinski <apinski (a] cavium.com> 3516 1.1 christos 3517 1.1 christos * mips-tdep.c (mips32_next_pc): Fix line spacing of the comment 3518 1.1 christos before the function. 3519 1.1 christos 3520 1.1 christos 2012-08-19 Andrew Pinski <apinski (a] cavium.com> 3521 1.1 christos 3522 1.1 christos * mips-tdep.c (mips32_next_pc): Consolidate calls to itype_op. 3523 1.1 christos 3524 1.1 christos 2012-08-19 Keith Seitz <keiths (a] redhat.com> 3525 1.1 christos 3526 1.1 christos PR c++/14365 3527 1.1 christos * c-typeprint.c (c_type_print_varspec_prefix): Pass 3528 1.1 christos -1 for SHOW to c_type_print_base for METHODPTR and MEMBERPTR. 3529 1.1 christos 3530 1.1 christos 2012-08-18 Eli Zaretskii <eliz (a] gnu.org> 3531 1.1 christos 3532 1.1 christos * Makefile.in (HFILES_NO_SRCDIR): Fix a typo: golang.h -> go-lang.h. 3533 1.1 christos The typo broke "make TAGS". 3534 1.1 christos 3535 1.1 christos 2012-08-17 Joel Brobecker <brobecker (a] adacore.com> 3536 1.1 christos 3537 1.1 christos GDB 7.5 released. 3538 1.1 christos 3539 1.1 christos 2012-08-17 Keith Seitz <keiths (a] redhat.com> 3540 1.1 christos 3541 1.1 christos PR c++/13356 3542 1.1 christos * gdbtypes.c (strict_type_checking): New variable. 3543 1.1 christos (show_strict_type_checking): New function. 3544 1.1 christos (rank_one_type): Return NS_POINTER_INTEGER_CONVERSION_BADNESS 3545 1.1 christos if strict type checking is disabled. 3546 1.1 christos (_initialize_gdbtypes): Add "check type" subcommand. 3547 1.1 christos * gdbtypes.h (NS_INTEGER_POINTER_CONVERSION_BADNESS): New struct. 3548 1.1 christos 3549 1.1 christos 2012-08-17 Keith Seitz <keiths (a] redhat.com> 3550 1.1 christos 3551 1.1 christos * language.h (type_mode): Remove. 3552 1.1 christos (type_check): Remove. 3553 1.1 christos (struct language_defn): Remove la_type_check. 3554 1.1 christos (STRICT_TYPE): Remove unused macro. 3555 1.1 christos (type_error): Remove. 3556 1.1 christos * language.c (set_type_range_case): Renamed to ... 3557 1.1 christos (set_range_case): ... this. Update all callers. 3558 1.1 christos Remove type_mode/type_check. 3559 1.1 christos (type_mode): Remove. 3560 1.1 christos (type_check): Remove. 3561 1.1 christos (show_type_command): Remove. 3562 1.1 christos (set_type_command): Remove. 3563 1.1 christos (language_info): Remove type checking output. 3564 1.1 christos (type_error): Remove unused function. 3565 1.1 christos (range_error): Update comment. 3566 1.1 christos (unknown_language_defn): Remove la_type_check. 3567 1.1 christos (auto_language_defn): Likewise. 3568 1.1 christos (local_language_defn): Likewise. 3569 1.1 christos (_initialize_language): Remove "check type" subcommand. 3570 1.1 christos * ada-lang.c (ada_language_defn): Remove la_type_check. 3571 1.1 christos * c-lang.c (c_language_defn): Likewise. 3572 1.1 christos (cplus_language_defn): Likewise. 3573 1.1 christos (asm_language_defn): Likewise. 3574 1.1 christos (minimal_language_defn): Likewise. 3575 1.1 christos * d-lang.c (d_language_defn): Likewise. 3576 1.1 christos * f-lang.c (f_language_defn): Likewise. 3577 1.1 christos * go-lang.c (go_language_defn): Likewise. 3578 1.1 christos * jv-lang.c (java_language_defn): Likewise. 3579 1.1 christos * m2-lang.c (m2_language_defn): Likewise. 3580 1.1 christos * objc-lang.c (objc_language_defn): Likewise. 3581 1.1 christos * opencl-lang.c (opencl_language_defn): Likewise. 3582 1.1 christos * p-lang.c (pascal_language_defn): Likewise. 3583 1.1 christos 3584 1.1 christos 2012-08-16 Mike Frysinger <vapier (a] gentoo.org> 3585 1.1 christos 3586 1.1 christos * infcmd.c (_initialize_infcmd): Remove trailing ) in next help text. 3587 1.1 christos 3588 1.1 christos 2012-08-16 Joel Brobecker <brobecker (a] adacore.com> 3589 1.1 christos 3590 1.1 christos * ia64-hpux-nat.c (ia64_hpux_get_register_from_save_state_t): 3591 1.1 christos New function. 3592 1.1 christos (ia64_hpux_xfer_memory): Check if inferior_ptid is known before 3593 1.1 christos using the regache. Use ia64_hpux_get_register_from_save_state_t 3594 1.1 christos to access the bsp and bspstore registers if not. 3595 1.1 christos 3596 1.1 christos 2012-08-16 Joel Brobecker <brobecker (a] adacore.com> 3597 1.1 christos 3598 1.1 christos * breakpoint.h (detach_breakpoints): pid parameter is now a ptid. 3599 1.1 christos * breakpoint.c (detach_breakpoints): Change pid parameter into 3600 1.1 christos a ptid. Adjust code accordingly. 3601 1.1 christos * infrun.c (handle_inferior_event): Delete variable child_pid. 3602 1.1 christos Update call to detach_breakpoints to pass the child ptid for 3603 1.1 christos fork events. 3604 1.1 christos * linux-nat.c (linux_nat_iterate_watchpoint_lwps): Remove 3605 1.1 christos assert that inferior_ptid's lwp is zero. 3606 1.1 christos (linux_handle_extended_wait): Update call to detach_breakpoints. 3607 1.1 christos * inf-ttrace.c (inf_ttrace_follow_fork): Update call to 3608 1.1 christos detach_breakpoints. 3609 1.1 christos 3610 1.1 christos 2012-08-16 Joel Brobecker <brobecker (a] adacore.com> 3611 1.1 christos 3612 1.1 christos * inf-ttrace.c (inf_ttrace_follow_fork): When following the 3613 1.1 christos parent, only call detach_breakpoints if tts.tts_event == 3614 1.1 christos TTEVT_VFORK. 3615 1.1 christos 3616 1.1 christos 2012-08-16 Joel Brobecker <brobecker (a] adacore.com> 3617 1.1 christos 3618 1.1 christos * dwarf2-frame.c (dwarf2_frame_cache): Use 3619 1.1 christos get_frame_address_in_block instead of get_frame_pc as 3620 1.1 christos the bound for executing the frame's FDE. 3621 1.1 christos 3622 1.1 christos 2012-08-16 Yao Qi <yao (a] codesourcery.com> 3623 1.1 christos 3624 1.1 christos * gdbtypes.h (enum type_code): Define TYPE_CODE_BITSTRING -1. 3625 1.1 christos * arm-tdep.c (arm_type_align): Remove code handling TYPE_CODE_BITSTRING. 3626 1.1 christos * c-typeprint.c (c_type_print_varspec_prefix): Likewise. 3627 1.1 christos (c_type_print_varspec_suffix): Likewise. 3628 1.1 christos * eval.c (evaluate_subexp_standard): Likewise. 3629 1.1 christos * f-typeprint.c (f_type_print_varspec_prefix): Likewise. 3630 1.1 christos (f_type_print_varspec_suffix): Likewise. 3631 1.1 christos * gdbtypes.c (is_scalar_type): Likewise. 3632 1.1 christos (recursive_dump_type): Likewise. 3633 1.1 christos * infcall.c (value_arg_coerce): Likewise. 3634 1.1 christos * m2-valprint.c (m2_val_print): Likewise. 3635 1.1 christos * p-typeprint.c (pascal_type_print_varspec_prefix): Likewise. 3636 1.1 christos (pascal_type_print_varspec_suffix): Likewise. 3637 1.1 christos (pascal_type_print_base): Likewise. 3638 1.1 christos * p-valprint.c (pascal_val_print): Likewise. 3639 1.1 christos (pascal_val_print): Likewise. 3640 1.1 christos * valops.c (value_slice): Likewise. 3641 1.1 christos * valprint.c (scalar_type_p): Likewise. 3642 1.1 christos * valarith.c (value_bitstring_subscript): Remove. 3643 1.1 christos (value_concat): Remove code handling TYPE_CODE_BITSTRING. 3644 1.1 christos Remove comment on TYPE_CODE_BITSTRING. 3645 1.1 christos 3646 1.1 christos * stabsread.c (read_type): Don't set TYPE_CODE (type) to 3647 1.1 christos TYPE_CODE_BITSTRING. 3648 1.1 christos 3649 1.1 christos * python/py-type.c (pyty_codes): Move ENTRY (TYPE_CODE_BITSTRING) to 3650 1.1 christos slot 0. 3651 1.1 christos 3652 1.1 christos 2012-08-16 Yao Qi <yao (a] codesourcery.com> 3653 1.1 christos 3654 1.1 christos * tracepoint.c (trace_find_none_command): Remove. 3655 1.1 christos (_initialize_tracepoint): Call add_alias_cmd for "tfind none". 3656 1.1 christos 3657 1.1 christos 2012-08-16 Yao Qi <yao (a] codesourcery.com> 3658 1.1 christos 3659 1.1 christos * remote.c (handle_notification): Remove parameter 'length'. 3660 1.1 christos (putpkt_binary, getpkt_or_notif_sane_1): Caller update. 3661 1.1 christos 3662 1.1 christos 2012-08-15 Keith Seitz <keiths (a] redhat.com> 3663 1.1 christos 3664 1.1 christos * gdbtypes.c (opaque_type_resolution): Make static. 3665 1.1 christos Add missing comment. 3666 1.1 christos (overload_debug): Add missing comment. 3667 1.1 christos (show_opaque_type_resolution): Likewise. 3668 1.1 christos (show_overload_debug): Likewise. 3669 1.1 christos (print_bit_vector): Remove unnecessary forward declaration. 3670 1.1 christos (print_arg_types): Likewise. 3671 1.1 christos (dump_fn_fieldlists): Likewise. 3672 1.1 christos (print_cplus_stuff): Likewise. 3673 1.1 christos 3674 1.1 christos 2012-08-15 Tom Tromey <tromey (a] redhat.com> 3675 1.1 christos 3676 1.1 christos * gdb_bfd.c (struct gdb_bfd_data) <archive_bfd>: New field. 3677 1.1 christos (gdb_bfd_ref): Initialize new field. 3678 1.1 christos (gdb_bfd_unref): Unref the archive BFD. 3679 1.1 christos (gdb_bfd_openr_next_archived_file): Acquire a reference to the 3680 1.1 christos parent archive. 3681 1.1 christos 3682 1.1 christos 2012-08-15 Tom Tromey <tromey (a] redhat.com> 3683 1.1 christos 3684 1.1 christos PR python/14387: 3685 1.1 christos * python/py-bpevent.c (create_breakpoint_event_object): Update 3686 1.1 christos comment. 3687 1.1 christos * python/py-event.c (evpy_add_attribute): Update comment. 3688 1.1 christos * python/py-exitedevent.c (create_exited_event_object): Fix 3689 1.1 christos reference counting and error handling. 3690 1.1 christos * python/py-newobjfileevent.c (create_new_objfile_event_object): 3691 1.1 christos Fix reference counting. 3692 1.1 christos * python/py-signalevent.c (create_signal_event_object): Fix 3693 1.1 christos reference counting and error handling. 3694 1.1 christos * python/py-stopevent.c (emit_stop_event): Fix reference 3695 1.1 christos counting. 3696 1.1 christos * python/py-threadevent.c (get_event_thread): Return a 3697 1.1 christos borrowed reference. 3698 1.1 christos * python/py-type.c (convert_field): Fix reference counting. 3699 1.1 christos 3700 1.1 christos 2012-08-15 Tom Tromey <tromey (a] redhat.com> 3701 1.1 christos 3702 1.1 christos * dwarf2read.c (dwarf_decode_macro_bytes) 3703 1.1 christos <DW_MACRO_GNU_transparent_include>: Use pointer to included data 3704 1.1 christos as hash key. 3705 1.1 christos 3706 1.1 christos 2012-08-14 Mike Frysinger <vapier (a] gentoo.org> 3707 1.1 christos 3708 1.1 christos * infcmd.c (_initialize_infcmd): Update help text for the signal, 3709 1.1 christos stepi, nexti, finish, next, step, jump, and continue commands. 3710 1.1 christos * infrun.c (_initialize_infrun): Update help text for the handle 3711 1.1 christos command. 3712 1.1 christos 3713 1.1 christos 2012-08-14 Doug Evans <dje (a] google.com> 3714 1.1 christos 3715 1.1 christos * gdbtypes.c (struct extra): Delete, unused. 3716 1.1 christos 3717 1.1 christos * gdbtypes.c: Whitespace cleanup. 3718 1.1 christos (address_space_name_to_int): Remove "extern" from definition. 3719 1.1 christos (_initialize_gdbtypes): Declare with initialize_file_ftype. 3720 1.1 christos 3721 1.1 christos * gdbtypes.c (make_pointer_type): Remove redundant setting of 3722 1.1 christos TYPE_POINTER_TYPE (type). 3723 1.1 christos 3724 1.1 christos 2012-08-14 Gary Benson <gbenson (a] redhat.com> 3725 1.1 christos 3726 1.1 christos * solib-svr4.c (svr4_free_library_list): Use free_so. 3727 1.1 christos 3728 1.1 christos 2012-08-13 Mike Frysinger <vapier (a] gentoo.org> 3729 1.1 christos 3730 1.1 christos * .gitignore: Add go-exp.c. 3731 1.1 christos 3732 1.1 christos 2012-08-13 Doug Evans <dje (a] google.com> 3733 1.1 christos 3734 1.1 christos * value.c (show_convenience): Tweak comment. 3735 1.1 christos (_initialize_values): Mention convenience functions in the help text 3736 1.1 christos for "show convenience". 3737 1.1 christos 3738 1.1 christos 2012-08-13 Yao Qi <yao (a] codesourcery.com> 3739 1.1 christos 3740 1.1 christos * std-operator.def: Remove TERNOP_SLICE_COUNT. 3741 1.1 christos * breakpoint.c (watchpoint_exp_is_const): Remove handling to 3742 1.1 christos TERNOP_SLICE_COUNT. 3743 1.1 christos * eval.c (evaluate_subexp_standard): Likewise. 3744 1.1 christos * expprint.c (print_subexp_standard): Likewise. 3745 1.1 christos (dump_subexp_body_standard): Likewise. 3746 1.1 christos * parse.c (operator_length_standard): Likewise. 3747 1.1 christos 3748 1.1 christos 2012-08-13 Yao Qi <yao (a] codesourcery.com> 3749 1.1 christos 3750 1.1 christos * std-operator.def: Remove OP_BITSTRING. 3751 1.1 christos * breakpoint.c (watchpoint_exp_is_const): Update. 3752 1.1 christos * eval.c (evaluate_subexp_standard): Remove handling to 3753 1.1 christos OP_BITSTRING. 3754 1.1 christos * expprint.c (print_subexp_standard): Likewise. 3755 1.1 christos (dump_subexp_body_standard): Likewise. 3756 1.1 christos * parse.c (operator_length_standard): Likewise. 3757 1.1 christos * valops.c (value_bitstring): Remove. 3758 1.1 christos * value.h: Remove the declaration of 'value_bitstring'. 3759 1.1 christos 3760 1.1 christos 2012-08-10 Sergio Durigan Junior <sergiodj (a] redhat.com> 3761 1.1 christos 3762 1.1 christos * linespec.c (find_methods): Remove unused variables `i1' and 3763 1.1 christos `name_len'. 3764 1.1 christos (decode_line_full): Likewise for `arg_start'. 3765 1.1 christos 3766 1.1 christos 2012-08-10 Sergio Durigan Junior <sergiodj (a] redhat.com> 3767 1.1 christos 3768 1.1 christos * gdb_bfd.c (gdb_bfd_unref): Remove unused variable `slot'. 3769 1.1 christos (zlib_decompress_section): Likewise for `section_data'. 3770 1.1 christos (gdb_bfd_map_section): Likewise for `buf' and `retbuf'. 3771 1.1 christos 3772 1.1 christos 2012-08-10 Doug Evans <dje (a] google.com> 3773 1.1 christos 3774 1.1 christos Add $_memeq, $_regex, $_streq, $_strlen convenience functions. 3775 1.1 christos * NEWS: Document them. 3776 1.1 christos * data-directory/Makefile.in (PYTHON_FILES): Add function/__init__.py, 3777 1.1 christos function/strfns.py. 3778 1.1 christos * python/py-type.c (typy_array_1): New function. 3779 1.1 christos (typy_array): Call it. 3780 1.1 christos (typy_vector): New function. 3781 1.1 christos (type_object_methods): Add "vector". 3782 1.1 christos * python/lib/gdb/function/__init__.py: New file. 3783 1.1 christos * python/lib/gdb/function/strfns.py: New file. 3784 1.1 christos 3785 1.1 christos 2012-08-10 Siddhesh Poyarekar <siddhesh (a] redhat.com> 3786 1.1 christos 3787 1.1 christos * python/py-type.c (convert_field): Use gdb_py_long_from_longest 3788 1.1 christos for TYPE_FIELD_BITPOS. 3789 1.1 christos (typy_get_sizeof): Likewise for TYPE_LENGTH. 3790 1.1 christos 3791 1.1 christos 2012-08-10 Mike Frysinger <vapier (a] gentoo.org> 3792 1.1 christos 3793 1.1 christos PR cli/10436: 3794 1.1 christos * common/vec.h (VEC_merge): Define. 3795 1.1 christos (DEF_VEC_ALLOC_FUNC_I): Add a merge helper. 3796 1.1 christos (DEF_VEC_ALLOC_FUNC_P): Likewise. 3797 1.1 christos (DEF_VEC_ALLOC_FUNC_O): Likewise. 3798 1.1 christos * completer.c: Include gdb_signals.h. 3799 1.1 christos (signal_completer): Define. 3800 1.1 christos * completer.h (signal_completer): Add prototype. 3801 1.1 christos * infcmd.c (_initialize_infcmd): Assign the command 3802 1.1 christos completer for "signal" to handle_completer. 3803 1.1 christos * infrun.c: Include completer.h. 3804 1.1 christos (handle_completer): Define. 3805 1.1 christos (_initialize_infrun): Declare a new local variable c. Store the 3806 1.1 christos result of add_com("handle") to it. Assign the command 3807 1.1 christos completer for "handle" to handle_completer. 3808 1.1 christos 3809 1.1 christos 2012-08-09 Yao Qi <yao (a] codesourcery.com> 3810 1.1 christos 3811 1.1 christos * cli/cli-decode.c (set_cmd_prefix): New. 3812 1.1 christos (lookup_cmd_for_prefixlist): New. 3813 1.1 christos (add_prefix_cmd): Call set_cmd_prefix and update field 'prefix' 3814 1.1 christos of each cmd_list_element in *prefixlist. 3815 1.1 christos (add_setshow_cmd_full): set_cmd_prefix. 3816 1.1 christos (add_alias_cmd): Likewise. 3817 1.1 christos * cli/cli-decode.h (struct cmd_list_element) <prefix>: New field. 3818 1.1 christos Declare 'auto_boolean_enums'. 3819 1.1 christos * cli/cli-setshow.c: Include "observer.h". 3820 1.1 christos (notify_command_param_changed_p): New. 3821 1.1 christos (add_setshow_auto_boolean_cmd): Move auto_boolean_enums out. 3822 1.1 christos Remove 'static'. 3823 1.1 christos (do_setshow_command): Split it to ... 3824 1.1 christos (do_set_command, do_show_command): ... them. New. 3825 1.1 christos (do_set_command): Call observer_notify_command_param_changed if 3826 1.1 christos notify_command_param_changed_p returns true. 3827 1.1 christos (cmd_show_list): Caller update. 3828 1.1 christos * auto-load.c (set_auto_load_cmd): Likewise. 3829 1.1 christos * remote.c (show_remote_cmd): Likewise. 3830 1.1 christos * cli/cli-setshow.h: Update declarations. 3831 1.1 christos * top.c (execute_command): Call do_set_command and do_show_command. 3832 1.1 christos 3833 1.1 christos * NEWS: Mention new MI notification. 3834 1.1 christos * mi/mi-interp.c: Declare mi_command_param_changed. 3835 1.1 christos (mi_interpreter_init): Attach mi_command_param_changed to 3836 1.1 christos observer command_param_changed. 3837 1.1 christos (mi_command_param_changed): New. 3838 1.1 christos Remove mi_suppress_breakpoint_notifications. 3839 1.1 christos Define global variable mi_suppress_notification. 3840 1.1 christos (mi_breakpoint_created): Update. 3841 1.1 christos (mi_breakpoint_deleted): Likewise. 3842 1.1 christos (mi_breakpoint_modified): Likewise. 3843 1.1 christos * mi/mi-main.c (mi_cmd_execute): Likewise. Check command 3844 1.1 christos 'gdb-set' and set mi_suppress_notification. 3845 1.1 christos * mi/mi-main.h: (mi_suppress_notification): New struct. 3846 1.1 christos 3847 1.1 christos 2012-08-09 Andreas Tobler <andreast (a] fgznet.ch> 3848 1.1 christos Jan Kratochvil <jan.kratochvil (a] redhat.com> 3849 1.1 christos 3850 1.1 christos * fbsd-nat.h (fbsd_find_memory_regions): Use find_memory_region_ftype. 3851 1.1 christos 3852 1.1 christos 2012-08-09 Yao Qi <yao (a] codesourcery.com> 3853 1.1 christos 3854 1.1 christos * cli/cli-cmds.c (enablebreaklist): Move it to breakpoint.c. 3855 1.1 christos (skiplist): Move it to skip.c. 3856 1.1 christos (init_cmd_lists): Remove code setting enablebreaklist and 3857 1.1 christos skiplist to NULL. 3858 1.1 christos * breakpoint.c (enablebreaklist): Moved from cli/cli-cmds.c. 3859 1.1 christos * cli/cli-cmds.h: Remove declaration of enablebreaklist and 3860 1.1 christos skiplist. 3861 1.1 christos * gdbcmd.h: Likewise. 3862 1.1 christos * skip.c (_initialize_step_skip): Move 'skiplist' from 3863 1.1 christos cli/cli-cmds.c. 3864 1.1 christos 3865 1.1 christos 2012-08-09 Yao Qi <yao (a] codesourcery.com> 3866 1.1 christos 3867 1.1 christos * cli/cli-dump.c: Add 'static' to some cmd_list_element variables. 3868 1.1 christos * gnu-nat.c, symfile.c: Likewise. 3869 1.1 christos 3870 1.1 christos 2012-08-08 Aaron Gamble <agamble (a] google.com> 3871 1.1 christos 3872 1.1 christos * utils.c (prompt_for_continue_wait_time): New static global. 3873 1.1 christos (make_command_stats_cleanup): Initialize it. 3874 1.1 christos (report_command_stats): Subtract time waiting for user. 3875 1.1 christos (prompt_for_continue): Track time waiting for user. 3876 1.1 christos (defaulted_query): Track time waiting for user. 3877 1.1 christos 3878 1.1 christos 2012-08-08 Doug Evans <dje (a] google.com> 3879 1.1 christos 3880 1.1 christos * eval.c (evaluate_subexp_standard): Fix thinko in handling 3881 1.1 christos UNOP_MEMVAL_TYPE. 3882 1.1 christos * expprint.c (print_subexp_standard, case OP_TYPE): New. 3883 1.1 christos (print_subexp_standard, case UNOP_CAST_TYPE): Don't increment pos. 3884 1.1 christos (print_subexp_standard, case UNOP_DYNAMIC_CAST): Ditto. 3885 1.1 christos (print_subexp_standard, case UNOP_REINTERPRET_CAST): Ditto. 3886 1.1 christos (print_subexp_standard, case UNOP_MEMVAL_TYPE): Ditto. 3887 1.1 christos (dump_subexp_body_standard, case UNOP_DYNAMIC_CAST): Don't increment 3888 1.1 christos elt. 3889 1.1 christos (dump_subexp_body_standard, case UNOP_REINTERPRET_CAST): Ditto. 3890 1.1 christos (dump_subexp_body_standard, case UNOP_CAST_TYPE): Ditto. 3891 1.1 christos (dump_subexp_body_standard, case UNOP_MEMVAL_TYPE): Ditto. 3892 1.1 christos (dump_prefix_expression): Handle OP_TYPE. 3893 1.1 christos 3894 1.1 christos 2012-08-08 Keith Seitz <keiths (a] redhat.com> 3895 1.1 christos 3896 1.1 christos * breakpoint.c (parse_breakpoint_sals): Remove unused variable 3897 1.1 christos addr_start. 3898 1.1 christos 3899 1.1 christos 2012-08-08 Doug Evans <dje (a] google.com> 3900 1.1 christos 3901 1.1 christos * linux-thread-db.c: #include "gdb_vecs.h". 3902 1.1 christos (try_thread_db_load_from_pdir_1): New arg "subdir". All callers 3903 1.1 christos updated. 3904 1.1 christos (try_thread_db_load_from_pdir): New arg "subdir". All callers updated. 3905 1.1 christos (thread_db_load_search): Use a vector to iterate over path elements. 3906 1.1 christos Handle text appearing after "$pdir". 3907 1.1 christos 3908 1.1 christos * gdb_string.h: Moved to ... 3909 1.1 christos * common/gdb_string.h: ... here. 3910 1.1 christos * common/vec.h: Remove #ifndef GDBSERVER conditional inclusion of 3911 1.1 christos gdb_string.h and gdb_assert.h. 3912 1.1 christos 3913 1.1 christos 2012-08-08 Yao Qi <yao (a] codesourcery.com> 3914 1.1 christos 3915 1.1 christos * tic6x-tdep.c (tic6x_register_to_value): Remove. 3916 1.1 christos (tic6x_value_to_register): Likewise. 3917 1.1 christos (tic6x_gdbarch_init): Don't call set_gdbarch_register_to_value 3918 1.1 christos and set_gdbarch_value_to_register. 3919 1.1 christos 3920 1.1 christos 2012-08-07 Jan Kratochvil <jan.kratochvil (a] redhat.com> 3921 1.1 christos Jean-Marc Saffroy <saffroy (a] gmail.com> 3922 1.1 christos 3923 1.1 christos PR 11804 3924 1.1 christos * defs.h (find_memory_region_ftype): New comment. New arg modified. 3925 1.1 christos * fbsd-nat.c (fbsd_find_memory_regions): Add the passed modified value. 3926 1.1 christos * gcore.c (gcore_create_callback): New function comment. Add modified 3927 1.1 christos parameter. Only write modified regions. Set SEC_READONLY exactly 3928 1.1 christos according to MODIFIED. 3929 1.1 christos (objfile_find_memory_regions): Ignore separate debug info files. Ass 3930 1.1 christos the passed modified value to FUNC. 3931 1.1 christos * gnu-nat.c (gnu_find_memory_regions): Add the passed modified value. 3932 1.1 christos * linux-tdep.c (linux_find_memory_regions): Try to reads smaps file 3933 1.1 christos first. New variables modified and has_anonymous. Parse the lines of 3934 1.1 christos smaps file. Add the passed MODIFIED value to FUNC. 3935 1.1 christos * procfs.c (find_memory_regions_callback): Add the passed modified 3936 1.1 christos value. 3937 1.1 christos 3938 1.1 christos 2012-08-06 Tom Tromey <tromey (a] redhat.com> 3939 1.1 christos 3940 1.1 christos * dwarf2-frame.c (clear_pointer_cleanup): New function. 3941 1.1 christos (dwarf2_frame_cache): Use it. 3942 1.1 christos * frame-unwind.h (frame_sniffer_ftype): Document prologue 3943 1.1 christos cache initialization constraint. 3944 1.1 christos 3945 1.1 christos 2012-08-06 Tom Tromey <tromey (a] redhat.com> 3946 1.1 christos 3947 1.1 christos PR python/14386: 3948 1.1 christos * varobj.c (update_dynamic_varobj_children): Don't call 3949 1.1 christos PyIter_Check. 3950 1.1 christos 3951 1.1 christos 2012-08-06 Tom Tromey <tromey (a] redhat.com> 3952 1.1 christos 3953 1.1 christos PR cli/14392: 3954 1.1 christos * cli/cli-cmds.c (list_command): Filter 'sals_end'. 3955 1.1 christos 3956 1.1 christos 2012-08-06 Nathaniel Flath <flat0103 (a] gmail.com> 3957 1.1 christos 3958 1.1 christos * NEWS: New entry for 'cd' default parameters. 3959 1.1 christos * cli/cli-cmds.c (cd_command): Replace error_no_arg by DIR assignment. 3960 1.1 christos 3961 1.1 christos 2012-08-03 Tom Tromey <tromey (a] redhat.com> 3962 1.1 christos 3963 1.1 christos * dwarf2-frame.c (dwarf2_frame_cache): Call do_cleanups before 3964 1.1 christos return. 3965 1.1 christos 3966 1.1 christos 2012-08-02 Ulrich Weigand <ulrich.weigand (a] linaro.org> 3967 1.1 christos 3968 1.1 christos * inf-child.c (inf_child_fileio_pwrite): If pwrite fails, fall back 3969 1.1 christos to attempting lseek/write. 3970 1.1 christos (inf_child_fileio_pread): Likewise for pread. 3971 1.1 christos 3972 1.1 christos 2012-08-02 Yao Qi <yao (a] codesourcery.com> 3973 1.1 christos 3974 1.1 christos * dwarf2loc.c (entry_values_debug): Add 'unsigned'. 3975 1.1 christos (_initialize_dwarf2loc): Call add_setshow_zuinteger_cmd instead of 3976 1.1 christos add_setshow_zinteger_cmd. 3977 1.1 christos * dwarf2loc.h: Update the declaration of 'entry_values_debug'. 3978 1.1 christos * dwarf2read.c (dwarf2_die_debug): Add 'unsigned'. 3979 1.1 christos (_initialize_dwarf2_read): Call add_setshow_zuinteger_cmd 3980 1.1 christos instead of add_setshow_zinteger_cmd. 3981 1.1 christos * darwin-nat.c (dwarwin_debug_flag): Add 'unsigned'. 3982 1.1 christos (_initialize_darwin_inferior): Call add_setshow_zuinteger_cmd 3983 1.1 christos instead of add_setshow_zinteger_cmd. 3984 1.1 christos * frame.c (frame_debug): Add 'unsigned'. 3985 1.1 christos (_intialize_frame): Call add_setshow_zuinteger_cmd instead of 3986 1.1 christos add_setshow_zinteger_cmd. 3987 1.1 christos * frame.h: Update the declaration of 'frame_debug'. 3988 1.1 christos * gdbtypes.c (overload_debug): Add 'unsigned'. 3989 1.1 christos (_initialize_gdbtypes): Call add_setshow_zuinteger_cmd instead of 3990 1.1 christos add_setshow_zinteger_cmd. 3991 1.1 christos * inferior.h: Update declaration of 'debug_infrun'. 3992 1.1 christos * infrun.c (debug_infrun): Add 'unsigned'. 3993 1.1 christos (_initialize_infrun): Call add_setshow_zuinteger_cmd instead of 3994 1.1 christos add_setshow_zinteger_cmd. 3995 1.1 christos * jit.c (jit_debug): Add 'unsigned'. 3996 1.1 christos (_initialize_jit): Call add_setshow_zuinteger_cmd instead of 3997 1.1 christos add_setshow_zinteger_cmd. 3998 1.1 christos * linux-nat.c (debug_linux_nat): Add 'unsigned'. 3999 1.1 christos (_initialize_linux_nat): Call add_setshow_zuinteger_cmd 4000 1.1 christos instead of add_setshow_zinteger_cmd. 4001 1.1 christos * linux-thread-db.c (libthread_db_debug): Add 'unsigned'. 4002 1.1 christos (_initialize_thread_db): Call add_setshow_zuinteger_cmd instead of 4003 1.1 christos add_setshow_zinteger_cmd. 4004 1.1 christos * machoread.c (mach_o_debug_level): Add 'unsigned'. 4005 1.1 christos (_initialize_machoread): Call add_setshow_zuinteger_cmd 4006 1.1 christos instead of add_setshow_zinteger_cmd. 4007 1.1 christos * mi/mi-cmd-var.c: Update the declaration of 'varobjdebug'. 4008 1.1 christos * microblaze-tdep.c (microblaze_debug_flag): Add 'unsigned'. 4009 1.1 christos (_initialize_microblaze_tdep): Call add_setshow_zuinteger_cmd 4010 1.1 christos intead of add_setshow_zinteger_cmd. 4011 1.1 christos * mips-tdep.c (mips_debug): Add 'unsigned'. 4012 1.1 christos (_initialize_mips_tdep): Call add_setshow_zuinteger_cmd 4013 1.1 christos instead of add_setshow_zinteger_cmd. 4014 1.1 christos * monitor.c (monitor_debug): Add 'unsigned'. 4015 1.1 christos (_initialize_remote_monitors): Call add_setshow_zuinteger_cmd instead of 4016 1.1 christos add_setshow_zinteger_cmd. 4017 1.1 christos * observer.c (observer_debug): Add 'unsigned'. 4018 1.1 christos (_initialize_observer): Call add_setshow_zuinteger_cmd instead of 4019 1.1 christos add_setshow_zinteger_cmd. 4020 1.1 christos * parse.c (expressiondebug): Add 'unsigned'. 4021 1.1 christos (_initialize_parse): Call add_setshow_zuinteger_cmd instead of 4022 1.1 christos add_setshow_zinteger_cmd. 4023 1.1 christos * record.c (record_debug): Add 'unsigned'. 4024 1.1 christos (_initialize_record): Call add_setshow_zuinteger_cmd instead of 4025 1.1 christos add_setshow_zinteger_cmd. 4026 1.1 christos * record.h: Update the declaration of 'record_debug'. 4027 1.1 christos * stap-probe.c (stap_expression_debug): Add 'unsigned'. 4028 1.1 christos (_initialize_stap_probe): Call add_setshow_zuinteger_cmd instead of 4029 1.1 christos add_setshow_zinteger_cmd. 4030 1.1 christos * serial.c (global_serial_debug_p): Add 'unsigned'. 4031 1.1 christos (_initialize_serial): Call add_setshow_zuinteger_cmd instead of 4032 1.1 christos add_setshow_zinteger_cmd. 4033 1.1 christos * solib-dsbt.c (solib_dsbt_debug): Add 'unsigned'. 4034 1.1 christos (_initialize_dsbt_solib): Call add_setshow_zuinteger_cmd instead of 4035 1.1 christos add_setshow_zinteger_cmd. 4036 1.1 christos * solib-frv.c (solib_frv_debug): Add 'unsigned'. 4037 1.1 christos (_initialize_frv_solib): Call add_setshow_zuinteger_cmd instead of 4038 1.1 christos add_setshow_zinteger_cmd. 4039 1.1 christos * target.c (targetdebug): Add 'unsigned'. 4040 1.1 christos (initialize_targets): Call add_setshow_zuinteger_cmd instead of 4041 1.1 christos add_setshow_zinteger_cmd. 4042 1.1 christos * valops.c (overload_debug): Add 'unsigned'. 4043 1.1 christos * varobj.c (varobjdebug): Add 'unsigned'. 4044 1.1 christos (_initialize_varobj): Call add_setshow_zuinteger_cmd instead of 4045 1.1 christos add_setshow_zinteger_cmd. 4046 1.1 christos * xtensa-tdep.c (xtensa_debug_level): Add 'unsigned'. 4047 1.1 christos (_initialize_xtensa_tdep): Call add_setshow_zuinteger_cmd 4048 1.1 christos instead of add_setshow_zinteger_cmd. 4049 1.1 christos 4050 1.1 christos * arch-utils.h: Remove the declaration of 'gdbarch_debug'. 4051 1.1 christos * gdbarch.sh (gdbarch_debug): Add 'unsigned'. 4052 1.1 christos (extern void _initialize_gdbarch): Call add_setshow_zuinteger_cmd 4053 1.1 christos instead of add_setshow_zinteger_cmd. 4054 1.1 christos * gdbarch.c, gdbarch.h: Re-generated. 4055 1.1 christos 4056 1.1 christos 2012-08-02 Yao Qi <yao (a] codesourcery.com> 4057 1.1 christos 4058 1.1 christos * nto-tdep.c: Don't include cli/cli-decode.h and 4059 1.1 christos cli/cli-cmds.h. 4060 1.1 christos (_initialize_nto_tdep): Remove. 4061 1.1 christos * nto-tdep.h (struct nto_target_ops) <internal_debugging>: 4062 1.1 christos Remove field. 4063 1.1 christos Remove macro nto_internal_debugging. 4064 1.1 christos 4065 1.1 christos 2012-08-01 Richard Henderson <rth (a] redhat.com> 4066 1.1 christos 4067 1.1 christos * configure.tgt (m32c-*-*) [gdb_target_obs]: Remove prologue-value.o. 4068 1.1 christos (mep-*-*) [gdb_target_obs]: Likewise. 4069 1.1 christos 4070 1.1 christos 2012-07-31 Andreas Schwab <schwab (a] linux-m68k.org> 4071 1.1 christos 4072 1.1 christos * ppc-linux-tdep.c (ppc_linux_init_abi): Register 4073 1.1 christos linux_get_siginfo_type. 4074 1.1 christos 4075 1.1 christos 2012-07-31 Jan Kratochvil <jan.kratochvil (a] redhat.com> 4076 1.1 christos 4077 1.1 christos * infcall.c (call_function_by_hand): Move BP_ADDR comment to 4078 1.1 christos AT_ENTRY_POINT. 4079 1.1 christos (call_function_by_hand) <ON_STACK>: Call write_memory with 4080 1.1 christos gdbarch_breakpoint_from_pc, if possible. 4081 1.1 christos (call_function_by_hand) <AT_ENTRY_POINT>: The BP_ADDR comment is moved 4082 1.1 christos here. 4083 1.1 christos 4084 1.1 christos 2012-07-31 Yao Qi <yao (a] codesourcery.com> 4085 1.1 christos 4086 1.1 christos * tracepoint.c: Add 'static' for some variables. 4087 1.1 christos 4088 1.1 christos 2012-07-31 Yao Qi <yao (a] codesourcery.com> 4089 1.1 christos 4090 1.1 christos * go32-nat.c: Declare _initialize_go32_nat. 4091 1.1 christos * ser-go32.c: Declare _initialize_ser_dos. 4092 1.1 christos * top.c (do_chdir_cleanup): Add 'static'. 4093 1.1 christos 4094 1.1 christos 2012-07-30 Keith Seitz <keiths (a] redhat.com> 4095 1.1 christos 4096 1.1 christos * linespec.c (linespec_lex_number): A number followed 4097 1.1 christos by quotes is a valid number, too. 4098 1.1 christos 4099 1.1 christos 2012-07-30 Tom Tromey <tromey (a] redhat.com> 4100 1.1 christos 4101 1.1 christos * remote-sim.c (gdb_os_poll_quit): Don't check immediate_quit. 4102 1.1 christos 4103 1.1 christos 2012-07-30 Ulrich Weigand <ulrich.weigand (a] linaro.org> 4104 1.1 christos 4105 1.1 christos * arm-linux-nat.c (arm_linux_hw_breakpoint_initialize): Do not 4106 1.1 christos attempt to 4-byte-align HW breakpoint addresses for Thumb. 4107 1.1 christos 4108 1.1 christos 2012-07-30 Andrew Burgess <aburgess (a] broadcom.com> 4109 1.1 christos 4110 1.1 christos * varobj.c (varobj_invalidate_iter): All varobj must be marked as 4111 1.1 christos invalid or reevaluated to prevent prevent references to possibly 4112 1.1 christos delete'd type objects being left in the varobj. 4113 1.1 christos 4114 1.1 christos 2012-07-27 Tom Tromey <tromey (a] redhat.com> 4115 1.1 christos Jan Kratochvil <jan.kratochvil (a] redhat.com> 4116 1.1 christos 4117 1.1 christos * copying.awk: Print buffer-read-only and vi ro markers. 4118 1.1 christos * copying.c: Rebuild. 4119 1.1 christos * gdbarch.sh (copyright): Print buffer-read-only and vi ro markers. 4120 1.1 christos * gdbarch.c, gdbarch.h: Rebuild. 4121 1.1 christos * target-descriptions.c (maint_print_c_tdesc_cmd): Print 4122 1.1 christos buffer-read-only and vi ro markers. 4123 1.1 christos * features/arm-with-iwmmxt.c: Rebuild. 4124 1.1 christos * features/arm-with-m-fpa-layout.c: Rebuild. 4125 1.1 christos * features/arm-with-m-vfp-d16.c: Rebuild. 4126 1.1 christos * features/arm-with-m.c: Rebuild. 4127 1.1 christos * features/arm-with-neon.c: Rebuild. 4128 1.1 christos * features/arm-with-vfpv2.c: Rebuild. 4129 1.1 christos * features/arm-with-vfpv3.c: Rebuild. 4130 1.1 christos * features/i386/amd64-avx-linux.c: Rebuild. 4131 1.1 christos * features/i386/amd64-avx.c: Rebuild. 4132 1.1 christos * features/i386/amd64-linux.c: Rebuild. 4133 1.1 christos * features/i386/amd64.c: Rebuild. 4134 1.1 christos * features/i386/i386-avx-linux.c: Rebuild. 4135 1.1 christos * features/i386/i386-avx.c: Rebuild. 4136 1.1 christos * features/i386/i386-linux.c: Rebuild. 4137 1.1 christos * features/i386/i386-mmx-linux.c: Rebuild. 4138 1.1 christos * features/i386/i386-mmx.c: Rebuild. 4139 1.1 christos * features/i386/i386.c: Rebuild. 4140 1.1 christos * features/i386/x32-avx-linux.c: Rebuild. 4141 1.1 christos * features/i386/x32-avx.c: Rebuild. 4142 1.1 christos * features/i386/x32-linux.c: Rebuild. 4143 1.1 christos * features/i386/x32.c: Rebuild. 4144 1.1 christos * features/mips-dsp-linux.c: Rebuild. 4145 1.1 christos * features/mips-linux.c: Rebuild. 4146 1.1 christos * features/mips64-dsp-linux.c: Rebuild. 4147 1.1 christos * features/mips64-linux.c: Rebuild. 4148 1.1 christos * features/rs6000/powerpc-32.c: Rebuild. 4149 1.1 christos * features/rs6000/powerpc-32l.c: Rebuild. 4150 1.1 christos * features/rs6000/powerpc-403.c: Rebuild. 4151 1.1 christos * features/rs6000/powerpc-403gc.c: Rebuild. 4152 1.1 christos * features/rs6000/powerpc-405.c: Rebuild. 4153 1.1 christos * features/rs6000/powerpc-505.c: Rebuild. 4154 1.1 christos * features/rs6000/powerpc-601.c: Rebuild. 4155 1.1 christos * features/rs6000/powerpc-602.c: Rebuild. 4156 1.1 christos * features/rs6000/powerpc-603.c: Rebuild. 4157 1.1 christos * features/rs6000/powerpc-604.c: Rebuild. 4158 1.1 christos * features/rs6000/powerpc-64.c: Rebuild. 4159 1.1 christos * features/rs6000/powerpc-64l.c: Rebuild. 4160 1.1 christos * features/rs6000/powerpc-7400.c: Rebuild. 4161 1.1 christos * features/rs6000/powerpc-750.c: Rebuild. 4162 1.1 christos * features/rs6000/powerpc-860.c: Rebuild. 4163 1.1 christos * features/rs6000/powerpc-altivec32.c: Rebuild. 4164 1.1 christos * features/rs6000/powerpc-altivec32l.c: Rebuild. 4165 1.1 christos * features/rs6000/powerpc-altivec64.c: Rebuild. 4166 1.1 christos * features/rs6000/powerpc-altivec64l.c: Rebuild. 4167 1.1 christos * features/rs6000/powerpc-cell32l.c: Rebuild. 4168 1.1 christos * features/rs6000/powerpc-cell64l.c: Rebuild. 4169 1.1 christos * features/rs6000/powerpc-e500.c: Rebuild. 4170 1.1 christos * features/rs6000/powerpc-e500l.c: Rebuild. 4171 1.1 christos * features/rs6000/powerpc-isa205-32l.c: Rebuild. 4172 1.1 christos * features/rs6000/powerpc-isa205-64l.c: Rebuild. 4173 1.1 christos * features/rs6000/powerpc-isa205-altivec32l.c: Rebuild. 4174 1.1 christos * features/rs6000/powerpc-isa205-altivec64l.c: Rebuild. 4175 1.1 christos * features/rs6000/powerpc-isa205-vsx32l.c: Rebuild. 4176 1.1 christos * features/rs6000/powerpc-isa205-vsx64l.c: Rebuild. 4177 1.1 christos * features/rs6000/powerpc-vsx32.c: Rebuild. 4178 1.1 christos * features/rs6000/powerpc-vsx32l.c: Rebuild. 4179 1.1 christos * features/rs6000/powerpc-vsx64.c: Rebuild. 4180 1.1 christos * features/rs6000/powerpc-vsx64l.c: Rebuild. 4181 1.1 christos * features/rs6000/rs6000.c: Rebuild. 4182 1.1 christos * features/s390-linux32.c: Rebuild. 4183 1.1 christos * features/s390-linux32v1.c: Rebuild. 4184 1.1 christos * features/s390-linux32v2.c: Rebuild. 4185 1.1 christos * features/s390-linux64.c: Rebuild. 4186 1.1 christos * features/s390-linux64v1.c: Rebuild. 4187 1.1 christos * features/s390-linux64v2.c: Rebuild. 4188 1.1 christos * features/s390x-linux64.c: Rebuild. 4189 1.1 christos * features/s390x-linux64v1.c: Rebuild. 4190 1.1 christos * features/s390x-linux64v2.c: Rebuild. 4191 1.1 christos * features/tic6x-c62x-linux.c: Rebuild. 4192 1.1 christos * features/tic6x-c62x.c: Rebuild. 4193 1.1 christos * features/tic6x-c64x-linux.c: Rebuild. 4194 1.1 christos * features/tic6x-c64x.c: Rebuild. 4195 1.1 christos * features/tic6x-c64xp-linux.c: Rebuild. 4196 1.1 christos * features/tic6x-c64xp.c: Rebuild. 4197 1.1 christos 4198 1.1 christos 2012-07-27 Tom Tromey <tromey (a] redhat.com> 4199 1.1 christos 4200 1.1 christos * c-exp.y (classify_name): Avoid assignment in condition. 4201 1.1 christos 4202 1.1 christos 2012-07-27 Roland Schwingel <roland.schwingel (a] onevision.com> 4203 1.1 christos 4204 1.1 christos * amd64-windows-tdep.c: Include "frame.h". 4205 1.1 christos (amd64_windows_skip_trampoline_code): New function. 4206 1.1 christos (amd64_windows_init_abi): Add trampoline registration. 4207 1.1 christos 4208 1.1 christos 2012-07-27 Yao Qi <yao (a] codesourcery.com> 4209 1.1 christos 4210 1.1 christos * tracepoint.c (cur_traceframe_number): Remove. 4211 1.1 christos (set_tfile_traceframe): Remove. 4212 1.1 christos (tfile_trace_find, tfile_fetch_registers): Update callers. 4213 1.1 christos (tfile_xfer_partial, tfile_get_trace_state_variable_value): Likewise. 4214 1.1 christos (tfile_open, tfile_trace_find): Likewise. 4215 1.1 christos 4216 1.1 christos 2012-07-27 Yao Qi <yao (a] codesourcery.com> 4217 1.1 christos 4218 1.1 christos * thread.c (switch_to_thread): Don't call registers_changed. 4219 1.1 christos 4220 1.1 christos 2012-07-26 Tom Tromey <tromey (a] redhat.com> 4221 1.1 christos 4222 1.1 christos * Makefile.in (SFILES): Remove objc-exp.y. 4223 1.1 christos (YYFILES): Remove objc-exp.c. 4224 1.1 christos (YYOBJ): Remove objc-exp.o. 4225 1.1 christos (local-maintainer-clean): Don't mention objc-exp.c. 4226 1.1 christos * c-exp.y: Include objc-lang.h. 4227 1.1 christos (%union) <class>: New field. 4228 1.1 christos (NSSTRING, SELECTOR, CLASSNAME, OBJC_LBRAC): New tokens. 4229 1.1 christos (exp): Clone subscript production for OBJC_LBRAC. Add various 4230 1.1 christos Objective C productions. 4231 1.1 christos (msglist, msgarglist, msgarg): New productions. 4232 1.1 christos (array_mod, func_mod, operator): Clone productions for 4233 1.1 christos OBJC_LBRAC. 4234 1.1 christos (parse_string_or_char): Handle '@' strings. 4235 1.1 christos (lex_one_token): Return OBJC_LBRAC. Recognize @selector. 4236 1.1 christos (classify_name): Check la_name_of_this. Recognize ObjC class 4237 1.1 christos names. 4238 1.1 christos * objc-exp.y: Remove. 4239 1.1 christos * objc-lang.c (objc_language_defn): Use c_parse, c_error. 4240 1.1 christos * objc-lang.h (objc_parse, objc_error): Don't declare. 4241 1.1 christos 4242 1.1 christos 2012-07-26 Markus Metzger <markus.t.metzger (a] intel.com> 4243 1.1 christos 4244 1.1 christos * python/py-inferior.c (infpy_threads): Call update_thread_list (). 4245 1.1 christos 4246 1.1 christos 2012-07-26 Jan Kratochvil <jan.kratochvil (a] redhat.com> 4247 1.1 christos 4248 1.1 christos * auto-load.c (auto_load_info_scripts): Remove immediate_quit increment 4249 1.1 christos and decrement. 4250 1.1 christos 4251 1.1 christos 2012-07-26 Tom Tromey <tromey (a] redhat.com> 4252 1.1 christos 4253 1.1 christos * copying.c: Rebuild. 4254 1.1 christos * copying.awk: Don't use immediate_quit. Use 'no_set_class', not 4255 1.1 christos 'no_class'. 4256 1.1 christos 4257 1.1 christos 2012-07-26 Tom Tromey <tromey (a] redhat.com> 4258 1.1 christos 4259 1.1 christos * symmisc.c (print_symbol_bcache_statistics): Use QUIT, not 4260 1.1 christos immediate_quit. 4261 1.1 christos (print_objfile_statistics): Likewise. 4262 1.1 christos (maintenance_print_symbols): Likewise. 4263 1.1 christos (maintenance_print_msymbols): Likewise. 4264 1.1 christos (maintenance_print_objfiles): Likewise. 4265 1.1 christos * psymtab.c (print_partial_symbols): Call QUIT. 4266 1.1 christos (maintenance_print_psymbols): Likewise. Don't modify 4267 1.1 christos immediate_quit. 4268 1.1 christos * copying.c (show_copying_command): Don't modify immediate_quit. 4269 1.1 christos (show_warranty_command): Likewise. 4270 1.1 christos * cli/cli-cmds.c (show_version): Don't modify immediate_quit. 4271 1.1 christos 4272 1.1 christos 2012-07-26 Keith Seitz <keiths (a] redhat.com> 4273 1.1 christos 4274 1.1 christos * linespec.c (linespec_lexer_lex_number): The input 4275 1.1 christos is also a valid number if the next character is a comma 4276 1.1 christos or colon. 4277 1.1 christos 4278 1.1 christos 2012-07-26 Joel Brobecker <brobecker (a] adacore.com> 4279 1.1 christos 4280 1.1 christos * NEWS: Document new --enable-libmcheck/--disable-libmcheck 4281 1.1 christos configure options. 4282 1.1 christos 4283 1.1 christos 2012-07-26 Tristan Gingold <gingold (a] adacore.com> 4284 1.1 christos 4285 1.1 christos * machoread.c: Include gdb_bfd.h. 4286 1.1 christos 4287 1.1 christos 2012-07-26 Tristan Gingold <gingold (a] adacore.com> 4288 1.1 christos 4289 1.1 christos * dwarf2loc.c (locexpr_describe_location_piece): Use uint64_t for 4290 1.1 christos offset. 4291 1.1 christos 4292 1.1 christos 2012-07-26 Siddhesh Poyarekar <siddhesh (a] redhat.com> 4293 1.1 christos 4294 1.1 christos * dwarf2loc.c (dwarf2_evaluate_loc_desc_full): Expand parameter 4295 1.1 christos SIZE to size_t. 4296 1.1 christos (dwarf2_evaluate_loc_desc): Likewise. 4297 1.1 christos (dwarf2_loc_desc_needs_frame): Likewise. 4298 1.1 christos (locexpr_describe_location_1): Likewise. 4299 1.1 christos * dwarf2loc.h (struct dwarf2_locexpr_baton): Make SIZE as 4300 1.1 christos size_t. 4301 1.1 christos (struct dwarf2_loclist_baton): Likewise. 4302 1.1 christos * dwarf2read.c (struct dwarf_block): Likewise. 4303 1.1 christos (dump_die_shallow): Use pulongest to print dwarf_block.size. 4304 1.1 christos (decode_locdesc): Expand SIZE and I to size_t. 4305 1.1 christos 4306 1.1 christos 2012-07-25 Jan Kratochvil <jan.kratochvil (a] redhat.com> 4307 1.1 christos 4308 1.1 christos * contrib/cc-with-tweaks.sh: Put into comment path gdb/contrib/. 4309 1.1 christos 4310 1.1 christos 2012-07-25 Joel Brobecker <brobecker (a] adacore.com> 4311 1.1 christos 4312 1.1 christos * doublest.c (convert_doublest_to_floatformat): If the exponent 4313 1.1 christos is too small, treat the value as zero. If the exponent is too 4314 1.1 christos large, treat the value as infinity. 4315 1.1 christos 4316 1.1 christos 2012-07-25 Joel Brobecker <brobecker (a] adacore.com> 4317 1.1 christos 4318 1.1 christos * configure.ac: Add --enable-lmcheck configure option. 4319 1.1 christos * configure: Regenerate. 4320 1.1 christos 4321 1.1 christos 2012-07-25 Tom Tromey <tromey (a] redhat.com> 4322 1.1 christos 4323 1.1 christos * NEWS: Mention maint info bfds. 4324 1.1 christos * gdb_bfd.c (all_bfds): New global. 4325 1.1 christos (gdb_bfd_ref, gdb_bfd_unref): Update all_bfds. 4326 1.1 christos (print_one_bfd, maintenance_info_bfds, _initialize_gdb_bfd): 4327 1.1 christos New functions. 4328 1.1 christos 4329 1.1 christos 2012-07-25 Ralf Corspius <ralf.corsepius (a] rtems.org> 4330 1.1 christos 4331 1.1 christos * configure.tgt: Add v850*-*-rtems*. 4332 1.1 christos 4333 1.1 christos 2012-07-25 Tom Tromey <tromey (a] redhat.com> 4334 1.1 christos 4335 1.1 christos * macrotab.c (macro_bcache_str): Remove cast. 4336 1.1 christos 4337 1.1 christos 2012-07-25 Hui Zhu <hui_zhu (a] mentor.com> 4338 1.1 christos 4339 1.1 christos * linespec.c (linespec_lexer_lex_number): Update comments, 4340 1.1 christos change the return and add check to make sure the input is 4341 1.1 christos the decimal numbers. 4342 1.1 christos (linespec_lexer_lex_one): If linespec_lexer_lex_number return 4343 1.1 christos false, call linespec_lexer_lex_string. 4344 1.1 christos 4345 1.1 christos 2012-07-24 Tom Tromey <tromey (a] redhat.com> 4346 1.1 christos 4347 1.1 christos * symfile.c (symbol_file_add): Don't open BFD twice. 4348 1.1 christos 4349 1.1 christos 2012-07-24 Marc Khouzam <marc.khouzam (a] ericsson.com> 4350 1.1 christos 4351 1.1 christos * breakpoint.c (create_breakpoint): Store condition for pending 4352 1.1 christos breakpoints. 4353 1.1 christos 4354 1.1 christos 2012-07-24 Andreas Schwab <schwab (a] linux-m68k.org> 4355 1.1 christos 4356 1.1 christos * m68k-tdep.c (m68k_reg_struct_return_p): Accept complex types. 4357 1.1 christos (m68k_return_value): Handle complex types like structures. 4358 1.1 christos (m68k_svr4_return_value): Likewise. 4359 1.1 christos 4360 1.1 christos 2012-07-24 Marcus Shawcroft <marcus.shawcroft (a] arm.com> 4361 1.1 christos 4362 1.1 christos * gdb_bfd.c (zlib_decompress_section) <!HAVE_ZLIB_H>: Adjust 4363 1.1 christos parameters to bfd_get_section_name. 4364 1.1 christos 4365 1.1 christos 2012-07-24 Yao Qi <yao (a] codesourcery.com> 4366 1.1 christos 4367 1.1 christos * cli/cli-setshow.c: Handle case 'var_uinteger' 4368 1.1 christos and 'var_zuninteger' together. Handle case 'var_integer' and 4369 1.1 christos 'var_zinteger' together. 4370 1.1 christos 4371 1.1 christos 2012-07-23 Keith Seitz <keiths (a] redhat.com> 4372 1.1 christos 4373 1.1 christos * linespec.c (convert_linespec_to_sal): Don't add 4374 1.1 christos any symbols to the result vector if symbol_to_sal 4375 1.1 christos returns zero. 4376 1.1 christos 4377 1.1 christos 2012-07-23 Keith Seitz <keiths (a] redhat.com> 4378 1.1 christos 4379 1.1 christos * linespec.c (decode_objc): Record the function name 4380 1.1 christos in the linespec. 4381 1.1 christos 4382 1.1 christos 2012-07-23 Tom Tromey <tromey (a] redhat.com> 4383 1.1 christos 4384 1.1 christos * rs6000-nat.c (add_vmap): Rewrite archive loop. Fix reference 4385 1.1 christos counting. 4386 1.1 christos * exec.c (exec_close_1): Unconditionally release vmap's BFD. 4387 1.1 christos (map_vmap): Acquire a reference to the BFD. 4388 1.1 christos 4389 1.1 christos 2012-07-23 Siddhesh Poyarekar <siddhesh (a] redhat.com> 4390 1.1 christos 4391 1.1 christos * p-valprint.c (pascal_object_print_value): Replace potentially 4392 1.1 christos unsafe alloca with xmalloc/xfree. 4393 1.1 christos * valops.c (search_struct_method): Likewise. 4394 1.1 christos 4395 1.1 christos 2012-07-23 Tom Tromey <tromey (a] redhat.com> 4396 1.1 christos 4397 1.1 christos * solib-svr4.c (enable_break): Update. 4398 1.1 christos * bfd-target.h (target_bfd_reopen): Update documentation. 4399 1.1 christos 4400 1.1 christos 2012-07-23 Tom Tromey <tromey (a] redhat.com> 4401 1.1 christos 4402 1.1 christos * symfile.c (separate_debug_file_exists): Update. 4403 1.1 christos (gdb_bfd_open_maybe_remote): Rename from bfd_open_maybe_remote. 4404 1.1 christos (reread_symbols): Update. 4405 1.1 christos * elfread.c (build_id_verify): Update. 4406 1.1 christos * symfile.h (gdb_bfd_open_maybe_remote): Rename from 4407 1.1 christos bfd_open_maybe_remote. 4408 1.1 christos 4409 1.1 christos 2012-07-23 Tom Tromey <tromey (a] redhat.com> 4410 1.1 christos 4411 1.1 christos * gdb_bfd.c (gdb_bfd_ref, gdb_bfd_unref): Fix comment. 4412 1.1 christos 4413 1.1 christos 2012-07-23 Tom Tromey <tromey (a] redhat.com> 4414 1.1 christos 4415 1.1 christos * coffread.c (coff_symfile_read): Make a cleanup for 'debugfile' 4416 1.1 christos and 'abfd'. 4417 1.1 christos * elfread.c (elf_symfile_read): Make a cleanup for 'debugfile' 4418 1.1 christos and 'abfd'. 4419 1.1 christos * jit.c (jit_bfd_try_read_symtab): Make a cleanup for 'nbfd'. 4420 1.1 christos * machoread.c (macho_add_oso_symfile): Make a cleanup for 4421 1.1 christos 'abfd'. 4422 1.1 christos (macho_symfile_read): Make a cleanup for 'dsym_bfd'. 4423 1.1 christos * objfiles.c (allocate_objfile): Acquire a new reference. 4424 1.1 christos * rs6000-nat.c (add_vmap): Don't acquire a BFD reference. 4425 1.1 christos * solib.c (solib_read_symbols): Don't acquire a BFD reference. 4426 1.1 christos * spu-linux-nat.c (spu_symbol_file_add_from_memory): Make 4427 1.1 christos a cleanup for 'nbfd'. 4428 1.1 christos * symfile-mem.c (symbol_file_add_from_memory): Make a cleanup 4429 1.1 christos for 'nbfd'. 4430 1.1 christos * symfile.c (symbol_file_add_with_addrs_or_offsets): Don't 4431 1.1 christos make a cleanup for 'abfd'. 4432 1.1 christos (symbol_file_add): Make a BFD cleanup. 4433 1.1 christos 4434 1.1 christos 2012-07-23 Tom Tromey <tromey (a] redhat.com> 4435 1.1 christos 4436 1.1 christos * cli/cli-dump.c (bfd_openr_with_cleanup): Use gdb_bfd_openr. 4437 1.1 christos (bfd_openw_with_cleanup): Use gdb_bfd_openw. 4438 1.1 christos * corelow.c (core_open): Use gdb_bfd_fopen. 4439 1.1 christos * dsrec.c (load_srec): Use gdb_bfd_openr. 4440 1.1 christos * exec.c (exec_file_attach): Use gdb_bfd_fopen. 4441 1.1 christos * gcore.c (gcore_memory_sections): Use gdb_bfd_openw. 4442 1.1 christos * gdb_bfd.c (gdb_bfd_fopen, gdb_bfd_openr, gdb_bfd_openw) 4443 1.1 christos (gdb_bfd_openr_iovec, gdb_bfd_openr_next_archived_file) 4444 1.1 christos (gdb_bfd_fdopenr): New functions. 4445 1.1 christos * gdb_bfd.h (gdb_bfd_fopen, gdb_bfd_openr, gdb_bfd_openw) 4446 1.1 christos (gdb_bfd_openr_iovec, gdb_bfd_openr_next_archived_file) 4447 1.1 christos (gdb_bfd_fdopenr): Declare. 4448 1.1 christos * jit.c (bfd_open_from_target_memory): Use gdb_bfd_openr_iovec. 4449 1.1 christos * m32-rom.c (m32r_load, m32r_upload_command): Use gdb_bfd_openr. 4450 1.1 christos * machoread.c (macho_symfile_read_all_oso): Use gdb_bfd_openr, 4451 1.1 christos gdb_bfd_openr_next_archived_file. 4452 1.1 christos (macho_check_dsym): Use gdb_bfd_openr. 4453 1.1 christos (macho_add_oso_symfile): Don't call gdb_bfd_stash_filename. 4454 1.1 christos * procfs.c (insert_dbx_link_bpt_in_file): Use gdb_bfd_fdopenr. 4455 1.1 christos * remote-m32r-sdi.c (m32r_load): Use gdb_bfd_openr. 4456 1.1 christos * remote-mips.c (mips_load_srec, pmon_load_fast): Use 4457 1.1 christos gdb_bfd_openr. 4458 1.1 christos * remote.c (remote_bfd_open): Use gdb_bfd_openr_iovec. 4459 1.1 christos * rs6000-nat.c (add_vmap): Use gdb_bfd_openr, gdb_bfd_fdopenr, 4460 1.1 christos gdb_bfd_openr_next_archived_file. 4461 1.1 christos * solib-darwin.c (darwin_solib_get_all_image_info_addr_at_init): 4462 1.1 christos Use gdb_bfd_openr. 4463 1.1 christos * solib-pa64.c (pa64_solib_create_inferior_hook): Use 4464 1.1 christos gdb_bfd_openr. 4465 1.1 christos * solib-spu.c (spu_bfd_fopen): Use gdb_bfd_openr_iovec. 4466 1.1 christos * solib.c (solib_bfd_fopen): Use gdb_bfd_fopen. 4467 1.1 christos * spu-linux-nat.c (spu_bfd_open): Use gdb_bfd_openr_iovec. 4468 1.1 christos * symfile.c (bfd_open_maybe_remote): Use gdb_bfd_openr. 4469 1.1 christos (symfile_bfd_open): Use gdb_bfd_fopen. 4470 1.1 christos (generic_load): Use gdb_bfd_openr. 4471 1.1 christos * windows-nat.c (windows_make_so): Use gdb_bfd_openr. 4472 1.1 christos 4473 1.1 christos 2012-07-23 Tom Tromey <tromey (a] redhat.com> 4474 1.1 christos 4475 1.1 christos * bfd-target.c (target_bfd_reopen): Update. 4476 1.1 christos * cli/cli-dump.c (bfd_openr_with_cleanup) 4477 1.1 christos (bfd_openw_with_cleanup): Update. 4478 1.1 christos * corelow.c (core_open): Update. 4479 1.1 christos * dsrec.c (load_srec): Update. 4480 1.1 christos * exec.c (exec_file_attach): Update. 4481 1.1 christos * gcore.c (create_gcore_bfd): Update. 4482 1.1 christos * gdb_bfd.c (gdb_bfd_ref): Return void. 4483 1.1 christos (gdb_bfd_open): Update. 4484 1.1 christos * gdb_bfd.h (gdb_bfd_ref): Return void. 4485 1.1 christos Update comments. 4486 1.1 christos * jit.c (jit_bfd_try_read_symtab): Update. 4487 1.1 christos * m32r-rom.c (m32r_load, m32r_upload_command): Update. 4488 1.1 christos * machoread.c (macho_symfile_read_all_oso): Update. 4489 1.1 christos (macho_check_dsym): Update. 4490 1.1 christos * procfs.c (insert_dbx_link_bpt_in_file): Update. 4491 1.1 christos * remote-m32r-sdi.c (m32r_load): Update. 4492 1.1 christos * remote-mips.c (mips_load_srec, pmon_load_fast): Update. 4493 1.1 christos * rs6000-nat.c (add_vmap): Update. 4494 1.1 christos * solib-darwin.c (darwin_solib_get_all_image_info_addr_at_init): 4495 1.1 christos Update. 4496 1.1 christos * solib-pa64.c (pa64_solib_create_inferior_hook): Update. 4497 1.1 christos * solib-spu.c (spu_bfd_open): Update. 4498 1.1 christos * solib.c (solib_bfd_fopen, solib_read_symbols): Update. 4499 1.1 christos * spu-linux-nat.c (spu_bfd_open): Update. 4500 1.1 christos * symfile.c (bfd_open_maybe_remote, symfile_bfd_open) 4501 1.1 christos (generic_load): Update. 4502 1.1 christos * windows-nat.c (windows_make_so): Update. 4503 1.1 christos 4504 1.1 christos 2012-07-22 Siddhesh Poyarekar <siddhesh (a] redhat.com> 4505 1.1 christos 4506 1.1 christos * sh-tdep.c (sh_treat_as_flt_p): Remove unused variable LEN. 4507 1.1 christos 4508 1.1 christos 2012-07-20 Jeff Kenton <jkenton (a] tilera.com> 4509 1.1 christos 4510 1.1 christos * tilegx-linux-tdep.c (tilegx_linux_sigframe_init): Fix 4511 1.1 christos SIGTRAMP_FRAME unwinding. 4512 1.1 christos 4513 1.1 christos 2012-07-20 Doug Evans <dje (a] google.com> 4514 1.1 christos 4515 1.1 christos * NEWS: Document new options "set/show use-deprecated-index-sections", 4516 1.1 christos and delete reference to --use-deprecated-index-sections. 4517 1.1 christos * symfile.h (use_deprecated_index_sections): Delete. 4518 1.1 christos * dwarf2read.c (use_deprecated_index_sections): Make static. 4519 1.1 christos (read_index_from_section): Update wording of how to load 4520 1.1 christos deprecated index sections. 4521 1.1 christos (_initialize_dwarf2_read): New options 4522 1.1 christos "set/show use-deprecated-index-sections". 4523 1.1 christos * main.c (captured_main): Delete --use-deprecated-index-sections. 4524 1.1 christos 4525 1.1 christos 2012-07-20 Pedro Alves <palves (a] redhat.com> 4526 1.1 christos 4527 1.1 christos PR threads/11692 4528 1.1 christos PR gdb/12203 4529 1.1 christos 4530 1.1 christos * infrun.c (handle_inferior_event) <new thread>: Don't special 4531 1.1 christos case minus_one_ptid. 4532 1.1 christos <TARGET_WAITKIND_SPURIOUS>: Ditto. 4533 1.1 christos * linux-thread-db.c (thread_get_info_callback): Don't return early 4534 1.1 christos if the thread is zombie. 4535 1.1 christos (thread_from_lwp): Change return type to void. Rewrite stale 4536 1.1 christos comment. 4537 1.1 christos (attach_thread): Don't return early if the thread is zombie, 4538 1.1 christos instead set its "dying" flag. 4539 1.1 christos (thread_db_wait): Don't return TARGET_WAITKIND_SPURIOUS anymore. 4540 1.1 christos (find_new_threads_callback): Don't return early if the thread is 4541 1.1 christos zombie. 4542 1.1 christos 4543 1.1 christos 2012-07-20 Pedro Alves <palves (a] redhat.com> 4544 1.1 christos 4545 1.1 christos * linux-nat.c (linux_nat_wait): Dump the passed in target options. 4546 1.1 christos * target.c (target_wait): Likewise. 4547 1.1 christos (str_comma_list_concat_elem, do_option, target_options_to_string): 4548 1.1 christos New functions. 4549 1.1 christos * target.h (target_options_to_string): Declare. 4550 1.1 christos 4551 1.1 christos 2012-07-20 Jan Kratochvil <jan.kratochvil (a] redhat.com> 4552 1.1 christos Tom Tromey <tromey (a] redhat.com> 4553 1.1 christos 4554 1.1 christos * dwarf2read.c (dwarf_decode_macros) 4555 1.1 christos <DW_MACRO_GNU_define_indirect_alt, DW_MACRO_GNU_undef_indirect_alt, 4556 1.1 christos DW_MACRO_GNU_transparent_include_alt>: New cases. 4557 1.1 christos (dwarf_decode_macro_bytes) <DW_MACRO_GNU_define_indirect, 4558 1.1 christos DW_MACRO_GNU_undef_indirect>: Examine 'section_is_dwz'. 4559 1.1 christos 4560 1.1 christos 2012-07-20 Tom Tromey <tromey (a] redhat.com> 4561 1.1 christos 4562 1.1 christos * dwarf2read.c (try_open_dwo_file): Don't call 4563 1.1 christos gdb_bfd_stash_filename. 4564 1.1 christos 4565 1.1 christos 2012-07-20 Pedro Alves <palves (a] redhat.com> 4566 1.1 christos 4567 1.1 christos * i386-tdep.c (i386_record_modrm, i386_record_lea_modrm_addr) 4568 1.1 christos (i386_record_lea_modrm, i386_record_push, i386_record_floats) 4569 1.1 christos (i386_process_record): Tweak description comments. 4570 1.1 christos 4571 1.1 christos 2012-07-20 Pedro Alves <palves (a] redhat.com> 4572 1.1 christos 4573 1.1 christos * i386-tdep.c (i386_record_modrm, i386_record_lea_modrm_addr) 4574 1.1 christos (i386_process_record): Use record_read_memory. 4575 1.1 christos * record.c (record_read_memory): New function. 4576 1.1 christos (record_arch_list_add_mem, record_exec_insn): Use 4577 1.1 christos record_read_memory. 4578 1.1 christos * record.h (record_read_memory): Declare. 4579 1.1 christos 4580 1.1 christos 2012-07-20 Yao Qi <yao (a] codesourcery.com> 4581 1.1 christos 4582 1.1 christos * cli/cli-setshow.c (do_setshow_command): Don't check pointer is 4583 1.1 christos NULL for xfree. 4584 1.1 christos 4585 1.1 christos 2012-07-19 Pedro Alves <palves (a] redhat.com> 4586 1.1 christos 4587 1.1 christos * record.c (record_resume): Ask the target beneath to report all 4588 1.1 christos signals. 4589 1.1 christos 4590 1.1 christos 2012-07-19 Doug Evans <dje (a] google.com> 4591 1.1 christos 4592 1.1 christos * dwarf2read.c (dwarf2_ranges_read): Ignore ranges starting at zero if 4593 1.1 christos there's no section at address zero. 4594 1.1 christos (dwarf2_record_block_ranges): Ditto. 4595 1.1 christos 4596 1.1 christos 2012-07-19 Yao Qi <yao (a] codesourcery.com> 4597 1.1 christos 4598 1.1 christos * command.h, remote.c: Fix a typo in comment. 4599 1.1 christos 4600 1.1 christos 2012-07-19 Tom Tromey <tromey (a] redhat.com> 4601 1.1 christos 4602 1.1 christos PR exp/13206: 4603 1.1 christos * ax-gdb.c (gen_expr) <OP_TYPEOF, OP_DECLTYPE>: New cases. 4604 1.1 christos * breakpoint.c (watchpoint_exp_is_const) <OP_TYPEOF, 4605 1.1 christos OP_DECLTYPE>: New cases. 4606 1.1 christos * c-exp.y (TYPEOF, DECLTYPE): New tokens. 4607 1.1 christos (type_exp): Add new productions. 4608 1.1 christos (ident_tokens): Add __typeof__, typeof, __typeof, __decltype, 4609 1.1 christos and decltype. 4610 1.1 christos * eval.c (evaluate_subexp_standard) <OP_TYPEOF, OP_DECLTYPE>: 4611 1.1 christos New case. 4612 1.1 christos * expprint.c (dump_subexp_body_standard) <OP_TYPEOF, 4613 1.1 christos OP_DECLTYPE>: New case. 4614 1.1 christos * parse.c (operator_length_standard) <OP_TYPEOF, OP_DECLTYPE>: 4615 1.1 christos New case. 4616 1.1 christos * std-operator.def (OP_TYPEOF, OP_DECLTYPE): New constants. 4617 1.1 christos * varobj.c (varobj_create): Handle OP_TYPEOF, OP_DECLTYPE. 4618 1.1 christos 4619 1.1 christos 2012-07-19 Tom Tromey <tromey (a] redhat.com> 4620 1.1 christos 4621 1.1 christos * c-exp.y (enum token_flags): New. 4622 1.1 christos (struct token) <cxx_only>: Remove. 4623 1.1 christos <flags>: New field. 4624 1.1 christos (tokentab3, tokentab2, ident_tokens): Update. 4625 1.1 christos (lex_one_token): Update. Handle FLAG_SHADOW. 4626 1.1 christos 4627 1.1 christos 2012-07-19 Tom Tromey <tromey (a] redhat.com> 4628 1.1 christos 4629 1.1 christos * ax-gdb.c (gen_expr): Handle UNOP_CAST_TYPE, UNOP_MEMVAL_TYPE. 4630 1.1 christos * breakpoint.c (watchpoint_exp_is_const): Handle UNOP_CAST_TYPE, 4631 1.1 christos UNOP_REINTERPRET_CAST, UNOP_DYNAMIC_CAST. 4632 1.1 christos * c-exp.y (exp): Emit UNOP_MEMVAL_TYPE, UNOP_CAST_TYPE. Update 4633 1.1 christos for changes to UNOP_REINTERPRET_CAST, UNOP_DYNAMIC_CAST. Use 4634 1.1 christos type_exp production where appropriate. 4635 1.1 christos * eval.c (evaluate_subexp_standard) <UNOP_CAST_TYPE>: New case. 4636 1.1 christos <UNOP_DYNAMIC_CAST, UNOP_REINTERPRET_CAST>: Update. 4637 1.1 christos <UNOP_MEMVAL_TYPE>: New case. 4638 1.1 christos (evaluate_subexp_for_address) <UNOP_MEMVAL_TYPE>: New case. 4639 1.1 christos (evaluate_subexp_for_sizeof) <UNOP_MEMVAL_TYPE>: New case. 4640 1.1 christos * expprint.c (print_subexp_standard) <UNOP_CAST_TYPE>: New case. 4641 1.1 christos <UNOP_MEMVAL_TYPE>: New case. 4642 1.1 christos (dump_subexp_body_standard) <UNOP_DYNAMIC_CAST, 4643 1.1 christos UNOP_REINTERPRET_CAST>: Update. 4644 1.1 christos <UNOP_CAST_TYPE, UNOP_MEMVAL_TYPE>: New cases. 4645 1.1 christos * parse.c (operator_length_standard) <UNOP_DYNAMIC_CAST, 4646 1.1 christos UNOP_REINTERPRET_CAST>: Update. 4647 1.1 christos <UNOP_CAST_TYPE, UNOP_MEMVAL_TYPE>: New cases. 4648 1.1 christos * stack.c (return_command): Also check for UNOP_CAST_TYPE. 4649 1.1 christos * std-operator.def (UNOP_CAST_TYPE, UNOP_MEMVAL_TYPE): New 4650 1.1 christos constants. 4651 1.1 christos 4652 1.1 christos 2012-07-19 Yao Qi <yao (a] codesourcery.com> 4653 1.1 christos Jan Kratochvil <jan.kratochvil (a] redhat.com> 4654 1.1 christos 4655 1.1 christos * cli/cli-setshow.c (do_setshow_command): Handle case 'var_filename' 4656 1.1 christos and case 'var_optional_filename' together. 4657 1.1 christos * infcmd.c (_initialize_infcmd): Call add_setshow_string_noescape_cmd 4658 1.1 christos instead of add_setshow_optional_filename_cmd for setshow command 4659 1.1 christos 'args'. Set completer for 'set args'. 4660 1.1 christos 4661 1.1 christos 2012-07-18 Doug Evans <dje (a] google.com> 4662 1.1 christos 4663 1.1 christos * common/gdb_vecs.h: Moved here from ./gdb_vecs.h. 4664 1.1 christos * common/gdb_vecs.c: New file, contents from utils.c. 4665 1.1 christos * common/host-defs.h: New file, contents from defs.h. 4666 1.1 christos * utils.h: New file, contents from defs.h. 4667 1.1 christos * defs.h: Move all declarations of objects defined in utils.c 4668 1.1 christos to utils.h (except QUIT() and related). 4669 1.1 christos #include "utils.h", "host-defs.h". 4670 1.1 christos * probe.h (probe_p): Move here from gdb_vecs.h. 4671 1.1 christos * symfile.c: #include "probe.h" instead of "gdb_vecs.h". 4672 1.1 christos * utils.c (free_char_ptr_vec): Moved to common/gdb_vecs.c. 4673 1.1 christos (dirnames_to_char_ptr_vec_append, dirnames_to_char_ptr_vec): Ditto. 4674 1.1 christos * Makefile.in (SFILES): Add common/gdb_vecs.c. 4675 1.1 christos (HFILES_NO_SRCDIR): Add common/gdb_vecs.h, common/host-defs.h, utils.h. 4676 1.1 christos (COMMON_OBS): Add gdb_vecs.o. 4677 1.1 christos (gdb_vecs.o): New rule. 4678 1.1 christos 4679 1.1 christos 2012-07-18 Keith Seitz <keiths (a] redhat.com> 4680 1.1 christos 4681 1.1 christos * linespec.c (add_sal_to_sals): Add LITERAL_CANONICAL 4682 1.1 christos parameter. If non-zero, use SYMNAME as the canonical name 4683 1.1 christos for the SaL. 4684 1.1 christos Update all callers. 4685 1.1 christos (convert_linespec_to_sals): Use add_sal_to_sals for 4686 1.1 christos expressions, too. 4687 1.1 christos (decode_line_full): No need to "fill in missing canonical names" 4688 1.1 christos anymore. Simply make cleanups for the allocated names. 4689 1.1 christos 4690 1.1 christos 2012-07-18 Keith Seitz <keiths (a] redhat.com> 4691 1.1 christos 4692 1.1 christos * linespec.c (struct linespec): Constify expression, 4693 1.1 christos source_filename, function_name, and label_name. 4694 1.1 christos (symbol_not_found_error): Make all parameters const. 4695 1.1 christos (linespec_parser_delete): No need to check for NULL 4696 1.1 christos when using xfree. Cast const char * to char * for xfree. 4697 1.1 christos 4698 1.1 christos 2012-07-18 Keith Seitz <keiths (a] redhat.com> 4699 1.1 christos 4700 1.1 christos * breakpoint.c (invalid_thread_id_error): New function. 4701 1.1 christos (find_condition_and_thread): Use invalid_thread_id_error. 4702 1.1 christos (watch_command_1): Likewise. 4703 1.1 christos 4704 1.1 christos 2012-07-18 Tom Tromey <tromey (a] redhat.com> 4705 1.1 christos 4706 1.1 christos * cc-with-index.sh, cc-with-dwz.sh: Remove. 4707 1.1 christos * contrib/cc-with-tweaks.sh: New file. 4708 1.1 christos 4709 1.1 christos 2012-07-18 Tom Tromey <tromey (a] redhat.com> 4710 1.1 christos 4711 1.1 christos * dwarf2read.c (struct dwz_file) <gdb_index>: New field. 4712 1.1 christos (locate_dwz_sections): Recognize .gdb_index. 4713 1.1 christos (create_cus_from_index_list): New function. 4714 1.1 christos (create_cus_from_index): Use it. Handle .dwz data. 4715 1.1 christos (read_index_from_section): New function, extracted from 4716 1.1 christos dwarf2_read_index. 4717 1.1 christos (dwarf2_read_index): Use it. Read .gdb_index from dwz file, 4718 1.1 christos if needed. 4719 1.1 christos 4720 1.1 christos 2012-07-18 Tom Tromey <tromey (a] redhat.com> 4721 1.1 christos 4722 1.1 christos * dwarf2read.c (struct dwarf2_per_objfile) <dwz_file>: New field. 4723 1.1 christos (struct dwarf2_per_cu_data) <length>: No longer bitfield. 4724 1.1 christos <is_dwz>: New field. 4725 1.1 christos (struct dwz_file): New. 4726 1.1 christos (struct partial_die_info) <is_dwz, spec_is_dwz>: New fields. 4727 1.1 christos (locate_dwz_sections, dwarf2_get_dwz_file) 4728 1.1 christos (get_abbrev_section_for_cu): New functions. 4729 1.1 christos (error_check_comp_unit_head, read_and_check_comp_unit_head) 4730 1.1 christos (read_and_check_type_unit_head): Add abbrev_section argument. 4731 1.1 christos (create_debug_types_hash_table): Update. 4732 1.1 christos (init_cutu_and_read_dies): Use proper abbrev section. 4733 1.1 christos (init_cutu_and_read_dies_no_follow): Likewise. 4734 1.1 christos (set_partial_user): Do nothing if PST==NULL. 4735 1.1 christos (read_comp_units_from_section): New function. 4736 1.1 christos (create_all_comp_units): Use it. 4737 1.1 christos (scan_partial_symbols, partial_die_parent_scope): Update. 4738 1.1 christos (skip_one_die): Handle DW_FORM_GNU_ref_alt, DW_FORM_GNU_strp_alt. 4739 1.1 christos (process_imported_unit_die, read_partial_die): Handle .dwz files. 4740 1.1 christos (find_partial_die): Add offset_in_dwz argument. Update. 4741 1.1 christos (guess_partial_die_structure_name, fixup_partial_die): Update. 4742 1.1 christos (read_attribute_value): Handle DW_FORM_GNU_ref_alt, 4743 1.1 christos DW_FORM_GNU_strp_alt. 4744 1.1 christos (read_indirect_string_from_dwz): New function. 4745 1.1 christos (dwarf2_const_value_attr): Handle DW_FORM_GNU_strp_alt. 4746 1.1 christos (dump_die_shallow): Handle DW_FORM_GNU_ref_alt, DW_FORM_GNU_strp_alt. 4747 1.1 christos (is_ref_attr): Handle DW_FORM_GNU_ref_alt. 4748 1.1 christos (follow_die_offset): Add offset_in_dwz argument. 4749 1.1 christos (follow_die_ref, dwarf2_fetch_die_location_block): Update. 4750 1.1 christos (skip_form_bytes): Handle DW_FORM_GNU_strp_alt. 4751 1.1 christos (dwarf_decode_macro_bytes): Add section_is_dwz argument. 4752 1.1 christos Handle new macro forms. 4753 1.1 christos (dwarf_decode_macros): Update. 4754 1.1 christos (dwarf2_find_containing_comp_unit): Add offset_in_dwz argument. 4755 1.1 christos (dwarf2_per_objfile_free): Unref dwz_bfd, if it exists 4756 1.1 christos (lookup_die_type): Handle DW_FORM_GNU_ref_alt. 4757 1.1 christos (create_debug_types_hash_table): Use correct abbrev section. 4758 1.1 christos (get_debug_line_section): New function. 4759 1.1 christos (dwarf_decode_line_header, dwarf_decode_lines_1): Use it. 4760 1.1 christos (process_full_comp_unit): Pass 'required' argument to 4761 1.1 christos end_symtab_get_static_block. 4762 1.1 christos * buildsym.h (end_symtab_get_static_block): Update. 4763 1.1 christos * buildsym.c (end_symtab_get_static_block): Add 'required' 4764 1.1 christos argument. 4765 1.1 christos (end_symtab, end_expandable_symtab): Update. 4766 1.1 christos 4767 1.1 christos 2012-07-18 Tom Tromey <tromey (a] redhat.com> 4768 1.1 christos 4769 1.1 christos * dwarf2read.c: Don't include zlib.h or sys/mman.h. 4770 1.1 christos (pagesize): Remove. 4771 1.1 christos (struct dwarf2_section_info) <map_addr, map_len>: Remove. 4772 1.1 christos (zlib_decompress_section): Remove. 4773 1.1 christos (dwarf2_read_section): Use gdb_bfd_map_section. 4774 1.1 christos (munmap_section_buffer): Remove. 4775 1.1 christos (free_dwo_file, dwarf2_per_objfile_free): Don't use 4776 1.1 christos munmap_section_buffer. 4777 1.1 christos * gdb_bfd.c: Include zlib.h, sys/mman.h. 4778 1.1 christos (struct gdb_bfd_section_data): New. 4779 1.1 christos (free_one_bfd_section): New function. 4780 1.1 christos (gdb_bfd_close_or_warn): Use free_one_bfd_section. 4781 1.1 christos (get_section_descriptor, zlib_decompress_section) 4782 1.1 christos (gdb_bfd_map_section): New functions. 4783 1.1 christos * gdb_bfd.h (gdb_bfd_map_section): Declare. 4784 1.1 christos 4785 1.1 christos 2012-07-18 Tom Tromey <tromey (a] redhat.com> 4786 1.1 christos 4787 1.1 christos * dwarf2read.c (try_open_dwo_file): use gdb_bfd_open. 4788 1.1 christos 4789 1.1 christos 2012-07-18 Tom Tromey <tromey (a] redhat.com> 4790 1.1 christos 4791 1.1 christos * gdb_bfd.c (struct gdb_bfd_data): New. 4792 1.1 christos (gdb_bfd_cache): New global. 4793 1.1 christos (struct gdb_bfd_cache_search): New. 4794 1.1 christos (hash_bfd, eq_bfd, gdb_bfd_open): New functions. 4795 1.1 christos (gdb_bfd_ref, gdb_bfd_unref): Use gdb_bfd_data. 4796 1.1 christos * gdb_bfd.h (gdb_bfd_open): Declare. 4797 1.1 christos 4798 1.1 christos 2012-07-18 Tom Tromey <tromey (a] redhat.com> 4799 1.1 christos 4800 1.1 christos * utils.c (make_cleanup_bfd_unref): Rename from 4801 1.1 christos make_cleanup_bfd_close. 4802 1.1 christos * defs.h (make_cleanup_bfd_unref): Rename from 4803 1.1 christos make_cleanup_bfd_close. 4804 1.1 christos * cli/cli-dump.c (bfd_openr_with_cleanup): Update. 4805 1.1 christos (bfd_openw_with_cleanup): Update. 4806 1.1 christos * corelow.c (core_open): Update. 4807 1.1 christos * dsrec.c (load_srec): Update. 4808 1.1 christos * m32r-rom.c (m32r_load, m32r_upload_command): Update. 4809 1.1 christos * remote-m32r-sdi.c (m32r_load): Update. 4810 1.1 christos * remote-mips.c (mips_load_srec): Update. 4811 1.1 christos (pmon_load_fast): Update. 4812 1.1 christos * solib-darwin.c (darwin_solib_get_all_image_info_addr_at_init): 4813 1.1 christos Update. 4814 1.1 christos (darwin_bfd_open): Update. 4815 1.1 christos * solib.c (solib_bfd_fopen): Update. 4816 1.1 christos * symfile-mem.c (symbol_file_add_from_memory): Update. 4817 1.1 christos * symfile.c (symbol_file_add_with_addrs_or_offsets): Update. 4818 1.1 christos (symfile_bfd_open): Update. 4819 1.1 christos (generic_load): Update. 4820 1.1 christos 4821 1.1 christos 2012-07-18 Tom Tromey <tromey (a] redhat.com> 4822 1.1 christos 4823 1.1 christos * remote-mips.c (mips_load_srec): Use make_cleanup_bfd_close. 4824 1.1 christos (pmon_load_fast): Likewise. 4825 1.1 christos * m32r-rom.c (m32r_load): Use make_cleanup_bfd_close. 4826 1.1 christos (m32r_upload_command): Likewise. 4827 1.1 christos * dsrec.c (load_srec): Use make_cleanup_bfd_close. 4828 1.1 christos * solib-darwin.c (darwin_solib_get_all_image_info_addr_at_init): 4829 1.1 christos Use make_cleanup_bfd_close. 4830 1.1 christos 4831 1.1 christos 2012-07-18 Tom Tromey <tromey (a] redhat.com> 4832 1.1 christos 4833 1.1 christos * symfile.c (symfile_bfd_open): Don't copy name. Call 4834 1.1 christos gdb_bfd_stash_filename. 4835 1.1 christos (load_command): Open the new BFD before freeing the old. 4836 1.1 christos (bfd_open_maybe_remote): Call gdb_bfd_stash_filename. 4837 1.1 christos * symfile-mem.c (symbol_file_add_from_memory): Don't copy name. 4838 1.1 christos Call gdb_bfd_stash_filename. 4839 1.1 christos * spu-linux-nat.c (spu_bfd_open): Don't copy name. 4840 1.1 christos * solib-spu.c (spu_bfd_fopen): Don't copy name. Call 4841 1.1 christos gdb_bfd_stash_filename. 4842 1.1 christos * solib-darwin.c (darwin_solib_get_all_image_info_addr_at_init): 4843 1.1 christos Free found_pathname. 4844 1.1 christos * rs6000-nat.c (add_vmap): Don't copy filename. Call 4845 1.1 christos gdb_bfd_stash_filename. 4846 1.1 christos * remote.c (remote_bfd_open): Call gdb_bfd_stash_filename. 4847 1.1 christos * machoread.c (macho_add_oso_symfile): Call 4848 1.1 christos gdb_bfd_stash_filename. 4849 1.1 christos (macho_symfile_read_all_oso): Arrange to free archive_name. Call 4850 1.1 christos gdb_bfd_stash_filename. 4851 1.1 christos (macho_check_dsym): Don't copy filename. Call 4852 1.1 christos gdb_bfd_stash_filename. 4853 1.1 christos * jit.c (bfd_open_from_target_memory): Don't copy the filename. 4854 1.1 christos * gdb_bfd.c (gdb_bfd_stash_filename): New function. 4855 1.1 christos * gdb_bfd.h (gdb_bfd_stash_filename): Declare. 4856 1.1 christos * gcore.c (create_gcore_bfd): Call gdb_bfd_stash_filename. 4857 1.1 christos * exec.c (exec_close): Don't free the BFD's filename. 4858 1.1 christos (exec_file_attach): Don't copy the filename. Call 4859 1.1 christos gdb_bfd_stash_filename. 4860 1.1 christos * corelow.c (core_close): Don't free the BFD's filename. 4861 1.1 christos (core_open): Call gdb_bfd_stash_filename. 4862 1.1 christos * corefile.c (reopen_exec_file): Remove #if 0 code. 4863 1.1 christos * solib.c (solib_bfd_fopen): Call gdb_bfd_stash_filename. Free 4864 1.1 christos pathname. 4865 1.1 christos * dwarf2read.c (try_open_dwo_file): Call gdb_bfd_stash_filename. 4866 1.1 christos 4867 1.1 christos 2012-07-18 Tom Tromey <tromey (a] redhat.com> 4868 1.1 christos 4869 1.1 christos * dwarf2read.c (try_open_dwo_file): Use gdb_bfd_ref and 4870 1.1 christos gdb_bfd_unref. 4871 1.1 christos (free_dwo_file): Use gdb_bfd_unref. 4872 1.1 christos * cli/cli-dump.c: Include gdb_bfd.h. 4873 1.1 christos (bfd_openw_with_cleanup): Use gdb_bfd_ref. 4874 1.1 christos (bfd_openr_with_cleanup): Likewise. 4875 1.1 christos * windows-nat.c (windows_make_so): Use gdb_bfd_ref, 4876 1.1 christos gdb_bfd_unref. 4877 1.1 christos * utils.c: Include gdb_bfd.h. 4878 1.1 christos (do_bfd_close_cleanup): Use gdb_bfd_unref. 4879 1.1 christos * symfile.c: Include gdb_bfd.h. 4880 1.1 christos (separate_debug_file_exists): Use gdb_bfd_unref. 4881 1.1 christos (bfd_open_maybe_remote): Use gdb_bfd_ref. 4882 1.1 christos (symfile_bfd_open): Use gdb_bfd_ref, gdb_bfd_unref. 4883 1.1 christos (generic_load): Use gdb_bfd_ref. 4884 1.1 christos (reread_symbols): Use gdb_bfd_unref. 4885 1.1 christos * symfile-mem.c: Include gdb_bfd.h. 4886 1.1 christos (symbol_file_add_from_memory): Use make_cleanup_bfd_close. 4887 1.1 christos * spu-linux-nat.c (spu_bfd_open): Use gdb_bfd_ref, gdb_bfd_unref. 4888 1.1 christos * solib.c: Include gdb_bfd.h. 4889 1.1 christos (solib_bfd_fopen): Use gdb_bfd_ref. 4890 1.1 christos (solib_bfd_open): Use gdb_bfd_unref. 4891 1.1 christos (free_so_symbols): Use gdb_bfd_unref. 4892 1.1 christos (reload_shared_libraries_1): Use gdb_bfd_unref. 4893 1.1 christos * solib-spu.c: Include gdb_bfd.h. 4894 1.1 christos (spu_bfd_fopen): Use gdb_bfd_ref, gdb_bfd_unref. 4895 1.1 christos * solib-pa64.c (pa64_solib_create_inferior_hook): Use gdb_bfd_ref, 4896 1.1 christos gdb_bfd_unref. 4897 1.1 christos * solib-frv.c: Include gdb_bfd.h. 4898 1.1 christos (enable_break2): Use gdb_bfd_unref. 4899 1.1 christos * solib-dsbt.c: Include gdb_bfd.h. 4900 1.1 christos (enable_break2): Use gdb_bfd_unref. 4901 1.1 christos * solib-darwin.c: Include gdb_bfd.h. 4902 1.1 christos (darwin_solib_get_all_image_info_addr_at_init): Use gdb_bfd_ref, 4903 1.1 christos gdb_bfd_unref. 4904 1.1 christos (darwin_bfd_open): Use gdb_bfd_unref. 4905 1.1 christos * rs6000-nat.c (add_vmap): Use gdb_bfd_ref, gdb_bfd_unref. 4906 1.1 christos * remote-mips.c: Include gdb_bfd.h. 4907 1.1 christos (mips_load_srec): Use gdb_bfd_ref. 4908 1.1 christos (pmon_load_fast): Use gdb_bfd_ref. 4909 1.1 christos * remote-m32r-sdi.c: Include gdb_bfd.h. 4910 1.1 christos (m32r_load): Use gdb_bfd_ref. 4911 1.1 christos * record.c: Include gdb_bfd.h. 4912 1.1 christos (record_save_cleanups): Use gdb_bfd_unref. 4913 1.1 christos (cmd_record_save): Use gdb_bfd_unref. 4914 1.1 christos * procfs.c (insert_dbx_link_bpt_in_file): Use gdb_bfd_ref, 4915 1.1 christos gdb_bfd_unref. 4916 1.1 christos * objfiles.h (gdb_bfd_close_or_warn): Remove. 4917 1.1 christos (gdb_bfd_ref, gdb_bfd_unref): Move to gdb_bfd.h. 4918 1.1 christos * objfiles.c: Include gdb_bfd.h. 4919 1.1 christos (free_objfile): Use gdb_bfd_unref. 4920 1.1 christos (gdb_bfd_close_or_warn, gdb_bfd_ref, gdb_bfd_unref): Move to 4921 1.1 christos gdb_bfd.c. 4922 1.1 christos * machoread.c (macho_add_oso_symfile): Use gdb_bfd_unref. 4923 1.1 christos (macho_symfile_read_all_oso): Use gdb_bfd_ref, gdb_bfd_unref. 4924 1.1 christos (macho_check_dsym): Likewise. 4925 1.1 christos * m32r-rom.c: Include gdb_bfd.h. 4926 1.1 christos (m32r_load): Use gdb_bfd_ref. 4927 1.1 christos (m32r_upload_command): Use gdb_bfd_ref. 4928 1.1 christos * jit.c: Include gdb_bfd.h. 4929 1.1 christos (jit_bfd_try_read_symtab): Use gdb_bfd_ref, gdb_bfd_unref. 4930 1.1 christos * gdb_bfd.h: New file. 4931 1.1 christos * gdb_bfd.c: New file. 4932 1.1 christos * gcore.c: Include gdb_bfd.h. 4933 1.1 christos (create_gcore_bfd): Use gdb_bfd_ref. 4934 1.1 christos (do_bfd_delete_cleanup): Use gdb_bfd_unref. 4935 1.1 christos (gcore_command): Use gdb_bfd_unref. 4936 1.1 christos * exec.c: Include gdb_bfd.h. 4937 1.1 christos (exec_close): Use gdb_bfd_unref. 4938 1.1 christos (exec_close_1): Use gdb_bfd_unref. 4939 1.1 christos (exec_file_attach): Use gdb_bfd_ref. 4940 1.1 christos * elfread.c: Include gdb_bfd.h. 4941 1.1 christos (build_id_verify): Use gdb_bfd_unref. 4942 1.1 christos * dsrec.c: Include gdb_bfd.h. 4943 1.1 christos (load_srec): Use gdb_bfd_ref. 4944 1.1 christos * corelow.c: Include gdb_bfd.h. 4945 1.1 christos (core_close): Use gdb_bfd_unref. 4946 1.1 christos (core_open): Use gdb_bfd_ref. 4947 1.1 christos * bfd-target.c: Include gdb_bfd.h. 4948 1.1 christos (target_bfd_xclose): Use gdb_bfd_unref. 4949 1.1 christos (target_bfd_reopen): Use gdb_bfd_ref. 4950 1.1 christos * Makefile.in (SFILES): Add gdb_bfd.c. 4951 1.1 christos (HFILES_NO_SRCDIR): Add gdb_bfd.h. 4952 1.1 christos (COMMON_OBS): Add gdb_bfd.o. 4953 1.1 christos 4954 1.1 christos 2012-07-18 Keith Seitz <keiths (a] redhat.com> 4955 1.1 christos 4956 1.1 christos * breakpoint.c (find_condition_and_thread): Initialize 4957 1.1 christos TASK and REST. 4958 1.1 christos (create_breakpiont): find_condition_and_thread will now 4959 1.1 christos initialize COND_STRING, THREAD, and REST (and TASK). 4960 1.1 christos (addr_string_to_sals): Likewise. 4961 1.1 christos 4962 1.1 christos 2012-07-18 Pedro Alves <palves (a] redhat.com> 4963 1.1 christos 4964 1.1 christos * infrun.c (handle_inferior_event) <TARGET_WAITKIND_NO_HISTORY>: 4965 1.1 christos Pull the single step breakpoints out of the target. 4966 1.1 christos 4967 1.1 christos 2012-07-18 Sergio Durigan Junior <sergiodj (a] redhat.com> 4968 1.1 christos 4969 1.1 christos * probe.c (probe_safe_evaluate_at_pc): Rename variable `n_probes'. 4970 1.1 christos * stap-probe.c (compile_probe_arg): Likewise. 4971 1.1 christos 4972 1.1 christos 2012-07-18 Sergio Durigan Junior <sergiodj (a] redhat.com> 4973 1.1 christos 4974 1.1 christos * elfread.c (elf_get_probe_argument_count): Remove `objfile' argument. 4975 1.1 christos (elf_compile_to_ax): Likewise. 4976 1.1 christos * infrun.c (insert_exception_resume_from_probe): Likewise. 4977 1.1 christos (check_exception_resume): Remove `objfile' variable. 4978 1.1 christos * probe.c (find_probe_by_pc): Remove `objfile' argument. 4979 1.1 christos (struct probe_and_objfile, probe_and_objfile_s): Delete. 4980 1.1 christos (collect_probes): Adjust return value to `VEC (probe_p) *'. 4981 1.1 christos (compare_entries): Rename to... 4982 1.1 christos (compare_probes): ...this. Adjust function to work with 4983 1.1 christos `struct probe *'. Rename variables `ea' and `eb' to `pa' and `pb' 4984 1.1 christos respectively. 4985 1.1 christos (gen_ui_out_table_header_info): Adjust `probes' argument to be 4986 1.1 christos `VEC (probe_p) *'. 4987 1.1 christos (print_ui_out_info): Adjust argument to be `struct probe *'. 4988 1.1 christos (info_probes_for_ops): Adjust internal computations to use 4989 1.1 christos `VEC (probe_p) *'. 4990 1.1 christos (probe_safe_evaluate_at_pc): Refactor to not pass `objfile' anymore. 4991 1.1 christos * probe.h (struct probe_ops) <get_probe_argument_count, compile_to_ax, 4992 1.1 christos gen_info_probes_table_values>: Remove `objfile' argument. 4993 1.1 christos (struct probe) <objfile>: New field. 4994 1.1 christos (find_probe_by_pc): Remove `objfile' argument. 4995 1.1 christos * stap-probe.c (stap_parse_probe_arguments): Likewise. 4996 1.1 christos (stap_get_probe_argument_count): Likewise. 4997 1.1 christos (stap_get_arg): Likewise. 4998 1.1 christos (stap_evaluate_probe_argument): Likewise. 4999 1.1 christos (stap_compile_to_ax): Likewise. 5000 1.1 christos (compile_probe_arg): Refactor not to pass `objfile' anymore. 5001 1.1 christos (handle_stap_probe): Fill `objfile' field from `struct probe'. 5002 1.1 christos (stap_gen_info_probes_table_header): Remove `objfile' argument. 5003 1.1 christos * symfile.h (struct sym_probe_fns) <sym_evaluate_probe_argument, 5004 1.1 christos sym_compile_to_ax>: Likewise. 5005 1.1 christos 5006 1.1 christos 2012-07-18 Terry Guo <terry.guo (a] arm.com> 5007 1.1 christos 5008 1.1 christos PR 14329 5009 1.1 christos * defs.h (GDB_MI_MSG_WIDTH): New. 5010 1.1 christos * ser_base (ser_base_read_error_fd): New function. 5011 1.1 christos (do_ser_base_readchar): Poll error file descriptor as well as 5012 1.1 christos standard output. 5013 1.1 christos (generic_readchar): Refactor error handling. 5014 1.1 christos 5015 1.1 christos 2012-07-18 Joel Brobecker <brobecker (a] adacore.com> 5016 1.1 christos 5017 1.1 christos * NEWS: Create a new section for the next release branch. 5018 1.1 christos Rename the section of the current branch, now that it has 5019 1.1 christos been cut. 5020 1.1 christos 5021 1.1 christos 2012-07-18 Joel Brobecker <brobecker (a] adacore.com> 5022 1.1 christos 5023 1.1 christos GDB 7.5 branch created (branch timestamp: 2012-07-18 03:22 UTC) 5024 1.1 christos * version.in: Bump version to 7.5.50.20120718-cvs. 5025 1.1 christos 5026 1.1 christos 2012-07-17 Keith Seitz <keiths (a] redhat.com> 5027 1.1 christos 5028 1.1 christos * linespec.c (linespec_parse_line_offset): Make parameter 5029 1.1 christos const. 5030 1.1 christos 5031 1.1 christos 2012-07-16 Jan Kratochvil <jan.kratochvil (a] redhat.com> 5032 1.1 christos 5033 1.1 christos PR 11914 5034 1.1 christos * f-valprint.c (info_common_command): New variable frame_id. 5035 1.1 christos Reinitialize FI form FRAME_ID after each print_variable_and_value. 5036 1.1 christos * printcmd.c (print_variable_and_value): Extend function comment. 5037 1.1 christos Add comment for invalidated FRAME. 5038 1.1 christos * stack.c (backtrace_command_1): New variable frame_id. Reinitialize 5039 1.1 christos FI form FRAME_ID after each print_frame_local_vars. 5040 1.1 christos (struct print_variable_and_value_data): Change frame to frame_id. 5041 1.1 christos (do_print_variable_and_value): New variable frame, initialize it from 5042 1.1 christos p->frame_id. Add comment for invalidated FRAME. 5043 1.1 christos (print_frame_local_vars, print_frame_arg_vars): New function comment. 5044 1.1 christos Update CB_DATA.FRAME to CB_DATA.FRAME_ID initialization. Add comment 5045 1.1 christos for invalidated FRAME. 5046 1.1 christos 5047 1.1 christos 2012-07-16 Marc Khouzam <marc.khouzam (a] ericsson.com> 5048 1.1 christos Pedro Alves <palves (a] redhat.com> 5049 1.1 christos 5050 1.1 christos * linux-nat.c (linux_nat_detach): Don't unregister from the event 5051 1.1 christos loop. 5052 1.1 christos 5053 1.1 christos 2012-07-16 Tom Tromey <tromey (a] redhat.com> 5054 1.1 christos 5055 1.1 christos * jv-typeprint.c (c_type_print_varspec_suffix): Don't declare. 5056 1.1 christos 5057 1.1 christos 2012-07-15 Doug Evans <dje (a] google.com> 5058 1.1 christos 5059 1.1 christos * dwarf2read.c (stmt_list_hash): New struct. 5060 1.1 christos (type_unit_group): Embed "per_cu" member, remove pointer. 5061 1.1 christos New union member "t", move member "tus" into it, all uses updated. 5062 1.1 christos New member "hash", replaces member "line_offset, all uses updated. 5063 1.1 christos (quick_file_names): Replace member "offset" with "hash", all uses 5064 1.1 christos updated. 5065 1.1 christos (hash_stmt_list_entry, eq_stmt_list_entry): New functions. 5066 1.1 christos (hash_file_name_entry, eq_file_name_entry): Call them. 5067 1.1 christos (hash_type_unit_group, eq_type_unit_group): Ditto. 5068 1.1 christos (dw2_get_cu, dw2_get_primary_cu): Replace assert with a better one. 5069 1.1 christos (dw2_get_file_names_reader): Fix file name table calculation for TUs. 5070 1.1 christos (dw2_get_file_names): Update. 5071 1.1 christos (create_type_unit_group): Replace "per_cu" arg with "cu". 5072 1.1 christos All callers updated. Fix "quick" (.gdb_index) handling. 5073 1.1 christos (get_type_unit_group): Replace "per_cu" arg with "cu". 5074 1.1 christos All callers updated. 5075 1.1 christos (build_type_unit_groups): Don't reset tu_stats. 5076 1.1 christos 5077 1.1 christos * symtab.c (filename_seen_cache): Delete members "tab_alloc_size", 5078 1.1 christos "tab_cur_size". Change member "tab" to be a htab_t. 5079 1.1 christos (create_filename_seen_cache): Update. 5080 1.1 christos (clear_filename_seen_cache, delete_filename_seen_cache): Update. 5081 1.1 christos (filename_seen): Update. 5082 1.1 christos 5083 1.1 christos 2012-07-13 Doug Evans <dje (a] google.com> 5084 1.1 christos 5085 1.1 christos * symtab.c (filename_seen): Update comment. 5086 1.1 christos 5087 1.1 christos 2012-07-13 Jan Kratochvil <jan.kratochvil (a] redhat.com> 5088 1.1 christos Doug Evans <dje (a] google.com> 5089 1.1 christos 5090 1.1 christos * buildsym.c (end_symtab_1): Split it to ... 5091 1.1 christos (end_symtab_get_static_block): ... this ... 5092 1.1 christos (end_symtab_from_static_block): ... and this function. 5093 1.1 christos (end_symtab, end_expandable_symtab): Call them. 5094 1.1 christos * buildsym.h (end_symtab_get_static_block) 5095 1.1 christos (end_symtab_from_static_block): New declarations. 5096 1.1 christos * dwarf2read.c (process_full_comp_unit): New variable static_block. 5097 1.1 christos Set its valid CU ranges. 5098 1.1 christos 5099 1.1 christos 2012-07-13 Jan Kratochvil <jan.kratochvil (a] redhat.com> 5100 1.1 christos 5101 1.1 christos * dwarf2loc.c (disassemble_dwarf_expression): Handle 5102 1.1 christos DW_OP_GNU_parameter_ref. 5103 1.1 christos 5104 1.1 christos 2012-07-13 Jan Kratochvil <jan.kratochvil (a] redhat.com> 5105 1.1 christos 5106 1.1 christos * dwarf2read.c (read_call_site_scope): Do not gdb_assert for invalid 5107 1.1 christos read-in CALL_SITE_PARAMETER_PARAM_OFFSET. 5108 1.1 christos 5109 1.1 christos 2012-07-13 Doug Evans <dje (a] google.com> 5110 1.1 christos 5111 1.1 christos * symtab.c (output_source_filename): Delete unnecessary forward decl. 5112 1.1 christos (filename_seen_cache): New struct. 5113 1.1 christos (INITIAL_FILENAME_SEEN_CACHE_SIZE): New macro. 5114 1.1 christos (create_filename_seen_cache): New function. 5115 1.1 christos (clear_filename_seen_cache, delete_filename_seen_cache): New functions. 5116 1.1 christos (filename_seen): Delete arg "first". New arg "cache". All callers 5117 1.1 christos updated. 5118 1.1 christos (output_source_filename_data): New struct. 5119 1.1 christos (output_source_filename): Delete arg "first". New arg "data". 5120 1.1 christos All callers updated. 5121 1.1 christos (sources_info): Delete local "first". New locals "data", "cleanups". 5122 1.1 christos Rewrite to use filename_seen_cache. 5123 1.1 christos (add_partial_filename_data): Delete member "first". New member 5124 1.1 christos "filename_seen_cache". All uses updated. 5125 1.1 christos (make_source_files_completion_list): Rewrite to use 5126 1.1 christos filename_seen_cache. 5127 1.1 christos 5128 1.1 christos 2012-07-12 Doug Evans <dje (a] google.com> 5129 1.1 christos 5130 1.1 christos * psymtab.c (map_symbol_filenames_psymtab): Skip shared psymtabs. 5131 1.1 christos 5132 1.1 christos 2012-07-10 Doug Evans <dje (a] google.com> 5133 1.1 christos 5134 1.1 christos PR gdb/13498 5135 1.1 christos * dwarf2read.c (dwarf2_per_objfile): New members n_type_unit_groups, 5136 1.1 christos all_type_unit_groups, type_unit_groups, tu_stats. 5137 1.1 christos (dwarf2_per_cu_data): Move "imported_symtabs" into new union "s". 5138 1.1 christos All uses updated. Add type_unit_group to union "s". 5139 1.1 christos (type_unit_group): New struct. 5140 1.1 christos (IS_TYPE_UNIT_GROUP): New macro. 5141 1.1 christos (abbrev_table): Delete unused member "section". 5142 1.1 christos (dw2_do_instantiate_symtab): Early exit if type_unit_group. 5143 1.1 christos (dw2_get_cu): Assert not used with type_unit_group. 5144 1.1 christos (dw2_get_primary_cu): New function. 5145 1.1 christos (dw2_build_type_unit_groups_reader): New function. 5146 1.1 christos (dw2_build_type_unit_groups): New function. 5147 1.1 christos (dw2_get_file_names): Assert not called on type units. 5148 1.1 christos (dw2_map_symtabs_matching_filename): Call dw2_build_type_unit_groups. 5149 1.1 christos Redo loop to iterate over type unit groups instead of type units. 5150 1.1 christos (dw2_expand_symtabs_matching, dw2_map_symbol_filenames): Ditto. 5151 1.1 christos (read_abbrev_offset): New function. 5152 1.1 christos (init_cutu_and_read_dies): New arg "abbrev_table". All callers 5153 1.1 christos updated. 5154 1.1 christos (create_partial_symtab): New function. 5155 1.1 christos (process_psymtab_comp_unit_reader): Assert not used with type units. 5156 1.1 christos Call create_partial_symtab. 5157 1.1 christos (process_psymtab_type_unit): Delete. 5158 1.1 christos (hash_type_unit_group, eq_type_unit_group): New functions. 5159 1.1 christos (allocate_type_unit_groups_table): New function. 5160 1.1 christos (NO_STMT_LIST_TYPE_UNIT_PSYMTAB): New macro. 5161 1.1 christos (NO_STMT_LIST_TYPE_UNIT_PSYMTAB_SIZE): New macro. 5162 1.1 christos (create_type_unit_group, get_type_unit_group): New functions. 5163 1.1 christos (tu_abbrev_offset): New struct. 5164 1.1 christos (sort_tu_by_abbrev_offset): New function. 5165 1.1 christos (add_type_unit_group_to_table): New function. 5166 1.1 christos (build_type_unit_groups): New function. 5167 1.1 christos (build_type_psymtabs_reader): New function. 5168 1.1 christos (build_type_psymtab_dependencies): New function. 5169 1.1 christos (build_type_psymtabs): Rewrite. 5170 1.1 christos (scan_partial_symbols): Flag an error if a DW_TAG_imported_unit 5171 1.1 christos is seen in a type unit. 5172 1.1 christos (process_queue): Move symtab expansion debugging printfs here. 5173 1.1 christos Call process_full_type_unit for type units. 5174 1.1 christos (compute_symtab_includes): Assert not called for type units. 5175 1.1 christos (process_cu_includes): Don't call compute_symtab_includes for 5176 1.1 christos type units. 5177 1.1 christos (process_full_type_unit): New function. 5178 1.1 christos (process_imported_unit_die): Flag an error if called for type units. 5179 1.1 christos (handle_DW_AT_stmt_list): Delete arg "want_line_info". All callers 5180 1.1 christos updated. Assert not called for type units. 5181 1.1 christos (read_file_scope): Call dwarf2_start_symtab. 5182 1.1 christos (setup_type_unit_groups): New function. 5183 1.1 christos (read_type_unit_scope): Rewrite. 5184 1.1 christos (abbrev_table_read_table): Initialize abbrev_table->offset. 5185 1.1 christos (abbrev_table_free_cleanup): New function. 5186 1.1 christos (dwarf2_start_symtab): New function. 5187 1.1 christos (load_full_type_unit): Assert not called for type unit groups. 5188 1.1 christos * buildsym.c (finish_block_internal): New arg "expandable". 5189 1.1 christos All callers updated. 5190 1.1 christos (start_symtab): Move most contents to ... 5191 1.1 christos (restart_symtab): ... here. New function. 5192 1.1 christos (reset_symtab_globals): New function. 5193 1.1 christos (end_symtab_1): Renamed from end_symtab. New arg "expandable". 5194 1.1 christos Call reset_symtab_globals. 5195 1.1 christos (end_symtab, end_expandable_symtab): New functions. 5196 1.1 christos (set_missing_symtab, augment_type_symtab): New functions. 5197 1.1 christos * buildsym.h (end_expandable_symtab): Declare. 5198 1.1 christos (augment_type_symtab, restart_symtab): Declare. 5199 1.1 christos * psympriv.h (struct partial_symtab): New member "anonymous". 5200 1.1 christos * psymtab.c (partial_map_symtabs_matching_filename): Ignore 5201 1.1 christos anonymous psymtabs. 5202 1.1 christos (read_psymtabs_with_filename): Ditto. 5203 1.1 christos (map_symbol_filenames_psymtab, psymtab_to_fullname): Ditto. 5204 1.1 christos (expand_symtabs_matching_via_partial): Ditto. 5205 1.1 christos (dump_psymtab): Update. 5206 1.1 christos * dictionary.c (dict_add_pending): New function. 5207 1.1 christos * dictionary.h (dict_add_pending): Declare. 5208 1.1 christos 5209 1.1 christos 2012-07-09 Doug Evans <dje (a] google.com> 5210 1.1 christos 5211 1.1 christos * buildsym.c (start_subfile): Remove unnecessary check for 5212 1.1 christos name == NULL. 5213 1.1 christos 5214 1.1 christos * psymtab.c (allocate_psymtab): Use host_address_to_string. 5215 1.1 christos 5216 1.1 christos * dwarf2read.c (load_full_type_unit): Simplify. 5217 1.1 christos 5218 1.1 christos * dwarf2read.c (dwarf2_per_objfile): Change type of all_type_units 5219 1.1 christos to struct signatured_type **. All uses updated. 5220 1.1 christos 5221 1.1 christos * dwarf2read.c (dwarf2_attr_no_follow): Delete unused arg "cu". 5222 1.1 christos All callers updated. 5223 1.1 christos 5224 1.1 christos 2012-07-09 Tom Tromey <tromey (a] redhat.com> 5225 1.1 christos 5226 1.1 christos * c-exp.y (check_parameter_typelist): New function. 5227 1.1 christos (parameter_typelist): Call it. 5228 1.1 christos * eval.c (make_params): Handle '(void)' case. 5229 1.1 christos * gdbtypes.c (lookup_function_type_with_arguments): Handle 5230 1.1 christos '(void)' case. 5231 1.1 christos 5232 1.1 christos 2012-07-07 Jan Kratochvil <jan.kratochvil (a] redhat.com> 5233 1.1 christos 5234 1.1 christos * common/linux-ptrace.c: Include gdb_assert.h. 5235 1.1 christos <__i386__> (linux_ptrace_test_ret_to_nx_instr): New declaration. 5236 1.1 christos <__i386__>: Include sys/reg.h, sys/mman.h, signal.h, sys/wait.h and 5237 1.1 christos stdint.h. 5238 1.1 christos (linux_ptrace_test_ret_to_nx, linux_ptrace_init_warnings): New 5239 1.1 christos functions. 5240 1.1 christos * common/linux-ptrace.h (linux_ptrace_init_warnings): New declarations. 5241 1.1 christos * linux-nat.c (linux_child_post_attach) 5242 1.1 christos (linux_child_post_startup_inferior): Call linux_ptrace_init_warnings. 5243 1.1 christos 5244 1.1 christos 2012-07-07 Jan Kratochvil <jan.kratochvil (a] redhat.com> 5245 1.1 christos 5246 1.1 christos * linux-thread-db.c (thread_db_find_new_threads_silently): Do not apply 5247 1.1 christos nptl <2.7 bug workaround for core files. 5248 1.1 christos 5249 1.1 christos 2012-07-06 Jan Kratochvil <jan.kratochvil (a] redhat.com> 5250 1.1 christos 5251 1.1 christos * linux-nat.c (resume_lwp, linux_nat_resume): Remove LP->SIGINFO 5252 1.1 christos clearing. 5253 1.1 christos (save_siginfo): Remove. 5254 1.1 christos (stop_wait_callback, linux_nat_filter_event): Remove the save_siginfo 5255 1.1 christos call. 5256 1.1 christos (resume_stopped_resumed_lwps): Remove LP->SIGINFO clearing. 5257 1.1 christos (linux_nat_get_siginfo): Use PTRACE_GETSIGINFO. 5258 1.1 christos * linux-nat.h (struct lwp_info): Remove field siginfo. 5259 1.1 christos 5260 1.1 christos 2012-07-06 Jan Kratochvil <jan.kratochvil (a] redhat.com> 5261 1.1 christos 5262 1.1 christos Code cleanup for the next patch. 5263 1.1 christos * arm-linux-nat.c (arm_linux_stopped_data_address): Change variable 5264 1.1 christos siginfo_p to siginfo, update its users incl. the linux_nat_get_siginfo 5265 1.1 christos call for it. 5266 1.1 christos * ia64-linux-nat.c (ia64_linux_stopped_data_address): Likewise. 5267 1.1 christos (ia64_linux_stopped_data_address): 5268 1.1 christos * linux-nat.c (linux_nat_get_siginfo): Add parameter siginfo, change 5269 1.1 christos the return value. 5270 1.1 christos * linux-nat.h (linux_nat_get_siginfo): Likewise. 5271 1.1 christos * ppc-linux-nat.c (ppc_linux_stopped_data_address): Change variable 5272 1.1 christos siginfo_p to siginfo, update its users incl. the linux_nat_get_siginfo 5273 1.1 christos call for it. 5274 1.1 christos 5275 1.1 christos 2012-07-06 Jan Kratochvil <jan.kratochvil (a] redhat.com> 5276 1.1 christos 5277 1.1 christos PR 14321 5278 1.1 christos * findcmd.c (parse_find_args): New variable pattern_buf_size_need. 5279 1.1 christos Increase buffer sizes to 2x we need, not just 2x of the previous size. 5280 1.1 christos 5281 1.1 christos 2012-07-06 Tom Tromey <tromey (a] redhat.com> 5282 1.1 christos 5283 1.1 christos * c-exp.y (DOTDOTDOT): New token. 5284 1.1 christos (func_mod, exp): Use parameter_typelist. 5285 1.1 christos (parameter_typelist): New production. 5286 1.1 christos (tokentab3): Add "..." token. 5287 1.1 christos * eval.c (make_params): Handle varargs. 5288 1.1 christos * gdbtypes.c (lookup_function_type_with_arguments): Handle 5289 1.1 christos varargs. 5290 1.1 christos 5291 1.1 christos 2012-07-06 Tom Tromey <tromey (a] redhat.com> 5292 1.1 christos 5293 1.1 christos PR exp/9608: 5294 1.1 christos * c-exp.y (%union) <tvec>: Change type. 5295 1.1 christos (func_mod): Now uses <tvec> type. 5296 1.1 christos (exp): Update for tvec change. 5297 1.1 christos (direct_abs_decl): Push the typelist. 5298 1.1 christos (func_mod): Return a typelist. 5299 1.1 christos (nonempty_typelist): Update for tvec change. 5300 1.1 christos * gdbtypes.c (lookup_function_type_with_arguments): New function. 5301 1.1 christos * gdbtypes.h (lookup_function_type_with_arguments): Declare. 5302 1.1 christos * parse.c (pop_type_list): New function. 5303 1.1 christos (push_typelist): New function. 5304 1.1 christos (follow_types): Handle tp_function_with_arguments. 5305 1.1 christos * parser-defs.h (type_ptr): New typedef. Define a VEC. 5306 1.1 christos (enum type_pieces) <tp_function_with_arguments>: New constant. 5307 1.1 christos (union type_stack_elt) <typelist_val>: New field. 5308 1.1 christos (push_typelist): Declare. 5309 1.1 christos 5310 1.1 christos 2012-07-06 Tom Tromey <tromey (a] redhat.com> 5311 1.1 christos 5312 1.1 christos * c-exp.y (%union) <type_stack>: New field. 5313 1.1 christos (abs_decl, direct_abs_decl): Use <type_stack> type. Update. 5314 1.1 christos (ptr_operator_ts): New production. 5315 1.1 christos (ptype): Update. 5316 1.1 christos * parse.c (type_stack_reserve): New function. 5317 1.1 christos (check_type_stack_depth): Use it. 5318 1.1 christos (pop_type_stack, append_type_stack, push_type_stack) 5319 1.1 christos (get_type_stack, type_stack_cleanup): New functions. 5320 1.1 christos (follow_types): Handle tp_type_stack. 5321 1.1 christos (_initialize_parse): Simplify initialization. 5322 1.1 christos * parser-defs.h (enum type_pieces) <tp_type_stack>: New 5323 1.1 christos constant. 5324 1.1 christos (union type_stack_elt) <stack_val>: New field. 5325 1.1 christos (get_type_stack, append_type_stack, push_type_stack) 5326 1.1 christos (type_stack_cleanup): Declare. 5327 1.1 christos 5328 1.1 christos 2012-07-06 Tom Tromey <tromey (a] redhat.com> 5329 1.1 christos 5330 1.1 christos * parser-defs.h (type_stack, type_stack_size, type_stack_depth): 5331 1.1 christos Remove. 5332 1.1 christos (struct type_stack): New. 5333 1.1 christos * parse.c (type_stack, type_stack_size, type_stack_depth): 5334 1.1 christos Remove. 5335 1.1 christos (type_stack): New global. 5336 1.1 christos (parse_exp_in_context, check_type_stack_depth) 5337 1.1 christos (insert_into_type_stack, insert_type, push_type, push_type_int) 5338 1.1 christos (insert_type_address_space, pop_type, pop_type_int) 5339 1.1 christos (_initialize_parse): Update. 5340 1.1 christos 5341 1.1 christos 2012-07-06 Tom Tromey <tromey (a] redhat.com> 5342 1.1 christos 5343 1.1 christos * c-exp.y (func_mod, direct_abs_decl, abs_decl, ptr_operator): 5344 1.1 christos Remove %type. 5345 1.1 christos 5346 1.1 christos 2012-07-06 Siddhesh Poyarekar <siddhesh (a] redhat.com> 5347 1.1 christos 5348 1.1 christos * c-lang.c (c_printstr): Remove ununsed variable WIDTH. 5349 1.1 christos 5350 1.1 christos 2012-07-06 Siddhesh Poyarekar <siddhesh (a] redhat.com> 5351 1.1 christos Jan Kratochvil <jan.kratochvil (a] redhat.com> 5352 1.1 christos 5353 1.1 christos * cp-valprint.c (cp_print_value): Replace potentially unsafe 5354 1.1 christos alloca with xmalloc/xfree. 5355 1.1 christos 5356 1.1 christos 2012-07-06 Siddhesh Poyarekar <siddhesh (a] redhat.com> 5357 1.1 christos 5358 1.1 christos * MAINTAINERS (Write After Approval): Add myself to the list. 5359 1.1 christos 5360 1.1 christos 2012-07-05 Doug Evans <dje (a] google.com> 5361 1.1 christos 5362 1.1 christos * dwarf2read.c (dw2_expand_symtabs_matching): Fix typo. 5363 1.1 christos 5364 1.1 christos 2012-07-05 Hui Zhu <hui_zhu (a] mentor.com> 5365 1.1 christos 5366 1.1 christos * ax-gdb.c (cli/cli-utils.h): New include. 5367 1.1 christos (linespec.h): Ditto. 5368 1.1 christos (agent_eval_command_one): New function. 5369 1.1 christos (agent_command_1): Ditto. 5370 1.1 christos (agent_command): Call function agent_command_1. 5371 1.1 christos (agent_eval_command): Ditto. 5372 1.1 christos (_initialize_ax_gdb): Change help for "maint agent" 5373 1.1 christos and "maint agent-eval". 5374 1.1 christos 5375 1.1 christos 2012-07-05 Hui Zhu <hui_zhu (a] mentor.com> 5376 1.1 christos 5377 1.1 christos * breakpoint.c (check_for_argument): Move to file cli/cli-utils.c. 5378 1.1 christos * cli/cli-utils.c (check_for_argument): New function. 5379 1.1 christos * cli/cli-utils.h (check_for_argument): Ditto. 5380 1.1 christos 5381 1.1 christos 2012-07-04 H.J. Lu <hongjiu.lu (a] intel.com> 5382 1.1 christos 5383 1.1 christos * NEWS: Mention x32 ABI support. 5384 1.1 christos 5385 1.1 christos 2012-07-04 H.J. Lu <hongjiu.lu (a] intel.com> 5386 1.1 christos 5387 1.1 christos * amd64-tdep.c (amd64_x32_init_abi): Set sp_regnum_from_eax to 5388 1.1 christos AMD64_RSP_REGNUM and pc_regnum_from_eax to AMD64_RIP_REGNUM. 5389 1.1 christos 5390 1.1 christos * i386-tdep.c (i386_gdbarch_init): Initialize sp_regnum_from_eax 5391 1.1 christos and pc_regnum_from_eax to -1. Update SP regnum from 5392 1.1 christos sp_regnum_from_eax and PC regnum from pc_regnum_from_eax if 5393 1.1 christos needed. 5394 1.1 christos 5395 1.1 christos * i386-tdep.h (gdbarch_tdep): Add sp_regnum_from_eax and 5396 1.1 christos pc_regnum_from_eax. 5397 1.1 christos 5398 1.1 christos 2012-07-03 Jan Kratochvil <jan.kratochvil (a] redhat.com> 5399 1.1 christos 5400 1.1 christos Fix 'warning: parameter has incomplete type' with gcc-3.4.6. 5401 1.1 christos * dwarf2expr.h: Include gdbtypes.h. 5402 1.1 christos (enum call_site_parameter_kind, union call_site_parameter_u): Remove 5403 1.1 christos these forward declarations. 5404 1.1 christos (cu_offset, sect_offset): Move these ... 5405 1.1 christos * gdbtypes.h: Remove include dwarf2expr.h. 5406 1.1 christos (cu_offset, sect_offset): ... here. 5407 1.1 christos 5408 1.1 christos 2012-07-03 H.J. Lu <hongjiu.lu (a] intel.com> 5409 1.1 christos 5410 1.1 christos * amd64-linux-tdep.c (linux_sigtramp_code): Renamed to ... 5411 1.1 christos (amd64_linux_sigtramp_code): This. 5412 1.1 christos (amd64_x32_linux_sigtramp_code): New. 5413 1.1 christos (LINUX_SIGTRAMP_LEN): Updated. 5414 1.1 christos (amd64_linux_sigtramp_start): Check x32 sigtramp. 5415 1.1 christos 5416 1.1 christos 2012-07-02 Jan Kratochvil <jan.kratochvil (a] redhat.com> 5417 1.1 christos 5418 1.1 christos * linux-thread-db.c (thread_db_new_objfile): Fix comment typos. 5419 1.1 christos 5420 1.1 christos 2012-07-02 Jan Kratochvil <jan.kratochvil (a] redhat.com> 5421 1.1 christos 5422 1.1 christos * config.in: Regenerate. 5423 1.1 christos * configure: Regenerate. 5424 1.1 christos * configure.ac: Remove check for gnu/libc-version.h. 5425 1.1 christos * linux-thread-db.c <HAVE_GNU_LIBC_VERSION_H>: Remove include of 5426 1.1 christos gnu/libc-version.h. 5427 1.1 christos (enable_thread_event_reporting) <HAVE_GNU_LIBC_VERSION_H>: Remove 5428 1.1 christos variables libc_version, libc_major and libc_minor. Replace sscanf by 5429 1.1 christos inferior_has_bug. Extend the comment. 5430 1.1 christos 5431 1.1 christos 2012-07-02 Jan Kratochvil <jan.kratochvil (a] redhat.com> 5432 1.1 christos 5433 1.1 christos * linux-thread-db.c (inferior_has_bug): New function. 5434 1.1 christos (thread_db_find_new_threads_silently): Return boolean as checked by 5435 1.1 christos inferior_has_bug, describe it in the comments. 5436 1.1 christos (try_thread_db_load_1): Move call to thread_db_find_new_threads_silently 5437 1.1 christos earlier. Abort the initialization if it returned non-zero. 5438 1.1 christos (thread_db_new_objfile): Exclude debug files. 5439 1.1 christos (thread_db_find_new_threads_2): Preinitialize ERR. Check errors also 5440 1.1 christos if UNTIL_NO_NEW, 5441 1.1 christos 5442 1.1 christos 2012-07-02 Doug Evans <dje (a] google.com> 5443 1.1 christos 5444 1.1 christos * dwarf2read.c (maybe_queue_comp_unit): Move definition next to others 5445 1.1 christos related to queue management. 5446 1.1 christos 5447 1.1 christos * dwarf2read.c (create_debug_types_hash_table): Use "debug dwarf2-read" 5448 1.1 christos instead of "debug dwarf2-die" in debugging printfs. 5449 1.1 christos (create_debug_info_hash_table_reader): Ditto. 5450 1.1 christos (create_debug_info_hash_table): Ditto. 5451 1.1 christos (init_dwo_file): Ditto. 5452 1.1 christos (init_cutu_and_read_dies): Add debugging printf. 5453 1.1 christos (init_cutu_and_read_dies_no_follow): Ditto. 5454 1.1 christos (process_psymtab_comp_unit_reader): Ditto. 5455 1.1 christos 5456 1.1 christos 2012-07-02 Stan Shebs <stan (a] codesourcery.com> 5457 1.1 christos 5458 1.1 christos Add target-side support for dynamic printf. 5459 1.1 christos * NEWS: Mention the additional style. 5460 1.1 christos * breakpoint.h (struct bp_target_info): New fields tcommands, persist. 5461 1.1 christos (struct bp_location): New field cmd_bytecode. 5462 1.1 christos * breakpoint.c: Include format.h. 5463 1.1 christos (disconnected_dprintf): New global. 5464 1.1 christos (parse_cmd_to_aexpr): New function. 5465 1.1 christos (build_target_command_list): New function. 5466 1.1 christos (insert_bp_location): Call it. 5467 1.1 christos (remove_breakpoints_pid): Skip dprintf breakpoints. 5468 1.1 christos (print_one_breakpoint_location): Ditto. 5469 1.1 christos (dprintf_style_agent): New global. 5470 1.1 christos (dprintf_style_enums): Add dprintf_style_agent. 5471 1.1 christos (update_dprintf_command_list): Add agent case. 5472 1.1 christos (agent_printf_command): New function. 5473 1.1 christos (_initialize_breakpoint): Add new commands. 5474 1.1 christos * common/ax.def (printf): New bytecode. 5475 1.1 christos * ax.h (ax_string): Declare. 5476 1.1 christos * ax-gdb.h (gen_printf): Declare. 5477 1.1 christos * ax-gdb.c: Include cli-utils.h, format.h. 5478 1.1 christos (gen_printf): New function. 5479 1.1 christos (maint_agent_print_command): New function. 5480 1.1 christos (_initialize_ax_gdb): Add maint agent-printf command. 5481 1.1 christos * ax-general.c (ax_string): New function. 5482 1.1 christos (ax_print): Add printf disassembly. 5483 1.1 christos * Makefile.in (SFILES): Add format.c 5484 1.1 christos (COMMON_OBS): Add format.o. 5485 1.1 christos * common/format.h: New file. 5486 1.1 christos * common/format.c: New file. 5487 1.1 christos * printcmd.c: Include format.h. 5488 1.1 christos (ui_printf): Call parse_format_string. 5489 1.1 christos * remote.c (remote_state): New field breakpoint_commands. 5490 1.1 christos (PACKET_BreakpointCommands): New enum. 5491 1.1 christos (remote_breakpoint_commands_feature): New function. 5492 1.1 christos (remote_protocol_features): Add new BreakpointCommands entry. 5493 1.1 christos (remote_can_run_breakpoint_commands): New function. 5494 1.1 christos (remote_add_target_side_commands): New function. 5495 1.1 christos (remote_insert_breakpoint): Call it. 5496 1.1 christos (remote_insert_hw_breakpoint): Ditto. 5497 1.1 christos (_initialize_remote): Add new packet configuration for 5498 1.1 christos target-side breakpoint commands. 5499 1.1 christos * target.h (struct target_ops): New field 5500 1.1 christos to_can_run_breakpoint_commands. 5501 1.1 christos (target_can_run_breakpoint_commands): New macro. 5502 1.1 christos * target.c (update_current_target): Handle 5503 1.1 christos to_can_run_breakpoint_commands. 5504 1.1 christos 5505 1.1 christos 2012-07-02 Jan Kratochvil <jan.kratochvil (a] redhat.com> 5506 1.1 christos 5507 1.1 christos Execute -ix and -iex only after system and user gdbinit files. 5508 1.1 christos * main.c (captured_main): Move CMDARG_INIT_FILE and CMDARG_INIT_COMMAND 5509 1.1 christos processing down after gdbinit files. 5510 1.1 christos 5511 1.1 christos 2012-07-02 Jan Kratochvil <jan.kratochvil (a] redhat.com> 5512 1.1 christos 5513 1.1 christos Add fnmatch-gnu module. 5514 1.1 christos * gnulib/Makefile.in (aclocal_m4_deps): Add new files and remove one. 5515 1.1 christos * gnulib/configure.ac (AC_INIT): Use now import/memmem.c. 5516 1.1 christos * gnulib/aclocal.m4: Regenerate. 5517 1.1 christos * gnulib/config.in: Regenerate. 5518 1.1 christos * gnulib/configure: Regenerate. 5519 1.1 christos * gnulib/import/dummy.c: Remove. 5520 1.1 christos * gnulib/import/Makefile.am: Regenerate. 5521 1.1 christos * gnulib/import/Makefile.in: Likewise. 5522 1.1 christos * gnulib/import/m4/gnulib-cache.m4: Likewise. 5523 1.1 christos * gnulib/import/m4/gnulib-comp.m4: Likewise. 5524 1.1 christos * gnulib/import/alloca.c: New file. 5525 1.1 christos * gnulib/import/alloca.in.h: Likewise. 5526 1.1 christos * gnulib/import/config.charset: Likewise. 5527 1.1 christos * gnulib/import/fnmatch.c: Likewise. 5528 1.1 christos * gnulib/import/fnmatch.in.h: Likewise. 5529 1.1 christos * gnulib/import/fnmatch_loop.c: Likewise. 5530 1.1 christos * gnulib/import/localcharset.c: Likewise. 5531 1.1 christos * gnulib/import/localcharset.h: Likewise. 5532 1.1 christos * gnulib/import/m4/alloca.m4: Likewise. 5533 1.1 christos * gnulib/import/m4/codeset.m4: Likewise. 5534 1.1 christos * gnulib/import/m4/configmake.m4: Likewise. 5535 1.1 christos * gnulib/import/m4/fcntl-o.m4: Likewise. 5536 1.1 christos * gnulib/import/m4/fnmatch.m4: Likewise. 5537 1.1 christos * gnulib/import/m4/glibc21.m4: Likewise. 5538 1.1 christos * gnulib/import/m4/localcharset.m4: Likewise. 5539 1.1 christos * gnulib/import/m4/locale-fr.m4: Likewise. 5540 1.1 christos * gnulib/import/m4/locale-ja.m4: Likewise. 5541 1.1 christos * gnulib/import/m4/locale-zh.m4: Likewise. 5542 1.1 christos * gnulib/import/m4/mbrtowc.m4: Likewise. 5543 1.1 christos * gnulib/import/m4/mbsinit.m4: Likewise. 5544 1.1 christos * gnulib/import/m4/mbsrtowcs.m4: Likewise. 5545 1.1 christos * gnulib/import/m4/mbstate_t.m4: Likewise. 5546 1.1 christos * gnulib/import/m4/stdbool.m4: Likewise. 5547 1.1 christos * gnulib/import/m4/wchar_h.m4: Likewise. 5548 1.1 christos * gnulib/import/m4/wctype_h.m4: Likewise. 5549 1.1 christos * gnulib/import/m4/wint_t.m4: Likewise. 5550 1.1 christos * gnulib/import/mbrtowc.c: Likewise. 5551 1.1 christos * gnulib/import/mbsinit.c: Likewise. 5552 1.1 christos * gnulib/import/mbsrtowcs-impl.h: Likewise. 5553 1.1 christos * gnulib/import/mbsrtowcs-state.c: Likewise. 5554 1.1 christos * gnulib/import/mbsrtowcs.c: Likewise. 5555 1.1 christos * gnulib/import/ref-add.sin: Likewise. 5556 1.1 christos * gnulib/import/ref-del.sin: Likewise. 5557 1.1 christos * gnulib/import/stdbool.in.h: Likewise. 5558 1.1 christos * gnulib/import/streq.h: Likewise. 5559 1.1 christos * gnulib/import/strnlen1.c: Likewise. 5560 1.1 christos * gnulib/import/strnlen1.h: Likewise. 5561 1.1 christos * gnulib/import/verify.h: Likewise. 5562 1.1 christos * gnulib/import/wchar.in.h: Likewise. 5563 1.1 christos * gnulib/import/wctype.in.h: Likewise. 5564 1.1 christos 5565 1.1 christos 2012-07-02 Jan Kratochvil <jan.kratochvil (a] redhat.com> 5566 1.1 christos 5567 1.1 christos Support shell wildcards for 'set auto-load safe-path'. 5568 1.1 christos * auto-load.c: Include fnmatch.h. 5569 1.1 christos (filename_is_in_dir): Rename to ... 5570 1.1 christos (filename_is_in_pattern_1, filename_is_in_pattern): ... here and split 5571 1.1 christos it. Update function comment. Rename dir_len to pattern_len. New 5572 1.1 christos variables filename_len, pattern and filename. Add more DEBUG_AUTO_LOAD 5573 1.1 christos messages. Use gdb_filename_fnmatch. 5574 1.1 christos (filename_is_in_auto_load_safe_path_vec): Rename variable dir to 5575 1.1 christos pattern. 5576 1.1 christos (_initialize_auto_load): Extend the "set auto-load safe-path" help text. 5577 1.1 christos * defs.h (gdb_filename_fnmatch): New declaration. 5578 1.1 christos * utils.c: Include fnmatch.h. 5579 1.1 christos (gdb_filename_fnmatch): New function. 5580 1.1 christos 5581 1.1 christos 2012-07-02 Sergio Durigan Junior <sergiodj (a] redhat.com> 5582 1.1 christos 5583 1.1 christos * breakpoint.c (BREAK_ARGS_HELP): Include help message for the new 5584 1.1 christos `-probe' and `-probe-stap' options. 5585 1.1 christos 5586 1.1 christos 2012-07-01 Yao Qi <yao (a] codesourcery.com> 5587 1.1 christos 5588 1.1 christos * breakpoint.c: Removed always_inserted_auto, always_inserted_on, 5589 1.1 christos always_inserted_off, and always_inserted_enums. 5590 1.1 christos Change always_inserted_mode's type to 'enum auto_boolean'. 5591 1.1 christos (show_always_inserted_mode, breakpoint_always_inserted_mode): Update 5592 1.1 christos callers. 5593 1.1 christos (_initialize_breakpoint): Call add_setshow_auto_boolean_cmd instead 5594 1.1 christos of add_setshow_enum_cmd. 5595 1.1 christos * infrun.c: Remove can_use_displaced_stepping_auto, 5596 1.1 christos can_use_displaced_stepping_on, can_use_displaced_stepping_off, and 5597 1.1 christos can_use_displaced_stepping_enum. 5598 1.1 christos Change can_use_displaced_stepping's type to 'enum auto_boolean'. 5599 1.1 christos (show_can_use_displaced_stepping, use_displaced_stepping): Update 5600 1.1 christos callers. 5601 1.1 christos (_initialize_infrun): Call add_setshow_auto_boolean_cmd instead of 5602 1.1 christos add_setshow_enum_cmd. 5603 1.1 christos 5604 1.1 christos 2012-06-30 Doug Evans <dje (a] google.com> 5605 1.1 christos 5606 1.1 christos * dwarf2read.c (signatured_type): Make "per_cu" member first. 5607 1.1 christos (init_cutu_and_read_dies): Handle rereading a DWO CU while it's 5608 1.1 christos currently being read. Propagate DW_AT_comp_dir to DWO DIE. 5609 1.1 christos 5610 1.1 christos 2012-06-29 Doug Evans <dje (a] google.com> 5611 1.1 christos 5612 1.1 christos * linespec.c: #include "stack.h". 5613 1.1 christos (decode_line_with_current_source): Moved here from symtab.c and 5614 1.1 christos renamed from decode_line_spec. All callers updated. 5615 1.1 christos (decode_line_with_last_displayed): Moved here from breakpoint.c and 5616 1.1 christos renamed from decode_line_spec_1. All callers updated. 5617 1.1 christos * linespec.h (decode_line_with_current_source): Move declaration here 5618 1.1 christos from symtab.h and renamed from decode_line_spec. 5619 1.1 christos (decode_line_with_last_displayed): Move declaration here from symtab.h 5620 1.1 christos and renamed from decode_line_spec_1. 5621 1.1 christos * macrocmd.c: #include "linespec.h". 5622 1.1 christos * symtab.c: Remove #include "linespec.h". 5623 1.1 christos 5624 1.1 christos 2012-06-28 Doug Evans <dje (a] google.com> 5625 1.1 christos 5626 1.1 christos * dwarf2read.c (get_cu_length): New function. 5627 1.1 christos (offset_in_cu_p, error_check_comp_unit_head): Call it. 5628 1.1 christos (create_debug_types_hash_table): Ditto. 5629 1.1 christos (init_cutu_and_read_dies): Ditto. 5630 1.1 christos (init_cutu_and_read_dies_no_follow): Ditto. 5631 1.1 christos 5632 1.1 christos * dwarf2read.c (dwarf2_find_base_address): Move definition. 5633 1.1 christos 5634 1.1 christos * dwarf2read.c (ABBREV_HASH_SIZE): Remove enclosing #ifndef/#endif. 5635 1.1 christos (struct abbrev_table): Define. 5636 1.1 christos (dwarf2_cu): Replace members dwarf2_abbrevs, abbrev_obstack with 5637 1.1 christos abbrev_table. 5638 1.1 christos (init_cutu_and_read_dies): Update. 5639 1.1 christos (abbrev_table_alloc_abbrev): New function. Replaces 5640 1.1 christos dwarf_alloc_abbrev. All callers updated. 5641 1.1 christos (abbrev_table_add_abbrev): New function. 5642 1.1 christos (abbrev_table_lookup_abbrev): New function. Replaces 5643 1.1 christos dwarf2_lookup_abbrev. All callers updated. 5644 1.1 christos (abbrev_table_read_table): New function. Contents moved here from 5645 1.1 christos dwarf2_read_abbrevs. 5646 1.1 christos (dwarf2_read_abbrevs): Call it. 5647 1.1 christos (abbrev_table_free): New function. 5648 1.1 christos (dwarf2_free_abbrev_table): Call it. 5649 1.1 christos 5650 1.1 christos 2012-06-28 Stan Shebs <stan (a] codesourcery.com> 5651 1.1 christos 5652 1.1 christos * osdata.c (info_osdata_command): Filter out "Title" columns 5653 1.1 christos from non-MI uses. 5654 1.1 christos * common/linux-osdata.c (struct osdata_type): Add title field. 5655 1.1 christos (osdata_table): Add titles to each entry. 5656 1.1 christos (linux_command_xfer_osdata): Add a column for title data. 5657 1.1 christos 5658 1.1 christos 2012-06-28 Stan Shebs <stan (a] codesourcery.com> 5659 1.1 christos 5660 1.1 christos Make logging work for MI. 5661 1.1 christos * NEWS: Mention it. 5662 1.1 christos * interps.h (interp_set_logging_ftype): New typedef. 5663 1.1 christos (struct interp_procs): New field set_logging_proc. 5664 1.1 christos (current_interp_set_logging): Declare. 5665 1.1 christos * interps.c (current_interp_set_logging): New function. 5666 1.1 christos * cli/cli-logging.c: Include interps.h. 5667 1.1 christos (set_logging_redirect): Call current_interp_set_logging. 5668 1.1 christos (pop_output_files): Ditto. 5669 1.1 christos (handle_redirections): Ditto, plus skip ui-out redirect if MI. 5670 1.1 christos * mi/mi-console.h (mi_console_set_raw): Declare. 5671 1.1 christos * mi/mi-console.c (mi_console_set_raw): New function. 5672 1.1 christos * mi/mi-interp.c (saved_raw_stdout): New global. 5673 1.1 christos (mi_set_logging): New function. 5674 1.1 christos (_initialize_mi_interp): Add it to interp procs. 5675 1.1 christos 5676 1.1 christos 2012-06-28 Doug Evans <dje (a] google.com> 5677 1.1 christos 5678 1.1 christos * symtab.c (lookup_symbol_aux_objfile): Use 5679 1.1 christos ALL_OBJFILE_PRIMARY_SYMTABS. 5680 1.1 christos 5681 1.1 christos * gdbtypes.c (lookup_typename): Rename local variable "tmp" to "type". 5682 1.1 christos 5683 1.1 christos 2012-06-28 Jan Kratochvil <jan.kratochvil (a] redhat.com> 5684 1.1 christos 5685 1.1 christos * common/buffer.c: Include inttypes.h and stdint.h. 5686 1.1 christos (buffer_xml_printf): Use PRId64, PRIu64, PRIx64 and PRIo64. 5687 1.1 christos 5688 1.1 christos 2012-06-28 Jan Kratochvil <jan.kratochvil (a] redhat.com> 5689 1.1 christos Pedro Alves <palves (a] redhat.com> 5690 1.1 christos 5691 1.1 christos * gdbthread.h (ALL_THREADS): New macro. 5692 1.1 christos (thread_list): Declare. 5693 1.1 christos * infrun.c (handle_inferior_event) <spurious signal>: Don't keep 5694 1.1 christos going, but instead fall through to the stepping handling. 5695 1.1 christos * linux-nat.c (resume_lwp): New parameter 'signo'. Resume with 5696 1.1 christos the passed in signal. Adjust debug output. 5697 1.1 christos (resume_callback): Rename to ... 5698 1.1 christos (linux_nat_resume_callback): ... this. Pass the thread's last 5699 1.1 christos stop signal, if in "pass" state. 5700 1.1 christos (linux_nat_resume): Adjust to rename. 5701 1.1 christos (stop_wait_callback): New assertion. Don't respawn signals; 5702 1.1 christos instead let the LWP remain with SIGNALLED set. 5703 1.1 christos (linux_nat_wait_1): Remove flushing of pending SIGSTOPs. 5704 1.1 christos * remote.c (append_pending_thread_resumptions): New. 5705 1.1 christos (remote_vcont_resume): Call it. 5706 1.1 christos * target.h (target_resume): Extend comment. 5707 1.1 christos 5708 1.1 christos 2012-06-28 Iain Sandoe <iain (a] codesourcery.com> 5709 1.1 christos 5710 1.1 christos * auxv.c (fprint_target_auxv): Handle extended cache data tags. 5711 1.1 christos 5712 1.1 christos 2012-06-27 Doug Evans <dje (a] google.com> 5713 1.1 christos 5714 1.1 christos * dwarf2read.c (dwarf2_cu): Add ranges_base. 5715 1.1 christos Delete have_addr_base, unused. All uses updated. 5716 1.1 christos (init_cutu_and_read_dies): Process DW_AT_GNU_ranges_base. 5717 1.1 christos (dwarf2_get_pc_bounds): Add ranges_base. 5718 1.1 christos (dwarf2_record_block_ranges): Ditto. 5719 1.1 christos 5720 1.1 christos 2012-06-27 Tom Tromey <tromey (a] redhat.com> 5721 1.1 christos 5722 1.1 christos PR macros/7961: 5723 1.1 christos * varobj.c (varobj_create): Update. 5724 1.1 christos (varobj_set_value): Update. 5725 1.1 christos * tracepoint.c (validate_actionline): Update. 5726 1.1 christos (encode_actions_1): Update. 5727 1.1 christos * parse.c (parse_exp_1): Add 'pc' argument. 5728 1.1 christos (parse_exp_in_context): Add 'pc' argument. Change how 5729 1.1 christos expression_context_pc is set. 5730 1.1 christos (parse_expression): Update. 5731 1.1 christos (parse_field_expression): Update. 5732 1.1 christos * expression.h (parse_exp_1): Update. 5733 1.1 christos * eval.c (parse_to_comma_and_eval): Update. 5734 1.1 christos * breakpoint.c (set_breakpoint_condition): Update. 5735 1.1 christos (update_watchpoint): Update. 5736 1.1 christos (init_breakpoint_sal): Update 5737 1.1 christos (find_condition_and_thread): Update. 5738 1.1 christos (watch_command_1): Update. 5739 1.1 christos (update_breakpoint_locations): Update. 5740 1.1 christos * ada-lang.c (ada_read_renaming_var_value): Update. 5741 1.1 christos (create_excep_cond_exprs): Update. 5742 1.1 christos 5743 1.1 christos 2012-06-27 Doug Evans <dje (a] google.com> 5744 1.1 christos 5745 1.1 christos * dwarf2read.c (per_cu_header_read_in): Simplify, and handle 5746 1.1 christos type units. 5747 1.1 christos 5748 1.1 christos 2012-06-26 Doug Evans <dje (a] google.com> 5749 1.1 christos 5750 1.1 christos * dwarf2read.c (read_and_check_comp_unit_head): Delete unnecessary 5751 1.1 christos prototype. 5752 1.1 christos (error_check_comp_unit_head): New arg abbrev_section. All callers 5753 1.1 christos updated. 5754 1.1 christos (read_and_check_comp_unit_head): Ditto. 5755 1.1 christos (read_and_check_type_unit_head): Ditto. 5756 1.1 christos 5757 1.1 christos 2012-06-26 Siva Chandra Reddy <sivachandra (a] google.com> 5758 1.1 christos 5759 1.1 christos New attribute 'last' for gdb.Symtab_and_line. 5760 1.1 christos * NEWS (Python Scripting): Add entry about the new attribute. 5761 1.1 christos * python/py-symtab.c (salpy_get_last): New function which 5762 1.1 christos implements the get method for the 'last' attribute of 5763 1.1 christos gdb.Symtab_and_line. 5764 1.1 christos (sal_object_getset): Add entry for the 'last' attribute. 5765 1.1 christos 5766 1.1 christos 2012-06-26 Doug Evans <dje (a] google.com> 5767 1.1 christos 5768 1.1 christos * dwarf2read.c (dwo_section_names): Add macinfo_dwo, macro_dwo. 5769 1.1 christos (dwo_sections): Add macinfo, macro. 5770 1.1 christos (dwarf2_locate_dwo_sections): Watch for macro sections. 5771 1.1 christos (dwarf_decode_macros): Remove args lh, abfd, section, section_name. 5772 1.1 christos All callers updated. Handle DWO files. 5773 1.1 christos 5774 1.1 christos * NEWS: Mention new options "set debug dwarf2-read" and 5775 1.1 christos "set debug symtab-create". 5776 1.1 christos * dwarf2read.c (dwarf2_read_debug): New static global. 5777 1.1 christos (dwarf2_build_psymtabs_hard): Add debugging printfs. 5778 1.1 christos (process_queue): Ditto. 5779 1.1 christos (process_full_comp_unit): Ditto. 5780 1.1 christos (_initialize_dwarf2_read): Add new option "set debug dwarf2-read". 5781 1.1 christos * elfread.c (elf_symfile_read): Add debugging printf. 5782 1.1 christos * minsyms.c (install_minimal_symbols): Ditto. 5783 1.1 christos * psymtab.c (allocate_psymtab): Ditto. 5784 1.1 christos * symfile.c (allocate_symtab): Ditto. 5785 1.1 christos * symtab.c (symtab_create_debug): New global. 5786 1.1 christos (_initialize_symtab): Add new option "set debug symtab-create". 5787 1.1 christos * symtab.h (symtab_create_debug): Declare. 5788 1.1 christos 5789 1.1 christos * dwarf2read.c (lookup_dwo_comp_unit): Enhance comment. 5790 1.1 christos (lookup_dwo_type_unit): Ditto. 5791 1.1 christos 5792 1.1 christos 2012-06-26 Roland McGrath <roland (a] hack.frob.com> 5793 1.1 christos H.J. Lu <hongjiu.lu (a] intel.com> 5794 1.1 christos 5795 1.1 christos * amd64-linux-nat.c: Include <sys/user.h>. 5796 1.1 christos (ps_get_thread_area): Use PTRACE_PEEKUSER to get fs_base/gs_base 5797 1.1 christos if HAVE_STRUCT_USER_REGS_STRUCT_FS_BASE or 5798 1.1 christos HAVE_STRUCT_USER_REGS_STRUCT_GS_BASE is defined. 5799 1.1 christos 5800 1.1 christos * configure.ac: Check if the fs_base and gs_base members of 5801 1.1 christos `struct user_regs_struct' exist. 5802 1.1 christos * config.in: Regenerated. 5803 1.1 christos * configure: Likewise. 5804 1.1 christos 5805 1.1 christos 2012-06-25 Michael Eager <eager (a] eagercon.com> 5806 1.1 christos 5807 1.1 christos PR python/14291 5808 1.1 christos * python/python.c (gdbpy_write): Check for interrupted output. 5809 1.1 christos 5810 1.1 christos 2012-06-25 Greta Yorsh <greta.yorsh (a] arm.com> 5811 1.1 christos 5812 1.1 christos * arm-tdep.c (arm_in_function_epilogue_p): Recognize POP with a single 5813 1.1 christos register as a stack alignment in ARM mode. 5814 1.1 christos 5815 1.1 christos 2012-06-24 Jan Kratochvil <jan.kratochvil (a] redhat.com> 5816 1.1 christos 5817 1.1 christos Update gnulib to GIT commit a39f53ccb70a613e647e1019fb4c63645220267e. 5818 1.1 christos * gnulib/config.in: Regenerate. 5819 1.1 christos * gnulib/configure: Likewise. 5820 1.1 christos * gnulib/import/m4/extensions.m4: Update it. 5821 1.1 christos * gnulib/import/m4/gnulib-common.m4: Likewise. 5822 1.1 christos * gnulib/import/m4/memmem.m4: Likewise. 5823 1.1 christos * gnulib/import/m4/mmap-anon.m4: Likewise. 5824 1.1 christos * gnulib/import/m4/multiarch.m4: Likewise. 5825 1.1 christos * gnulib/import/stdint.in.h: Likewise. 5826 1.1 christos 5827 1.1 christos 2012-06-24 Yao Qi <yao (a] codesourcery.com> 5828 1.1 christos 5829 1.1 christos * corefile.c (write_memory_with_notification): New. 5830 1.1 christos * gdbcore.h: Declare write_memory_with_notification. 5831 1.1 christos * ada-lang.c (ada_value_assign): Replace 'write_memory' and 5832 1.1 christos 'observer_notify_memory_changed' with 'write_memory_with_notification'. 5833 1.1 christos * valops.c (value_assign): Likewise. 5834 1.1 christos * python/py-inferior.c (infpy_write_memory): Call 5835 1.1 christos 'write_memory_with_notification'. 5836 1.1 christos 5837 1.1 christos 2012-06-24 Jan Kratochvil <jan.kratochvil (a] redhat.com> 5838 1.1 christos 5839 1.1 christos * cc-with-index.sh: Use also -ex "set auto-load no". 5840 1.1 christos 5841 1.1 christos 2012-06-23 Doug Evans <dje (a] google.com> 5842 1.1 christos 5843 1.1 christos PR 14125 5844 1.1 christos * NEWS: Document additions to .gdb_index. 5845 1.1 christos * dwarf2read.c: #include "gdb/gdb-index.h". 5846 1.1 christos (DW2_GDB_INDEX_SYMBOL_STATIC_SET_VALUE): New macro. 5847 1.1 christos (DW2_GDB_INDEX_SYMBOL_KIND_SET_VALUE): New macro. 5848 1.1 christos (DW2_GDB_INDEX_CU_SET_VALUE): New macro. 5849 1.1 christos (dwarf2_read_index): Recognize version 7. 5850 1.1 christos (dw2_do_expand_symtabs_matching): New args want_specific_block, 5851 1.1 christos block_kind, domain): All callers updated. 5852 1.1 christos (dw2_find_symbol_file): Handle new index CU values. 5853 1.1 christos (dw2_expand_symtabs_matching): Match symbol kind if requested. 5854 1.1 christos (add_index_entry): New args is_static, kind. All callers updated. 5855 1.1 christos (offset_type_compare, uniquify_cu_indices): New functions 5856 1.1 christos (symbol_kind): New function. 5857 1.1 christos (write_psymtabs_to_index): Remove duplicate CU values. 5858 1.1 christos (write_psymtabs_to_index): Write .gdb_index version 7. 5859 1.1 christos 5860 1.1 christos 2012-06-22 Joel Brobecker <brobecker (a] adacore.com> 5861 1.1 christos 5862 1.1 christos * configure.ac (build_warnings): Add -Wdeclaration-after-statement. 5863 1.1 christos * configure: Regenerate. 5864 1.1 christos 5865 1.1 christos 2012-06-20 Yao Qi <yao (a] codesourcery.com> 5866 1.1 christos 5867 1.1 christos * python/py-inferior.c: Update comments of infpy_read_memory 5868 1.1 christos and infpy_write_memory. 5869 1.1 christos 5870 1.1 christos 2012-06-19 Tom Tromey <tromey (a] redhat.com> 5871 1.1 christos 5872 1.1 christos PR exp/9514: 5873 1.1 christos * parser-defs.h (insert_type, insert_type_address_space): Declare. 5874 1.1 christos (push_type_address_space): Remove. 5875 1.1 christos * parse.c (insert_into_type_stack): New function. 5876 1.1 christos (insert_type): Likewise. 5877 1.1 christos (insert_type_address_space): Rename from push_type_address_space. 5878 1.1 christos Insert tp_space_identifier. 5879 1.1 christos * c-exp.y (ptr_operator): New production. 5880 1.1 christos (abs_decl): Use ptr_operator. 5881 1.1 christos (space_identifier): Call insert_type_address_space. 5882 1.1 christos (ptype): Don't use const_or_volatile_or_space_identifier. 5883 1.1 christos (const_or_volatile_noopt): Call insert_type. 5884 1.1 christos (conversion_type_id, conversion_declarator): New productions. 5885 1.1 christos (operator): Use conversion_type_id. 5886 1.1 christos 5887 1.1 christos 2012-06-18 Doug Evans <dje (a] google.com> 5888 1.1 christos 5889 1.1 christos * symtab.h (minimal_symbol): New member created_by_gdb. 5890 1.1 christos * elfread.c (elf_symtab_read): Set created_by_gdb for @plt minsym 5891 1.1 christos created by gdb. 5892 1.1 christos * symtab.c (lookup_symbol_in_objfile_from_linkage_name): New function. 5893 1.1 christos (search_symbols): Call it instead of lookup_symbol. 5894 1.1 christos Skip symbols created by gdb. Only scan minsyms if nfiles == 0. 5895 1.1 christos 5896 1.1 christos * dwarf2expr.c (execute_stack_op): Handle DW_OP_GNU_const_index. 5897 1.1 christos Adjust address for DW_OP_GNU_addr_index. 5898 1.1 christos * dwarf2expr.h (dwarf_expr_context): Update comment. 5899 1.1 christos * dwarf2loc.c (locexpr_describe_location_piece): New arg per_cu, 5900 1.1 christos all callers updated. Handle TLS vars described with 5901 1.1 christos DW_OP_GNU_const_index. 5902 1.1 christos (disassemble_dwarf_expression): Handle DW_OP_GNU_addr_index 5903 1.1 christos and DW_OP_GNU_const_index. 5904 1.1 christos * dwarf2read.c (decode_locdesc): Handle DW_OP_GNU_addr_index. 5905 1.1 christos 5906 1.1 christos * block.c (find_block_in_blockvector): Make explicit the fact that we 5907 1.1 christos ignore GLOBAL_BLOCK. 5908 1.1 christos 5909 1.1 christos 2012-06-18 Tom Tromey <tromey (a] redhat.com> 5910 1.1 christos 5911 1.1 christos * c-exp.y (operator): Remove trailing space after "delete" and 5912 1.1 christos "delete[]". 5913 1.1 christos 5914 1.1 christos 2012-06-18 Mark Kettenis <kettenis (a] gnu.org> 5915 1.1 christos Jan Kratochvil <jan.kratochvil (a] redhat.com> 5916 1.1 christos 5917 1.1 christos Switch i386 and derived targets to ON_STACK. 5918 1.1 christos * amd64-dicos-tdep.c (amd64_dicos_push_dummy_code): Remove. 5919 1.1 christos (amd64_dicos_init_abi): Remove its installment. 5920 1.1 christos * dicos-tdep.c (dicos_init_abi): Remove the 5921 1.1 christos set_gdbarch_call_dummy_location call. Update the comment here. 5922 1.1 christos * i386-dicos-tdep.c (i386_dicos_push_dummy_code): Remove. 5923 1.1 christos (i386_dicos_init_abi): Remove its installment. 5924 1.1 christos * i386-tdep.c (i386_push_dummy_code): New function. 5925 1.1 christos (i386_gdbarch_init): Call set_gdbarch_call_dummy_location, install 5926 1.1 christos i386_push_dummy_code. 5927 1.1 christos 5928 1.1 christos 2012-06-18 Jan Kratochvil <jan.kratochvil (a] redhat.com> 5929 1.1 christos 5930 1.1 christos Remove stale dummy frames. 5931 1.1 christos * breakpoint.c: Include dummy-frame.h. 5932 1.1 christos (longjmp_breakpoint_ops): New variable. 5933 1.1 christos (update_breakpoints_after_exec, breakpoint_init_inferior): Delete also 5934 1.1 christos bp_longjmp_call_dummy. 5935 1.1 christos (bpstat_what, bptype_string, print_one_breakpoint_location) 5936 1.1 christos (init_bp_location): Support bp_longjmp_call_dummy. 5937 1.1 christos (set_longjmp_breakpoint): Use longjmp_breakpoint_ops. Comment why. 5938 1.1 christos (set_longjmp_breakpoint_for_call_dummy) 5939 1.1 christos (check_longjmp_breakpoint_for_call_dummy, longjmp_bkpt_dtor): New 5940 1.1 christos functions. 5941 1.1 christos (initialize_breakpoint_ops): Initialize longjmp_breakpoint_ops. 5942 1.1 christos * breakpoint.h (enum bptype): New item bp_longjmp_call_dummy. Delete 5943 1.1 christos FIXME comment and extend the other comment for bp_call_dummy. 5944 1.1 christos (set_longjmp_breakpoint_for_call_dummy) 5945 1.1 christos (check_longjmp_breakpoint_for_call_dummy): New declarations. 5946 1.1 christos * dummy-frame.c: Include gdbthread.h. 5947 1.1 christos (pop_dummy_frame_bpt): New function. 5948 1.1 christos (pop_dummy_frame): Call pop_dummy_frame_bpt. 5949 1.1 christos (dummy_frame_discard): New function. 5950 1.1 christos (cleanup_dummy_frames): Update the comment about longjmps. 5951 1.1 christos * dummy-frame.h (dummy_frame_discard): New declaration. 5952 1.1 christos * gdbthread.h (struct thread_info): Extend initiating_frame comment. 5953 1.1 christos * infcall.c (call_function_by_hand): New variable longjmp_b. Call 5954 1.1 christos set_longjmp_breakpoint_for_call_dummy. Chain its breakpoints with BPT. 5955 1.1 christos * infrun.c (handle_inferior_event) <BPSTAT_WHAT_CLEAR_LONGJMP_RESUME>: 5956 1.1 christos Add case 4 comment. Call check_longjmp_breakpoint_for_call_dummy and 5957 1.1 christos keep_going if IS_LONGJMP and there is no other reason to stop. 5958 1.1 christos 5959 1.1 christos 2012-06-18 Greta Yorsh <Greta.Yorsh (a] arm.com> 5960 1.1 christos 5961 1.1 christos * remote-sim.c (sim_command_completer): Initialize 5962 1.1 christos variable 'result'. 5963 1.1 christos 5964 1.1 christos 2012-06-17 Jan Kratochvil <jan.kratochvil (a] redhat.com> 5965 1.1 christos 5966 1.1 christos * dwarf2expr.c (execute_stack_op): Support DW_OP_GNU_parameter_ref. 5967 1.1 christos * dwarf2loc.c (call_site_parameter_matches): Support 5968 1.1 christos CALL_SITE_PARAMETER_PARAM_OFFSET. 5969 1.1 christos (needs_dwarf_reg_entry_value): Push stub value. 5970 1.1 christos * dwarf2read.c (read_call_site_scope): New variable origin. Support 5971 1.1 christos CALL_SITE_PARAMETER_PARAM_OFFSET and its DW_AT_abstract_origin. 5972 1.1 christos * gdbtypes.h (enum call_site_parameter_kind): New item 5973 1.1 christos CALL_SITE_PARAMETER_PARAM_OFFSET. 5974 1.1 christos (struct call_site.parameter.u): New field param_offset. 5975 1.1 christos 5976 1.1 christos 2012-06-17 Jan Kratochvil <jan.kratochvil (a] redhat.com> 5977 1.1 christos 5978 1.1 christos Code cleanup: Generalize call_site.parameter key. 5979 1.1 christos * dwarf2expr.c (execute_stack_op) <DW_OP_GNU_entry_value>: Remove 5980 1.1 christos variable dwarf_reg. New variable kind_u. Update parameters to 5981 1.1 christos push_dwarf_reg_entry_value. 5982 1.1 christos (ctx_no_push_dwarf_reg_entry_value): Update parameters. 5983 1.1 christos * dwarf2expr.h (enum call_site_parameter_kind) 5984 1.1 christos (union call_site_parameter_u): Forward declarations. 5985 1.1 christos (struct dwarf_expr_context_funcs): Update parameters and their 5986 1.1 christos description for push_dwarf_reg_entry_value. 5987 1.1 christos (ctx_no_push_dwarf_reg_entry_value): Update parameters. 5988 1.1 christos * dwarf2loc.c (call_site_parameter_matches): New function. 5989 1.1 christos (dwarf_expr_reg_to_entry_parameter): Update parameters and their 5990 1.1 christos description. Use call_site_parameter_matches. 5991 1.1 christos (dwarf_expr_push_dwarf_reg_entry_value, value_of_dwarf_reg_entry): 5992 1.1 christos Update parameters and their description. 5993 1.1 christos (value_of_dwarf_block_entry): Remove variables dwarf_reg and fb_offset. 5994 1.1 christos New variable kind_u. Adjust the caller for updated parameters. 5995 1.1 christos (needs_dwarf_reg_entry_value): Update parameters. 5996 1.1 christos * dwarf2read.c (read_call_site_scope): New variable loc. Use it 5997 1.1 christos instead of attr. Update for the changed fields of struct 5998 1.1 christos call_site_parameter. 5999 1.1 christos * gdbtypes.h: Include dwarf2expr.h. 6000 1.1 christos (enum call_site_parameter_kind): New. 6001 1.1 christos (struct call_site.parameter): New field kind. Wrap dwarf_reg and 6002 1.1 christos fb_offset into new union u. 6003 1.1 christos 6004 1.1 christos 2012-06-16 H.J. Lu <hongjiu.lu (a] intel.com> 6005 1.1 christos 6006 1.1 christos * amd64-tdep.c (amd64_x32_analyze_stack_align): New function. 6007 1.1 christos (amd64_analyze_prologue): Call amd64_x32_analyze_stack_align 6008 1.1 christos for x32. 6009 1.1 christos 6010 1.1 christos 2012-06-16 H.J. Lu <hongjiu.lu (a] intel.com> 6011 1.1 christos 6012 1.1 christos * amd64-linux-nat.c (compat_x32_clock_t): New. 6013 1.1 christos (compat_x32_siginfo_t): Likewise. 6014 1.1 christos (compat_x32_siginfo_from_siginfo): Likewise. 6015 1.1 christos (siginfo_from_compat_x32_siginfo): Likewise. 6016 1.1 christos (amd64_linux_siginfo_fixup): Call compat_x32_siginfo_from_siginfo 6017 1.1 christos and siginfo_from_compat_x32_siginfo for x32. 6018 1.1 christos 6019 1.1 christos 2012-06-15 Hui Zhu <hui_zhu (a] mentor.com> 6020 1.1 christos 6021 1.1 christos * tracepoint.c (tfile_xfer_partial): Add a lseek. 6022 1.1 christos 6023 1.1 christos 2012-06-15 H.J. Lu <hongjiu.lu (a] intel.com> 6024 1.1 christos 6025 1.1 christos * amd64-linux-nat.c (ps_get_thread_area): Check bits_per_word 6026 1.1 christos instead of gdbarch_ptr_bit. 6027 1.1 christos * amd64-nat.c (amd64_native_gregset_reg_offset): Likewise. 6028 1.1 christos (amd64_supply_native_gregset): Likewise. 6029 1.1 christos (amd64_collect_native_gregset): Likewise. 6030 1.1 christos * amd64-tdep.c (amd64_supply_fxsave): Likewise. 6031 1.1 christos (amd64_supply_xsave): Likewise. 6032 1.1 christos (amd64_collect_fxsave): Likewise. 6033 1.1 christos (amd64_collect_xsave): Likewise. 6034 1.1 christos 6035 1.1 christos 2012-06-15 H.J. Lu <hongjiu.lu (a] intel.com> 6036 1.1 christos 6037 1.1 christos * amd64-linux-nat.c (AMD64_LINUX_X32_DS): New. 6038 1.1 christos (amd64_linux_read_description): Check DS segment register for 6039 1.1 christos x32 process. 6040 1.1 christos 6041 1.1 christos 2012-06-15 Tom Tromey <tromey (a] redhat.com> 6042 1.1 christos 6043 1.1 christos * dwarf2read.c (dw2_find_symbol_file): Unconditionally use 6044 1.1 christos init_cutu_and_read_dies. 6045 1.1 christos 6046 1.1 christos 2012-06-15 Iain Sandoe <iain (a] codesourcery.com> 6047 1.1 christos 6048 1.1 christos * MAINTAINERS (Write After Approval): Add myself to the list. 6049 1.1 christos 6050 1.1 christos 2012-06-15 Tom Tromey <tromey (a] redhat.com> 6051 1.1 christos 6052 1.1 christos * valops.c (value_find_oload_method_list): Now static. 6053 1.1 christos * value.h (value_find_oload_method_list): Don't declare. 6054 1.1 christos 6055 1.1 christos 2012-06-15 Tom Tromey <tromey (a] redhat.com> 6056 1.1 christos 6057 1.1 christos * valops.c (find_overload_match): Use value_ind. 6058 1.1 christos 6059 1.1 christos 2012-06-15 Maciej W. Rozycki <macro (a] codesourcery.com> 6060 1.1 christos 6061 1.1 christos * infrun.c (handle_inferior_event): Correct indentation. 6062 1.1 christos 6063 1.1 christos 2012-06-14 Doug Evans <dje (a] google.com> 6064 1.1 christos 6065 1.1 christos * dwarf2loc.c (debug_loc_kind): Add DEBUG_LOC_START_LENGTH. 6066 1.1 christos (DEBUG_LOC_START_END): Renamed from DEBUG_LOC_NORMAL. 6067 1.1 christos All uses updated. 6068 1.1 christos (decode_debug_loc_dwo_addresses): New arg "byte_order". All callers 6069 1.1 christos updated. Handle DEBUG_LOC_START_LENGTH. 6070 1.1 christos (dwarf2_find_location_expression): Handle DEBUG_LOC_START_LENGTH. 6071 1.1 christos (loclist_describe_location): Ditto. 6072 1.1 christos 6073 1.1 christos 2012-06-14 Maciej W. Rozycki <macro (a] codesourcery.com> 6074 1.1 christos 6075 1.1 christos PR backtrace/13866 6076 1.1 christos * infrun.c (handle_inferior_event): Re-fetch frame and gdbarch 6077 1.1 christos after hiding inline functions. 6078 1.1 christos 6079 1.1 christos 2012-06-13 Joel Brobecker <brobecker (a] adacore.com> 6080 1.1 christos 6081 1.1 christos * inf-ttrace.c (_initialize_hppa_hpux_nat): Rename into 6082 1.1 christos _initialize_inf_ttrace. 6083 1.1 christos 6084 1.1 christos 2012-06-13 Joel Brobecker <brobecker (a] adacore.com> 6085 1.1 christos 6086 1.1 christos * ia64-hpux-nat.c (_initialize_ia64_hpux_nat): Renames 6087 1.1 christos _initialize_hppa_hpux_nat. 6088 1.1 christos 6089 1.1 christos 2012-06-13 Joel Brobecker <brobecker (a] adacore.com> 6090 1.1 christos 6091 1.1 christos * remote-sim.c (sim_command_completer): Change type of return 6092 1.1 christos value to "VEC (char_ptr) *". Adjust implementation accordingly. 6093 1.1 christos 6094 1.1 christos 2012-06-13 Mark Kettenis <kettenis (a] gnu.org> 6095 1.1 christos Jan Kratochvil <jan.kratochvil (a] redhat.com> 6096 1.1 christos 6097 1.1 christos PR tdep/14222 6098 1.1 christos * i386-tdep.c (i386_push_dummy_call): Unconditionally align the 6099 1.1 christos stack on a 16-byte boundary. 6100 1.1 christos 6101 1.1 christos 2012-06-13 Kaushik Srenevasan <kaushik (a] twitter.com> 6102 1.1 christos 6103 1.1 christos * jit.c (finalize_symtab): Set function's return type to 'void' by 6104 1.1 christos default. 6105 1.1 christos 6106 1.1 christos 2012-06-13 Mark Kettenis <kettenis (a] gnu.org> 6107 1.1 christos H.J. Lu <hongjiu.lu (a] intel.com> 6108 1.1 christos 6109 1.1 christos * amd64-linux-tdep.c (amd64_linux_init_abi_common): New function. 6110 1.1 christos Move bits common to both the classic LP64 and the new x32 ILP32 6111 1.1 christos ABI here. 6112 1.1 christos (amd64_linux_init_abi): Call amd64_linux_init_abi_common. 6113 1.1 christos (amd64_x32_linux_init_abi): New function. 6114 1.1 christos (_initialize_amd64_linux_tdep): Register osabi for bfd_mach_x64_32 6115 1.1 christos subtype. 6116 1.1 christos 6117 1.1 christos * i386-tdep.h (i386_pseudo_register_name): New prototype. 6118 1.1 christos * i386-tdep.c (i386_pseudo_register_name): Make public. 6119 1.1 christos * amd64-tdep.h (amd64_x32_init_abi): New prototype. 6120 1.1 christos * amd64-tdep.c (amd64_dword_names): Add "eip". 6121 1.1 christos (amd64_x32_pseudo_register_type): New function 6122 1.1 christos (amd64_x32_init_abi): New function. 6123 1.1 christos 6124 1.1 christos 2012-06-13 Jan Kratochvil <jan.kratochvil (a] redhat.com> 6125 1.1 christos 6126 1.1 christos PR build/14003 6127 1.1 christos * inferior.h (struct inferior_suspend_state): Comment out. 6128 1.1 christos (struct inferior): Comment out the field suspend. 6129 1.1 christos * infrun.c (struct infcall_suspend_state): Comment out the field 6130 1.1 christos inferior_suspend. 6131 1.1 christos (save_infcall_suspend_state, restore_infcall_suspend_state): Comment 6132 1.1 christos out its assignment. 6133 1.1 christos 6134 1.1 christos 2012-06-13 Jan Kratochvil <jan.kratochvil (a] redhat.com> 6135 1.1 christos 6136 1.1 christos PR c++/14177 - Fix parsing TYPENAME:: in parentheses. 6137 1.1 christos * c-exp.y (classify_inner_name): Remove caller assumptions in the 6138 1.1 christos function comment. Return ERROR for unresolved cases. Implement 6139 1.1 christos returning proper NAME. 6140 1.1 christos (yylex): Accept also NAME from classify_inner_name. 6141 1.1 christos * cp-namespace.c (cp_lookup_nested_type): Rename to ... 6142 1.1 christos (cp_lookup_nested_symbol): ... here. Return any found symbol, not just 6143 1.1 christos LOC_TYPEDEF type. 6144 1.1 christos * cp-support.h (cp_lookup_nested_type): Update its declaration. 6145 1.1 christos 6146 1.1 christos 2012-06-13 Tom Tromey <tromey (a] redhat.com> 6147 1.1 christos 6148 1.1 christos * breakpoint.c (condition_completer): New function. 6149 1.1 christos (_initialize_breakpoint): Use it. 6150 1.1 christos * value.c (complete_internalvar): New function. 6151 1.1 christos * value.h (complete_internalvar): Declare. 6152 1.1 christos 6153 1.1 christos 2012-06-13 Tom Tromey <tromey (a] redhat.com> 6154 1.1 christos 6155 1.1 christos * ada-lang.c (ada_make_symbol_completion_list): Return a VEC. 6156 1.1 christos * breakpoint.c (catch_syscall_completer): Return a VEC. 6157 1.1 christos * cli/cli-cmds.c (complete_command): Update. 6158 1.1 christos * cli/cli-decode.c (complete_on_cmdlist): Return a VEC. 6159 1.1 christos (complete_on_enum): Likewise. 6160 1.1 christos * command.h: Include gdb_vecs.h. 6161 1.1 christos (completer_ftype): Change return type. 6162 1.1 christos (complete_on_cmdlist, complete_on_enum): Likewise. 6163 1.1 christos * completer.c (noop_completer, filename_completer) 6164 1.1 christos (location_completer): Return a VEC. 6165 1.1 christos (add_struct_fields): Remove 'nextp' argument. Change 'output' 6166 1.1 christos to a VEC. 6167 1.1 christos (expression_completer, complete_line_internal, complete_line) 6168 1.1 christos (command_completer): Return a VEC. 6169 1.1 christos (gdb_completion_word_break_characters, line_completion_function): 6170 1.1 christos Update. 6171 1.1 christos * completer.h: Include gdb_vecs.h. 6172 1.1 christos (complete_line, noop_completer, filename_completer) 6173 1.1 christos (expression_completer, location_completer, command_completer): 6174 1.1 christos Update. 6175 1.1 christos * f-lang.c (f_word_break_characters): Return a VEC. 6176 1.1 christos * interps.c (interpreter_completer): Return a VEC. 6177 1.1 christos * language.h (struct language_defn) 6178 1.1 christos <la_make_symbol_completion_list>: Return a VEC. 6179 1.1 christos * python/py-cmd.c (cmdpy_completer): Return a VEC. 6180 1.1 christos * symtab.c (free_completion_list): Take a VEC. 6181 1.1 christos (return_val_size, return_val_index): Remove. 6182 1.1 christos (return_val): Now a VEC. 6183 1.1 christos (completion_list_add_name): Update. 6184 1.1 christos (default_make_symbol_completion_list_break_on) 6185 1.1 christos (default_make_symbol_completion_list, make_symbol_completion_list) 6186 1.1 christos (make_symbol_completion_list_fn, make_file_symbol_completion_list): 6187 1.1 christos Return a VEC. 6188 1.1 christos (add_filename_to_list): Update. 6189 1.1 christos (struct add_partial_filename_data) <list_used, list_alloced>: Remove. 6190 1.1 christos <list>: Now a VEC. 6191 1.1 christos (maybe_add_partial_symtab_filename): Update. 6192 1.1 christos (make_source_files_completion_list): Return a VEC. 6193 1.1 christos * symtab.h (default_make_symbol_completion_list_break_on) 6194 1.1 christos (default_make_symbol_completion_list, make_symbol_completion_list) 6195 1.1 christos (make_symbol_completion_list_fn, make_file_symbol_completion_list) 6196 1.1 christos (make_source_files_completion_list): Update. 6197 1.1 christos 6198 1.1 christos 2012-06-13 Tom Tromey <tromey (a] redhat.com> 6199 1.1 christos 6200 1.1 christos * breakpoint.c (add_catch_command): Use completer_ftype. 6201 1.1 christos * breakpoint.h: Include command.h. 6202 1.1 christos (add_catch_command): Use completer_ftype. 6203 1.1 christos * cli/cli-decode.c (set_cmd_completer): Use completer_ftype. 6204 1.1 christos * cli/cli-decode.h (struct cmd_list_element) <completer>: 6205 1.1 christos Use completer_ftype. 6206 1.1 christos * command.h (completer_ftype): New typedef. 6207 1.1 christos (set_cmd_completer): Use it. 6208 1.1 christos * python/py-cmd.c (struct cmdpy_completer) <completer>: Use 6209 1.1 christos completer_ftype. 6210 1.1 christos 6211 1.1 christos 2012-06-13 Pedro Alves <palves (a] redhat.com> 6212 1.1 christos 6213 1.1 christos Partial revert of previous change. 6214 1.1 christos 6215 1.1 christos * serial.c (scb_base): New global. 6216 1.1 christos (serial_for_fd): New. 6217 1.1 christos (serial_open, serial_fdopen_ops): Link new serial in open serials 6218 1.1 christos chain. 6219 1.1 christos (do_serial_close): Unlink serial from the open serials chain. 6220 1.1 christos 6221 1.1 christos 2012-06-12 Pedro Alves <palves (a] redhat.com> 6222 1.1 christos 6223 1.1 christos * infrun.c (infrun_thread_stop_requested_callback): Don't switch 6224 1.1 christos threads here. 6225 1.1 christos (prepare_for_detach): No longer context switch here in non-stop 6226 1.1 christos mode. 6227 1.1 christos (fetch_inferior_event): Ditto. 6228 1.1 christos (handle_inferior_event) <STOP_QUIETLY || NO_STOP_QUIETLY>: Switch 6229 1.1 christos to the event thread before removing breakpoints. Switch to the 6230 1.1 christos event thread before inserting breakpoints and resuming. 6231 1.1 christos (handle_inferior_event) <TARGET_WAITKIND_SPURIOUS>: Switch to the 6232 1.1 christos event thread before resuming. 6233 1.1 christos (handle_inferior_event) <stepping_past_singlestep_breakpoint>: 6234 1.1 christos Switch to the event thread before removing breakpoints. 6235 1.1 christos 6236 1.1 christos 2012-06-12 Eli Zaretskii <eliz (a] gnu.org> 6237 1.1 christos 6238 1.1 christos * infcmd.c (construct_inferior_arguments) [__MINGW32__]: Quote 6239 1.1 christos special characters correctly for the Windows shells. See 6240 1.1 christos http://sourceware.org/ml/gdb/2012-06/msg00047.html for the bug 6241 1.1 christos report. 6242 1.1 christos [!__MINGW32__]: Remove extra double quote character from special 6243 1.1 christos characters. 6244 1.1 christos 6245 1.1 christos 2012-06-11 Stan Shebs <stan (a] codesourcery.com> 6246 1.1 christos 6247 1.1 christos * ui-out.h: Remove #if 0 declarations. 6248 1.1 christos * ui-out.c: Remove #if 0 functions. 6249 1.1 christos 6250 1.1 christos 2012-06-11 Pedro Alves <palves (a] redhat.com> 6251 1.1 christos 6252 1.1 christos * ser-base.c (run_async_handler_and_reschedule): New. 6253 1.1 christos (fd_event, push_event): Use it. 6254 1.1 christos * serial.c (serial_open, serial_fdopen_ops): Set the initial 6255 1.1 christos reference count to 1. 6256 1.1 christos (do_serial_close): Set the bufp field to NULL. Use serial_unref 6257 1.1 christos instead of xfree. 6258 1.1 christos (serial_is_open, serial_ref, serial_unref): New. 6259 1.1 christos * serial.h (serial_open): Adjust comment. 6260 1.1 christos (serial_is_open): Declare. 6261 1.1 christos (serial_close): Adjust comment. 6262 1.1 christos (serial_ref, serial_unref) Declare. 6263 1.1 christos (struct serial): New field 'refcnt'. 6264 1.1 christos 6265 1.1 christos 2012-06-11 Pedro Alves <palves (a] redhat.com> 6266 1.1 christos 6267 1.1 christos Remove #if 0'd "connect" command, and unnecessary associated 6268 1.1 christos refcounting and serial reuse bits. 6269 1.1 christos 6270 1.1 christos * serial.h (struct serial): Remove fields 'next' and 'refcnt'. 6271 1.1 christos * serial.c (last_serial_opened): Delete. 6272 1.1 christos (scb_base): Delete. 6273 1.1 christos (serial_open): Adjust. 6274 1.1 christos (serial_for_fd): Delete. 6275 1.1 christos (serial_fdopen_ops, do_serial_close): Adjust. 6276 1.1 christos (serial_fdopen_ops): Adjust. 6277 1.1 christos 6278 1.1 christos 2012-06-11 Pedro Alves <palves (a] redhat.com> 6279 1.1 christos 6280 1.1 christos * serial.c (do_serial_close): Remove early return when SCB is 6281 1.1 christos null. 6282 1.1 christos 6283 1.1 christos 2012-06-11 Tom Tromey <tromey (a] redhat.com> 6284 1.1 christos 6285 1.1 christos * dwarf2read.c (dw2_get_file_names_reader): Ignore partial units. 6286 1.1 christos 6287 1.1 christos 2012-06-11 Jan Kratochvil <jan.kratochvil (a] redhat.com> 6288 1.1 christos 6289 1.1 christos Fix regression by the "ambiguous linespec" series. 6290 1.1 christos * breakpoint.c (parse_breakpoint_sals): New variable cursal. Use 6291 1.1 christos get_last_displayed_symtab and get_last_displayed_line and depending 6292 1.1 christos on CURSAL. 6293 1.1 christos 6294 1.1 christos 2012-06-11 Tom Tromey <tromey (a] redhat.com> 6295 1.1 christos 6296 1.1 christos * dwarf2read.c (dw2_get_primary_filename_reader): New function. 6297 1.1 christos (dw2_find_symbol_file): Use it. 6298 1.1 christos 6299 1.1 christos 2012-06-11 Michael Eager <eager (a] eagercon.com> 6300 1.1 christos 6301 1.1 christos * mips-linux-tdep.c (mips_gdb_signal_from_target): New 6302 1.1 christos * mips-linux-tdep.h (mips_signals): New 6303 1.1 christos 6304 1.1 christos 2012-06-11 Tom Tromey <tromey (a] redhat.com> 6305 1.1 christos 6306 1.1 christos * infrun.c (handle_inferior_event) 6307 1.1 christos <BPSTAT_WHAT_SET_LONGJMP_RESUME>: Don't delete the step-resume 6308 1.1 christos breakpoint. 6309 1.1 christos <BPSTAT_WHAT_CLEAR_LONGJMP_RESUME>: Remove longjmp logic; use 6310 1.1 christos exception logic in all cases. Update comments. 6311 1.1 christos (insert_longjmp_resume_breakpoint): Set the exception resume 6312 1.1 christos breakpoint. 6313 1.1 christos 6314 1.1 christos 2012-06-11 Maciej W. Rozycki <macro (a] codesourcery.com> 6315 1.1 christos 6316 1.1 christos * mips-tdep.c (mips_push_dummy_code): Handle microMIPS code. 6317 1.1 christos 6318 1.1 christos 2012-06-09 Siva Chandra Reddy <sivachandra (a] google.com> 6319 1.1 christos 6320 1.1 christos * valarith.c (binop_types_user_defined_p): Fix a typo. 6321 1.1 christos 6322 1.1 christos 2012-06-08 Yao Qi <yao (a] codesourcery.com> 6323 1.1 christos Chung-Lin Tang <cltang (a] codesourcery.com> 6324 1.1 christos 6325 1.1 christos * arch-utils.c (default_return_in_first_hidden_param_p): New. 6326 1.1 christos * arch-utils.h: Declare. 6327 1.1 christos * gdbarch.sh: Add return_in_first_hidden_param_p. 6328 1.1 christos * gdbarch.c, gdbarch.h: Regenerated. 6329 1.1 christos * infcall.c (call_function_by_hand): Call 6330 1.1 christos gdbarch_return_in_first_hidden_param_p instead of 6331 1.1 christos language_pass_by_reference. 6332 1.1 christos 6333 1.1 christos * m68k-tdep.c (m68k_return_in_first_hidden_param_p): New. 6334 1.1 christos (m68k_gdbarch_init): Install m68k_return_in_first_hidden_param_p. 6335 1.1 christos * sh-tdep.c (sh_return_in_first_hidden_param_p): New. 6336 1.1 christos (sh_gdbarch_init): Install sh_return_in_first_hidden_param_p. 6337 1.1 christos * tic6x-tdep.c (tic6x_push_dummy_call): Remove local variable 6338 1.1 christos `cplus_return_struct_by_reference'. 6339 1.1 christos (tic6x_return_value): Handle language cplusplus. 6340 1.1 christos (tic6x_return_in_first_hidden_param_p): New. 6341 1.1 christos (tic6x_gdbarch_init): Install tic6x_return_in_first_hidden_param_p. 6342 1.1 christos 6343 1.1 christos 2012-06-07 Doug Evans <dje (a] google.com> 6344 1.1 christos 6345 1.1 christos * dwarf2read.c (dwarf2_cu): Add comment. 6346 1.1 christos 6347 1.1 christos 2012-06-06 Maciej W. Rozycki <macro (a] codesourcery.com> 6348 1.1 christos 6349 1.1 christos * mips-tdep.c (mips_pseudo_register_type): Remove tdep local 6350 1.1 christos variable. 6351 1.1 christos (mips_eabi_push_dummy_call): Likewise. 6352 1.1 christos (mips_n32n64_push_dummy_call): Likewise. 6353 1.1 christos (mips_o32_push_dummy_call): Likewise. 6354 1.1 christos (mips_o64_push_dummy_call): Likewise. 6355 1.1 christos 6356 1.1 christos 2012-06-06 Maciej W. Rozycki <macro (a] codesourcery.com> 6357 1.1 christos 6358 1.1 christos * mips-tdep.c (mips_convert_register_p): Correct coding style. 6359 1.1 christos 6360 1.1 christos 2012-06-06 Maciej W. Rozycki <macro (a] codesourcery.com> 6361 1.1 christos 6362 1.1 christos * mips-tdep.c (mips_pseudo_register_type): Use 6363 1.1 christos mips_float_register_p. 6364 1.1 christos 6365 1.1 christos 2012-06-06 Pedro Alves <palves (a] redhat.com> 6366 1.1 christos 6367 1.1 christos * infrun.c (handle_inferior_event): Remove calls to 6368 1.1 christos reinit_frame_cache that follow a context_switch call. 6369 1.1 christos 6370 1.1 christos 2012-06-06 Pedro Alves <palves (a] redhat.com> 6371 1.1 christos 6372 1.1 christos * infrun.c (handle_inferior_event) <deferred_step_ptid>: Use 6373 1.1 christos context_switch and remove stale comment. 6374 1.1 christos 6375 1.1 christos 2012-06-06 Pedro Alves <palves (a] redhat.com> 6376 1.1 christos 6377 1.1 christos * infrun.c (struct execution_control_state): Remove 6378 1.1 christos `new_thread_event' field. 6379 1.1 christos (handle_inferior_event): Simplify new threads handling; don't 6380 1.1 christos resume the inferior if we find a new thread. 6381 1.1 christos 6382 1.1 christos 2012-06-06 Thomas Schwinge <thomas (a] codesourcery.com> 6383 1.1 christos 6384 1.1 christos * NEWS: Document the deprecation of SH's 'regs' command. 6385 1.1 christos * inferior.h (all_registers_info): Add function declaration. 6386 1.1 christos * sh-tdep.c (sh_show_regs): Remove variable. 6387 1.1 christos (sh_generic_show_regs, sh3_show_regs, sh2e_show_regs, sh2a_show_regs) 6388 1.1 christos (sh2a_nofpu_show_regs, sh3e_show_regs, sh3_dsp_show_regs) 6389 1.1 christos (sh4_show_regs, sh4_nofpu_show_regs, sh_dsp_show_regs) 6390 1.1 christos (sh_show_regs_command): Remove functions. 6391 1.1 christos (sh_gdbarch_init): Don't set sh_show_regs. 6392 1.1 christos (_initialize_sh_tdep): Make the 'regs' command an deprecated alias to 6393 1.1 christos 'info all-registers'. 6394 1.1 christos * sh64-tdep.c (sh64_show_media_regs, sh64_show_compact_regs) 6395 1.1 christos (sh64_show_regs): Remove functions. 6396 1.1 christos * sh64-tdep.h (sh64_show_regs): Remove function declaration. 6397 1.1 christos 6398 1.1 christos 2012-06-06 Jan Kratochvil <jan.kratochvil (a] redhat.com> 6399 1.1 christos 6400 1.1 christos * configure.ac: Move development=true below AC_INIT. 6401 1.1 christos * configure: Regenerate. 6402 1.1 christos 6403 1.1 christos 2012-06-05 Stan Shebs <stan (a] codesourcery.com> 6404 1.1 christos 6405 1.1 christos * mi/mi-interp.c (mi_interpreter_init): Set raw_stdout from 6406 1.1 christos gdb_stdout. 6407 1.1 christos 6408 1.1 christos 2012-06-05 Siddhesh Poyarekar <siddhesh (a] redhat.com> 6409 1.1 christos 6410 1.1 christos * corefile.c (read_memory, read_stack, write_memory): Accept LEN 6411 1.1 christos argument as ssize_t. 6412 1.1 christos * gdbcore.h (read_memory, read_stack, write_memory): Likewise. 6413 1.1 christos * remote.c (remote_write_bytes_aux, remote_write_bytes): Likewise. 6414 1.1 christos * target.c (target_read_stack, target_write_memory) 6415 1.1 christos (target_write_raw_memory): Likewise. 6416 1.1 christos * target.h (target_read_stack, target_write_memory) 6417 1.1 christos (target_write_raw_memory): Likewise. 6418 1.1 christos 6419 1.1 christos 2012-06-05 Jan Kratochvil <jan.kratochvil (a] redhat.com> 6420 1.1 christos 6421 1.1 christos * symfile-mem.c: Change gdb_static_assert to ssize_t. 6422 1.1 christos (target_read_memory_bfd): Cast gdb_assert LEN to ssize_t. 6423 1.1 christos * target.c (target_read_memory): Change LEN to ssize_t. 6424 1.1 christos * target.h (target_read_memory): Change LEN to ssize_t. 6425 1.1 christos 6426 1.1 christos 2012-06-05 Pedro Alves <palves (a] redhat.com> 6427 1.1 christos 6428 1.1 christos PR backtrace/13866 6429 1.1 christos 6430 1.1 christos * breakpoint.c (until_break_command): Only fetch the selected 6431 1.1 christos frame after decode_line_1. 6432 1.1 christos 6433 1.1 christos 2012-06-05 Joakim Tjernlund <Joakim.Tjernlund (a] transmode.se> 6434 1.1 christos 6435 1.1 christos * solib-svr4.c (enable_break): Don't fallback to setting the solib 6436 1.1 christos event breakpoint at _start, __start or main if a program 6437 1.1 christos interpreter is not found. 6438 1.1 christos 6439 1.1 christos 2012-06-05 Joel Brobecker <brobecker (a] adacore.com> 6440 1.1 christos 6441 1.1 christos * windows-tdep.h (windows_iterate_over_objfiles_in_search_order): 6442 1.1 christos Add declaration. 6443 1.1 christos * windows-tdep.c: #include "objfiles.h". 6444 1.1 christos (windows_iterate_over_objfiles_in_search_order): New function. 6445 1.1 christos * amd64-windows-tdep.c (amd64_windows_init_abi): Set 6446 1.1 christos iterate_over_objfiles_in_search_order gdbarch method to 6447 1.1 christos windows_iterate_over_objfiles_in_search_order. 6448 1.1 christos * i386-cygwin-tdep.c (i386_cygwin_init_abi): Likewise. 6449 1.1 christos 6450 1.1 christos 2012-06-05 Joel Brobecker <brobecker (a] adacore.com> 6451 1.1 christos 6452 1.1 christos * gdbarch.sh: Add generation of 6453 1.1 christos "iterate_over_objfiles_in_search_order_cb_ftype" typedef in 6454 1.1 christos gdbarch.h. Add include of "objfiles.h" in gdbarch.c. 6455 1.1 christos (iterate_over_objfiles_in_search_order): New gdbarch method. 6456 1.1 christos * gdbarch.h, gdbarch.c: Regenerate. 6457 1.1 christos * objfiles.h (default_iterate_over_objfiles_in_search_order): 6458 1.1 christos Add declaration. 6459 1.1 christos * objfiles.c (default_iterate_over_objfiles_in_search_order): 6460 1.1 christos New function. 6461 1.1 christos * symtab.c (lookup_symbol_aux_objfile): New function, extracted 6462 1.1 christos out of lookup_symbol_aux_symtabs. 6463 1.1 christos (lookup_symbol_aux_symtabs): Replace extracted-out code by 6464 1.1 christos call to lookup_symbol_aux_objfile. 6465 1.1 christos (struct global_sym_lookup_data): New type. 6466 1.1 christos (lookup_symbol_global_iterator_cb): New function. 6467 1.1 christos (lookup_symbol_global): Search for symbol using 6468 1.1 christos gdbarch_iterate_over_objfiles_in_search_order and 6469 1.1 christos lookup_symbol_global_iterator_cb. 6470 1.1 christos * findvar.c (struct minsym_lookup_data): New type. 6471 1.1 christos (minsym_lookup_iterator_cb): New function. 6472 1.1 christos (default_read_var_value) [case LOC_UNRESOLVED]: Resolve the 6473 1.1 christos symbol's address via gdbarch_iterate_over_objfiles_in_search_order 6474 1.1 christos and minsym_lookup_iterator_cb. 6475 1.1 christos 6476 1.1 christos 2012-06-05 Joel Brobecker <brobecker (a] adacore.com> 6477 1.1 christos 6478 1.1 christos Revert the following patch: 6479 1.1 christos * findvar.c (default_read_var_value): For LOC_UNRESOLVED symbols, 6480 1.1 christos try locating the symbol in the symbol's own objfile first, before 6481 1.1 christos extending the search to all objfiles. 6482 1.1 christos * symtab.c (lookup_symbol_aux_objfile): New function, extracted 6483 1.1 christos out of lookup_symbol_aux_symtabs. 6484 1.1 christos (lookup_symbol_aux_symtabs): Add new parameter "exclude_objfile". 6485 1.1 christos Replace extracted-out code by call to lookup_symbol_aux_objfile. 6486 1.1 christos Do not search EXCLUDE_OBJFILE. 6487 1.1 christos (lookup_static_symbol_aux): Update call to lookup_symbol_aux_symtabs. 6488 1.1 christos (lookup_symbol_global): Search for matches in the block's objfile 6489 1.1 christos first, before searching all other objfiles. 6490 1.1 christos 6491 1.1 christos 2012-06-05 Joel Brobecker <brobecker (a] adacore.com> 6492 1.1 christos 6493 1.1 christos * breakpoint.c (find_condition_and_thread): Stop parsing 6494 1.1 christos as soon as the first invalid keyword is found. 6495 1.1 christos 6496 1.1 christos 2012-06-05 Joel Brobecker <brobecker (a] adacore.com> 6497 1.1 christos 6498 1.1 christos * copyright.py (EXCLUDE_LIST): Add 'gdb/CONTRIBUTE' to list. 6499 1.1 christos 6500 1.1 christos 2012-06-05 Joel Brobecker <brobecker (a] adacore.com> 6501 1.1 christos 6502 1.1 christos * config/djgpp/djcheck.sh: Add copyright header. 6503 1.1 christos 6504 1.1 christos 2012-06-05 Joel Brobecker <brobecker (a] adacore.com> 6505 1.1 christos 6506 1.1 christos * copyright.py (update_files, main): Fix path to update-copyright 6507 1.1 christos script. 6508 1.1 christos 6509 1.1 christos 2012-06-05 Joel Brobecker <brobecker (a] adacore.com> 6510 1.1 christos 6511 1.1 christos * copyright.py (MULTIPLE_COPYRIGHT_HEADERS): New constant. 6512 1.1 christos (main): Add MULTIPLE_COPYRIGHT_HEADERS to the list of files 6513 1.1 christos for which a reminder to update by hand is printed. 6514 1.1 christos 6515 1.1 christos 2012-06-04 Doug Evans <dje (a] google.com> 6516 1.1 christos 6517 1.1 christos * buildsym.c (make_blockvector): Add comment. 6518 1.1 christos 6519 1.1 christos 2012-06-04 Pedro Alves <palves (a] redhat.com> 6520 1.1 christos 6521 1.1 christos * arch-utils.c (default_gdb_signal_from_target): Delete. 6522 1.1 christos * arch-utils.h (default_gdb_signal_from_target): Delete. 6523 1.1 christos * corelow.c (core_open) <signal mapping>: Extended comment. Check 6524 1.1 christos gdbarch_gdb_signal_from_target_p. 6525 1.1 christos * gdbarch.sh (gdb_signal_from_target): Make it an M method (with 6526 1.1 christos predicate). 6527 1.1 christos * gdbarch.h: Regenerate. 6528 1.1 christos * gdbarch.c: Regenerate. 6529 1.1 christos 6530 1.1 christos 2012-06-04 Pedro Alves <palves (a] redhat.com> 6531 1.1 christos 6532 1.1 christos * gdbarch.sh (gdb_signal_from_target): Mention that the 6533 1.1 christos implementation of the method must be host independent. 6534 1.1 christos * gdbarch.h: Regenerate. 6535 1.1 christos 6536 1.1 christos 2012-06-04 Jan Kratochvil <jan.kratochvil (a] redhat.com> 6537 1.1 christos 6538 1.1 christos * symfile-mem.c: 3 new gdb_static_assert for target_read_memory_bfd 6539 1.1 christos parameters. 6540 1.1 christos (target_read_memory_bfd): New function. 6541 1.1 christos (symbol_file_add_from_memory): Use it. 6542 1.1 christos 6543 1.1 christos 2012-06-03 Doug Evans <dje (a] google.com> 6544 1.1 christos 6545 1.1 christos * symtab.c (lookup_global_symbol_from_objfile): Only scan blockvector 6546 1.1 christos of primary symtab. 6547 1.1 christos (basic_lookup_transparent_type): Ditto. 6548 1.1 christos 6549 1.1 christos * objfiles.h (ALL_OBJFILE_PRIMARY_SYMTABS): New macro. 6550 1.1 christos (ALL_PRIMARY_SYMTABS): Use it. 6551 1.1 christos (ALL_PSPACE_PRIMARY_SYMTABS): Ditto. 6552 1.1 christos * dwarf2read.c (dw2_find_symbol_file): Ditto. 6553 1.1 christos * linespec.c (iterate_over_all_matching_symtabs): Ditto. 6554 1.1 christos * symtab.c (lookup_symbol_aux_objfile): Ditto. 6555 1.1 christos (basic_lookup_transparent_type): Ditto. 6556 1.1 christos 6557 1.1 christos 2012-06-02 Sergio Durigan Junior <sergiodj (a] redhat.com> 6558 1.1 christos 6559 1.1 christos * symtab.c (symbol_demangled_name): New variable `dem_name'. Use 6560 1.1 christos it to optimize resolution of demangled name. 6561 1.1 christos 6562 1.1 christos 2012-06-01 Jan Kratochvil <jan.kratochvil (a] redhat.com> 6563 1.1 christos 6564 1.1 christos * configure.ac (development): Define new variable. 6565 1.1 christos Call AC_CHECK_LIB for mcheck if $development. 6566 1.1 christos (ERROR_ON_WARNING): Enable it by default only if $development. 6567 1.1 christos * config.in: Regenerate. 6568 1.1 christos * configure: Regenerate. 6569 1.1 christos 6570 1.1 christos 2012-06-01 Siddhesh Poyarekar <siddhesh (a] redhat.com> 6571 1.1 christos 6572 1.1 christos * target.c (target_read_memory): Make LEN argument as size_t. 6573 1.1 christos * target.h (target_read_memory): Likewise. 6574 1.1 christos 6575 1.1 christos 2012-06-01 Jan Kratochvil <jan.kratochvil (a] redhat.com> 6576 1.1 christos 6577 1.1 christos * tilegx-linux-tdep.c (tilegx_l): Use ULL for 64-bit values. 6578 1.1 christos 6579 1.1 christos 2012-05-31 Edjunior Machado <emachado (a] linux.vnet.ibm.com> 6580 1.1 christos 6581 1.1 christos * ppc-linux-nat.c (have_ptrace_booke_interface): Disable ptrace 6582 1.1 christos BookE interface for PowerPC server processors if not available 6583 1.1 christos in the Linux Kernel. 6584 1.1 christos 6585 1.1 christos 2012-05-31 Keith Seitz <keiths (a] redhat.com> 6586 1.1 christos 6587 1.1 christos * linespec.c (decode_objc): Add cleanup to free 6588 1.1 christos INFO.FILE_SYMTABS. 6589 1.1 christos (find_linespec_symbols): Add cleanup to free CLASSES. 6590 1.1 christos * symfile.c (find_separate_debug_file_by_debuglink): Add 6591 1.1 christos cleanup to free DEBUGLINK. 6592 1.1 christos * ui-out.c (clear_header_list): No need to check if 6593 1.1 christos HEADER_NEXT.COLHDR is NULL. 6594 1.1 christos Free HEADER_NEXT.COL_NAME. 6595 1.1 christos 6596 1.1 christos 2012-05-31 Matthew Gretton-Dann <matthew.gretton-dann (a] arm.com> 6597 1.1 christos 6598 1.1 christos * ada-lang.c (standard_lookup): Prevent uninitialized variable 6599 1.1 christos warning. 6600 1.1 christos 6601 1.1 christos 2012-05-30 Jeff Kenton <jkenton (a] tilera.com> 6602 1.1 christos 6603 1.1 christos * configure.host (gdb_host_cpu): Handle tilegx*. 6604 1.1 christos (gdb_host): Handle tilegx-*-linux*. 6605 1.1 christos * tilegx-linux-nat.c: New file. 6606 1.1 christos * config/tilegx/linux.mh: New file. 6607 1.1 christos 6608 1.1 christos 2012-05-30 Jeff Kenton <jkenton (a] tilera.com> 6609 1.1 christos 6610 1.1 christos * Makefile.in (ALL_TARGET_OBJS): Add tilegx-tdep.o and 6611 1.1 christos tilegx-linux-tdep.o. 6612 1.1 christos (ALLDEPFILES): Add tilegx-linux-nat.c, tilegx-tdep.c and 6613 1.1 christos tilegx-linux-tdep.c. 6614 1.1 christos * configure.tgt: Handle tilegx-*-linux*. 6615 1.1 christos * tilegx-tdep.h: New file. 6616 1.1 christos * tilegx-tdep.c: New file. 6617 1.1 christos * tilegx-linux-tdep.c: New file. 6618 1.1 christos * regformats/reg-tilegx.dat: New file. 6619 1.1 christos 6620 1.1 christos 2012-05-30 Edjunior Machado <emachado (a] linux.vnet.ibm.com> 6621 1.1 christos 6622 1.1 christos * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): fix 6623 1.1 christos accounting of hw watchpoints on ppc. 6624 1.1 christos 6625 1.1 christos 2012-05-30 Thiago Jung Bauermann <thiago.bauermann (a] linaro.org> 6626 1.1 christos 6627 1.1 christos * source.c (openp): Expand tilde in path entries. 6628 1.1 christos 6629 1.1 christos 2012-05-29 Doug Evans <dje (a] google.com> 6630 1.1 christos 6631 1.1 christos * buildsym.c (block_compar): Fix comment. 6632 1.1 christos (end_symtab): Fix and clarify some comments. 6633 1.1 christos 6634 1.1 christos * stabsread.h (cleanup_undefined_stabs_types): Renamed from 6635 1.1 christos cleanup_undefined_types. 6636 1.1 christos * stabsread.c (cleanup_undefined_stabs_types): Ditto. 6637 1.1 christos All callers updated. 6638 1.1 christos 6639 1.1 christos 2012-05-29 Tom Tromey <tromey (a] redhat.com> 6640 1.1 christos 6641 1.1 christos * symfile.c (symfile_bfd_open): Don't close desc if bfd_fopen 6642 1.1 christos fails. 6643 1.1 christos * solib.c (solib_bfd_fopen): Don't close fd if bfd_fopen fails. 6644 1.1 christos * exec.c (exec_file_attach): Don't close scratch_chan if bfd_fopen 6645 1.1 christos fails. 6646 1.1 christos * dwarf2read.c (try_open_dwo_file): Don't close fd if bfd_fopen 6647 1.1 christos fails. 6648 1.1 christos 6649 1.1 christos 2012-05-29 Tristan Gingold <gingold (a] adacore.com> 6650 1.1 christos 6651 1.1 christos * solib-darwin.c (dyld_all_image_addr, dyld_all_image): Move into... 6652 1.1 christos (struct darwin_info): ... New struct. 6653 1.1 christos (solib_darwin_pspace_data): New variable. 6654 1.1 christos (darwin_pspace_data_cleanup): New function. 6655 1.1 christos (get_darwin_info): Likewise. 6656 1.1 christos (darwin_dyld_version_ok, darwin_load_image_infos) 6657 1.1 christos (darwin_solib_get_all_image_info_addr_at_init) 6658 1.1 christos (darwin_solib_read_all_image_info_addr): Add info argument. 6659 1.1 christos Adjust code. 6660 1.1 christos (darwin_current_sos): Use per pspace structure. 6661 1.1 christos (darwin_solib_create_inferior_hook): Likewise. 6662 1.1 christos (darwin_clear_solib): Likewise. 6663 1.1 christos (_initialize_darwin_solib): Initialize solib_darwin_pspace_data. 6664 1.1 christos 6665 1.1 christos 2012-05-28 Pedro Alves <palves (a] redhat.com> 6666 1.1 christos 6667 1.1 christos * infrun.c (wait_for_inferior): Move ecss and ecs locals to the 6668 1.1 christos block that uses them. Clear ecss before handling each event. 6669 1.1 christos 6670 1.1 christos 2012-05-28 Jan Kratochvil <jan.kratochvil (a] redhat.com> 6671 1.1 christos 6672 1.1 christos * solib-svr4.c (svr4_current_sos): New comment on 6673 1.1 christos svr4_current_sos_via_xfer_libraries fall back. 6674 1.1 christos 6675 1.1 christos 2012-05-24 Jan Kratochvil <jan.kratochvil (a] redhat.com> 6676 1.1 christos 6677 1.1 christos * psymtab.c (lookup_symbol_aux_psymtabs): New variable stab_best. Use 6678 1.1 christos it as a fallback for TYPE_IS_OPAQUE. 6679 1.1 christos * symfile.h (struct quick_symbol_functions): Mention TYPE_OPAQUE 6680 1.1 christos symbols for lookup_symbol. 6681 1.1 christos 6682 1.1 christos 2012-05-24 John Steele Scott <toojays (a] toojays.net> 6683 1.1 christos 6684 1.1 christos PR symtab/13277: Resolving opaque structures in ICC generated binaries. 6685 1.1 christos * dwarf2read.c (struct dwarf2_cu) <producer_is_icc>: New field. 6686 1.1 christos (producer_is_gxx_lt_4_6): Move the checking and caching to... 6687 1.1 christos (check_producer): ... this new function, which also checks for ICC 6688 1.1 christos and caches the result. 6689 1.1 christos (producer_is_icc): New function. 6690 1.1 christos (read_structure_type): Don't set TYPE_STUB_SUPPORTED if the 6691 1.1 christos producer was ICC. 6692 1.1 christos 6693 1.1 christos 2012-05-24 Pedro Alves <palves (a] redhat.com> 6694 1.1 christos 6695 1.1 christos PR gdb/7205 6696 1.1 christos 6697 1.1 christos * arch-utils.c (default_gdb_signal_to_host): Rename to ... 6698 1.1 christos (default_gdb_signal_to_target): ... this. Add comment. 6699 1.1 christos (default_gdb_signal_from_host): Rename to ... 6700 1.1 christos (default_gdb_signal_from_target): ... this. Add comment. 6701 1.1 christos * arch-utils.h (default_gdb_signal_to_host): Rename to ... 6702 1.1 christos (default_gdb_signal_to_target): ... this. 6703 1.1 christos (default_gdb_signal_from_host): Rename to ... 6704 1.1 christos (default_gdb_signal_from_target): ... this. 6705 1.1 christos * corelow.c (core_open): Adjust to naming change. Replace comment. 6706 1.1 christos * gdbarch.sh (gdb_signal_from_host): Rename to ... 6707 1.1 christos (gdb_signal_from_target): ... this. Adjust to 6708 1.1 christos default_gdb_signal_from_host naming change. Extend comment. 6709 1.1 christos (gdb_signal_to_host): Rename to ... 6710 1.1 christos (gdb_signal_to_target): ... this. Adjust to 6711 1.1 christos default_gdb_signal_to_host naming change. 6712 1.1 christos * gdbarch.h, gdbarch.c: Renegerate. 6713 1.1 christos 6714 1.1 christos 2012-05-24 Pedro Alves <palves (a] redhat.com> 6715 1.1 christos 6716 1.1 christos PR gdb/7205 6717 1.1 christos 6718 1.1 christos Replace TARGET_SIGNAL_ with GDB_SIGNAL_ throughout. 6719 1.1 christos 6720 1.1 christos 2012-05-24 Pedro Alves <palves (a] redhat.com> 6721 1.1 christos 6722 1.1 christos PR gdb/7205 6723 1.1 christos 6724 1.1 christos Replace target_signal with gdb_signal throughout. 6725 1.1 christos 6726 1.1 christos 2012-05-24 Pedro Alves <palves (a] redhat.com> 6727 1.1 christos 6728 1.1 christos PR tui/14159 6729 1.1 christos 6730 1.1 christos * tui/tui-hooks.c (tui_query_hook): Pre-compute the question 6731 1.1 christos string, instead of reusing the va_list argument. 6732 1.1 christos 6733 1.1 christos 2012-05-24 Tom Tromey <tromey (a] redhat.com> 6734 1.1 christos 6735 1.1 christos * cp-support.h (cp_finalize_namespace, cp_initialize_namespace): 6736 1.1 christos Remove. 6737 1.1 christos 6738 1.1 christos 2012-05-23 Doug Evans <dje (a] google.com> 6739 1.1 christos 6740 1.1 christos * symtab.c (search_symbols): Formatting fixes. 6741 1.1 christos (print_symbol_info): Formatting fixes. 6742 1.1 christos 6743 1.1 christos * dwarf2-frame.c (execute_cfa_program): Update to handle long long -> 6744 1.1 christos int64_t change to leb128 API. 6745 1.1 christos (read_encoded_value, decode_frame_entry_1): Ditto. 6746 1.1 christos * dwarf2expr.c (safe_read_uleb128, safe_read_sleb128): Ditto. 6747 1.1 christos (dwarf_block_to_dwarf_reg, dwarf_block_to_dwarf_reg_deref): Ditto. 6748 1.1 christos (dwarf_block_to_fb_offset, dwarf_block_to_sp_offset): Ditto. 6749 1.1 christos (execute_stack_op): Ditto. 6750 1.1 christos * dwarf2expr.h (gdb_read_uleb128, gdb_read_sleb128): Ditto. 6751 1.1 christos (safe_read_uleb128, safe_read_sleb128): Ditto. 6752 1.1 christos * dwarf2loc.c (decode_debug_loc_dwo_addresses): Ditto. 6753 1.1 christos (dwarf2_compile_expr_to_ax): Ditto. 6754 1.1 christos (locexpr_describe_location_piece): Ditto. 6755 1.1 christos (disassemble_dwarf_expression): Ditto. 6756 1.1 christos (locexpr_describe_location_1): Ditto. 6757 1.1 christos 6758 1.1 christos 2012-05-23 Stan Shebs <stan (a] codesourcery.com> 6759 1.1 christos Kwok Cheung Yeung <kcy (a] codesourcery.com> 6760 1.1 christos 6761 1.1 christos * Makefile.in (SUBDIR_MI_OBS): Add mi-cmd-info.o. 6762 1.1 christos (SUBDIR_MI_SRCS): Add mi-cmd-info.c. 6763 1.1 christos (mi-cmd-info.o): New rule. 6764 1.1 christos * osdata.h (info_osdata_command): New declaration. 6765 1.1 christos * osdata.c (info_osdata_command): Change to non-static. 6766 1.1 christos * mi/mi-cmds.h (mi_cmd_info_os): New declaration. 6767 1.1 christos * mi/mi-cmds.c (mi_cmds): Add -info-os MI command. 6768 1.1 christos * mi/mi-cmd-info.c: New file. 6769 1.1 christos 6770 1.1 christos 2012-05-23 Doug Evans <dje (a] google.com> 6771 1.1 christos 6772 1.1 christos * symtab.c (search_symbols): Pass NULL for file_matcher to 6773 1.1 christos expand_symtabs_matching if there are no files to match. 6774 1.1 christos 6775 1.1 christos * gdbtypes.c (lookup_typename): Simplify. 6776 1.1 christos 6777 1.1 christos 2012-05-23 Pedro Alves <palves (a] redhat.com> 6778 1.1 christos 6779 1.1 christos * arch-utils.h (default_target_signal_to_host): Delete. 6780 1.1 christos * arch-utils.c (default_target_signal_to_host): Delete. 6781 1.1 christos * gdbarch.sh (target_signal_to_host): Remove. 6782 1.1 christos * gdbarch.h, gdbarch.c: Regenerate. 6783 1.1 christos 6784 1.1 christos 2012-05-22 Doug Evans <dje (a] google.com> 6785 1.1 christos 6786 1.1 christos * dwarf2-frame.c (struct dwarf2_cie): Make initial_instructions, end 6787 1.1 christos "const gdb_byte *". 6788 1.1 christos (struct dwarf2_fde): Make instructions, end "const gdb_byte *". 6789 1.1 christos (execute_cfa_program): Update to match API of leb128 functions. 6790 1.1 christos (read_1_byte, read_4_bytes, read_8_bytes): Make buf parameter 6791 1.1 christos "const gdb_byte *". 6792 1.1 christos (read_unsigned_leb128, read_signed_leb128): Delete. 6793 1.1 christos (read_initial_length): Change type of buf argument to 6794 1.1 christos "const gdb_byte *". 6795 1.1 christos (read_encoded_value): Update to match API of leb128 functions. 6796 1.1 christos (decode_frame_entry): Change result to "const gdb_byte *", and 6797 1.1 christos similarly for "start" parameter. 6798 1.1 christos (decode_frame_entry_1): Ditto. Use new leb128 reader functions. 6799 1.1 christos (dwarf2_build_frame_info): Change local frame_ptr to 6800 1.1 christos "const gdb_byte *". 6801 1.1 christos * dwarf2expr.c (safe_read_uleb128, safe_read_sleb128): Replaces 6802 1.1 christos read_uleb128, read_sleb128. All callers updated. 6803 1.1 christos (safe_skip_leb128): New function. 6804 1.1 christos (dwarf_block_to_dwarf_reg): Update to match API of leb128 functions. 6805 1.1 christos Call gdb_read_uleb128, gdb_skip_leb128 instead of read_uleb128. 6806 1.1 christos (dwarf_block_to_dwarf_reg_deref): Update to match API of leb128 6807 1.1 christos functions. Call gdb_read_uleb128, gdb_read_sleb128 instead of 6808 1.1 christos read_uleb128, read_sleb128. 6809 1.1 christos (dwarf_block_to_fb_offset, dwarf_block_to_sp_offset): Ditto. 6810 1.1 christos (execute_stack_op): Update to match API of leb128 functions. 6811 1.1 christos * dwarf2expr.h: #include "leb128.h". 6812 1.1 christos (read_uleb128, read_sleb128): Delete. 6813 1.1 christos (gdb_read_uleb128, gdb_read_sleb128, gdb_skip_leb128): New functions. 6814 1.1 christos (safe_read_uleb128, safe_read_sleb128, safe_skip_leb128): Declare. 6815 1.1 christos * dwarf2loc.c (debug_loc_kind): New enum. 6816 1.1 christos (decode_debug_loc_addresses): New function. 6817 1.1 christos (decode_debug_loc_dwo_addresses): New function. 6818 1.1 christos (dwarf2_find_location_expression): Rewrite. 6819 1.1 christos (dwarf2_compile_expr_to_ax): Update to match API of leb128 functions. 6820 1.1 christos (locexpr_describe_location_piece): Ditto. 6821 1.1 christos (disassemble_dwarf_expression): Ditto. 6822 1.1 christos (locexpr_describe_location_1): Ditto. 6823 1.1 christos (loclist_describe_location): Rewrite. 6824 1.1 christos * dwarf2loc.h (dwarf2_loclist_baton): New member "from_dwo". 6825 1.1 christos * dwarf2read.c (die_reader_specs): New member "buffer_end". 6826 1.1 christos (dwarf2_section_buffer_overflow_complaint): Renamed from 6827 1.1 christos dwarf2_macros_too_long_complaint. All callers updated. 6828 1.1 christos (skip_leb128): Delete. 6829 1.1 christos (init_cu_die_reader): Initialize reader->buffer_end. 6830 1.1 christos (skip_one_die): Replace call to skip_leb128 with safe_skip_leb128. 6831 1.1 christos (skip_form_bytes): New arg buffer_end. All callers updated. 6832 1.1 christos Replace call to skip_leb128 with gdb_skip_leb128. 6833 1.1 christos (skip_unknown_opcode): New arg mac_end. All callers updated. 6834 1.1 christos (fill_in_loclist_baton): Initialize baton->from_dwo. 6835 1.1 christos 6836 1.1 christos 2012-05-22 Maciej W. Rozycki <macro (a] codesourcery.com> 6837 1.1 christos 6838 1.1 christos * mips-linux-nat.c (mips_linux_read_description): Use a more 6839 1.1 christos verbose error message. 6840 1.1 christos 6841 1.1 christos 2012-05-22 Maciej W. Rozycki <macro (a] codesourcery.com> 6842 1.1 christos 6843 1.1 christos * NEWS: Add MIPS/Linux DSP support. 6844 1.1 christos * mips-linux-tdep.c: Document post-2.6.12 o32 sigcontext layout. 6845 1.1 christos (SIGCONTEXT_DSPCTL): New macro. 6846 1.1 christos (SIGCONTEXT_HI1, SIGCONTEXT_LO1): Likewise. 6847 1.1 christos (SIGCONTEXT_HI2, SIGCONTEXT_LO2): Likewise. 6848 1.1 christos (SIGCONTEXT_HI3, SIGCONTEXT_LO3): Likewise. 6849 1.1 christos (N64_SIGCONTEXT_HI1, N64_SIGCONTEXT_HI2): Likewise. 6850 1.1 christos (N64_SIGCONTEXT_HI3): Likewise. 6851 1.1 christos (N64_SIGCONTEXT_LO1, N64_SIGCONTEXT_LO2): Likewise. 6852 1.1 christos (N64_SIGCONTEXT_LO3): Likewise. 6853 1.1 christos (N64_SIGCONTEXT_DSPCTL): Likewise. 6854 1.1 christos (N64_SIGCONTEXT_FPCSR): Clarify definition. 6855 1.1 christos (mips_linux_o32_sigframe_init): Handle DSP registers. 6856 1.1 christos (mips_linux_n32n64_sigframe_init): Likewise. 6857 1.1 christos 6858 1.1 christos 2012-05-22 Pierre Muller <muller (a] ics.u-strasbg.fr> 6859 1.1 christos 6860 1.1 christos * common/buffer.c (buffer_grow): ARI fix: Remove unneeded 6861 1.1 christos call to abort. 6862 1.1 christos 6863 1.1 christos 2012-05-22 Pedro Alves <palves (a] redhat.com> 6864 1.1 christos 6865 1.1 christos * target.h (store_waitstatus): Move declaration ... 6866 1.1 christos * inf-child.h (store_waitstatus): ... here. 6867 1.1 christos * target.c: Move inclusion of gdb_wait.h, and ... 6868 1.1 christos (store_waitstatus): ... this ... 6869 1.1 christos * inf-child.c: ... here. 6870 1.1 christos * linux-nat.c: Include inf-child.h. 6871 1.1 christos * rs6000-nat.c: Include inf-child.h. 6872 1.1 christos * spu-linux-nat.c: Include inf-child.h. 6873 1.1 christos 6874 1.1 christos 2012-05-22 Pierre Muller <muller (a] ics.u-strasbg.fr> 6875 1.1 christos 6876 1.1 christos * tracepoint.c (start_tracing): Add missing i18n markup. 6877 1.1 christos (stop_tracing, set_trace_user): Ditto. 6878 1.1 christos (set_trace_notes, set_trace_stop_notes): Ditto. 6879 1.1 christos 6880 1.1 christos 2012-05-21 Tom Tromey <tromey (a] redhat.com> 6881 1.1 christos 6882 1.1 christos PR c++/7173: 6883 1.1 christos * gnu-v3-abi.c (gnuv3_baseclass_offset): Return early for Java 6884 1.1 christos types. 6885 1.1 christos * value.h (value_cast_pointers): Update. 6886 1.1 christos * valops.c (value_cast_pointers): Add 'subclass_check' argument. 6887 1.1 christos (value_cast): Update. 6888 1.1 christos (update_search_result): New function. 6889 1.1 christos (do_search_struct_field): New, from search_struct_field. Check 6890 1.1 christos for ambiguous results. 6891 1.1 christos (search_struct_field): Rewrite. 6892 1.1 christos * infcall.c (value_arg_coerce): Update. 6893 1.1 christos * eval.c (evaluate_subexp_standard) <STRUCTOP_MEMBER>: Use 6894 1.1 christos value_cast_pointers. 6895 1.1 christos * ada-lang.c (ada_convert_actual): Update. 6896 1.1 christos 6897 1.1 christos 2012-05-21 Tom Tromey <tromey (a] redhat.com> 6898 1.1 christos 6899 1.1 christos * macroexp.c (macro_stringify): Terminate the string. 6900 1.1 christos 6901 1.1 christos 2012-05-20 Jan Kratochvil <jan.kratochvil (a] redhat.com> 6902 1.1 christos 6903 1.1 christos * NEWS (--with-auto-load-dir): Prepend $debugdir to the default path. 6904 1.1 christos Describe it. 6905 1.1 christos * auto-load.c (auto_load_expand_dir_vars): New function. 6906 1.1 christos (auto_load_safe_path_vec_update): Use it, remove the 6907 1.1 christos substitute_path_component call thanks to it. 6908 1.1 christos (auto_load_objfile_script): Remove the debug_file_directory processing. 6909 1.1 christos Use auto_load_expand_dir_vars, remove the substitute_path_component 6910 1.1 christos call thanks to it. 6911 1.1 christos * configure: Regenerate. 6912 1.1 christos * configure.ac (--with-auto-load-dir): Prepend $debugdir to the default 6913 1.1 christos path. Escape $ also for $debugdir. 6914 1.1 christos (--with_auto_load_safe_path): Escape $ also for $debugdir. 6915 1.1 christos * utils.c (substitute_path_component): Accept also DIRNAME_SEPARATOR. 6916 1.1 christos 6917 1.1 christos 2012-05-20 Doug Evans <dje (a] google.com> 6918 1.1 christos 6919 1.1 christos * dwarf2read.c (recursively_find_pc_sect_symtab): Initialize "s" 6920 1.1 christos before use. Check for symtab->includes == NULL before scanning it. 6921 1.1 christos 6922 1.1 christos 2012-05-18 Maciej W. Rozycki <macro (a] codesourcery.com> 6923 1.1 christos 6924 1.1 christos * mips-tdep.c (mips_reg3_to_reg): Optimize storage. 6925 1.1 christos 6926 1.1 christos 2012-05-18 Maciej W. Rozycki <macro (a] codesourcery.com> 6927 1.1 christos 6928 1.1 christos * NEWS: Add microMIPS support and "set mips compression", 6929 1.1 christos "show mips compression" commands. 6930 1.1 christos * mips-tdep.h (mips_isa): New enum. 6931 1.1 christos (gdbarch_tdep): Add mips_isa. 6932 1.1 christos (mips_pc_is_mips16): Update prototype. 6933 1.1 christos (mips_pc_is_mips, mips_pc_is_micromips): New prototypes. 6934 1.1 christos * mips-tdep.c (mips_compression_mips16): New variable. 6935 1.1 christos (mips_compression_micromips): Likewise. 6936 1.1 christos (mips_compression_strings): Likewise. 6937 1.1 christos (mips_compression_string): Likewise. 6938 1.1 christos (is_mips16_isa, is_micromips_isa): New functions. 6939 1.1 christos (is_mips16_addr): Rename to... 6940 1.1 christos (is_compact_addr): ... this. 6941 1.1 christos (unmake_mips16_addr): Likewise to... 6942 1.1 christos (unmake_compact_addr): ... this. 6943 1.1 christos (make_mips16_addr): Likewise to... 6944 1.1 christos (make_compact_addr): ... this. 6945 1.1 christos (is_mips_addr, is_mips16_addr, is_micromips_addr): New 6946 1.1 christos functions. 6947 1.1 christos (mips_elf_make_msymbol_special): Handle microMIPS code. 6948 1.1 christos (msymbol_is_special): Rename to... 6949 1.1 christos (msymbol_is_mips16): ... this. 6950 1.1 christos (mips_make_symbol_special, mips_pc_is_mips16): Update 6951 1.1 christos accordingly. 6952 1.1 christos (msymbol_is_mips, msymbol_is_micromips): New functions. 6953 1.1 christos (mips16_to_32_reg): Rename to... 6954 1.1 christos (mips_reg3_to_reg): ... this. 6955 1.1 christos (mips_pc_is_mips, mips_pc_is_micromips): New functions. 6956 1.1 christos (mips_pc_isa): Likewise. 6957 1.1 christos (mips_read_pc, mips_unwind_pc, mips_write_pc): Handle microMIPS 6958 1.1 christos code. 6959 1.1 christos (mips_fetch_instruction): Pass return status instead of printing 6960 1.1 christos an error message if requested. Handle microMIPS code. Bail out 6961 1.1 christos on an invalid ISA. 6962 1.1 christos (micromips_op): New macro. 6963 1.1 christos (b0s4_imm, b0s5_imm, b0s5_reg, b0s7_imm, b0s10_imm): Likewise. 6964 1.1 christos (b1s9_imm, b2s3_cc, b4s2_regl, b5s5_op, b5s5_reg): Likewise. 6965 1.1 christos (b6s4_op, b7s3_reg): Likewise. 6966 1.1 christos (b0s6_op, b0s11_op, b0s12_imm, b0s16_imm, b0s26_imm): Likewise. 6967 1.1 christos (b6s10_ext, b11s5_reg, b12s4_op): Likewise. 6968 1.1 christos (mips_insn_size): New function. 6969 1.1 christos (mips32_next_pc): Update mips_fetch_instruction call. 6970 1.1 christos (micromips_relative_offset7): New function. 6971 1.1 christos (micromips_relative_offset10): Likewise. 6972 1.1 christos (micromips_relative_offset16): Likewise. 6973 1.1 christos (micromips_pc_insn_size): Likewise. 6974 1.1 christos (micromips_bc1_pc): Likewise. 6975 1.1 christos (micromips_next_pc): Likewise. 6976 1.1 christos (unpack_mips16): Update mips_fetch_instruction call. 6977 1.1 christos (extended_mips16_next_pc): Update according to change to 6978 1.1 christos mips16_to_32_reg. 6979 1.1 christos (mips_next_pc): Update mips_pc_is_mips16 call. Handle microMIPS 6980 1.1 christos code. 6981 1.1 christos (mips16_scan_prologue): Update mips_fetch_instruction call. 6982 1.1 christos Update according to change to mips16_to_32_reg. 6983 1.1 christos (mips_insn16_frame_sniffer): Update mips_pc_is_mips16 call. 6984 1.1 christos (mips_insn16_frame_base_sniffer): Likewise. 6985 1.1 christos (micromips_decode_imm9): New function. 6986 1.1 christos (micromips_scan_prologue): Likewise. 6987 1.1 christos (mips_micro_frame_cache): Likewise. 6988 1.1 christos (mips_micro_frame_this_id): Likewise. 6989 1.1 christos (mips_micro_frame_prev_register): Likewise. 6990 1.1 christos (mips_micro_frame_sniffer): Likewise. 6991 1.1 christos (mips_micro_frame_unwind): New variable. 6992 1.1 christos (mips_micro_frame_base_address): New function. 6993 1.1 christos (mips_micro_frame_base): New variable. 6994 1.1 christos (mips_micro_frame_base_sniffer): New function. 6995 1.1 christos (mips32_scan_prologue): Update mips_fetch_instruction call. 6996 1.1 christos (mips_insn32_frame_sniffer): Check for the standard MIPS ISA 6997 1.1 christos rather than for MIPS16. 6998 1.1 christos (mips_insn32_frame_base_sniffer): Likewise. 6999 1.1 christos (mips_addr_bits_remove): Handle microMIPS code. 7000 1.1 christos (deal_with_atomic_sequence): Rename to... 7001 1.1 christos (mips_deal_with_atomic_sequence): ... this. Update the type 7002 1.1 christos of the variable used to hold an instruction. Remove the ISA bit 7003 1.1 christos check. Update mips_fetch_instruction call. 7004 1.1 christos (micromips_deal_with_atomic_sequence): New function. 7005 1.1 christos (deal_with_atomic_sequence): Likewise. 7006 1.1 christos (mips_about_to_return): Handle microMIPS code. Update 7007 1.1 christos mips_fetch_instruction call. 7008 1.1 christos (heuristic_proc_start): Check for the standard MIPS ISA rather 7009 1.1 christos than for MIPS16. Update mips_pc_is_mips16 and 7010 1.1 christos mips_fetch_instruction calls. Handle microMIPS code. 7011 1.1 christos (mips_push_dummy_code): Handle microMIPS code. 7012 1.1 christos (mips_eabi_push_dummy_call): Likewise. 7013 1.1 christos (mips_o32_return_value): Update mips_pc_is_mips16 call. 7014 1.1 christos (mips_o64_push_dummy_call): Handle microMIPS code. 7015 1.1 christos (mips_o64_return_value): Update mips_pc_is_mips16 call. 7016 1.1 christos (is_delayed): Remove function. 7017 1.1 christos (mips_single_step_through_delay): Replace the call to is_delayed 7018 1.1 christos with mips32_instruction_has_delay_slot. Correct MIPS16 handling. 7019 1.1 christos Handle microMIPS code. 7020 1.1 christos (mips_skip_prologue): Update mips_pc_is_mips16 call. Handle 7021 1.1 christos microMIPS code. 7022 1.1 christos (mips32_in_function_epilogue_p): Update mips_fetch_instruction 7023 1.1 christos call. 7024 1.1 christos (micromips_in_function_epilogue_p): New function. 7025 1.1 christos (mips16_in_function_epilogue_p): Update mips_fetch_instruction 7026 1.1 christos call. 7027 1.1 christos (mips_in_function_epilogue_p): Update mips_pc_is_mips16 call. 7028 1.1 christos Handle microMIPS. 7029 1.1 christos (gdb_print_insn_mips): Likewise. 7030 1.1 christos (mips_breakpoint_from_pc): Likewise. 7031 1.1 christos (mips_remote_breakpoint_from_pc): New function. 7032 1.1 christos (mips32_instruction_has_delay_slot): Simplify making use of the 7033 1.1 christos updated mips_fetch_instruction interface. 7034 1.1 christos (micromips_instruction_has_delay_slot): New function. 7035 1.1 christos (mips16_instruction_has_delay_slot): Simplify making use of the 7036 1.1 christos updated mips_fetch_instruction interface. 7037 1.1 christos (mips_adjust_breakpoint_address): Check for the standard MIPS 7038 1.1 christos ISA rather than for MIPS16 ISA. Update for unmake_compact_addr 7039 1.1 christos calls. Handle microMIPS code. 7040 1.1 christos (mips_get_mips16_fn_stub_pc): Update mips_fetch_instruction call. 7041 1.1 christos (mips_skip_trampoline_code): Handle microMIPS code. 7042 1.1 christos (global_mips_compression): New function. 7043 1.1 christos (mips_gdbarch_init): Handle the compressed ISA setting from ELF 7044 1.1 christos file flags. Register the microMIPS remote breakpoint handler 7045 1.1 christos and heuristic frame unwinder. 7046 1.1 christos (show_mips_compression): New function. 7047 1.1 christos (_initialize_mips_tdep): Add the "set mips compression" and 7048 1.1 christos "show mips compression" commands. 7049 1.1 christos 7050 1.1 christos 2012-05-18 Sergio Durigan Junior <sergiodj (a] redhat.com> 7051 1.1 christos 7052 1.1 christos * ada-lang.c: 7053 1.1 christos * ada-tasks.c: 7054 1.1 christos * ada-varobj.c: 7055 1.1 christos * amd64-darwin-tdep.c: 7056 1.1 christos * arm-symbian-tdep.c: 7057 1.1 christos * arm-tdep.c: 7058 1.1 christos * avr-tdep.c: 7059 1.1 christos * ax-gdb.c: 7060 1.1 christos * bfin-linux-tdep.c: 7061 1.1 christos * breakpoint.c: 7062 1.1 christos * c-valprint.c: 7063 1.1 christos * cli/cli-cmds.c: 7064 1.1 christos * coffread.c: 7065 1.1 christos * cp-support.c: 7066 1.1 christos * cris-tdep.c: 7067 1.1 christos * dwarf2-frame-tailcall.c: 7068 1.1 christos * dwarf2-frame.c: 7069 1.1 christos * dwarf2expr.c: 7070 1.1 christos * dwarf2loc.c: 7071 1.1 christos * dwarf2read.c: 7072 1.1 christos * elfread.c: 7073 1.1 christos * eval.c: 7074 1.1 christos * expprint.c: 7075 1.1 christos * f-valprint.c: 7076 1.1 christos * frv-tdep.c: 7077 1.1 christos * h8300-tdep.c: 7078 1.1 christos * hppa-hpux-tdep.c: 7079 1.1 christos * hppa-tdep.c: 7080 1.1 christos * hppanbsd-tdep.c: 7081 1.1 christos * i386-nto-tdep.c: 7082 1.1 christos * i386-tdep.c: 7083 1.1 christos * i387-tdep.c: 7084 1.1 christos * ia64-tdep.c: 7085 1.1 christos * jit.c: 7086 1.1 christos * linespec.c: 7087 1.1 christos * linux-tdep.c: 7088 1.1 christos * lm32-tdep.c: 7089 1.1 christos * m2-valprint.c: 7090 1.1 christos * m32c-tdep.c: 7091 1.1 christos * m32r-rom.c: 7092 1.1 christos * m32r-tdep.c: 7093 1.1 christos * m68k-tdep.c: 7094 1.1 christos * m68klinux-tdep.c: 7095 1.1 christos * mi/mi-main.c: 7096 1.1 christos * microblaze-tdep.c: 7097 1.1 christos * mips-linux-tdep.c: 7098 1.1 christos * mips-tdep.c: 7099 1.1 christos * mn10300-tdep.c: 7100 1.1 christos * p-valprint.c: 7101 1.1 christos * parse.c: 7102 1.1 christos * ppc-linux-tdep.c: 7103 1.1 christos * ppc-sysv-tdep.c: 7104 1.1 christos * printcmd.c: 7105 1.1 christos * python/py-finishbreakpoint.c: 7106 1.1 christos * python/py-inferior.c: 7107 1.1 christos * python/py-infthread.c: 7108 1.1 christos * python/py-type.c: 7109 1.1 christos * python/python.c: 7110 1.1 christos * remote-fileio.c: 7111 1.1 christos * remote-m32r-sdi.c: 7112 1.1 christos * remote-mips.c: 7113 1.1 christos * reverse.c: 7114 1.1 christos * rl78-tdep.c: 7115 1.1 christos * rs6000-aix-tdep.c: 7116 1.1 christos * rs6000-tdep.c: 7117 1.1 christos * s390-tdep.c: 7118 1.1 christos * score-tdep.c: 7119 1.1 christos * sh64-tdep.c: 7120 1.1 christos * skip.c: 7121 1.1 christos * solib-darwin.c: 7122 1.1 christos * solib-dsbt.c: 7123 1.1 christos * solib-frv.c: 7124 1.1 christos * sparc-tdep.c: 7125 1.1 christos * spu-multiarch.c: 7126 1.1 christos * spu-tdep.c: 7127 1.1 christos * stack.c: 7128 1.1 christos * symfile.c: 7129 1.1 christos * symtab.c: 7130 1.1 christos * tic6x-tdep.c: 7131 1.1 christos * tracepoint.c: 7132 1.1 christos * v850-tdep.c: 7133 1.1 christos * valarith.c: 7134 1.1 christos * valprint.c: 7135 1.1 christos * value.c: 7136 1.1 christos * xcoffread.c: 7137 1.1 christos * xtensa-tdep.c: 7138 1.1 christos * ada-lang.c: 7139 1.1 christos * ada-tasks.c: 7140 1.1 christos * ada-varobj.c: 7141 1.1 christos * amd64-darwin-tdep.c: 7142 1.1 christos * arm-symbian-tdep.c: 7143 1.1 christos * arm-tdep.c: Delete unused variables. 7144 1.1 christos 7145 1.1 christos 2012-05-18 Jan Kratochvil <jan.kratochvil (a] redhat.com> 7146 1.1 christos 7147 1.1 christos Rename $ddir to $datadir. 7148 1.1 christos * NEWS (--with-auto-load-dir): Rename $ddir to $datadir. 7149 1.1 christos * auto-load.c (auto_load_safe_path_vec_update) 7150 1.1 christos (auto_load_gdb_datadir_changed, auto_load_objfile_script): Likewise. 7151 1.1 christos * configure: Regenerate. 7152 1.1 christos * configure.ac (--with-auto-load-dir, --with-auto-load-safe-path): 7153 1.1 christos Likewise. Remove the 'use $ddir' help string. 7154 1.1 christos 7155 1.1 christos 2012-05-18 Jan Kratochvil <jan.kratochvil (a] redhat.com> 7156 1.1 christos 7157 1.1 christos * auto-load.c (show_auto_load_safe_path): Accept any combination of 7158 1.1 christos DIRNAME_SEPARATOR and IS_DIR_SEPARATOR for wild-match. 7159 1.1 christos 7160 1.1 christos 2012-05-18 Tom Tromey <tromey (a] redhat.com> 7161 1.1 christos 7162 1.1 christos PR exp/13907: 7163 1.1 christos * valprint.h (struct value_print_options) <symbol_print>: New 7164 1.1 christos field. 7165 1.1 christos * valprint.c (user_print_options): Add default for symbol_print. 7166 1.1 christos (show_symbol_print): New function. 7167 1.1 christos (generic_val_print): Respect symbol_print. 7168 1.1 christos (_initialize_valprint): Add "print symbol" setting. 7169 1.1 christos * f-valprint.c (f_val_print): Respect symbol_print. 7170 1.1 christos * c-valprint.c (c_val_print): Respect symbol_print. 7171 1.1 christos * NEWS: Update. 7172 1.1 christos * printcmd.c (print_address_symbolic): Return int. Ignore some 7173 1.1 christos zero-size symbols. 7174 1.1 christos (print_address_demangle): Return int. 7175 1.1 christos * defs.h: (print_address_symbolic): Return int. 7176 1.1 christos * value.h (print_address_demangle): Return int. 7177 1.1 christos 7178 1.1 christos 2012-05-18 Tom Tromey <tromey (a] redhat.com> 7179 1.1 christos 7180 1.1 christos * valprint.c (val_print_string): Don't print leading space. 7181 1.1 christos * p-valprint.c (pascal_val_print) <TYPE_CODE_PTR>: Optionally 7182 1.1 christos print space before string or vtbl. 7183 1.1 christos * m2-valprint.c (print_unpacked_pointer): Optionally print space 7184 1.1 christos before string. 7185 1.1 christos * jv-valprint.c (java_value_print): Print space before string. 7186 1.1 christos * go-valprint.c (print_go_string): Print space before string. 7187 1.1 christos * f-valprint.c (f_val_print) <TYPE_CODE_PTR>: Optionally print 7188 1.1 christos space before string. 7189 1.1 christos * c-valprint.c (c_val_print) <TYPE_CODE_PTR>: Optionally print 7190 1.1 christos space before string or vtbl. 7191 1.1 christos * auxv.c (fprint_target_auxv): Print space after address. 7192 1.1 christos 7193 1.1 christos 2012-05-18 Tom Tromey <tromey (a] redhat.com> 7194 1.1 christos 7195 1.1 christos * printcmd.c (print_address_demangle): Remove special case for 0. 7196 1.1 christos 7197 1.1 christos 2012-05-18 Tom Tromey <tromey (a] redhat.com> 7198 1.1 christos 7199 1.1 christos * printcmd.c (print_address_demangle): Add 'opts' argument. 7200 1.1 christos * p-valprint.c (pascal_val_print): Update. 7201 1.1 christos * jv-valprint.c (java_val_print): Update. 7202 1.1 christos * value.h: Update. 7203 1.1 christos * valprint.c (generic_val_print): Update. 7204 1.1 christos (print_function_pointer_address): Add 'options' argument. Remove 7205 1.1 christos 'addressprint' argument. Update. 7206 1.1 christos * m2-valprint.c (print_unpacked_pointer): Update. 7207 1.1 christos * gnu-v3-abi.c (print_one_vtable): Update. 7208 1.1 christos (gnuv3_print_method_ptr): Update. 7209 1.1 christos * f-valprint.c (f_val_print): Update. 7210 1.1 christos * cp-valprint.c (cp_print_value_fields): Update. 7211 1.1 christos * valprint.h (print_function_pointer_address): Update. 7212 1.1 christos * c-valprint.c (c_val_print): Update. 7213 1.1 christos 7214 1.1 christos 2012-05-18 Tom Tromey <tromey (a] redhat.com> 7215 1.1 christos 7216 1.1 christos * psymtab.c (find_pc_sect_symtab_from_partial): Return the symtab 7217 1.1 christos directly corresponding to the found psymtab. 7218 1.1 christos * dwarf2read.c (recursively_find_pc_sect_symtab): New function. 7219 1.1 christos (dw2_find_pc_sect_symtab): Use it. 7220 1.1 christos * block.h (blockvector_contains_pc): Declare. 7221 1.1 christos * block.c (find_block_in_blockvector): New function. 7222 1.1 christos (blockvector_for_pc_sect): Use it. 7223 1.1 christos (blockvector_contains_pc): New function. 7224 1.1 christos 7225 1.1 christos 2012-05-18 Maciej W. Rozycki <macro (a] codesourcery.com> 7226 1.1 christos 7227 1.1 christos * mips-tdep.h (mips_write_pc): New prototype. 7228 1.1 christos * mips-tdep.c (mips_write_pc): Make external, add description. 7229 1.1 christos * mips-linux-tdep.c (mips_linux_write_pc): Use mips_write_pc, 7230 1.1 christos add description. 7231 1.1 christos 7232 1.1 christos 2012-05-18 Maciej W. Rozycki <macro (a] codesourcery.com> 7233 1.1 christos 7234 1.1 christos * mips-tdep.c (mips_read_pc): Use gdbarch_pc_regnum instead of 7235 1.1 christos mips_regnum->pc. 7236 1.1 christos (mips_unwind_pc, mips_write_pc): Likewise. 7237 1.1 christos (mips_gdbarch_init): Remove a comment on gdbarch_pc_regnum and 7238 1.1 christos gdbarch_read_pc. 7239 1.1 christos 7240 1.1 christos 2012-05-17 Joel Brobecker <brobecker (a] adacore.com> 7241 1.1 christos 7242 1.1 christos * procfs.c (procfs_find_new_threads, procfs_pid_to_str, 7243 1.1 christos proc_warn, proc_error, proc_get_status, proc_flags, 7244 1.1 christos proc_why, proc_what, proc_nsysarg, proc_sysargs, 7245 1.1 christos proc_set_run_on_last_close, proc_unset_run_on_last_close, 7246 1.1 christos proc_unset_inherit_on_fork, proc_set_async, proc_unset_async, 7247 1.1 christos proc_stop_process, proc_wait_for_stop, proc_run_process, 7248 1.1 christos proc_set_traced_signals, proc_set_traced_faults, 7249 1.1 christos proc_set_traced_sysentry, proc_set_traced_sysexit, 7250 1.1 christos proc_set_held_signals, proc_get_held_signals, 7251 1.1 christos proc_get_traced_signals, proc_get_traced_faults, 7252 1.1 christos proc_get_traced_sysentry, proc_get_traced_sysexit, 7253 1.1 christos proc_clear_current_fault, proc_set_current_signal, 7254 1.1 christos proc_clear_current_signal, proc_get_gregs, proc_get_fpregs, 7255 1.1 christos proc_set_gregs, proc_set_fpregs, proc_kill, proc_parent_pid, 7256 1.1 christos proc_get_nthreads, proc_get_nthreads, proc_get_nthreads, 7257 1.1 christos proc_get_current_thread, proc_get_current_thread, 7258 1.1 christos proc_get_current_thread, proc_update_threads, 7259 1.1 christos proc_update_threads, proc_update_threads, proc_update_threads, 7260 1.1 christos proc_iterate_over_threads, procfs_find_new_threads, 7261 1.1 christos procfs_pid_to_str): Make static. Remove advance declaration. 7262 1.1 christos (proc_cursig): Make static. Conditionalized defintion on 7263 1.1 christos PROCFS_DONT_PIOCSSIG_CURSIG being defined. 7264 1.1 christos (proc_syscall, proc_set_kill_on_last_close, 7265 1.1 christos proc_unset_kill_on_last_close, proc_set_inherit_on_fork, 7266 1.1 christos proc_get_pending_signals, proc_get_signal_actions, 7267 1.1 christos proc_trace_signal, proc_ignore_signal): Delete. 7268 1.1 christos 7269 1.1 christos 2012-05-16 Sergio Durigan Junior <sergiodj (a] redhat.com> 7270 1.1 christos 7271 1.1 christos * coffread.c (cs_section_address): Passing proper argument for 7272 1.1 christos `bfd_get_section_vma'. 7273 1.1 christos * dwarf2read.c (dwarf2_locate_sections): Likewise, for 7274 1.1 christos `bfd_get_section_flags'. 7275 1.1 christos * remote.c (remote_trace_set_readonly_regions): Likewise, for 7276 1.1 christos `bfd_get_section_vma'. 7277 1.1 christos 7278 1.1 christos 2012-05-16 Tom Tromey <tromey (a] redhat.com> 7279 1.1 christos 7280 1.1 christos PR macros/13205: 7281 1.1 christos * macrotab.h: (macro_define_special): Declare. 7282 1.1 christos (enum macro_special_kind): New. 7283 1.1 christos (struct macro_definition) <argc, replacement>: Update comments. 7284 1.1 christos * macrotab.c (new_macro_definition): Unconditionally set 'argc'. 7285 1.1 christos (macro_define_object_internal): New function. 7286 1.1 christos (macro_define_object): Use it. 7287 1.1 christos (macro_define_special): New function. 7288 1.1 christos (fixup_definition): New function. 7289 1.1 christos (macro_lookup_definition, foreach_macro_in_scope) 7290 1.1 christos (foreach_macro): Use fixup_definition. 7291 1.1 christos * macroexp.h (macro_stringify): Declare. 7292 1.1 christos * macroexp.c (free_buffer_return_text): New function. 7293 1.1 christos (stringify): Constify "arg". 7294 1.1 christos (macro_stringify): New function. 7295 1.1 christos * dwarf2read.c (macro_start_file): Call macro_define_special. 7296 1.1 christos 7297 1.1 christos 2012-05-16 Maciej W. Rozycki <macro (a] codesourcery.com> 7298 1.1 christos Maciej W. Rozycki <macro (a] mips.com> 7299 1.1 christos 7300 1.1 christos * breakpoint.h (bp_location): Add related_address member. 7301 1.1 christos * inferior.h (get_return_value): Take a pointer to struct value 7302 1.1 christos instead of struct type for the function requested. 7303 1.1 christos * value.h (using_struct_return): Likewise. 7304 1.1 christos * gdbarch.sh (return_value): Take a pointer to struct value 7305 1.1 christos instead of struct type for the function requested. 7306 1.1 christos * breakpoint.c (set_breakpoint_location_function): Initialize 7307 1.1 christos related_address for bp_gnu_ifunc_resolver breakpoints. 7308 1.1 christos * elfread.c (elf_gnu_ifunc_resolver_return_stop): Pass the 7309 1.1 christos requested function's address to gdbarch_return_value. 7310 1.1 christos * eval.c (evaluate_subexp_standard): Pass the requested 7311 1.1 christos function's address to using_struct_return. 7312 1.1 christos * infcall.c (call_function_by_hand): Pass the requested 7313 1.1 christos function's address to using_struct_return and 7314 1.1 christos gdbarch_return_value. 7315 1.1 christos * infcmd.c (get_return_value): Take a pointer to struct value 7316 1.1 christos instead of struct type for the function requested. 7317 1.1 christos (print_return_value): Update accordingly. 7318 1.1 christos (finish_command_continuation): Likewise. 7319 1.1 christos * stack.c (return_command): Pass the requested function's 7320 1.1 christos address to using_struct_return and gdbarch_return_value. 7321 1.1 christos * value.c (using_struct_return): Take a pointer to struct value 7322 1.1 christos instead of struct type for the function requested. Pass the 7323 1.1 christos requested function's address to gdbarch_return_value. 7324 1.1 christos * python/py-finishbreakpoint.c (finish_breakpoint_object): 7325 1.1 christos New function_value member, replacing function_type. 7326 1.1 christos (bpfinishpy_dealloc): Update accordingly. 7327 1.1 christos (bpfinishpy_pre_stop_hook): Likewise. 7328 1.1 christos (bpfinishpy_init): Likewise. Record the requested function's 7329 1.1 christos address. 7330 1.1 christos * mips-tdep.c (mips_fval_reg): New enum. 7331 1.1 christos (mips_o32_push_dummy_call): For MIPS16 FP doubles do not swap 7332 1.1 christos words put in GP registers. 7333 1.1 christos (mips_o64_push_dummy_call): Update a comment. 7334 1.1 christos (mips_o32_return_value): Take a pointer to struct value instead 7335 1.1 christos of struct type for the function requested and use it to check if 7336 1.1 christos using the MIPS16 calling convention. Return the designated 7337 1.1 christos general purpose registers for floating-point values returned in 7338 1.1 christos MIPS16 mode. 7339 1.1 christos (mips_o64_return_value): Likewise. 7340 1.1 christos * ppc-tdep.h (ppc_sysv_abi_return_value): Update prototype. 7341 1.1 christos (ppc_sysv_abi_broken_return_value): Likewise. 7342 1.1 christos (ppc64_sysv_abi_return_value): Likewise. 7343 1.1 christos * alpha-tdep.c (alpha_return_value): Take a pointer to struct 7344 1.1 christos value instead of struct type for the function requested. 7345 1.1 christos * amd64-tdep.c (amd64_return_value): Likewise. 7346 1.1 christos * amd64-windows-tdep.c (amd64_windows_return_value): Likewise. 7347 1.1 christos * arm-tdep.c (arm_return_value): Likewise. 7348 1.1 christos * avr-tdep.c (avr_return_value): Likewise. 7349 1.1 christos * bfin-tdep.c (bfin_return_value): Likewise. 7350 1.1 christos * cris-tdep.c (cris_return_value): Likewise. 7351 1.1 christos * frv-tdep.c (frv_return_value): Likewise. 7352 1.1 christos * h8300-tdep.c (h8300_return_value): Likewise. 7353 1.1 christos (h8300h_return_value): Likewise. 7354 1.1 christos * hppa-tdep.c (hppa32_return_value): Likewise. 7355 1.1 christos (hppa64_return_value): Likewise. 7356 1.1 christos * i386-tdep.c (i386_return_value): Likewise. 7357 1.1 christos * ia64-tdep.c (ia64_return_value): Likewise. 7358 1.1 christos * iq2000-tdep.c (iq2000_return_value): Likewise. 7359 1.1 christos * lm32-tdep.c (lm32_return_value): Likewise. 7360 1.1 christos * m32c-tdep.c (m32c_return_value): Likewise. 7361 1.1 christos * m32r-tdep.c (m32r_return_value): Likewise. 7362 1.1 christos * m68hc11-tdep.c (m68hc11_return_value): Likewise. 7363 1.1 christos * m68k-tdep.c (m68k_return_value): Likewise. 7364 1.1 christos (m68k_svr4_return_value): Likewise. 7365 1.1 christos * m88k-tdep.c (m88k_return_value): Likewise. 7366 1.1 christos * mep-tdep.c (mep_return_value): Likewise. 7367 1.1 christos * microblaze-tdep.c (microblaze_return_value): Likewise. 7368 1.1 christos * mn10300-tdep.c (mn10300_return_value): Likewise. 7369 1.1 christos * moxie-tdep.c (moxie_return_value): Likewise. 7370 1.1 christos * mt-tdep.c (mt_return_value): Likewise. 7371 1.1 christos * ppc-linux-tdep.c (ppc_linux_return_value): Likewise. 7372 1.1 christos * ppc-sysv-tdep.c (ppc_sysv_abi_return_value): Likewise. 7373 1.1 christos (ppc_sysv_abi_broken_return_value): Likewise. 7374 1.1 christos (ppc64_sysv_abi_return_value): Likewise. 7375 1.1 christos * ppcnbsd-tdep.c (ppcnbsd_return_value): Likewise. 7376 1.1 christos * rl78-tdep.c (rl78_return_value): Likewise. 7377 1.1 christos * rs6000-aix-tdep.c (rs6000_return_value): Likewise. 7378 1.1 christos * rx-tdep.c (rx_return_value): Likewise. 7379 1.1 christos * s390-tdep.c (s390_return_value): Likewise. 7380 1.1 christos * score-tdep.c (score_return_value): Likewise. 7381 1.1 christos * sh-tdep.c (sh_return_value_nofpu): Likewise. 7382 1.1 christos (sh_return_value_fpu): Likewise. 7383 1.1 christos * sh64-tdep.c (sh64_return_value): Likewise. 7384 1.1 christos * sparc-tdep.c (sparc32_return_value): Likewise. 7385 1.1 christos * sparc64-tdep.c (sparc64_return_value): Likewise. 7386 1.1 christos * spu-tdep.c (spu_return_value): Likewise. 7387 1.1 christos * tic6x-tdep.c (tic6x_return_value): Likewise. 7388 1.1 christos * v850-tdep.c (v850_return_value): Likewise. 7389 1.1 christos * vax-tdep.c (vax_return_value): Likewise. 7390 1.1 christos * xstormy16-tdep.c (xstormy16_return_value): Likewise. 7391 1.1 christos * xtensa-tdep.c (xtensa_return_value): Likewise. 7392 1.1 christos * gdbarch.c: Regenerate. 7393 1.1 christos * gdbarch.h: Regenerate. 7394 1.1 christos 7395 1.1 christos 2012-05-15 Tom Tromey <tromey (a] redhat.com> 7396 1.1 christos 7397 1.1 christos * python/python.c (gdbpy_find_pc_line): Use gdb_py_ulongest. 7398 1.1 christos 7399 1.1 christos 2012-05-15 Joel Brobecker <brobecker (a] adacore.com> 7400 1.1 christos 7401 1.1 christos * breakpoint.c (init_breakpoint_sal): Add quotes around part 7402 1.1 christos of command in two error message. 7403 1.1 christos 7404 1.1 christos 2012-05-15 Joel Brobecker <brobecker (a] adacore.com> 7405 1.1 christos 7406 1.1 christos * breakpoint.c (init_breakpoint_sal): Remove trailing spaces. 7407 1.1 christos 7408 1.1 christos 2012-05-15 Joel Brobecker <brobecker (a] adacore.com> 7409 1.1 christos 7410 1.1 christos * breakpoint.c (find_condition_and_thread): Minor reformatting. 7411 1.1 christos 7412 1.1 christos 2012-05-15 Jan Kratochvil <jan.kratochvil (a] redhat.com> 7413 1.1 christos 7414 1.1 christos * NEWS (show auto-load scripts-directory): Add forgotten command. 7415 1.1 christos 7416 1.1 christos 2012-05-15 Jan Kratochvil <jan.kratochvil (a] redhat.com> 7417 1.1 christos 7418 1.1 christos * spu-tdep.c (spu_catch_start): Update create_breakpoint caller 7419 1.1 christos parameters. 7420 1.1 christos 7421 1.1 christos 2012-05-14 H.J. Lu <hongjiu.lu (a] intel.com> 7422 1.1 christos 7423 1.1 christos * amd64-tdep.c: Include features/i386/x32.c and 7424 1.1 christos features/i386/x32-avx.c. 7425 1.1 christos (_initialize_amd64_tdep): Call initialize_tdesc_x32 and 7426 1.1 christos initialize_tdesc_x32_avx. 7427 1.1 christos 7428 1.1 christos 2012-05-14 Stan Shebs <stan (a] codesourcery.com> 7429 1.1 christos 7430 1.1 christos Add dynamic printf. 7431 1.1 christos * breakpoint.h (enum bptype): New type bp_dprintf. 7432 1.1 christos (struct breakpoint): New field extra_string. 7433 1.1 christos (struct breakpoint_ops): Add arg to create_breakpoints_sal. 7434 1.1 christos (create_breakpoint): Add extra_string arg. 7435 1.1 christos * breakpoint.c (dprintf_breakpoint_ops): New. 7436 1.1 christos (is_breakpoint): Add bp_dprintf. 7437 1.1 christos (bpstat_what): Add dprintf case. 7438 1.1 christos (bptype_string): Ditto. 7439 1.1 christos (print_one_breakpoint_location): Ditto. 7440 1.1 christos (init_bp_location): Ditto. 7441 1.1 christos (bkpt_print_mention): Ditto. 7442 1.1 christos (dprintf_style_enums): New array. 7443 1.1 christos (dprintf_style): New global. 7444 1.1 christos (dprintf_function): New global. 7445 1.1 christos (dprintf_channel): New global. 7446 1.1 christos (update_dprintf_command_list): New function. 7447 1.1 christos (update_dprintf_commands): New function. 7448 1.1 christos (init_breakpoint_sal): Add extra_string argument, handle it. 7449 1.1 christos (create_breakpoint_sal): Add extra_string argument. 7450 1.1 christos (create_breakpoints_sal): Add extra_string argument, update callers. 7451 1.1 christos (find_condition_and_thread): Add extra argument. 7452 1.1 christos (create_breakpoint): Add extra_string argument, record it. 7453 1.1 christos (dprintf_command): New function. 7454 1.1 christos (break_command_1): Add arg to create_breakpoint call. 7455 1.1 christos (handle_gnu_v3_exceptions): Ditto. 7456 1.1 christos (trace_command): Ditto. 7457 1.1 christos (ftrace_command): Ditto. 7458 1.1 christos (strace_command): Ditto. 7459 1.1 christos (bkpt_print_mention): Add dprintf case. 7460 1.1 christos (create_breakpoint_sal_default): Add extra_string argument. 7461 1.1 christos (_initialize_breakpoint): Add new commands. 7462 1.1 christos * mi/mi-cmd-break.c (mi_cmd_break_insert): Add arg to call. 7463 1.1 christos * python/py-breakpoint.c (bppy_init): Ditto. 7464 1.1 christos * python/py-finishbreakpoint.c (bpfinishpy_init): Ditto. 7465 1.1 christos 7466 1.1 christos 2012-05-14 Maciej W. Rozycki <macro (a] codesourcery.com> 7467 1.1 christos 7468 1.1 christos * mips-tdep.c (mips_push_dummy_code): Correct description typo. 7469 1.1 christos 7470 1.1 christos 2012-05-14 Siva Chandra Reddy <sivachandra (a] google.com> 7471 1.1 christos 7472 1.1 christos * python/python.c (gdbpy_find_pc_line): Use ULONGEST instead of 7473 1.1 christos unsigned long long. 7474 1.1 christos 7475 1.1 christos 2012-05-13 Siva Chandra Reddy <sivachandra (a] google.com> 7476 1.1 christos 7477 1.1 christos Add a new function gdb.find_pc_line to the Python API. 7478 1.1 christos * NEWS (Python Scripting): Add entry about the new function. 7479 1.1 christos * python/python.c (gdbpy_find_pc_line): New function which 7480 1.1 christos implements gdb.find_pc_line. 7481 1.1 christos (GdbMethods): Add entry for the new function. 7482 1.1 christos 7483 1.1 christos 2012-05-12 Pedro Alves <palves (a] redhat.com> 7484 1.1 christos 7485 1.1 christos * amd64-linux-tdep.c (_initialize_amd64_linux_tdep): Call 7486 1.1 christos initialize_tdesc_x32_linux and initialize_tdesc_x32_avx_linux. 7487 1.1 christos 7488 1.1 christos 2012-05-12 Eli Zaretskii <eliz (a] gnu.org> 7489 1.1 christos 7490 1.1 christos * inferior.c: Include completer.h 7491 1.1 christos (initialize_inferiors): Set completer of add-inferior to 7492 1.1 christos filename_completer. 7493 1.1 christos 7494 1.1 christos 2012-05-11 H.J. Lu <hongjiu.lu (a] intel.com> 7495 1.1 christos 7496 1.1 christos * amd64-linux-tdep.c (amd64_linux_core_read_description): Check 7497 1.1 christos gdbarch_ptr_bit for x32 core dump. 7498 1.1 christos 7499 1.1 christos 2012-05-11 H.J. Lu <hongjiu.lu (a] intel.com> 7500 1.1 christos 7501 1.1 christos * amd64-linux-tdep.c: Include features/i386/x32-linux.c 7502 1.1 christos and features/i386/x32-avx-linux.c. 7503 1.1 christos 7504 1.1 christos 2012-05-11 Stan Shebs <stan (a] codesourcery.com> 7505 1.1 christos Kwok Cheung Yeung <kcy (a] codesourcery.com> 7506 1.1 christos 7507 1.1 christos * NEWS: Describe new info os commands. 7508 1.1 christos * common/linux-osdata.c (PID_T, TIME_T): Define. 7509 1.1 christos (MAX_PID_T_STRLEN): New. 7510 1.1 christos (linux_common_core_of_thread): Add comment. Change to use PID_T and 7511 1.1 christos MAX_PID_T_STRLEN. 7512 1.1 christos (command_from_pid): Add comment. Change to use PID_T. 7513 1.1 christos (commandline_from_pid): Change to use PID_T. 7514 1.1 christos (user_from_pid): Add comment. 7515 1.1 christos (get_process_owner): Add comment. Change to use PID_T and 7516 1.1 christos MAX_PID_T_STRLEN. 7517 1.1 christos (get_number_of_cpu_cores): Add comment. 7518 1.1 christos (get_cores_used_by_process): Add comment. Change to use PID_T and 7519 1.1 christos MAX_PID_T_STRLEN. 7520 1.1 christos (linux_xfer_osdata_processes): Change to use PID_T and 7521 1.1 christos MAX_PID_T_STRLEN. 7522 1.1 christos (compare_processes): New function. 7523 1.1 christos (linux_xfer_osdata_processgroups): New function. 7524 1.1 christos (linux_xfer_osdata_threads): Change to use PID_T. 7525 1.1 christos (linux_xfer_osdata_fds): New function. 7526 1.1 christos (format_socket_state, print_sockets): New functions. 7527 1.1 christos (union socket_addr): New union. 7528 1.1 christos (linux_xfer_osdata_isockets): New function. 7529 1.1 christos (time_from_time_t, group_from_gid): New functions. 7530 1.1 christos (linux_xfer_osdata_shm): New function. 7531 1.1 christos (linux_xfer_osdata_sem): New function. 7532 1.1 christos (linux_xfer_osdata_msg): New function. 7533 1.1 christos (linux_xfer_osdata_modules): New function. 7534 1.1 christos (osdata_table): Add new entries. 7535 1.1 christos * common/buffer.c (buffer_xml_printf): Add support for long and 7536 1.1 christos long long format specifiers. 7537 1.1 christos 7538 1.1 christos 2012-05-11 H.J. Lu <hongjiu.lu (a] intel.com> 7539 1.1 christos 7540 1.1 christos * amd64-linux-tdep.h (tdesc_x32_linux): New. 7541 1.1 christos (tdesc_x32_avx_linux): Likewise. 7542 1.1 christos 7543 1.1 christos 2012-05-11 Jan Kratochvil <jan.kratochvil (a] redhat.com> 7544 1.1 christos 7545 1.1 christos Implement multi-component --with-auto-load-dir. 7546 1.1 christos * NEWS (set auto-load scripts-directory, --with-auto-load-dir): New 7547 1.1 christos entries. 7548 1.1 christos (--with-auto-load-safe-path): Update the default value description. 7549 1.1 christos * auto-load.c (auto_load_dir, set_auto_load_dir, show_auto_load_dir): 7550 1.1 christos New. 7551 1.1 christos (auto_load_objfile_script): Add DEBUG_AUTO_LOAD output. Remove 7552 1.1 christos GDB_DATADIR NULL check. Replace GDB_DATADIR/auto-load by 7553 1.1 christos AUTO_LOAD_DIR. Support $ddir and multiple components in it. 7554 1.1 christos (_initialize_auto_load): Initialize also auto_load_dir. Install new 7555 1.1 christos "set auto-load scripts-directory". 7556 1.1 christos * config.in: Regenerate. 7557 1.1 christos * configure: Regenerate. 7558 1.1 christos * configure.ac (--with-auto-load-dir): New configure option. 7559 1.1 christos (--auto-load-safe-path): Change the default to --with-auto-load-dir. 7560 1.1 christos 7561 1.1 christos 2012-05-11 Jan Kratochvil <jan.kratochvil (a] redhat.com> 7562 1.1 christos 7563 1.1 christos Provide $ddir substitution for --with-auto-load-safe-path. 7564 1.1 christos * NEWS (--with-auto-load-safe-path, --without-auto-load-safe-path): New 7565 1.1 christos entries. 7566 1.1 christos * auto-load.c: Include observer.h. 7567 1.1 christos (auto_load_safe_path_vec_update): Call substitute_path_component for 7568 1.1 christos each component. New variable ddir_subst. 7569 1.1 christos (auto_load_gdb_datadir_changed): New function. 7570 1.1 christos (set_auto_load_safe_path): Rename DEFAULT_AUTO_LOAD_SAFE_PATH to 7571 1.1 christos AUTO_LOAD_SAFE_PATH. New comment. 7572 1.1 christos (_initialize_auto_load): Rename DEFAULT_AUTO_LOAD_SAFE_PATH to 7573 1.1 christos AUTO_LOAD_SAFE_PATH. Install auto_load_gdb_datadir_changed. 7574 1.1 christos * config.in: Regenerate. 7575 1.1 christos * configure: Regenerate. 7576 1.1 christos * configure.ac (--auto-load-safe-path): Rename 7577 1.1 christos DEFAULT_AUTO_LOAD_SAFE_PATH to AUTO_LOAD_SAFE_PATH. Default to 7578 1.1 christos GDB_DATADIR/auto-load. 7579 1.1 christos * defs.h (substitute_path_component): New declaration. 7580 1.1 christos * top.c: Include observer.h. 7581 1.1 christos (set_gdb_datadir): New function. 7582 1.1 christos (init_main): Install it for "set data-directory". 7583 1.1 christos * utils.c (substitute_path_component): New function. 7584 1.1 christos 7585 1.1 christos 2012-05-11 Jan Kratochvil <jan.kratochvil (a] redhat.com> 7586 1.1 christos 7587 1.1 christos Make auto-load handle multiple components of DEBUG_FILE_DIRECTORY. 7588 1.1 christos * auto-load.c (auto_load_objfile_script): Remove check for NULL 7589 1.1 christos DEBUG_FILE_DIRECTORY. Handle multiple components of 7590 1.1 christos DEBUG_FILE_DIRECTORY. 7591 1.1 christos 7592 1.1 christos 2012-05-10 Tom Tromey <tromey (a] redhat.com> 7593 1.1 christos 7594 1.1 christos * dwarf2read.c (recursively_write_psymbols): New function. 7595 1.1 christos (write_psymtabs_to_index): Use it. 7596 1.1 christos 7597 1.1 christos * dwarf2read.c (struct dwarf2_queue_item) <pretend_language>: New 7598 1.1 christos field. 7599 1.1 christos (load_cu, dw2_do_instantiate_symtab, process_psymtab_comp_unit) 7600 1.1 christos (load_partial_comp_unit): Update. 7601 1.1 christos (queue_comp_unit): Add argument 'pretend_language'. 7602 1.1 christos (process_queue): Update. 7603 1.1 christos (psymtab_to_symtab_1): Skip dependencies that have a user. 7604 1.1 christos (load_partial_comp_unit_reader): Give meaning to the 'data' 7605 1.1 christos argument. 7606 1.1 christos (load_full_comp_unit): Add 'pretend_language' argument. 7607 1.1 christos (process_full_comp_unit): Add 'pretend_language' argument. Set 7608 1.1 christos language on CU. 7609 1.1 christos (process_imported_unit_die, read_file_scope, read_type_unit_scope): 7610 1.1 christos Update. 7611 1.1 christos (maybe_queue_comp_unit): Add 'pretend_language' argument. 7612 1.1 christos (follow_die_offset, follow_die_sig, read_signatured_type_reader): 7613 1.1 christos Update. 7614 1.1 christos (prepare_one_comp_unit): Add 'pretend_language' argument. 7615 1.1 christos 7616 1.1 christos * dwarf2read.c: (dwarf2_per_cu_ptr): New typedef. 7617 1.1 christos (struct dwarf2_per_objfile) <just_read_cus>: New field. 7618 1.1 christos (struct dwarf2_per_cu_data) <imported_symtabs>: New field. 7619 1.1 christos (dw2_do_instantiate_symtab): Check whether symtab was read in 7620 1.1 christos before queueing. 7621 1.1 christos (dw2_instantiate_symtab): Add assertion. Call 7622 1.1 christos process_cu_includes. 7623 1.1 christos (process_psymtab_comp_unit): Compute 'dependencies' for psymtab. 7624 1.1 christos (partial_symtab_p): New typedef. 7625 1.1 christos (set_partial_user): New function. 7626 1.1 christos (dwarf2_build_psymtabs_hard): Use set_partial_user. 7627 1.1 christos (scan_partial_symbols): Add imported CU to imported_symtabs. 7628 1.1 christos (dwarf2_psymtab_to_symtab): Call process_cu_includes. 7629 1.1 christos (psymtab_to_symtab_1): Do nothing if psymtab is readin. 7630 1.1 christos (get_symtab, recursively_compute_inclusions) 7631 1.1 christos (compute_symtab_includes, process_cu_includes) 7632 1.1 christos (process_imported_unit_die): New functions. 7633 1.1 christos (process_die) <DW_TAG_imported_unit>: New case. 7634 1.1 christos (dwarf2_per_objfile_free): Free 'imported_symtabs'. 7635 1.1 christos 7636 1.1 christos * dwarf2read.c (struct dwarf2_per_cu_data) <psymtab>: Update 7637 1.1 christos comment. 7638 1.1 christos (struct partial_die_info) <locdesc>: Remove. 7639 1.1 christos <d>: New field. 7640 1.1 christos (process_psymtab_comp_unit): Add 'read_partial' argument. 7641 1.1 christos Update. 7642 1.1 christos (process_type_comp_unit, dwarf2_build_psymtabs_hard): Update. 7643 1.1 christos (scan_partial_symbols): Handle DW_TAG_imported_unit. 7644 1.1 christos (add_partial_symbol): Update. 7645 1.1 christos (process_die): Handle DW_TAG_partial_unit. 7646 1.1 christos (read_file_scope): Update comment. 7647 1.1 christos (load_partial_dies): Handle DW_TAG_imported_unit. 7648 1.1 christos (read_partial_die): Handle DW_TAG_partial_unit, DW_AT_import. 7649 1.1 christos (determine_prefix, dwarf2_name): Handle DW_TAG_partial_unit. 7650 1.1 christos 7651 1.1 christos 2012-05-10 Tom Tromey <tromey (a] redhat.com> 7652 1.1 christos 7653 1.1 christos * cc-with-dwz.sh: New file. 7654 1.1 christos 7655 1.1 christos 2012-05-10 Tom Tromey <tromey (a] redhat.com> 7656 1.1 christos 7657 1.1 christos * symtab.h (struct symtab) <includes, user>: New fields. 7658 1.1 christos * block.h (struct block_iterator) <d, idx, which>: New fields. 7659 1.1 christos * block.c (initialize_block_iterator, find_iterator_symtab) 7660 1.1 christos (block_iterator_step, block_iter_name_step) 7661 1.1 christos (block_iter_match_step): New functions. 7662 1.1 christos (block_iterator_first, block_iterator_next) 7663 1.1 christos (block_iter_name_first, block_iter_name_next) 7664 1.1 christos (block_iter_match_first, block_iter_match_next): Rewrite. 7665 1.1 christos (get_block_symtab): New function. 7666 1.1 christos 7667 1.1 christos 2012-05-10 Tom Tromey <tromey (a] redhat.com> 7668 1.1 christos 7669 1.1 christos * jv-lang.c (get_java_class_symtab): Use allocate_global_block, 7670 1.1 christos set_block_symtab. 7671 1.1 christos * jit.c (finalize_symtab): Use allocate_global_block, 7672 1.1 christos set_block_symtab. 7673 1.1 christos * buildsym.c (finish_block_internal): New function, from old 7674 1.1 christos finish_block. 7675 1.1 christos (finish_block): Rewrite. 7676 1.1 christos (end_symtab): Use finish_block_internal, set_block_symtab. 7677 1.1 christos * block.h (struct global_block): New. 7678 1.1 christos (allocate_global_block, set_block_symtab): Declare. 7679 1.1 christos * block.c (allocate_global_block, set_block_symtab): New 7680 1.1 christos functions. 7681 1.1 christos 7682 1.1 christos 2012-05-10 Tom Tromey <tromey (a] redhat.com> 7683 1.1 christos 7684 1.1 christos * psymtab.c (partial_map_expand_apply): Add assertion. 7685 1.1 christos (partial_map_symtabs_matching_filename): Skip included psymtabs. 7686 1.1 christos (psymtab_to_symtab): Find unshared psymtab. 7687 1.1 christos (dump_psymtab): Print including psymtabs. 7688 1.1 christos (recursively_search_psymtabs): New function. 7689 1.1 christos (expand_symtabs_matching_via_partial): Use it. 7690 1.1 christos * psympriv.h (struct partial_symtab) <user, searched_flag>: New 7691 1.1 christos fields. 7692 1.1 christos (enum psymtab_search_status): New. 7693 1.1 christos 7694 1.1 christos 2012-05-10 Tom Tromey <tromey (a] redhat.com> 7695 1.1 christos 7696 1.1 christos * tracepoint.c (scope_info): Update. 7697 1.1 christos * symtab.c (lookup_block_symbol, iterate_over_symbols) 7698 1.1 christos (find_pc_sect_symtab, search_symbols) 7699 1.1 christos (default_make_symbol_completion_list_break_on) 7700 1.1 christos (make_file_symbol_completion_list): Update. 7701 1.1 christos * symmisc.c (dump_symtab_1): Update. 7702 1.1 christos * stack.c (print_frame_args, iterate_over_block_locals) 7703 1.1 christos (print_frame_labels, iterate_over_block_arg_vars): Update. 7704 1.1 christos * python/py-block.c (block_object) <dict>: Remove. 7705 1.1 christos <block>: New field. 7706 1.1 christos <iter>: Change type. 7707 1.1 christos (blpy_iter): Update. 7708 1.1 christos (blpy_block_syms_iternext): Update. 7709 1.1 christos * psymtab.c (map_block): Use block iterators. 7710 1.1 christos * objfiles.c (objfile_relocate1): Use ALL_DICT_SYMBOLS. 7711 1.1 christos * mi/mi-cmd-stack.c (list_args_or_locals): Update. 7712 1.1 christos * mdebugread.c (parse_symbol, mylookup_symbol): Update. 7713 1.1 christos * infrun.c (check_exception_resume): Update. 7714 1.1 christos * cp-support.c (make_symbol_overload_list_block): Update. 7715 1.1 christos * coffread.c (patch_opaque_types): Update. 7716 1.1 christos * buildsym.c (finish_block, end_symtab): Use ALL_DICT_SYMBOLS. 7717 1.1 christos * block.h (struct block_iterator): New. 7718 1.1 christos (block_iterator_first, block_iterator_next, block_iter_name_first) 7719 1.1 christos (block_iter_name_next, block_iter_match_first) 7720 1.1 christos (block_iter_match_next): Declare. 7721 1.1 christos (ALL_BLOCK_SYMBOLS): Redefine. 7722 1.1 christos * block.c (block_iterator_first, block_iterator_next) 7723 1.1 christos (block_iter_name_first, block_iter_name_next) 7724 1.1 christos (block_iter_match_first, block_iter_match_next): New functions. 7725 1.1 christos * ada-lang.c (ada_add_block_symbols) 7726 1.1 christos (ada_make_symbol_completion_list): Use block iterator. 7727 1.1 christos 7728 1.1 christos 2012-05-10 Tom Tromey <tromey (a] redhat.com> 7729 1.1 christos 7730 1.1 christos * psymtab.c (PSYMTAB_TO_SYMTAB): Remove. 7731 1.1 christos (find_pc_sect_symtab_from_partial, lookup_symbol_aux_psymtabs) 7732 1.1 christos (lookup_partial_symbol, find_last_source_symtab_from_partial) 7733 1.1 christos (read_psymtabs_with_filename, map_matching_symbols_psymtab) 7734 1.1 christos (expand_symtabs_matching_via_partial, maintenance_check_symtabs): 7735 1.1 christos Update. 7736 1.1 christos 7737 1.1 christos 2012-05-10 Joel Brobecker <brobecker (a] adacore.com> 7738 1.1 christos 7739 1.1 christos * config/djgpp/fnchange.lst: Add entries for print-file-var-lib1.c, 7740 1.1 christos print-file-var-lib2.c, print-file-var-main.c and 7741 1.1 christos print-file-var.exp (located in gdb/testsuite/gdb.base). 7742 1.1 christos 7743 1.1 christos 2012-05-10 Joel Brobecker <brobecker (a] adacore.com> 7744 1.1 christos 7745 1.1 christos * findvar.c (default_read_var_value): For LOC_UNRESOLVED symbols, 7746 1.1 christos try locating the symbol in the symbol's own objfile first, before 7747 1.1 christos extending the search to all objfiles. 7748 1.1 christos * symtab.c (lookup_symbol_aux_objfile): New function, extracted 7749 1.1 christos out of lookup_symbol_aux_symtabs. 7750 1.1 christos (lookup_symbol_aux_symtabs): Add new parameter "exclude_objfile". 7751 1.1 christos Replace extracted-out code by call to lookup_symbol_aux_objfile. 7752 1.1 christos Do not search EXCLUDE_OBJFILE. 7753 1.1 christos (lookup_static_symbol_aux): Update call to lookup_symbol_aux_symtabs. 7754 1.1 christos (lookup_symbol_global): Search for matches in the block's objfile 7755 1.1 christos first, before searching all other objfiles. 7756 1.1 christos 7757 1.1 christos 2012-05-10 Tristan Gingold <gingold (a] adacore.com> 7758 1.1 christos 7759 1.1 christos * printcmd.c (set_command): Add pre/post inc/dec. 7760 1.1 christos 7761 1.1 christos 2012-05-09 Frank Ch. Eigler <fche (a] redhat.com> 7762 1.1 christos 7763 1.1 christos * gdb.1: Document -ex option. 7764 1.1 christos 7765 1.1 christos 2012-05-09 Joel Brobecker <brobecker (a] adacore.com> 7766 1.1 christos 7767 1.1 christos * infcall.c (call_function_by_hand): Remove AT_SYMBOL handling. 7768 1.1 christos * inferior.h (AT_SYMBOL): Delete. 7769 1.1 christos 7770 1.1 christos 2012-05-09 Joel Brobecker <brobecker (a] adacore.com> 7771 1.1 christos 7772 1.1 christos * mips-tdep.c (mips_push_dummy_code): New function. 7773 1.1 christos (mips_gdbarch_init): Set the gdbarch call_dummy_location to 7774 1.1 christos ON_STACK and install mips_push_dummy_code as our gdbarch 7775 1.1 christos push_dummy_code routine. 7776 1.1 christos 7777 1.1 christos 2012-05-09 Pedro Alves <palves (a] redhat.com> 7778 1.1 christos 7779 1.1 christos * target.c (set_maintenance_target_async_permitted): Rename to ... 7780 1.1 christos (set_target_async_command): ... this. 7781 1.1 christos (show_maintenance_target_async_permitted): Rename to ... 7782 1.1 christos (show_target_async_command): ... this. 7783 1.1 christos (initialize_targets): Adjust. 7784 1.1 christos 7785 1.1 christos 2012-05-08 Doug Evans <dje (a] google.com> 7786 1.1 christos 7787 1.1 christos * go-exp.y (classify_name): Add missing assignment of fields of 7788 1.1 christos yylval.ssym. 7789 1.1 christos 7790 1.1 christos 2012-05-08 Eli Zaretskii <eliz (a] gnu.org> 7791 1.1 christos 7792 1.1 christos Display the ">" prompt in interactive mode while reading canned 7793 1.1 christos commands, even when the current interpreter is MI. 7794 1.1 christos 7795 1.1 christos * interps.c (interp_set_temp): New function. 7796 1.1 christos 7797 1.1 christos * interps.h (interp_set_temp): Add prototype. 7798 1.1 christos 7799 1.1 christos * cli/cli-script.c (restore_interp): New cleanup function. 7800 1.1 christos (read_command_lines): Temporarily override the current interpreter 7801 1.1 christos with CLI and arrange for restoring the original one. 7802 1.1 christos 7803 1.1 christos 2012-05-12 Joel Sherrill <joel.sherrill (a] oarcorp.com> 7804 1.1 christos 7805 1.1 christos * microblaze-rom.c (_initialize_picobug_rom): Add prototype. 7806 1.1 christos 7807 1.1 christos 2012-05-07 Sergio Durigan Junior <sergiodj (a] redhat.com> 7808 1.1 christos 7809 1.1 christos * probe.c (parse_probes): Move conditional to check for 7810 1.1 christos debuginfo files from here... 7811 1.1 christos * stap-probe.c (stap_get_probes): ... to here. 7812 1.1 christos 7813 1.1 christos 2012-05-07 Mark Kettenis <kettenis (a] gnu.org> 7814 1.1 christos H.J. Lu <hongjiu.lu (a] intel.com> 7815 1.1 christos 7816 1.1 christos * amd64-tdep.c (amd64_analyze_prologue): Additionally check for 7817 1.1 christos `movl %esp, %ebp' for the X32 ABI. 7818 1.1 christos 7819 1.1 christos 2012-05-07 Tom Tromey <tromey (a] redhat.com> 7820 1.1 christos 7821 1.1 christos * dwarf2read.c (dwarf_tag_name): Return const char *. Use 7822 1.1 christos get_DW_TAG_name. 7823 1.1 christos (dwarf_attr_name): Return const char *. Use get_DW_AT_name. 7824 1.1 christos (dwarf_form_name): Return const char *. Use get_DW_FORM_name. 7825 1.1 christos (dwarf_stack_op_name): Remove. 7826 1.1 christos (dwarf_cfi_name): Return const char *. Use get_DW_ATE_name. 7827 1.1 christos (decode_locdesc): Use get_DW_OP_name. 7828 1.1 christos * dwarf2loc.c (unimplemented): Use get_DW_OP_name. 7829 1.1 christos (dwarf2_compile_expr_to_ax): Likewise. 7830 1.1 christos (disassemble_dwarf_expression): Likewise. 7831 1.1 christos * dwarf2expr.h: (dwarf_stack_op_name): Remove. 7832 1.1 christos 7833 1.1 christos 2012-05-07 Chung-Lin Tang <cltang (a] codesourcery.com> 7834 1.1 christos 7835 1.1 christos * sh-linux-tdep.c: Include trad-frame.h and tramp-frame.h. 7836 1.1 christos (sh_linux_sigtramp_cache): New function. 7837 1.1 christos (sh_linux_sigreturn_init): New function. 7838 1.1 christos (sh_linux_rt_sigreturn_init): New function. 7839 1.1 christos (SH_MOVW,SH_TRAP,SH_OR_R0_R0): New symbols for instruction 7840 1.1 christos patterns. 7841 1.1 christos (SH_NR_SIGRETURN,SH_NR_RT_SIGRETURN): New symbols for sigreturn 7842 1.1 christos syscall codes. 7843 1.1 christos (sh_linux_sigreturn_tramp_frame): New tramp_frame definition. 7844 1.1 christos (sh_linux_rt_sigreturn_tramp_frame): Likewise. 7845 1.1 christos (sh_linux_init_abi): Add init calls to register new tramp_frame 7846 1.1 christos definitions under 32-bit SH, update comments. 7847 1.1 christos 7848 1.1 christos 2012-05-07 Pedro Alves <palves (a] redhat.com> 7849 1.1 christos 7850 1.1 christos PR gdb/10952 7851 1.1 christos 7852 1.1 christos * amd64-linux-tdep.c: Include glibc-tdep.h. 7853 1.1 christos (amd64_linux_init_abi): Install glibc_skip_solib_resolver as 7854 1.1 christos gdbarch_skip_solib_resolver callback. 7855 1.1 christos 7856 1.1 christos 2012-05-06 Jan Kratochvil <jan.kratochvil (a] redhat.com> 7857 1.1 christos 7858 1.1 christos * auto-load.c (set_auto_load_safe_path): Reset AUTO_LOAD_SAFE_PATH 7859 1.1 christos back to DEFAULT_AUTO_LOAD_SAFE_PATH if it is being set to "". 7860 1.1 christos (show_auto_load_safe_path): Check any-directory by comparison with "/". 7861 1.1 christos (add_auto_load_safe_path): Change the error message. 7862 1.1 christos (_initialize_auto_load): Change the "safe-path" help text. 7863 1.1 christos * configure: Regenerate 7864 1.1 christos * configure.ac (--without-auto-load-safe-path): Set 7865 1.1 christos WITH_AUTO_LOAD_SAFE_PATH to /. 7866 1.1 christos 7867 1.1 christos 2012-05-05 Sergio Durigan Junior <sergiodj (a] redhat.com> 7868 1.1 christos 7869 1.1 christos * stap-probe.h: Do not include unecessary `probe.h'. 7870 1.1 christos 7871 1.1 christos 2012-05-05 Alan Modra <amodra (a] gmail.com> 7872 1.1 christos 7873 1.1 christos * elfread.c (elf_symtab_read): Use bfd_abs_section_ptr and 7874 1.1 christos bfd_und_section_ptr. 7875 1.1 christos * machoread.c (macho_symtab_add_minsym): Use bfd_abs_section_ptr 7876 1.1 christos and bfd_com_section_ptr. 7877 1.1 christos 7878 1.1 christos 2012-05-04 Joel Brobecker <brobecker (a] adacore.com> 7879 1.1 christos 7880 1.1 christos * MAINTAINERS (Past Maintainers): Add Chris Faylor. 7881 1.1 christos 7882 1.1 christos 2012-05-04 Joel Brobecker <brobecker (a] adacore.com> 7883 1.1 christos 7884 1.1 christos * windows-nat.h (segment_register_p_ftype): New typedef. 7885 1.1 christos (windows_set_segment_register_p): Add declaration. 7886 1.1 christos * windows-nat.c (segment_register_p): New static global. 7887 1.1 christos (windows_set_segment_register_p): New function. 7888 1.1 christos (do_windows_fetch_inferior_registers): Add special handling 7889 1.1 christos for segment registers. 7890 1.1 christos * amd64-windows-nat.c: #include "amd64-tdep.h". 7891 1.1 christos (amd64_windows_segment_register_p): New function. 7892 1.1 christos (_initialize_amd64_windows_nat): Call windows_set_segment_register_p. 7893 1.1 christos * i386-windows-nat.c: #include "i386-tdep.h". 7894 1.1 christos (i386_windows_segment_register_p): New function. 7895 1.1 christos (_initialize_i386_windows_nat): Call windows_set_segment_register_p. 7896 1.1 christos 7897 1.1 christos 2012-05-04 Tristan Gingold <gingold (a] adacore.com> 7898 1.1 christos 7899 1.1 christos * printcmd.c (set_command): Emit a warning if the expression is not 7900 1.1 christos an assignment. 7901 1.1 christos 7902 1.1 christos 2012-05-03 Joel Brobecker <brobecker (a] adacore.com> 7903 1.1 christos 7904 1.1 christos * nto-procfs.c (procfs_find_new_threads, procfs_pid_to_str): 7905 1.1 christos Make static. 7906 1.1 christos 7907 1.1 christos 2012-05-03 Sergio Durigan Junior <sergiodj (a] redhat.com> 7908 1.1 christos 7909 1.1 christos * stap-probe.c (stap_is_operator): Change declaration. 7910 1.1 christos (stap_get_opcode): Change return value. 7911 1.1 christos (stap_parse_argument_1): Update calls to `stap_get_opcode' and 7912 1.1 christos `stap_parse_argument_1'. 7913 1.1 christos 7914 1.1 christos 2012-05-03 Pedro Alves <pedro (a] codesourcery.com> 7915 1.1 christos 7916 1.1 christos * infrun.c (displaced_step_fixup): Add "displaced:" prefix to 7917 1.1 christos debug log. 7918 1.1 christos 7919 1.1 christos 2012-05-03 Siva Chandra Reddy <sivachandra (a] google.com> 7920 1.1 christos 7921 1.1 christos Add two new methods global_block and static_block to gdb.Symtab 7922 1.1 christos objects. 7923 1.1 christos * NEWS (Python scripting): Add entry about the new methods. 7924 1.1 christos * python/py-symtab.c (stpy_global_block): New function which 7925 1.1 christos implements the gdb.Symtab.global_block() method. 7926 1.1 christos (stpy_static_block): New function which implements the 7927 1.1 christos gdb.Symtab.static_block() method. 7928 1.1 christos (symtab_object_methods): Add entries for the two new methods. 7929 1.1 christos 7930 1.1 christos 2012-05-03 Doug Evans <dje (a] google.com> 7931 1.1 christos 7932 1.1 christos * dwarf2read.c (dw2_find_symbol_file): Don't crash if there are no 7933 1.1 christos files. 7934 1.1 christos 7935 1.1 christos 2012-05-03 Yao Qi <yao (a] codesourcery.com> 7936 1.1 christos 7937 1.1 christos * i386-tdep.c (i386_fetch_pointer_argument): Remove extra 7938 1.1 christos space. 7939 1.1 christos (i386_process_record): Ditto. 7940 1.1 christos 7941 1.1 christos 2012-05-02 Joel Brobecker <brobecker (a] adacore.com> 7942 1.1 christos 7943 1.1 christos * infcall.c (unwind_on_signal_p): Make static. 7944 1.1 christos 7945 1.1 christos 2012-05-02 Joel Brobecker <brobecker (a] adacore.com> 7946 1.1 christos 7947 1.1 christos * sol-thread.c (solaris_pid_to_str): Make static. 7948 1.1 christos (_initialize_sol_thread): Add prototype. 7949 1.1 christos 7950 1.1 christos 2012-05-02 Joel Brobecker <brobecker (a] adacore.com> 7951 1.1 christos 7952 1.1 christos * sol-thread.c (procfs_pid_to_str): Delete extern declaration. 7953 1.1 christos 7954 1.1 christos 2012-05-02 Christopher Faylor <me.cygwin2012 (a] cgf.cx> 7955 1.1 christos 7956 1.1 christos * MAINTAINERS: Remove myself. 7957 1.1 christos 7958 1.1 christos 2012-05-02 Jan Kratochvil <jan.kratochvil (a] redhat.com> 7959 1.1 christos 7960 1.1 christos Fix --without-auto-load-safe-path for MS-Windows host platform. 7961 1.1 christos * auto-load.c (filename_is_in_dir): Return 1 for DIR_LEN 0. 7962 1.1 christos 7963 1.1 christos 2012-05-02 Eli Zaretskii <eliz (a] gnu.org> 7964 1.1 christos 7965 1.1 christos * gdb_curses.h: Undefine KEY_EVENT before including curses 7966 1.1 christos headers. Move "#undef MOUSE_MOVED" before any curses header 7967 1.1 christos inclusion. 7968 1.1 christos 7969 1.1 christos 2012-05-02 Sergio Durigan Junior <sergiodj (a] gmail.com> 7970 1.1 christos 7971 1.1 christos * features/i386/i386-mmx-linux.c: Regenerate. 7972 1.1 christos * features/rs6000/powerpc-32.c: Likewise. 7973 1.1 christos * features/rs6000/powerpc-32l.c: Likewise. 7974 1.1 christos * features/rs6000/powerpc-403.c: Likewise. 7975 1.1 christos * features/rs6000/powerpc-403gc.c: Likewise. 7976 1.1 christos * features/rs6000/powerpc-405.c: Likewise. 7977 1.1 christos * features/rs6000/powerpc-505.c: Likewise. 7978 1.1 christos * features/rs6000/powerpc-601.c: Likewise. 7979 1.1 christos * features/rs6000/powerpc-602.c: Likewise. 7980 1.1 christos * features/rs6000/powerpc-603.c: Likewise. 7981 1.1 christos * features/rs6000/powerpc-604.c: Likewise. 7982 1.1 christos * features/rs6000/powerpc-64.c: Likewise. 7983 1.1 christos * features/rs6000/powerpc-64l.c: Likewise. 7984 1.1 christos * features/rs6000/powerpc-750.c: Likewise. 7985 1.1 christos * features/rs6000/powerpc-860.c: Likewise. 7986 1.1 christos * features/rs6000/powerpc-e500.c: Likewise. 7987 1.1 christos * features/rs6000/powerpc-e500l.c: Likewise. 7988 1.1 christos * features/rs6000/powerpc-isa205-32l.c: Likewise. 7989 1.1 christos * features/rs6000/powerpc-isa205-64l.c: Likewise. 7990 1.1 christos * features/rs6000/rs6000.c: Likewise. 7991 1.1 christos 7992 1.1 christos 2012-05-02 Sergio Durigan Junior <sergiodj (a] gmail.com> 7993 1.1 christos 7994 1.1 christos * i386-tdep.c (i386_stap_parse_special_token) <s>: Remove unused 7995 1.1 christos variable. 7996 1.1 christos * stap-probe.c (stap_parse_single_operand) <reg_suffix, 7997 1.1 christos reg_ind_suffix, reg_suffix_len, reg_ind_suffix_len>: Likewise. 7998 1.1 christos (stap_parse_argument) <e>: Likewise. 7999 1.1 christos (handle_stap_probe) <byte_order>: Likewise. 8000 1.1 christos 8001 1.1 christos 2012-04-30 Doug Evans <dje (a] google.com> 8002 1.1 christos 8003 1.1 christos * dwarf2read.c (init_cutu_and_read_dies): Renamed from 8004 1.1 christos init_and_read_dies_worker. All callers updated. 8005 1.1 christos (init_cu_and_read_dies, init_tu_and_read_dies): Delete. All calls 8006 1.1 christos replaced with init_cutu_and_read_dies. 8007 1.1 christos (load_partial_comp_unit): Pass 1 for use_existing_cu. 8008 1.1 christos (find_partial_die): Remove FIXME. Don't free current CU. 8009 1.1 christos 8010 1.1 christos 2012-04-30 Sterling Augustine <saugustine (a] google.com> 8011 1.1 christos 8012 1.1 christos * contrib: New directory. 8013 1.1 christos * contrib/test_pubnames_and_indexes.py: New file. 8014 1.1 christos 8015 1.1 christos 2012-04-30 Doug Evans <dje (a] google.com> 8016 1.1 christos 8017 1.1 christos * dwarf2read.c (dwarf_decode_macros): New arg section_name. 8018 1.1 christos All callers updated. 8019 1.1 christos (init_cu_die_reader): Verify the section is non-empty. 8020 1.1 christos (dwarf_decode_line_header): Don't dereference section->asection 8021 1.1 christos until we know the section is present. 8022 1.1 christos 8023 1.1 christos 2012-04-29 Sergio Durigan Junior <sergiodj (a] redhat.com> 8024 1.1 christos 8025 1.1 christos * tracepoint.c (start_tracing, stop_tracing): Checking for NULL 8026 1.1 christos probes. 8027 1.1 christos 8028 1.1 christos 2012-04-29 Yao Qi <yao (a] codesourcery.com> 8029 1.1 christos 8030 1.1 christos * gdb-code-style.el: New hook gdb-markup-hook 8031 1.1 christos and gdb-comment-hook. 8032 1.1 christos 8033 1.1 christos 2012-04-28 Doug Evans <dje (a] google.com> 8034 1.1 christos 8035 1.1 christos Initial support for Fission. http://gcc.gnu.org/wiki/DebugFission 8036 1.1 christos * symfile.c (default_symfile_relocate): Use sectp->owner instead of 8037 1.1 christos objfile->obfd. 8038 1.1 christos * symfile.h (dwarf2_debug_sections): New member addr. 8039 1.1 christos * dwarf2expr.c (execute_stack_op): New case DW_OP_GNU_addr_index. 8040 1.1 christos (ctx_no_get_addr_index): New function. 8041 1.1 christos * dwarf2expr.h (dwarf_expr_context_funcs): New member get_addr_index. 8042 1.1 christos (ctx_no_get_addr_index): Declare. 8043 1.1 christos * dwarf2-frame.c (dwarf2_frame_ctx_funcs): Update. 8044 1.1 christos * dwarf2loc.c (dwarf_expr_get_addr_index): New function. 8045 1.1 christos (dwarf_expr_ctx_funcs): Update. 8046 1.1 christos (needs_get_addr_index): New function. 8047 1.1 christos (needs_frame_ctx_funcs): Update. 8048 1.1 christos * dwarf2loc.h (dwarf2_read_addr_index): Declare. 8049 1.1 christos * dwarf2read.c: #include "gdbcore.h". 8050 1.1 christos (dwarf2_per_objfile): New members addr, dwo_files. 8051 1.1 christos (dwarf2_elf_names): Add entry for addr. 8052 1.1 christos (struct dwo_section_names): New type. 8053 1.1 christos (dwo_section_names): New static global. 8054 1.1 christos (dwarf2_cu): New members dwo_unit, addr_base, have_addr_base. 8055 1.1 christos (dwarf2_per_cu_data): New member is_debug_types, all boolean uses of 8056 1.1 christos old debug_types_section member updated to use this. 8057 1.1 christos Rename member debug_types_section to info_or_types_section, 8058 1.1 christos all uses updated. 8059 1.1 christos (signatured_type): Rename member type_offset to type_offset_in_tu, 8060 1.1 christos all uses updated. New member type_offset_in_section. 8061 1.1 christos (struct dwo_sections): New type. 8062 1.1 christos (struct dwo_unit): New type. 8063 1.1 christos (struct dwo_file): New type. 8064 1.1 christos (die_reader_specs): New member dwo_file. 8065 1.1 christos (dwarf2_locate_sections): Watch for .debug_addr. 8066 1.1 christos (zlib_decompress_section): Use sectp->owner instead of objfile->obfd. 8067 1.1 christos (dwarf2_read_section): Get bfd of section from bfd's asection, 8068 1.1 christos instead of objfile. 8069 1.1 christos (create_cus_from_index): Initialize the_cu->info_or_types_section. 8070 1.1 christos (create_signatured_type_table_from_index): Initialize 8071 1.1 christos sig_type->info_or_types_section. 8072 1.1 christos (dw2_get_file_names): Statement lists for type units with DWO files 8073 1.1 christos live in the DWO file. 8074 1.1 christos (create_debug_types_hash_table): New function. 8075 1.1 christos (create_all_type_units): Rewrite. 8076 1.1 christos (init_cu_die_reader): New arg dwo_file, all callers updated. 8077 1.1 christos (init_and_read_dies_worker): Get section from 8078 1.1 christos this_cu->info_or_types_section. Set sig_type->type_offset_in_section. 8079 1.1 christos Watch for DW_AT_GNU_dwo_name and if present lookup the file and 8080 1.1 christos continue reading the CU/TU from there. 8081 1.1 christos (init_cutu_and_read_dies_no_follow): New arg dwo_file, all callers 8082 1.1 christos updated. Get section from this_cu->info_or_types_section. 8083 1.1 christos (create_all_comp_units): Initialize this_cu->info_or_types_section. 8084 1.1 christos (skip_one_die): New cases DW_FORM_GNU_addr_index, 8085 1.1 christos DW_FORM_GNU_str_index. 8086 1.1 christos (hash_dwo_file, eq_dwo_file): New functions. 8087 1.1 christos (allocate_dwo_file_hash_table): New function. 8088 1.1 christos (hash_dwo_unit, eq_dwo_unit): New functions. 8089 1.1 christos (allocate_dwo_unit_table): New function. 8090 1.1 christos (dwarf2_locate_dwo_sections): New function. 8091 1.1 christos (struct create_dwo_info_table_data): New type. 8092 1.1 christos (create_debug_info_hash_table_reader): New function. 8093 1.1 christos (create_debug_info_hash_table): New function. 8094 1.1 christos (try_open_dwo_file, open_dwo_file, init_dwo_file): New function. 8095 1.1 christos (lookup_dwo_file): New function. 8096 1.1 christos (lookup_dwo_comp_unit, lookup_dwo_type_unit): New functions. 8097 1.1 christos (free_dwo_file, free_dwo_file_cleanup): New functions. 8098 1.1 christos (free_dwo_file_from_slot, free_dwo_files): New functions. 8099 1.1 christos (dwarf2_get_pc_bounds): Handle DW_FORM_GNU_addr_index. 8100 1.1 christos (dwarf2_record_block_ranges): Ditto. 8101 1.1 christos (read_partial_die): Ditto. 8102 1.1 christos (process_enumeration_scope): Update to use type_offset_in_section. 8103 1.1 christos (read_full_die_1): New function. 8104 1.1 christos (read_full_die): Rewrite. 8105 1.1 christos (read_attribute_value): New cases DW_FORM_GNU_addr_index, 8106 1.1 christos DW_FORM_GNU_str_index. 8107 1.1 christos (read_addr_index_1, read_addr_index): New functions. 8108 1.1 christos (read_addr_index_from_leb128): New function. 8109 1.1 christos (struct dwarf2_read_addr_index_data): New type. 8110 1.1 christos (dwarf2_read_addr_index_reader): New function. 8111 1.1 christos (dwarf2_read_addr_index): New function. 8112 1.1 christos (read_str_index): New function. 8113 1.1 christos (leb128_size): New function. 8114 1.1 christos (dwarf_decode_line_header): Delete arg abfd, all callers updated. 8115 1.1 christos If processing a type unit from a DWO file, get the line section 8116 1.1 christos from the DWO file. 8117 1.1 christos (var_decode_location): Watch for DW_OP_GNU_addr_index. 8118 1.1 christos (dwarf2_const_value_attr): New cases DW_FORM_GNU_addr_index, 8119 1.1 christos DW_FORM_GNU_str_index. 8120 1.1 christos (lookup_die_type): Check whether section offset of type's die is 8121 1.1 christos known before looking it up. Remove assert. Condition can 8122 1.1 christos legimately happen for inter-cu type references. 8123 1.1 christos (dwarf_attr_name): Handle Fission attributes. 8124 1.1 christos (dwarf_form_name): Handle Fission forms. 8125 1.1 christos (dump_die_shallow): New cases DW_FORM_GNU_addr_index, 8126 1.1 christos DW_FORM_GNU_str_index. 8127 1.1 christos (follow_die_sig): Update to use type_offset_in_section. 8128 1.1 christos (decode_locdesc): New case DW_OP_GNU_addr_index. 8129 1.1 christos (skip_form_bytes): New cases DW_FORM_GNU_addr_index, 8130 1.1 christos DW_FORM_GNU_str_index. 8131 1.1 christos (cu_debug_loc_section): New function. 8132 1.1 christos (fill_in_loclist_baton, dwarf2_symbol_mark_computed): Call it. 8133 1.1 christos (dwarf2_per_objfile_free): Unmap .debug_addr section. 8134 1.1 christos Free DWO files if present. 8135 1.1 christos * xcoffread.c (dwarf2_xcoff_names): Add .debug_addr. 8136 1.1 christos 8137 1.1 christos Refactor DIE reading. 8138 1.1 christos * dwarf2read.c (dwarf2_per_objfile): Replace members 8139 1.1 christos debug_info_type_hash and debug_types_type_hash with die_type_hash. 8140 1.1 christos (die_reader_specs): New member "die_section". Temporarily make 8141 1.1 christos member "buffer" non-const, pending constifying all info_ptr uses. 8142 1.1 christos (die_reader_func_ftype): New typedef. 8143 1.1 christos (dw2_get_file_names_reader): New function. 8144 1.1 christos (dw2_get_file_names): Rewrite. 8145 1.1 christos (read_and_check_type_unit_head): Rename arg type_offset to 8146 1.1 christos type_offset_in_tu. 8147 1.1 christos (create_all_type_units): Improve debugging message. 8148 1.1 christos Improve dummy type unit check. 8149 1.1 christos (init_cu_die_reader): New arg "section". All callers updated. 8150 1.1 christos (init_and_read_dies_worker): New function. 8151 1.1 christos (init_cu_and_read_dies, init_tu_and_read_dies): New functions. 8152 1.1 christos (init_cutu_and_read_dies_no_follow): New function. 8153 1.1 christos (init_cutu_and_read_dies_simple): New function. 8154 1.1 christos (process_psymtab_comp_unit_reader): New function. 8155 1.1 christos (process_psymtab_comp_unit): Delete args section, 8156 1.1 christos is_debug_types_section. Rewrite. All callers updated. 8157 1.1 christos (process_psymtab_type_unit): Renamed from process_type_comp_unit. 8158 1.1 christos All callers updated. Rewrite. 8159 1.1 christos (load_partial_comp_unit_reader): New function. 8160 1.1 christos (load_partial_comp_unit): Rewrite. 8161 1.1 christos (skip_children): New arg reader. Delete args buffer, cu. 8162 1.1 christos All callers updated. 8163 1.1 christos (skip_one_die): New arg reader. Delete args buffer, cu. 8164 1.1 christos All callers updated. 8165 1.1 christos (locate_pdi_sibling): New arg reader. Delete args buffer, abfd, cu. 8166 1.1 christos All callers updated. 8167 1.1 christos (load_full_comp_unit_reader): New function. 8168 1.1 christos (load_full_comp_unit): Rewrite. 8169 1.1 christos (read_comp_unit): Delete. 8170 1.1 christos (read_die_and_children_1): Delete, contents moved ... 8171 1.1 christos (read_die_and_children): ... here. 8172 1.1 christos (dwarf2_read_abbrevs): New arg abbrev_section. All callers updated. 8173 1.1 christos (load_partial_dies): New arg reader. Delete args abfd, buffer, cu. 8174 1.1 christos All callers updated. 8175 1.1 christos (read_partial_die): New arg reader. Delete args abfd, buffer, cu. 8176 1.1 christos All callers updated. 8177 1.1 christos (find_partial_die): Rewrite load_all_dies support. 8178 1.1 christos (read_attribute_value): New arg reader. Delete args abfd, cu. 8179 1.1 christos All callers updated. 8180 1.1 christos (read_attribute): New arg reader. Delete args abfd, cu. 8181 1.1 christos All callers updated. 8182 1.1 christos (load_full_type_unit): Add assert. 8183 1.1 christos (read_signatured_type_reader): New function. 8184 1.1 christos (read_signatured_type): Rewrite. 8185 1.1 christos (free_stack_comp_unit): Remove call to age_cached_comp_units. 8186 1.1 christos (free_one_cached_comp_unit): Change target_cu arg to target_per_cu. 8187 1.1 christos All callers updated. Set per_cu->cu = NULL after freeing it. 8188 1.1 christos (dwarf2_per_cu_offset_and_type): Renamed from dwarf2_offset_and_type. 8189 1.1 christos (per_cu_offset_and_type_hash): Renamed from offset_and_type_hash. 8190 1.1 christos (per_cu_offset_and_type_eq): Renamed from offset_and_type_eq. 8191 1.1 christos (set_die_type): Update. 8192 1.1 christos (get_die_type_at_offset): Update. 8193 1.1 christos (read_file_scope): Call prepare_one_comp_unit. 8194 1.1 christos (read_type_unit_scope): Ditto. 8195 1.1 christos (prepare_one_comp_unit): Set producer if present. 8196 1.1 christos 8197 1.1 christos 2012-04-28 Sergio Durigan Junior <sergiodj (a] redhat.com> 8198 1.1 christos 8199 1.1 christos * probe.c (compile_rx_or_error): Silence ARI warning about missing 8200 1.1 christos gettext function on `error'. 8201 1.1 christos 8202 1.1 christos 2012-04-27 Doug Evans <dje (a] google.com> 8203 1.1 christos 8204 1.1 christos * dwarf2read.c (dwarf2_read_index): Don't use index if symbol table 8205 1.1 christos is empty. 8206 1.1 christos 8207 1.1 christos 2012-04-27 Sergio Durigan Junior <sergiodj (a] redhat.com> 8208 1.1 christos Tom Tromey <tromey (a] redhat.com> 8209 1.1 christos 8210 1.1 christos * breakpoint.c (struct breakpoint_objfile_data) 8211 1.1 christos <longjmp_searched>,<longjmp_probes>,<exception_searched>, 8212 1.1 christos <exception_probes>: New fields. 8213 1.1 christos (free_breakpoint_probes): New function. 8214 1.1 christos (create_longjmp_master_breakpoint): Prefer SystemTap probe over 8215 1.1 christos `_Unwind_DebugHook'. 8216 1.1 christos (create_exception_master_breakpoint): Likewise. 8217 1.1 christos (_initialize_breakpoint): Registering cleanup for SystemTap probes. 8218 1.1 christos * infrun.c: Including necessary header files for handling SystemTap 8219 1.1 christos probes. 8220 1.1 christos (handle_inferior_event): Handling longjmp breakpoint and exceptions 8221 1.1 christos via SystemTap probes. 8222 1.1 christos (check_exception_resume): Remove `func' argument. Handle exception 8223 1.1 christos unwinding breakpoint set via a SystemTap probe. 8224 1.1 christos (insert_exception_resume_from_probe): New function. 8225 1.1 christos 8226 1.1 christos 2012-04-27 Sergio Durigan Junior <sergiodj (a] redhat.com> 8227 1.1 christos Tom Tromey <tromey (a] redhat.com> 8228 1.1 christos Jan Kratochvil <jan.kratochvil (a] redhat.com> 8229 1.1 christos 8230 1.1 christos * Makefile.in (SFILES): Add `probe' and `stap-probe'. 8231 1.1 christos (COMMON_OBS): Likewise. 8232 1.1 christos (HFILES_NO_SRCDIR): Add `probe'. 8233 1.1 christos * NEWS: Mention support for static and SystemTap probes. 8234 1.1 christos * amd64-tdep.c (amd64_init_abi): Initializing proper fields used by 8235 1.1 christos SystemTap probes' arguments parser. 8236 1.1 christos * arm-linux-tdep.c: Including headers needed to perform the parsing 8237 1.1 christos of SystemTap probes' arguments. 8238 1.1 christos (arm_stap_is_single_operand): New function. 8239 1.1 christos (arm_stap_parse_special_token): Likewise. 8240 1.1 christos (arm_linux_init_abi): Initializing proper fields used by SystemTap 8241 1.1 christos probes' arguments parser. 8242 1.1 christos * ax-gdb.c (require_rvalue): Removing static declaration. 8243 1.1 christos (gen_expr): Likewise. 8244 1.1 christos * ax-gdb.h (gen_expr): Declaring function. 8245 1.1 christos (require_rvalue): Likewise. 8246 1.1 christos * breakpoint.c: Include `gdb_regex.h' and `probe.h'. 8247 1.1 christos (bkpt_probe_breakpoint_ops): New variable. 8248 1.1 christos (momentary_breakpoint_from_master): Set the `probe' value. 8249 1.1 christos (add_location_to_breakpoint): Likewise. 8250 1.1 christos (break_command_1): Using proper breakpoint_ops according to the 8251 1.1 christos argument passed by the user in the command line. 8252 1.1 christos (bkpt_probe_insert_location): New function. 8253 1.1 christos (bkpt_probe_remove_location): Likewise. 8254 1.1 christos (bkpt_probe_create_sals_from_address): Likewise. 8255 1.1 christos (bkpt_probe_decode_linespec): Likewise. 8256 1.1 christos (tracepoint_probe_create_sals_from_address): Likewise. 8257 1.1 christos (tracepoint_probe_decode_linespec): Likewise. 8258 1.1 christos (tracepoint_probe_breakpoint_ops): New variable. 8259 1.1 christos (trace_command): Using proper breakpoint_ops according to the 8260 1.1 christos argument passed by the user in the command line. 8261 1.1 christos (initialize_breakpoint_ops): Initializing breakpoint_ops for 8262 1.1 christos static probes on breakpoints and tracepoints. 8263 1.1 christos * breakpoint.h (struct bp_location) <probe>: New field. 8264 1.1 christos * cli-utils.c (skip_spaces_const): New function. 8265 1.1 christos (extract_arg): Likewise. 8266 1.1 christos * cli-utils.h (skip_spaces_const): Likewise. 8267 1.1 christos (extract_arg): Likewise. 8268 1.1 christos * coffread.c (coff_sym_fns): Add `sym_probe_fns' value. 8269 1.1 christos * configure.ac: Append `stap-probe.o' to be generated when ELF 8270 1.1 christos support is present. 8271 1.1 christos * configure: Regenerate. 8272 1.1 christos * dbxread.c (aout_sym_fns): Add `sym_probe_fns' value. 8273 1.1 christos * elfread.c: Include `probe.h' and `arch-utils.h'. 8274 1.1 christos (probe_key): New variable. 8275 1.1 christos (elf_get_probes): New function. 8276 1.1 christos (elf_get_probe_argument_count): Likewise. 8277 1.1 christos (elf_evaluate_probe_argument): Likewise. 8278 1.1 christos (elf_compile_to_ax): Likewise. 8279 1.1 christos (elf_symfile_relocate_probe): Likewise. 8280 1.1 christos (stap_probe_key_free): Likewise. 8281 1.1 christos (elf_probe_fns): New variable. 8282 1.1 christos (elf_sym_fns): Add `sym_probe_fns' value. 8283 1.1 christos (elf_sym_fns_lazy_psyms): Likewise. 8284 1.1 christos (elf_sym_fns_gdb_index): Likewise. 8285 1.1 christos (_initialize_elfread): Initialize objfile cache for static 8286 1.1 christos probes. 8287 1.1 christos * gdb_vecs.h (struct probe): New forward declaration. 8288 1.1 christos (probe_p): New VEC declaration. 8289 1.1 christos * gdbarch.c: Regenerate. 8290 1.1 christos * gdbarch.h: Regenerate. 8291 1.1 christos * gdbarch.sh (stap_integer_prefix): New variable. 8292 1.1 christos (stap_integer_suffix): Likewise. 8293 1.1 christos (stap_register_prefix): Likewise. 8294 1.1 christos (stap_register_suffix): Likewise. 8295 1.1 christos (stap_register_indirection_prefix): Likewise. 8296 1.1 christos (stap_register_indirection_suffix): Likewise. 8297 1.1 christos (stap_gdb_register_prefix): Likewise. 8298 1.1 christos (stap_gdb_register_suffix): Likewise. 8299 1.1 christos (stap_is_single_operand): New function. 8300 1.1 christos (stap_parse_special_token): Likewise. 8301 1.1 christos (struct stap_parse_info): Forward declaration. 8302 1.1 christos * i386-tdep.c: Including headers needed to perform the parsing 8303 1.1 christos of SystemTap probes' arguments. 8304 1.1 christos (i386_stap_is_single_operand): New function. 8305 1.1 christos (i386_stap_parse_special_token): Likewise. 8306 1.1 christos (i386_elf_init_abi): Initializing proper fields used by SystemTap 8307 1.1 christos probes' arguments parser. 8308 1.1 christos * i386-tdep.h (i386_stap_is_single_operand): New function. 8309 1.1 christos (i386_stap_parse_special_token): Likewise. 8310 1.1 christos * machoread.c (macho_sym_fns): Add `sym_probe_fns' value. 8311 1.1 christos * mipsread.c (ecoff_sym_fns): Likewise. 8312 1.1 christos * objfiles.c (objfile_relocate1): Support relocation for static 8313 1.1 christos probes. 8314 1.1 christos * parse.c (prefixify_expression): Remove static declaration. 8315 1.1 christos (initialize_expout): Likewise. 8316 1.1 christos (reallocate_expout): Likewise. 8317 1.1 christos * parser-defs.h (initialize_expout): Declare function. 8318 1.1 christos (reallocate_expout): Likewise. 8319 1.1 christos (prefixify_expression): Likewise. 8320 1.1 christos * ppc-linux-tdep.c: Including headers needed to perform the parsing 8321 1.1 christos of SystemTap probes' arguments. 8322 1.1 christos (ppc_stap_is_single_operand): New function. 8323 1.1 christos (ppc_stap_parse_special_token): Likewise. 8324 1.1 christos (ppc_linux_init_abi): Initializing proper fields used by SystemTap 8325 1.1 christos probes' arguments parser. 8326 1.1 christos * probe.c: New file, for generic statically defined probe support. 8327 1.1 christos * probe.h: Likewise. 8328 1.1 christos * s390-tdep.c: Including headers needed to perform the parsing of 8329 1.1 christos SystemTap probes' arguments. 8330 1.1 christos (s390_stap_is_single_operand): New function. 8331 1.1 christos (s390_gdbarch_init): Initializing proper fields used by SystemTap 8332 1.1 christos probes' arguments parser. 8333 1.1 christos * somread.c (som_sym_fns): Add `sym_probe_fns' value. 8334 1.1 christos * stap-probe.c: New file, for SystemTap probe support. 8335 1.1 christos * stap-probe.h: Likewise. 8336 1.1 christos * symfile.h: Include `gdb_vecs.h'. 8337 1.1 christos (struct sym_probe_fns): New struct. 8338 1.1 christos (struct sym_fns) <sym_probe_fns>: New field. 8339 1.1 christos * symtab.c (init_sal): Initialize `probe' field. 8340 1.1 christos * symtab.h (struct probe): Forward declaration. 8341 1.1 christos (struct symtab_and_line) <probe>: New field. 8342 1.1 christos * tracepoint.c (start_tracing): Adjust semaphore on breakpoints 8343 1.1 christos locations. 8344 1.1 christos (stop_tracing): Likewise. 8345 1.1 christos * xcoffread.c (xcoff_sym_fns): Add `sym_probe_fns' value. 8346 1.1 christos 8347 1.1 christos 2012-04-27 Sergio Durigan Junior <sergiodj (a] redhat.com> 8348 1.1 christos Tom Tromey <tromey (a] redhat.com> 8349 1.1 christos 8350 1.1 christos * ax-gdb.c (gen_expr): Clean up code to handle internal variables 8351 1.1 christos and to compile agent expressions. 8352 1.1 christos * infrun.c (siginfo_make_value): New argument `ignore'. 8353 1.1 christos (siginfo_funcs): New struct. 8354 1.1 christos (_initialize_infrun): New argument when calling 8355 1.1 christos `create_internalvar_type_lazy'. 8356 1.1 christos * thread.c (thread_id_make_value): New argument `ignore'. 8357 1.1 christos (thread_funcs): New struct. 8358 1.1 christos (_initialize_thread): New argument when calling 8359 1.1 christos `create_internalvar_type_lazy'. 8360 1.1 christos * tracepoint.c (sdata_make_value): New argument `ignore'. 8361 1.1 christos (sdata_funcs): New struct. 8362 1.1 christos (_initialize_tracepoint): New argument when calling 8363 1.1 christos `create_internalvar_type_lazy'. 8364 1.1 christos * value.c (make_value): New struct. 8365 1.1 christos (create_internalvar_type_lazy): New argument `data'. 8366 1.1 christos (compile_internalvar_to_ax): New function. 8367 1.1 christos (value_of_internalvar): Properly handling `make_value' case. 8368 1.1 christos (clear_internalvar): Likewise. 8369 1.1 christos (show_convenience): Adding `TRY_CATCH' block. 8370 1.1 christos * value.h (internalvar_make_value): Delete, replace by... 8371 1.1 christos (struct internalvar_funcs): ... this. 8372 1.1 christos (create_internalvar_type_lazy) <fun>: Delete argument. 8373 1.1 christos (create_internalvar_type_lazy) <funcs>, <data>: New arguments. 8374 1.1 christos (compile_internalvar_to_ax): New function. 8375 1.1 christos * windows-tdep.c (tlb_make_value): New argument `ignore'. 8376 1.1 christos (tlb_funcs): New struct. 8377 1.1 christos (_initialize_windows_tdep): New argument when calling 8378 1.1 christos `create_internalvar_type_lazy'. 8379 1.1 christos 8380 1.1 christos 2012-04-27 Mark Wielaard <mjw (a] redhat.com> 8381 1.1 christos 8382 1.1 christos * dwarf2read.c (dwarf2_get_pc_bounds): Check DW_AT_high_pc form to 8383 1.1 christos see whether it is an address or a constant offset from DW_AT_low_pc. 8384 1.1 christos (dwarf2_record_block_ranges): Likewise. 8385 1.1 christos (read_partial_die): Likewise. 8386 1.1 christos 8387 1.1 christos 2012-04-26 Mark Wielaard <mjw (a] redhat.com> 8388 1.1 christos 8389 1.1 christos * MAINTAINERS (Write After Approval): Add myself to the list. 8390 1.1 christos 8391 1.1 christos 2012-04-26 Maciej W. Rozycki <macro (a] codesourcery.com> 8392 1.1 christos 8393 1.1 christos * proc-utils.h (proc_prettyprint_signalset): New prototype. 8394 1.1 christos (proc_prettyprint_signal): Likewise. 8395 1.1 christos (proc_prettyprint_faultset): Likewise. 8396 1.1 christos (proc_prettyprint_fault): Likewise. 8397 1.1 christos (proc_prettyprint_actionset): Likewise. 8398 1.1 christos (proc_prettyprint_flags): Move to new proc-flags.c section. 8399 1.1 christos (proc_prettyfprint_flags): New prototype. 8400 1.1 christos * procfs.c (proc_nsysarg, proc_sysargs): Add prototypes. 8401 1.1 christos (proc_syscall, proc_cursig): Likewise. 8402 1.1 christos (proc_set_kill_on_last_close): Likewise. 8403 1.1 christos (proc_unset_kill_on_last_close): Likewise. 8404 1.1 christos (proc_set_watchpoint): Make static. 8405 1.1 christos (proc_delete_dead_threads): Likewise. 8406 1.1 christos (procfs_set_watchpoint): Likewise. 8407 1.1 christos (_initialize_procfs): Add prototype. 8408 1.1 christos * proc-events.c: Include proc-utils.h. 8409 1.1 christos (init_syscall_table): Make static. 8410 1.1 christos * proc-api.c (_initialize_proc_api): Add prototype. 8411 1.1 christos * proc-flags.c: Include proc-utils.h. 8412 1.1 christos 8413 1.1 christos 2012-04-26 Maciej W. Rozycki <macro (a] codesourcery.com> 8414 1.1 christos 8415 1.1 christos * configure.ac: Add AC_ARG_PROGRAM. 8416 1.1 christos * configure: Regenerate. 8417 1.1 christos 8418 1.1 christos 2012-04-26 Jan Kratochvil <jan.kratochvil (a] redhat.com> 8419 1.1 christos 8420 1.1 christos Fix DW_AT_lower_bound defaults for DWARF-4+. 8421 1.1 christos * dwarf2read.c (read_subrange_type): Remove initialization of low and 8422 1.1 christos high. New variable low_default_is_valid. Implement DWARF-4+ 8423 1.1 christos DW_AT_lower_bound defaults. Print complaint for DW_AT_lower_bound with 8424 1.1 christos no default by the DWARF standard. 8425 1.1 christos 8426 1.1 christos 2012-04-26 Maciej W. Rozycki <macro (a] mips.com> 8427 1.1 christos Maciej W. Rozycki <macro (a] codesourcery.com> 8428 1.1 christos 8429 1.1 christos * infrun.c (handle_inferior_event): Move the check for return 8430 1.1 christos trampolines ahead of the check for function trampolines. 8431 1.1 christos * mips-tdep.h (MIPS_S2_REGNUM, MIPS_GP_REGNUM): New macros. 8432 1.1 christos * mips-tdep.c (mips_str_mips16_call_stub): New variable. 8433 1.1 christos (mips_str_mips16_ret_stub): Likewise. 8434 1.1 christos (mips_str_call_fp_stub): Likewise. 8435 1.1 christos (mips_str_call_stub): Likewise. 8436 1.1 christos (mips_str_fn_stub): Likewise. 8437 1.1 christos (mips_str_pic): Likewise. 8438 1.1 christos (mips_in_frame_stub): New function. 8439 1.1 christos (mips_unwind_pc): Return the return address rather than the PC 8440 1.1 christos if the PC of an intermediate frame is inside a call thunk. 8441 1.1 christos (mips_is_stub_suffix): New function. 8442 1.1 christos (mips_is_stub_mode): Likewise. 8443 1.1 christos (mips_get_mips16_fn_stub_pc): Likewise. 8444 1.1 christos (mips_skip_mips16_trampoline_code): Update to handle all the 8445 1.1 christos currently generated stub types. Don't recurse into __fn_stub 8446 1.1 christos thunks. Remove heuristics to handle stubs beyond etext/_etext. 8447 1.1 christos Use cooked register accesses. 8448 1.1 christos (mips_in_return_stub): Reintroduce function. 8449 1.1 christos (mips_skip_trampoline_code): Traverse trampolines recursively. 8450 1.1 christos (mips_gdbarch_init): Handle MIPS16 return trampolines. 8451 1.1 christos 8452 1.1 christos 2012-04-26 Joel Brobecker <brobecker (a] adacore.com> 8453 1.1 christos 8454 1.1 christos GDB 7.4.1 released. 8455 1.1 christos 8456 1.1 christos 2012-04-26 Jonathan Larmour <jifl (a] eCosCentric.com> 8457 1.1 christos 8458 1.1 christos * arm-tdep.h (VFP_REGISTER_SIZE): Define. 8459 1.1 christos * features/arm-with-m-vfp-d16.xml: New file. Describes 8460 1.1 christos Cortex-M with VFPv4-sp-d16 FPU register layout. 8461 1.1 christos * features/Makefile (WHICH): Add arm-with-m-vfp-d16. 8462 1.1 christos * features/arm-with-m-vfp-d16.c: New. Generated from above. 8463 1.1 christos * arm-tdep.c: Include arm-with-m-vfp-d16.c. 8464 1.1 christos (arm-register_g_packet_guesses): Add vfp-d16 guess. 8465 1.1 christos (_initialise_arm_tdep): Initialize arm-with-m-vfp-d16 tdesc. 8466 1.1 christos 8467 1.1 christos 2012-04-25 Doug Evans <dje (a] google.com> 8468 1.1 christos 8469 1.1 christos * cli/cli-decode.c (print_doc_line): Use stream instead of 8470 1.1 christos current_uiout. 8471 1.1 christos 8472 1.1 christos 2012-04-25 Sergio Durigan Junior <sergiodj (a] redhat.com> 8473 1.1 christos 8474 1.1 christos * features/arm-with-iwmmxt.c: Regenerate. 8475 1.1 christos * features/arm-with-m-fpa-layout.c: Likewise. 8476 1.1 christos * features/arm-with-m.c: Likewise. 8477 1.1 christos * features/arm-with-neon.c: Likewise. 8478 1.1 christos * features/arm-with-vfpv2.c: Likewise. 8479 1.1 christos * features/arm-with-vfpv3.c: Likewise. 8480 1.1 christos * features/mips-dsp-linux.c: Likewise. 8481 1.1 christos * features/mips-linux.c: Likewise. 8482 1.1 christos * features/mips64-dsp-linux.c: Likewise. 8483 1.1 christos * features/mips64-linux.c: Likewise. 8484 1.1 christos * features/s390-linux32.c: Likewise. 8485 1.1 christos * features/s390-linux32v1.c: Likewise. 8486 1.1 christos * features/s390-linux32v2.c: Likewise. 8487 1.1 christos * features/s390-linux64.c: Likewise. 8488 1.1 christos * features/s390-linux64v1.c: Likewise. 8489 1.1 christos * features/s390-linux64v2.c: Likewise. 8490 1.1 christos * features/s390x-linux64.c: Likewise. 8491 1.1 christos * features/s390x-linux64v1.c: Likewise. 8492 1.1 christos * features/s390x-linux64v2.c: Likewise. 8493 1.1 christos * features/tic6x-c62x-linux.c: Likewise. 8494 1.1 christos * features/tic6x-c62x.c: Likewise. 8495 1.1 christos * features/tic6x-c64x-linux.c: Likewise. 8496 1.1 christos * features/tic6x-c64x.c: Likewise. 8497 1.1 christos * features/tic6x-c64xp-linux.c: Likewise. 8498 1.1 christos * features/tic6x-c64xp.c: Likewise. 8499 1.1 christos * target-descriptions.c: Only generate `field_type' and `type' 8500 1.1 christos variables when needed. 8501 1.1 christos 8502 1.1 christos 2012-04-25 Fredrik Hederstierna <fredrikh.hederstierna (a] securitas-direct.com> 8503 1.1 christos 8504 1.1 christos * cli/cli-cmds.c (cd_command): Use memmove instead of strcpy. 8505 1.1 christos 8506 1.1 christos 2012-04-25 Doug Evans <dje (a] google.com> 8507 1.1 christos 8508 1.1 christos Initial pass at Go language support. 8509 1.1 christos * NEWS: Mention Go. 8510 1.1 christos * Makefile.in (SFILES): Add go-exp.y, go-lang.c, go-typeprint.c, 8511 1.1 christos go-valprint.c. 8512 1.1 christos (COMMON_OBS): Add go-lang.o, go-val.print.o, go-typeprint.o. 8513 1.1 christos (YYFILES): Add go-exp.c. 8514 1.1 christos (YYOBJ): Add go-exp.o. 8515 1.1 christos (local-maintainer-clean): Delete go-exp.c. 8516 1.1 christos * defs.h (enum language): Add language_go. 8517 1.1 christos * dwarf2read.c: #include "go-lang.h". 8518 1.1 christos (fixup_go_packaging): New function. 8519 1.1 christos (process_full_comp_unit): Call it when processing Go CUs. 8520 1.1 christos (dwarf2_physname): Add Go support. 8521 1.1 christos (read_file_scope): Handle missing language spec for GNU Go. 8522 1.1 christos (set_cu_language): Handle DW_LANG_Go. 8523 1.1 christos * go-exp.y: New file. 8524 1.1 christos * go-lang.h: New file. 8525 1.1 christos * go-lang.c: New file. 8526 1.1 christos * go-typeprint.c: New file. 8527 1.1 christos * go-valprint.c: New file. 8528 1.1 christos * symtab.c: #include "go-lang.h". 8529 1.1 christos (symbol_set_language): Handle language_go. 8530 1.1 christos (symbol_find_demangled_name, symbol_set_names): Ditto. 8531 1.1 christos (symbol_natural_name, demangle_for_lookup, find_main_name): Ditto. 8532 1.1 christos 8533 1.1 christos 2012-04-24 Jim Meyering <meyering (a] redhat.com> 8534 1.1 christos 8535 1.1 christos avoid a few strncpy-induced buffer overruns 8536 1.1 christos * procfs.c (procfs_make_note_section): Be sure to NUL-terminate 8537 1.1 christos fname and psargs before trying to concatenate. 8538 1.1 christos * tui/tui-stack.c (tui_get_function_from_frame): NUL-terminate 8539 1.1 christos "name" before applying strchr. 8540 1.1 christos 8541 1.1 christos 2012-04-25 Siva Chandra Reddy <sivachandra (a] google.com> 8542 1.1 christos 8543 1.1 christos * CONTRIBUTE: Use unified diff instead of context diff when 8544 1.1 christos generating patches. 8545 1.1 christos 8546 1.1 christos 2012-04-24 Maciej W. Rozycki <macro (a] codesourcery.com> 8547 1.1 christos 8548 1.1 christos * mips-tdep.c (mips_about_to_return): Remove dead MIPS16 support 8549 1.1 christos code. Handle JR.HB correctly. 8550 1.1 christos 8551 1.1 christos 2012-04-24 Maciej W. Rozycki <macro (a] codesourcery.com> 8552 1.1 christos 8553 1.1 christos * mips-tdep.c 8554 1.1 christos (is_mips16_addr, unmake_mips16_addr, make_mips16_addr): Group 8555 1.1 christos with the other MIPS16 helpers. 8556 1.1 christos 8557 1.1 christos 2012-04-24 Sergio Durigan Junior <sergiodj (a] redhat.com> 8558 1.1 christos 8559 1.1 christos * observer.sh: Conditionally declare `args', thus cleaning up 8560 1.1 christos unused instances of this variable. 8561 1.1 christos 8562 1.1 christos 2012-04-24 Yao Qi <yao (a] codesourcery.com> 8563 1.1 christos 8564 1.1 christos Revert this patch to allow breakpoint always-inserted 8565 1.1 christos in record target. 8566 1.1 christos 2011-12-05 Pedro Alves <pedro (a] codesourcery.com> 8567 1.1 christos * breakpoint.c: Include record.h. 8568 1.1 christos (breakpoints_always_inserted_mode): Return false when the record 8569 1.1 christos target is in use. 8570 1.1 christos 8571 1.1 christos * breakpoint.c (iterate_over_bp_locations): New. 8572 1.1 christos * breakpoint.h: Declare. 8573 1.1 christos New typedef walk_bp_location_callback. 8574 1.1 christos * record.c (record_open): Call record_init_record_breakpoints. 8575 1.1 christos (record_sync_record_breakpoints): New. 8576 1.1 christos (record_init_record_breakpoints): New. 8577 1.1 christos * NEWS: Mention supporting breakpoint always-inserted mode in 8578 1.1 christos record target. 8579 1.1 christos 8580 1.1 christos 2012-04-24 Marc Khouzam <marc.khouzam (a] ericsson.com> 8581 1.1 christos 8582 1.1 christos * mi/mi-main.c (mi_cmd_execute): Choose a live thread not just 8583 1.1 christos any thread. 8584 1.1 christos 8585 1.1 christos 2012-04-24 Yao Qi <yao (a] codesourcery.com> 8586 1.1 christos 8587 1.1 christos * breakpoint.c (ep_is_catchpoint): Renamed to ... 8588 1.1 christos (is_catchpoint): ... it. 8589 1.1 christos (print_one_breakpoint_location): Caller update. 8590 1.1 christos * breakpoint.h: Update declaration. 8591 1.1 christos 8592 1.1 christos 2012-04-23 David S. Miller <davem (a] davemloft.net> 8593 1.1 christos 8594 1.1 christos * configure.tgt (sparc-*-linux*): Set build_gdbserver to yes. 8595 1.1 christos 8596 1.1 christos 2012-04-23 Tom Tromey <tromey (a] redhat.com> 8597 1.1 christos 8598 1.1 christos * buildsym.c (add_free_pendings): Remove. 8599 1.1 christos * buildsym.h (add_free_pendings): Remove. 8600 1.1 christos 8601 1.1 christos 2012-04-23 Doug Evans <dje (a] google.com> 8602 1.1 christos 8603 1.1 christos * dwarf2read.c (partial_die_full_name): Record DW_FORM_ref_addr in 8604 1.1 christos attr.u.unsnd instead of attr.u.addr. 8605 1.1 christos (read_attribute_value) Ditto for cases DW_FORM_ref_addr, 8606 1.1 christos DW_FORM_ref1, DW_FORM_ref2, DW_FORM_ref4, DW_FORM_reg8, 8607 1.1 christos DW_FORM_ref_udata. 8608 1.1 christos (dump_die_shallow): Update cases DW_FORM_ref_addr, 8609 1.1 christos DW_FORM_ref1, DW_FORM_ref2, DW_FORM_ref4. Add cases DW_FORM_ref8, 8610 1.1 christos DW_FORM_ref_udata. 8611 1.1 christos (dwarf2_get_ref_die_offset): Use DW_UNSND for reference attributes. 8612 1.1 christos 8613 1.1 christos 2012-04-23 Maciej W. Rozycki <macro (a] codesourcery.com> 8614 1.1 christos 8615 1.1 christos * mips-tdep.c (mips_n32n64_return_value): Fix coding style. 8616 1.1 christos (mips_o32_return_value): Likewise. 8617 1.1 christos (mips_o64_return_value): Likewise. 8618 1.1 christos 8619 1.1 christos 2012-04-21 Paul Hilfinger <hilfinger (a] adacore.com> 8620 1.1 christos 8621 1.1 christos * ada-lang.c (ada_evaluate_subexp): Add cases for 8622 1.1 christos TYPE_CODE_INTERNAL_FUNCTION and for TYPE_GNU_IFUNC, following 8623 1.1 christos their treatment in eval.c. 8624 1.1 christos 8625 1.1 christos 2012-04-21 David S. Miller <davem (a] davemloft.net> 8626 1.1 christos 8627 1.1 christos * sparc-tdep.c (X_DISP10): Define. 8628 1.1 christos (sparc_analyze_control_transfer): Handle compare-and-branch. 8629 1.1 christos 8630 1.1 christos 2012-04-21 Jonathan Larmour <jifl (a] eCosCentric.com> 8631 1.1 christos 8632 1.1 christos * features/Makefile (WHICH): Add arm-with-m and arm-with-m-fpa-layout. 8633 1.1 christos * arm-tdep.c (arm_register_g_packet_guesses): Fix comment. 8634 1.1 christos 8635 1.1 christos 2012-04-20 Nigel Stephens <nigel (a] mips.com> 8636 1.1 christos Maciej W. Rozycki <macro (a] codesourcery.com> 8637 1.1 christos 8638 1.1 christos * mips-tdep.c (mips_float_register_p): New function. 8639 1.1 christos (mips_convert_register_float_case_p): Use mips_float_register_p. 8640 1.1 christos (mips_register_type): Likewise. 8641 1.1 christos (mips_print_register): Likewise. 8642 1.1 christos (print_gp_register_row): Likewise. 8643 1.1 christos (mips_print_registers_info): Likewise. 8644 1.1 christos 8645 1.1 christos 2012-04-20 Shun-Yen Lu <dark.asparagus (a] gmail.com> 8646 1.1 christos 8647 1.1 christos * mips-tdep.c (mips_elf_make_msymbol_special): Fix identification 8648 1.1 christos of mips16 symbols. 8649 1.1 christos 8650 1.1 christos 2012-04-20 Andrew Pinski <apinski (a] cavium.com> 8651 1.1 christos 8652 1.1 christos * MAINTAINERS (Write After Approval): Add myself to the list. 8653 1.1 christos 8654 1.1 christos 2012-04-20 Sergio Durigan Junior <sergiodj (a] redhat.com> 8655 1.1 christos 8656 1.1 christos * MAINTAINERS: Update my e-mail address. 8657 1.1 christos 8658 1.1 christos 2012-04-20 Pedro Alves <palves (a] redhat.com> 8659 1.1 christos 8660 1.1 christos * acx_configure_dir.m4 (ACX_CONFIGURE_DIR): Handle absolute 8661 1.1 christos $srcdir. 8662 1.1 christos * configure: Regenerate. 8663 1.1 christos 8664 1.1 christos 2012-04-20 Sergio Durigan Junior <sergiodj (a] redhat.com> 8665 1.1 christos 8666 1.1 christos * cp-support.h: Include `gdb_vecs.h'. Delete `const_char_ptr' VEC 8667 1.1 christos declaration. 8668 1.1 christos * gdb_vecs.h: Declare `const_char_ptr' VEC. 8669 1.1 christos 8670 1.1 christos 2012-04-20 Jan Kratochvil <jan.kratochvil (a] redhat.com> 8671 1.1 christos 8672 1.1 christos Fix compilation compatibility with python-2.4 8673 1.1 christos * python/py-type.c (convert_field): Cast ADDRSTRING for 8674 1.1 christos PyObject_SetAttrString as non-const. New comment. 8675 1.1 christos 8676 1.1 christos 2012-04-19 Tom Tromey <tromey (a] redhat.com> 8677 1.1 christos 8678 1.1 christos * top.c (quit_target): Use all_cleanups. 8679 1.1 christos * main.c (captured_command_loop): Use all_cleanups. 8680 1.1 christos * exceptions.c (throw_exception): Use all_cleanups. 8681 1.1 christos 8682 1.1 christos 2012-04-19 Pedro Alves <palves (a] redhat.com> 8683 1.1 christos 8684 1.1 christos * Makefile.in (GNULIB_BUILDDIR): New. 8685 1.1 christos (LIBGNU, INCGNU, GNULIB_H): Adjust. 8686 1.1 christos (SUBDIRS): Add $(GNULIB_BUILDDIR). 8687 1.1 christos (CLEANDIRS). Remove gnulib/import. 8688 1.1 christos (REQUIRED_SUBDIRS): Replace gnulib/import with $(GNULIB_BUILDDIR). 8689 1.1 christos (all-lib): Ditto. 8690 1.1 christos (distclean): Remove the $(GNULIB_BUILDDIR) directory. 8691 1.1 christos (gnulib/import/Makefile): Replace gnulib/import with 8692 1.1 christos $(GNULIB_BUILDDIR). Set CONFIG_FILES to just Makefile. 8693 1.1 christos (ACLOCAL_AMFLAGS): Remove '-I gnulib/import/m4'. 8694 1.1 christos (aclocal_m4_deps): Remove the gnulib dependencies. Add 8695 1.1 christos acx_configure_dir.m4. 8696 1.1 christos * acinclude.m4: Include acx_configure_dir.m4. 8697 1.1 christos * acx_configure_dir.m4: New file. 8698 1.1 christos * aclocal.m4: Regenerate. 8699 1.1 christos * configure.ac: Remove gl_EARLY, gl_INIT and AM_INIT_AUTOMAKE 8700 1.1 christos calls. Configure gnulib using ACX_CONFIGURE_DIR. 8701 1.1 christos (GNULIB): New variable. 8702 1.1 christos (GNULIB_STDINT_H): Adjust. 8703 1.1 christos (AC_OUTPUT): Don't output gnulib/Makefile. 8704 1.6 christos * defs.h: Include build-gnulib/config.h. 8705 1.1 christos * aclocal.m4: Regenerate. 8706 1.1 christos * config.in: Regenerate. 8707 1.1 christos * configure: Regenerate. 8708 1.1 christos 8709 1.1 christos * gnulib/Makefile.in: New file. 8710 1.1 christos * gnulib/configure.ac: New file. 8711 1.1 christos * gnulib/aclocal.m4: New file. 8712 1.1 christos * gnulib/config.in: New file. 8713 1.1 christos * gnulib/configure: New file. 8714 1.1 christos * gnulib/: Re-run gnulib-tool to adjust. 8715 1.1 christos 8716 1.1 christos 2012-04-19 Doug Evans <dje (a] google.com> 8717 1.1 christos 8718 1.1 christos * cleanups.h (struct cleanup): Move to cleanups.c. 8719 1.1 christos (make_cleanup_dtor_ftype): New typedef. 8720 1.1 christos (make_cleanup_dtor): Use it. 8721 1.1 christos (ALL_CLEANUPS): Replace with ... 8722 1.1 christos (all_cleanups): ... this. Declare. All uses updated. 8723 1.1 christos * cleanups.c: #include "gdb_assert.h". 8724 1.1 christos (sentinel_cleanup): New static global. 8725 1.1 christos (SENTINEL_CLEANUP): Define. 8726 1.1 christos (cleanup_chain, final_cleanup_chain): Initialize to SENTINEL_CLEANUP. 8727 1.1 christos (make_my_cleanup2): Assert result is non-NULL. 8728 1.1 christos (all_cleanups): New function. 8729 1.1 christos (save_my_cleanups): Initialize new chain to SENTINEL_CLEANUP instead 8730 1.1 christos of NULL. 8731 1.1 christos 8732 1.1 christos 2012-04-19 Pedro Alves <palves (a] redhat.com> 8733 1.1 christos 8734 1.1 christos * Makefile.in (HFILES_NO_SRCDIR): Remove gnulib/wchar.in.h. 8735 1.1 christos Adjust paths to gnulib imported files. 8736 1.1 christos 8737 1.1 christos 2012-04-19 Pedro Alves <palves (a] redhat.com> 8738 1.1 christos 8739 1.1 christos * gnulib/: Move whole directory ... 8740 1.1 christos * gnulib/import/: ... here, and re-rerun gnulib-tool to adjust. 8741 1.1 christos * Makefile.in (LIBGNU, INCGNU, GNULIB_H, CLEANDIRS) 8742 1.1 christos (REQUIRED_SUBDIRS, all-lib, gnulib/Makefile, ACLOCAL_AMFLAGS) 8743 1.1 christos (aclocal_m4_deps): Adjust. 8744 1.1 christos * aclocal.m4: Regenerate. 8745 1.1 christos * configure: Regenerate. 8746 1.1 christos * configure.ac: Adjust AC_OUTPUT output. 8747 1.1 christos 8748 1.1 christos 2012-04-19 Yao Qi <yao (a] codesourcery.com> 8749 1.1 christos 8750 1.1 christos * Makefile.in (SFILES): Add common/vec.c and remove vec.c. 8751 1.1 christos (vec.o): New rule. 8752 1.1 christos * vec.c: Move it ... 8753 1.1 christos * common/vec.c: ... here. 8754 1.1 christos * vec.h: Move it ... 8755 1.1 christos * common/vec.h: ... here. 8756 1.1 christos 8757 1.1 christos 2012-04-19 Yao Qi <yao (a] codesourcery.com> 8758 1.1 christos 8759 1.1 christos * gdb-code-style.el: New. 8760 1.1 christos 8761 1.1 christos 2012-04-18 Pedro Alves <palves (a] redhat.com> 8762 1.1 christos 8763 1.1 christos Update gnulib from latest git. 8764 1.1 christos (639ea5ae15e39fe48d43e04864b2997301e4b969) 8765 1.1 christos 8766 1.1 christos * gnulib/Makefile.am: Update. 8767 1.1 christos * gnulib/dummy.c: Update. 8768 1.1 christos * gnulib/extra/arg-nonnull.h: Update. 8769 1.1 christos * gnulib/extra/c++defs.h: Update. 8770 1.1 christos * gnulib/extra/update-copyright: Update. 8771 1.1 christos * gnulib/extra/warn-on-use.h: Update. 8772 1.1 christos * gnulib/inttypes.in.h: Update. 8773 1.1 christos * gnulib/m4/00gnulib.m4: Update. 8774 1.1 christos * gnulib/m4/extensions.m4: Update. 8775 1.1 christos * gnulib/m4/gnulib-cache.m4: Update. 8776 1.1 christos * gnulib/m4/gnulib-common.m4: Update. 8777 1.1 christos * gnulib/m4/gnulib-comp.m4: Update. 8778 1.1 christos * gnulib/m4/gnulib-tool.m4: Update. 8779 1.1 christos * gnulib/m4/include_next.m4: Update. 8780 1.1 christos * gnulib/m4/inttypes-pri.m4: Update. 8781 1.1 christos * gnulib/m4/inttypes.m4: Update. 8782 1.1 christos * gnulib/m4/longlong.m4: Update. 8783 1.1 christos * gnulib/m4/memchr.m4: Update. 8784 1.1 christos * gnulib/m4/memmem.m4: Update. 8785 1.1 christos * gnulib/m4/mmap-anon.m4: Update. 8786 1.1 christos * gnulib/m4/multiarch.m4: Update. 8787 1.1 christos * gnulib/m4/onceonly.m4: Update. 8788 1.1 christos * gnulib/m4/stddef_h.m4: Update. 8789 1.1 christos * gnulib/m4/stdint.m4: Update. 8790 1.1 christos * gnulib/m4/string_h.m4: Update. 8791 1.1 christos * gnulib/m4/warn-on-use.m4: Update. 8792 1.1 christos * gnulib/m4/wchar_h.m4: Update. 8793 1.1 christos * gnulib/m4/wchar_t.m4: Update. 8794 1.1 christos * gnulib/m4/wint_t.m4: Update. 8795 1.1 christos * gnulib/memchr.c: Update. 8796 1.1 christos * gnulib/memmem.c: Update. 8797 1.1 christos * gnulib/stddef.in.h: Update. 8798 1.1 christos * gnulib/stdint.in.h: Update. 8799 1.1 christos * gnulib/str-two-way.h: Update. 8800 1.1 christos * gnulib/string.in.h: Update. 8801 1.1 christos * gnulib/wchar.in.h: Update. 8802 1.1 christos 8803 1.1 christos * gnulib/extra/arg-nonnull.h: Delete. 8804 1.1 christos * gnulib/extra/c++defs.h: Delete. 8805 1.1 christos * gnulib/extra/warn-on-use.h: Delete. 8806 1.1 christos * gnulib/m4/wchar_h.m4: Delete. 8807 1.1 christos * gnulib/m4/wint_t.m4: Delete. 8808 1.1 christos * gnulib/wchar.in.h: Delete. 8809 1.1 christos 8810 1.1 christos * gnulib/extra/snippets/arg-nonnull.h: New. 8811 1.1 christos * gnulib/extra/snippets/c++defs.h: New. 8812 1.1 christos * gnulib/extra/snippets/warn-on-use.h: New. 8813 1.1 christos 8814 1.1 christos * aclocal.m4: Regenerate. 8815 1.1 christos * config.in: Regenerate. 8816 1.1 christos * configure: Regenerate. 8817 1.1 christos * gnulib/Makefile.in: Regenerate. 8818 1.1 christos 8819 1.1 christos 2012-04-18 Pedro Alves <palves (a] redhat.com> 8820 1.1 christos 8821 1.1 christos Reimport the update-copyright module from gnulib 8822 1.1 christos (250b80067c1e1d8faa0c42fb572f721975b929c5). 8823 1.1 christos 8824 1.1 christos * configure: Regenerate. 8825 1.1 christos * gnulib/Makefile.am: Update. 8826 1.1 christos * gnulib/Makefile.in: Regenerate. 8827 1.1 christos * gnulib/extra/update-copyright: Update. 8828 1.1 christos * gnulib/m4/gnulib-cache.m4: Update. 8829 1.1 christos * gnulib/m4/gnulib-comp.m4: Update. 8830 1.1 christos 8831 1.1 christos 2012-04-18 Tristan Gingold <gingold (a] adacore.com> 8832 1.1 christos 8833 1.1 christos * configure.ac (aix): Put -lpthread into libs. 8834 1.1 christos * configure: Regenerate. 8835 1.1 christos 8836 1.1 christos 2012-04-18 Tom Tromey <tromey (a] redhat.com> 8837 1.1 christos 8838 1.1 christos * linespec.c (convert_linespec_to_sals): Don't use 8839 1.1 christos SYMBOL_OBJ_SECTION. 8840 1.1 christos (compare_msymbols): Arguments are minsym_and_objfile, not 8841 1.1 christos minimal_symbol*. Don't use SYMBOL_OBJ_SECTION. 8842 1.1 christos 8843 1.1 christos 2012-04-18 Pedro Alves <palves (a] redhat.com> 8844 1.1 christos 8845 1.1 christos Revert gnulib/ part of: 8846 1.1 christos 2011-01-01 Joel Brobecker <brobecker (a] adacore.com> 8847 1.1 christos Copyright year update in most files (performed by copyright.sh). 8848 1.1 christos 8849 1.1 christos 2012-04-18 Jan Kratochvil <jan.kratochvil (a] redhat.com> 8850 1.1 christos 8851 1.1 christos Fix 64-bit constants on 32-bit hosts. 8852 1.1 christos * dwarf2read.c (read_unsigned_leb128): Change declaration return type 8853 1.1 christos from unsigned long to ULONGEST. 8854 1.1 christos (read_signed_leb128): Change declaration return type from long to 8855 1.1 christos LONGEST. 8856 1.1 christos (dwarf2_const_value_attr): Change declaration parameter value from long 8857 1.1 christos to LONGEST. 8858 1.1 christos (dwarf2_compute_name): Change variable value from long to LONGEST. 8859 1.1 christos (read_unsigned_leb128): Change return type, variable result and some 8860 1.1 christos casts from unsigned long to ULONGEST. 8861 1.1 christos (read_signed_leb128): Change return type, variable result and some 8862 1.1 christos casts from long to LONGEST. 8863 1.1 christos (dwarf2_const_value_data, dwarf2_const_value_attr): Change parameter 8864 1.1 christos value from long to LONGEST. 8865 1.1 christos (dwarf2_const_value): Change variable value from long to LONGEST. 8866 1.1 christos * symmisc.c (print_symbol): Change SYMBOL_VALUE format strings to use 8867 1.1 christos plongest and hex_string. 8868 1.1 christos * symtab.h (struct general_symbol_info): Change ivalue from long to 8869 1.1 christos LONGEST, remove the comment. 8870 1.1 christos * tracepoint.c (validate_actionline, collect_symbol, scope_info): 8871 1.1 christos Change SYMBOL_VALUE format strings to use plongest and hex_string. 8872 1.1 christos 8873 1.1 christos 2012-04-18 Siddhesh Poyarekar <siddhesh (a] redhat.com> 8874 1.1 christos 8875 1.1 christos PR symtab/7259: 8876 1.1 christos * ada-exp.y (convert_char_literal): Use TYPE_FIELD_ENUMVAL. 8877 1.1 christos * ada-lang.c (ada_discrete_type_high_bound) 8878 1.1 christos (ada_discrete_type_low_bound): Fix function comment. Use 8879 1.1 christos TYPE_FIELD_ENUMVAL for TYPE_CODE_ENUM. 8880 1.1 christos (ada_identical_enum_types_p): Use TYPE_FIELD_ENUMVAL. 8881 1.1 christos (pos_atr, value_val_atr): Use TYPE_FIELD_ENUMVAL for TYPE_CODE_ENUM. 8882 1.1 christos * ada-typeprint.c (print_enum_type): Change variable lastval to LONGEST. 8883 1.1 christos Use TYPE_FIELD_ENUMVAL. 8884 1.1 christos * ada-valprint.c (print_optional_low_bound, ada_print_scalar) 8885 1.1 christos (ada_val_print_1): Use TYPE_FIELD_ENUMVAL for TYPE_CODE_ENUM. 8886 1.1 christos * c-typeprint.c (c_type_print_base): Move variable lastval to inner 8887 1.1 christos block, change it to LONGEST. Use TYPE_FIELD_ENUMVAL for 8888 1.1 christos TYPE_CODE_ENUM. 8889 1.1 christos * coffread.c (coff_read_enum_type): Use SET_FIELD_ENUMVAL. 8890 1.1 christos * dwarf2read.c (process_enumeration_scope): Likewise. 8891 1.1 christos * gdb-gdb.py (TypeFlagsPrinter): Use field.enumval instead of 8892 1.1 christos field.bitpos. 8893 1.1 christos (class StructMainTypePrettyPrinter): Support also 8894 1.1 christos FIELD_LOC_KIND_ENUMVAL. 8895 1.1 christos * gdbtypes.c (get_discrete_bounds): Use TYPE_FIELD_ENUMVAL for 8896 1.1 christos TYPE_CODE_ENUM. 8897 1.1 christos (recursive_dump_type): Use TYPE_FIELD_ENUMVAL for TYPE_CODE_ENUM. 8898 1.1 christos (copy_type_recursive): Support also FIELD_LOC_KIND_ENUMVAL. 8899 1.1 christos * gdbtypes.h (enum field_loc_kind): New FIELD_LOC_KIND_ENUMVAL. 8900 1.1 christos (struct main_type.flds_bnds.fields.loc): Adjust bitpos comment. New 8901 1.1 christos field enumval. 8902 1.1 christos (struct main_type.flds_bnds.bields): Adjust loc_kind and bitsize to 8903 1.1 christos accommodate enumval. 8904 1.1 christos (struct call_site): Adjust loc_kind to accommodate enumval. 8905 1.1 christos (FIELD_ENUMVAL, FIELD_ENUMVAL_LVAL, SET_FIELD_ENUMVAL) 8906 1.1 christos (TYPE_FIELD_ENUMVAL): New macros. 8907 1.1 christos * m2-typeprint.c (m2_enum): Use TYPE_FIELD_ENUMVAL. 8908 1.1 christos * mdebugread.c (parse_symbol): Use TYPE_FIELD_ENUMVAL for 8909 1.1 christos TYPE_CODE_ENUM. 8910 1.1 christos * p-typeprint.c (pascal_type_print_base): Likewise. 8911 1.1 christos * python/lib/gdb/printing.py (class FlagEnumerationPrinter): Use 8912 1.1 christos enumval. 8913 1.1 christos * python/lib/gdb/types.py (make_enum_dict): Likewise. 8914 1.1 christos * python/py-type.c (convert_field): New variable addrstring. Use 8915 1.1 christos TYPE_FIELD_ENUMVAL for TYPE_CODE_ENUM. 8916 1.1 christos (check_types_equal): Support also FIELD_LOC_KIND_ENUMVAL. 8917 1.1 christos * stabsread.c (read_enum_type): Use SET_FIELD_ENUMVAL. 8918 1.1 christos * typepint.c (print_type_scalar): Use TYPE_FIELD_ENUMVAL for 8919 1.1 christos TYPE_CODE_ENUM. 8920 1.1 christos * valprint.c (generic_val_print): Likewise. 8921 1.1 christos 8922 1.1 christos 2012-04-17 Doug Evans <dje (a] google.com> 8923 1.1 christos 8924 1.1 christos * dwarf2read.c (lookup_signatured_type): Return NULL instead of 0. 8925 1.1 christos 8926 1.1 christos * dwarf2read.c: Whitespace fixes. 8927 1.1 christos (lookup_signatured_type): Tweak comment. 8928 1.1 christos (get_die_type_at_offset): Fix comment. 8929 1.1 christos 8930 1.1 christos 2012-04-17 Joel Brobecker <brobecker (a] adacore.com> 8931 1.1 christos 8932 1.1 christos * xcoffread.c (xcoff_secnum_to_sections): New function. 8933 1.1 christos (secnum_to_section, secnum_to_bfd_section): Reimplement 8934 1.1 christos using xcoff_secnum_to_sections. Rename "secnum" parameter 8935 1.1 christos into "n_scnum". 8936 1.1 christos (RECORD_MINIMAL_SYMBOL): Delete. 8937 1.1 christos (record_minimal_symbol): New function. 8938 1.1 christos (scan_xcoff_symtab): Replace uses of RECORD_MINIMAL_SYMBOL 8939 1.1 christos by call to record_minimal_symbol and set misc_func_recorded 8940 1.1 christos to 1. Set last_csect_sec to the XCOFF section index instead 8941 1.1 christos of GDB's section_offset index. Update calls to 8942 1.1 christos prim_record_minimal_symbol_and_info to pass the BFD section 8943 1.1 christos as well. 8944 1.1 christos 8945 1.1 christos 2012-04-17 Joel Brobecker <brobecker (a] adacore.com> 8946 1.1 christos 8947 1.1 christos * xcoffread.c (read_xcoff_symtab): Delete variables 8948 1.1 christos last_csect_val and last_csect_sec and associated code. 8949 1.1 christos 8950 1.1 christos 2012-04-17 Doug Evans <dje (a] google.com> 8951 1.1 christos 8952 1.1 christos * cleanups.c (make_my_cleanup,make_my_cleanup2): Make static. 8953 1.1 christos (discard_my_cleanups,save_my_cleanups,restore_my_cleanups): Ditto. 8954 1.1 christos * cleanups.h (make_my_cleanup,make_my_cleanup2): Delete 8955 1.1 christos (discard_my_cleanups,save_my_cleanups,restore_my_cleanups): Delete. 8956 1.1 christos 8957 1.1 christos * cleanups.h: New file. 8958 1.1 christos * cleanups.c: New file. 8959 1.1 christos * Makefile.in (SFILES): Add cleanups.c. 8960 1.1 christos (HFILES_NO_SRCDIR): Add cleanups.h. 8961 1.1 christos (COMMON_OBS): Add cleanups.o. 8962 1.1 christos * defs.h (struct cleanup): Moved to cleanups.h. 8963 1.1 christos (do_cleanups,do_final_cleanups): Ditto. 8964 1.1 christos (discard_cleanups,discard_final_cleanups): Ditto 8965 1.1 christos (make_cleanup,make_cleanup_dtor,make_final_cleanup): Ditto. 8966 1.1 christos (save_cleanups,save_final_cleanups): Ditto. 8967 1.1 christos (restore_cleanups,restore_final_cleanups): Ditto. 8968 1.1 christos (null_cleanup): Ditto. 8969 1.1 christos (make_my_cleanup,make_my_cleanup2): Ditto. 8970 1.1 christos (discard_my_cleanups,save_my_cleanups,restore_my_cleanups): Ditto. 8971 1.1 christos * utils.c (cleanup_chain,final_cleanup_chain): Moved to cleanups.c. 8972 1.1 christos (do_cleanups,do_final_cleanups): Ditto. 8973 1.1 christos (discard_cleanups,discard_final_cleanups): Ditto 8974 1.1 christos (make_cleanup,make_cleanup_dtor,make_final_cleanup): Ditto. 8975 1.1 christos (save_cleanups,save_final_cleanups): Ditto. 8976 1.1 christos (restore_cleanups,restore_final_cleanups): Ditto. 8977 1.1 christos (null_cleanup): Ditto. 8978 1.1 christos (make_my_cleanup,make_my_cleanup2): Ditto. 8979 1.1 christos (discard_my_cleanups,save_my_cleanups,restore_my_cleanups): Ditto. 8980 1.1 christos 8981 1.1 christos * utils.c (make_cleanup_freeargv): Use make_cleanup instead of 8982 1.1 christos make_my_cleanup. 8983 1.1 christos (make_cleanup_dyn_string_delete): Ditto. 8984 1.1 christos (make_cleanup_ui_file_delete): Ditto. 8985 1.1 christos (make_cleanup_ui_out_redirect_pop): Ditto. 8986 1.1 christos (make_cleanup_free_section_addr_info): Ditto. 8987 1.1 christos (make_cleanup_restore_integer): Ditto. 8988 1.1 christos (make_cleanup_unpush_target): Ditto. 8989 1.1 christos (make_cleanup_value_free_to_mark): Ditto. 8990 1.1 christos (make_cleanup_value_free): Ditto. 8991 1.1 christos (make_cleanup_free_so): Ditto. 8992 1.1 christos 8993 1.1 christos 2012-04-17 Jan Kratochvil <jan.kratochvil (a] redhat.com> 8994 1.1 christos 8995 1.1 christos New option "set debug auto-load". 8996 1.1 christos * NEWS: New commands "set debug auto-load" and "show debug auto-load". 8997 1.1 christos * auto-load.c (debug_auto_load, show_debug_auto_load: New. 8998 1.1 christos (auto_load_safe_path_vec_update) 8999 1.1 christos (filename_is_in_auto_load_safe_path_vec): Call fprintf_unfiltered 9000 1.1 christos if DEBUG_AUTO_LOAD. 9001 1.1 christos (file_is_auto_load_safe): New parameters debug_fmt and .... 9002 1.1 christos Call fprintf_unfiltered if DEBUG_AUTO_LOAD. 9003 1.1 christos (source_gdb_script_for_objfile): Extend the file_is_auto_load_safe 9004 1.1 christos caller by explanatory string. 9005 1.1 christos (_initialize_auto_load): Register "set debug auto-load". 9006 1.1 christos * auto-load.h (file_is_auto_load_safe): New parameters debug_fmt 9007 1.1 christos and .... 9008 1.1 christos * linux-thread-db.c (try_thread_db_load_from_pdir_1) 9009 1.1 christos (try_thread_db_load_from_dir): Extend the file_is_auto_load_safe caller 9010 1.1 christos by explanatory string. 9011 1.1 christos * main.c (captured_main): Likewise. 9012 1.1 christos * python/py-auto-load.c (gdbpy_load_auto_script_for_objfile) 9013 1.1 christos (source_section_scripts): Likewise. 9014 1.1 christos 9015 1.1 christos 2012-04-17 Jan Kratochvil <jan.kratochvil (a] redhat.com> 9016 1.1 christos 9017 1.1 christos New option "set auto-load safe-path". 9018 1.1 christos * NEWS: New commands "set auto-load safe-path" 9019 1.1 christos and "show auto-load safe-path". 9020 1.1 christos * auto-load.c: Include gdb_vecs.h, readline/tilde.h and completer.h. 9021 1.1 christos (auto_load_safe_path, auto_load_safe_path_vec) 9022 1.1 christos (auto_load_safe_path_vec_update, set_auto_load_safe_path) 9023 1.1 christos (show_auto_load_safe_path, add_auto_load_safe_path, filename_is_in_dir) 9024 1.1 christos (filename_is_in_auto_load_safe_path_vec, file_is_auto_load_safe): New. 9025 1.1 christos (source_gdb_script_for_objfile): New variable is_safe. Call 9026 1.1 christos file_is_auto_load_safe. Return if it is not. 9027 1.1 christos (struct loaded_script): New field loaded. 9028 1.1 christos (maybe_add_script): Add parameter loaded. Initialize SLOT with it. 9029 1.1 christos (print_script): Use LOADED indicator instead of FULL_PATH. Change 9030 1.1 christos output "Missing" to "No". 9031 1.1 christos (_initialize_auto_load): New variable cmd. Initialize 9032 1.1 christos auto_load_safe_path. Register "set auto-load safe-path", 9033 1.1 christos "show auto-load safe-path" and "add-auto-load-safe-path". 9034 1.1 christos * auto-load.h (maybe_add_script): Add parameter loaded. 9035 1.1 christos (file_is_auto_load_safe): New declaration. 9036 1.1 christos * config.in: Regenerate. 9037 1.1 christos * configure: Regenerate. 9038 1.1 christos * configure.ac: New parameters --with-auto-load-safe-path 9039 1.1 christos and --without-auto-load-safe-path. 9040 1.1 christos * linux-thread-db.c (try_thread_db_load_from_pdir_1) 9041 1.1 christos (try_thread_db_load_from_dir): Check file_is_auto_load_safe first. 9042 1.1 christos * main.c (captured_main): Check file_is_auto_load_safe for 9043 1.1 christos LOCAL_GDBINIT. 9044 1.1 christos * python/py-auto-load.c (gdbpy_load_auto_script_for_objfile): New 9045 1.1 christos variable is_safe. Call file_is_auto_load_safe. Return if it is not. 9046 1.1 christos (source_section_scripts): Call file_is_auto_load_safe. Return if it is 9047 1.1 christos not. 9048 1.1 christos 9049 1.1 christos 2012-04-17 Jan Kratochvil <jan.kratochvil (a] redhat.com> 9050 1.1 christos 9051 1.1 christos auto-load: Implementation. 9052 1.1 christos * NEWS: New descriptions for "info auto-load", 9053 1.1 christos "info auto-load gdb-scripts", "info auto-load python-scripts", 9054 1.1 christos "info auto-load local-gdbinit" and "info auto-load libthread-db". 9055 1.1 christos Deprecate "info auto-load-scripts", "set auto-load-scripts on|off" 9056 1.1 christos and "show auto-load-scripts". New description for "set auto-load", 9057 1.1 christos "show auto-load", "set auto-load gdb-scripts", 9058 1.1 christos "show auto-load gdb-scripts", "set auto-load python-scripts", 9059 1.1 christos "show auto-load python-scripts", "set auto-load local-gdbinit", 9060 1.1 christos "show auto-load local-gdbinit", "set auto-load libthread-db" and 9061 1.1 christos "show auto-load libthread-db". 9062 1.1 christos * auto-load.c: Remove include python/python-internal.h. Add includes 9063 1.1 christos exceptions.h, cli/cli-script.h, gdbcmd.h, cli/cli-decode.h and 9064 1.1 christos cli/cli-setshow.h. 9065 1.1 christos (GDB_AUTO_FILE_NAME, source_gdb_script_for_objfile) 9066 1.1 christos (auto_load_gdb_scripts, show_auto_load_gdb_scripts): New. 9067 1.1 christos (gdbpy_global_auto_load): Rename to ... 9068 1.1 christos (global_auto_load): ... here. 9069 1.1 christos (auto_load_local_gdbinit, auto_load_local_gdbinit_pathname) 9070 1.1 christos (auto_load_local_gdbinit_loaded, show_auto_load_local_gdbinit) 9071 1.1 christos (script_language_gdb, source_gdb_script_for_objfile): New. 9072 1.1 christos (struct loaded_script): New field language. 9073 1.1 christos (hash_loaded_script_entry, eq_loaded_script_entry): Calculate also 9074 1.1 christos LANGUAGE. 9075 1.1 christos (maybe_add_script): Add parameter language. Drop redundant 9076 1.1 christos entry.full_path initialization. Initialize entry.language and 9077 1.1 christos (*slot)->language. 9078 1.1 christos (auto_load_objfile_script): Change parameter suffix to language. 9079 1.1 christos Remove the call of maybe_add_script. 9080 1.1 christos Call language->source_script_for_objfile. 9081 1.1 christos (load_auto_scripts_for_objfile, struct collect_matching_scripts_data): 9082 1.1 christos New. 9083 1.1 christos (collect_matching_scripts): Adjust it for 9084 1.1 christos struct collect_matching_scripts_data. 9085 1.1 christos (auto_load_info_scripts_pattern_nl): New variable. 9086 1.1 christos (info_auto_load_scripts): Rename to ... 9087 1.1 christos (auto_load_info_scripts): ... here, add parameter language. Adjust it 9088 1.1 christos for struct collect_matching_scripts_data. 9089 1.1 christos (info_auto_load_gdb_scripts, info_auto_load_local_gdbinit) 9090 1.1 christos (set_auto_load_cmd, auto_load_set_cmdlist_get, show_auto_load_cmd) 9091 1.1 christos (auto_load_show_cmdlist_get, info_auto_load_cmd) 9092 1.1 christos (auto_load_info_cmdlist_get): New. 9093 1.1 christos (_initialize_auto_load): Move add_info of "auto-load-scripts" to 9094 1.1 christos python/py-auto-load.c. New installment for "set auto-load gdb-scripts", 9095 1.1 christos "info auto-load gdb-scripts", "set auto-load local-gdbinit" and 9096 1.1 christos "info auto-load local-gdbinit". 9097 1.1 christos * auto-load.h (struct script_language): New. 9098 1.1 christos (gdbpy_global_auto_load): Rename to ... 9099 1.1 christos (global_auto_load): ... here. 9100 1.1 christos (auto_load_local_gdbinit, auto_load_local_gdbinit_pathname) 9101 1.1 christos (auto_load_local_gdbinit_loaded): New declarations. 9102 1.1 christos (maybe_add_script): New parameter language. 9103 1.1 christos (auto_load_objfile_script): Change parameter suffix to language. 9104 1.1 christos (load_auto_scripts_for_objfile, auto_load_info_scripts_pattern_nl) 9105 1.1 christos (auto_load_info_scripts, auto_load_set_cmdlist_get) 9106 1.1 christos (auto_load_show_cmdlist_get, auto_load_info_cmdlist_get): New 9107 1.1 christos declarations. 9108 1.1 christos * linux-thread-db.c: Include auto-load.h and ctype.h. 9109 1.1 christos (auto_load_thread_db, show_auto_load_thread_db): New. 9110 1.1 christos (struct thread_db_info): New field filename. 9111 1.1 christos (delete_thread_db_info): Call xfree for FILENAME. 9112 1.1 christos (try_thread_db_load): Initialize FILENAME. 9113 1.1 christos (try_thread_db_load_from_pdir, try_thread_db_load_from_dir): Return 9114 1.1 christos if !AUTO_LOAD_THREAD_DB. 9115 1.1 christos (info_auto_load_libthread_db_compare, info_auto_load_libthread_db): New. 9116 1.1 christos (_initialize_thread_db): Install auto_load_thread_db 9117 1.1 christos as "set auto-load libthread-db" and install info_auto_load_libthread_db 9118 1.1 christos as "info auto-load libthread-db". 9119 1.1 christos * main.c (captured_main): Rename gdbpy_global_auto_load to 9120 1.1 christos global_auto_load. Initialize AUTO_LOAD_LOCAL_GDBINIT_PATHNAME and 9121 1.1 christos AUTO_LOAD_LOCAL_GDBINIT_LOADED. 9122 1.1 christos (print_gdb_help): Extend the help for 'local init file'. 9123 1.1 christos * python/py-auto-load.c: Remove a comment about gdb scripts extension. 9124 1.1 christos (GDBPY_AUTO_SECTION_NAME): Extend the comment it is Python specific. 9125 1.1 christos (auto_load_scripts): Rename to ... 9126 1.1 christos (auto_load_python_scripts): ... here, update the comment. 9127 1.1 christos (gdbpy_load_auto_script_for_objfile): New declaration. 9128 1.1 christos (show_auto_load_python_scripts, script_language_python) 9129 1.1 christos (gdbpy_load_auto_script_for_objfile): New. 9130 1.1 christos (source_section_scripts): Refactor the code. 9131 1.1 christos (load_auto_scripts_for_objfile): Rename to ... 9132 1.1 christos (gdbpy_load_auto_scripts_for_objfile): ... here, update the 9133 1.1 christos auto_load_objfile_script caller, drop GDBPY_GLOBAL_AUTO_LOAD checking. 9134 1.1 christos (info_auto_load_python_scripts): New. 9135 1.1 christos (gdbpy_initialize_auto_load): New variables cmd and cmd_name. 9136 1.1 christos Rename "set auto-load-scripts" to "set auto-load python-scripts". 9137 1.1 christos Register "set auto-load-scripts" as its deprecated alias. Register 9138 1.1 christos "info auto-load python-scripts". Register "info auto-load-scripts" as 9139 1.1 christos its deprecated alias. 9140 1.1 christos (load_auto_scripts_for_objfile): Rename to ... 9141 1.1 christos (gdbpy_load_auto_scripts_for_objfile): ... here. 9142 1.1 christos * python/python.h (load_auto_scripts_for_objfile): Rename to ... 9143 1.1 christos (gdbpy_load_auto_scripts_for_objfile): ... here. 9144 1.1 christos 9145 1.1 christos 2012-04-17 Jan Kratochvil <jan.kratochvil (a] redhat.com> 9146 1.1 christos 9147 1.1 christos auto-load: Move files. 9148 1.1 christos * Makefile.in (SFILES): Add auto-load.c. 9149 1.1 christos (HFILES_NO_SRCDIR): Add auto-load.h. 9150 1.1 christos (COMMON_OBS): Add auto-load.o. 9151 1.1 christos (distclean): Change .gdbinit for gdb-gdb.gdb. 9152 1.1 christos * auto-load.c: New file, with parts from python/py-auto-load.c. 9153 1.1 christos * auto-load.h: New file, with parts from python/python.h. 9154 1.1 christos * configure: Regenerate. 9155 1.1 christos * configure.ac (AC_OUTPUT): Change .gdbinit for gdb-gdb.gdb. 9156 1.1 christos * gdb-gdb.gdb.in: New file, renamed from gdbinit.in. 9157 1.1 christos * gdbinit.in: Remove file, rename it to gdb-gdb.gdb.in. 9158 1.1 christos * main.c: Include auto-load.h. 9159 1.1 christos * python/py-auto-load.c: Move include filenames.h, gdb_regex.h, 9160 1.1 christos command.h, observer.h and progspace.h to auto-load.c. Add include 9161 1.1 christos auto-load.h. 9162 1.1 christos (gdbpy_global_auto_load, struct auto_load_pspace_info) 9163 1.1 christos (struct loaded_script, auto_load_pspace_data) 9164 1.1 christos (auto_load_pspace_data_cleanup, get_auto_load_pspace_data) 9165 1.1 christos (hash_loaded_script_entry, eq_loaded_script_entry) 9166 1.1 christos (init_loaded_scripts_info, get_auto_load_pspace_data_for_loading) 9167 1.1 christos (maybe_add_script): Move to auto-load.c. 9168 1.1 christos (source_section_scripts): Change maybe_add_script parameters passing, 9169 1.1 christos use script_not_found_warning_print. 9170 1.1 christos (clear_section_scripts, auto_load_objfile_script) 9171 1.1 christos (auto_load_new_objfile, loaded_script_ptr) 9172 1.1 christos (DEF_VEC_P (loaded_script_ptr), collect_matching_scripts, print_script) 9173 1.1 christos (sort_scripts_by_name, info_auto_load_scripts): Move to auto-load.c. 9174 1.1 christos (gdbpy_initialize_auto_load): Move auto_load_pspace_data, 9175 1.1 christos auto_load_new_objfile and info_auto_load_scripts initizations to 9176 1.1 christos auto-load.c. 9177 1.1 christos * python/python.h (gdbpy_global_auto_load): Move to auto-load.h. 9178 1.1 christos 9179 1.1 christos 2012-04-17 Jan Kratochvil <jan.kratochvil (a] redhat.com> 9180 1.1 christos 9181 1.1 christos Code cleanup. 9182 1.1 christos * charset.c (find_charset_names): Remove variables ix and elt. 9183 1.1 christos Use free_char_ptr_vec. 9184 1.1 christos * elfread.c (build_id_to_debug_filename): New variables debugdir_vec, 9185 1.1 christos back_to and ix. Use dirnames_to_char_ptr_vec. Remove variable 9186 1.1 christos debugdir_end. New variable debugdir_len. 9187 1.1 christos * gdb_vecs.h (free_char_ptr_vec, make_cleanup_free_char_ptr_vec) 9188 1.1 christos (dirnames_to_char_ptr_vec_append, dirnames_to_char_ptr_vec): New 9189 1.1 christos declarations. 9190 1.1 christos * progspace.c (clear_program_space_solib_cache): Remove variables ix 9191 1.1 christos and elt. Use free_char_ptr_vec. 9192 1.1 christos * source.c (add_path): Remove variables argv, arg and argv_index. 9193 1.1 christos New variables dir_vec, back_to, ix and name. 9194 1.1 christos Use dirnames_to_char_ptr_vec_append. Use freeargv instead of 9195 1.1 christos make_cleanup_freeargv. Remove variable separator. Simplify the code 9196 1.1 christos no longer expecting DIRNAME_SEPARATOR. 9197 1.1 christos (openp): Remove variable p, p1 and len. New variables dir_vec, 9198 1.1 christos back_to, ix and dir. Use dirnames_to_char_ptr_vec. Simplify the code 9199 1.1 christos no longer expecting DIRNAME_SEPARATOR. 9200 1.1 christos * symfile.c (find_separate_debug_file): New variables debugdir_vec, 9201 1.1 christos back_to and ix. Use dirnames_to_char_ptr_vec. Remove variable 9202 1.1 christos debugdir_end. 9203 1.1 christos * utils.c (free_char_ptr_vec, do_free_char_ptr_vec) 9204 1.1 christos (make_cleanup_free_char_ptr_vec, dirnames_to_char_ptr_vec_append) 9205 1.1 christos (dirnames_to_char_ptr_vec): New functions. 9206 1.1 christos 9207 1.1 christos 2012-04-17 Jan Kratochvil <jan.kratochvil (a] redhat.com> 9208 1.1 christos 9209 1.1 christos Code cleanup. 9210 1.1 christos * source.c (add_path): Remove always true conditional 'p == 0' and 9211 1.1 christos unindent its code block. 9212 1.1 christos 9213 1.1 christos 2012-04-17 Pedro Alves <palves (a] redhat.com> 9214 1.1 christos 9215 1.1 christos * gdbtypes.h (FIELD_BITPOS): Rename to ... 9216 1.1 christos (FIELD_BITPOS_LVAL): ... this. 9217 1.1 christos (FIELD_BITPOS): New. 9218 1.1 christos (SET_FIELD_BITPOS): Adjust to use FIELD_BITPOS_LVAL. 9219 1.1 christos * dwarf2read.c (dwarf2_add_field): Use SET_FIELD_BITPOS. 9220 1.1 christos * gdbtypes.c (append_composite_type_field_aligned): Adjust to use 9221 1.1 christos SET_FIELD_BITPOS. 9222 1.1 christos * gnu-v3-abi.c (build_gdb_vtable_type): Adjust to use 9223 1.1 christos SET_FIELD_BITPOS. 9224 1.1 christos * stabsread.c (read_cpp_abbrev, read_one_struct_field) 9225 1.1 christos (read_baseclasses): Adjust to use SET_FIELD_BITPOS. 9226 1.1 christos * target-descriptions.c (tdesc_gdb_type): Adjust to use 9227 1.1 christos SET_FIELD_BITPOS. 9228 1.1 christos 9229 1.1 christos 2012-04-17 Jan Kratochvil <jan.kratochvil (a] redhat.com> 9230 1.1 christos 9231 1.1 christos Do not rely on FIELD_LOC_KIND_BITPOS being zero. 9232 1.1 christos * ada-lang.c (ada_template_to_fixed_record_type_1): Replace 9233 1.1 christos TYPE_FIELD_BITPOS used as lvalue by SET_FIELD_BITPOS. 9234 1.1 christos * gdbtypes.c (append_flags_type_flag): Likewise, twice. 9235 1.1 christos * jv-lang.c (java_link_class_type): Likewise, once. 9236 1.1 christos * stabsread.c (read_enum_type): Likewise. 9237 1.1 christos 9238 1.1 christos 2012-04-16 Yao Qi <yao (a] codesourcery.com> 9239 1.1 christos 9240 1.1 christos * common/agent.c (agent_run_command): Add one more parameter `len'. 9241 1.1 christos Update callers. 9242 1.1 christos * common/agent.h: Update declaration. 9243 1.1 christos * linux-nat.c (linux_child_static_tracepoint_markers_by_strid): 9244 1.1 christos Update. 9245 1.1 christos (linux_child_static_tracepoint_markers_by_strid): Ditto. 9246 1.1 christos 9247 1.1 christos 2012-04-14 Anton Gorenkov <xgsa (a] yandex.ru> 9248 1.1 christos 9249 1.1 christos PR mi/13393 9250 1.1 christos * value.c (value_actual_type): New function. 9251 1.1 christos * value.h (value_actual_type): New declaration. 9252 1.1 christos * varobj.c (update_type_if_necessary): New function. 9253 1.1 christos (varobj_create): Call value_actual_type instead of 9254 1.1 christos value_type. 9255 1.1 christos (install_dynamic_child): distinct changed and type changed MI variable 9256 1.1 christos objects. 9257 1.1 christos (update_dynamic_varobj_children): Updated for install_dynamic_child 9258 1.1 christos change. All callers updated. 9259 1.1 christos (varobj_update): Support for MI variable object type change if 9260 1.1 christos the value changed and RTTI is used to determine the type. 9261 1.1 christos (create_child_with_value): Call value_actual_type instead of 9262 1.1 christos value_type. 9263 1.1 christos (adjust_value_for_child_access): Extended with a new parameter which 9264 1.1 christos specify whether the given value should be casted to enclosing type. 9265 1.1 christos All callers updated. 9266 1.1 christos 9267 1.1 christos 2012-04-14 Yao Qi <yao (a] codesourcery.com> 9268 1.1 christos 9269 1.1 christos Import gnulib module inttypes from git 9270 1.1 christos (250b80067c1e1d8faa0c42fb572f721975b929c5) 9271 1.1 christos * Makefile.in (HFILES_NO_SRCDIR): Add gnulib/inttypes.in.h. 9272 1.1 christos (aclocal_m4_deps): Add gnulib/m4/inttypes.m4 and 9273 1.1 christos gnulib/m4/inttypes-pri.m4 9274 1.1 christos * aclocal.m4, config.in, configure: Regenerated. 9275 1.1 christos * gnulib/Makefile.am: Update. 9276 1.1 christos * gnulib/Makefile.in: Update. 9277 1.1 christos * gnulib/m4/gnulib-cache.m4: Update. 9278 1.1 christos * gnulib/m4/gnulib-comp.m4: Update. 9279 1.1 christos * gnulib/inttypes.in.h: New. 9280 1.1 christos * gnulib/m4/inttypes-pri.m4: New. 9281 1.1 christos * gnulib/m4/inttypes.m4: New. 9282 1.1 christos 9283 1.1 christos 2012-04-13 Luis Machado <lgustavo (a] codesourcery.com> 9284 1.1 christos 9285 1.1 christos * infrun.c (resume): Update PC address to the real PC after 9286 1.1 christos preparing to do displaced stepping. 9287 1.1 christos 9288 1.1 christos 2012-04-12 Doug Evans <dje (a] google.com> 9289 1.1 christos 9290 1.1 christos * dwarf2read.c (lookup_signatured_type): Remove arg "objfile", unused. 9291 1.1 christos All callers updated. 9292 1.1 christos 9293 1.1 christos 2012-04-12 Mark Kettenis <kettenis (a] gnu.org> 9294 1.1 christos 9295 1.1 christos * i386bsd-nat.c (_initialize_i386bsd_nat): Add missing prototype. 9296 1.1 christos 9297 1.1 christos 2012-04-12 Doug Evans <dje (a] google.com> 9298 1.1 christos 9299 1.1 christos * dwarf2read.c (create_all_type_units): Renamed from 9300 1.1 christos create_debug_types_hash_table. All callers updated. 9301 1.1 christos 9302 1.1 christos * dwarf2read.c (create_signatured_type_table_from_index): Rename 9303 1.1 christos local type_sig to sig_type, type_offset to type_offset_in_tu. 9304 1.1 christos (hash_signatured_type): Renamed from hash_type_signature, 9305 1.1 christos all callers updated. 9306 1.1 christos (eq_signatured_type): Renamed from eq_type_signature, 9307 1.1 christos all callers updated. 9308 1.1 christos (create_debug_types_hash_table): Rename local type_sig to sig_type. 9309 1.1 christos (process_enumeration_scope): Ditto. 9310 1.1 christos (lookup_signatured_type_at_offset): Ditto. 9311 1.1 christos (load_full_type_unit, read_signatured_type): Ditto. 9312 1.1 christos 9313 1.1 christos 2012-04-12 Yao Qi <yao (a] codesourcery.com> 9314 1.1 christos 9315 1.1 christos * remote.c (async_remote_interrupt): Correct function name in 9316 1.1 christos debug message. 9317 1.1 christos (async_remote_interrupt_twice): Ditto. 9318 1.1 christos 9319 1.1 christos 2012-04-11 Yuanhui Zhang <asmwarrior (a] gmail.com> 9320 1.1 christos 9321 1.1 christos * source.c (find_and_open_source): Consistently pass resulting 9322 1.1 christos full path through xfullpath. 9323 1.1 christos 9324 1.1 christos 2012-04-11 Jan Kratochvil <jan.kratochvil (a] redhat.com> 9325 1.1 christos 9326 1.1 christos Provide more specific displaced-stepping memory error message. 9327 1.1 christos * infrun.c (displaced_step_prepare): New variable status. Call 9328 1.1 christos target_read_memory instead of read_memory, provide more specific 9329 1.1 christos error message. 9330 1.1 christos 9331 1.1 christos 2012-04-11 Tristan Gingold <gingold (a] adacore.com> 9332 1.1 christos 9333 1.1 christos PR gdb/13901 9334 1.1 christos * darwin-nat.c (darwin_execvp): Revert previous patch. 9335 1.1 christos 9336 1.1 christos 2012-04-11 Tristan Gingold <gingold (a] adacore.com> 9337 1.1 christos 9338 1.1 christos PR gdb/13901 9339 1.1 christos * darwin-nat.c (darwin_resume_thread): Call darwin_set_sstep only 9340 1.1 christos in case of change. 9341 1.1 christos 9342 1.1 christos 2012-04-11 Tristan Gingold <gingold (a] adacore.com> 9343 1.1 christos 9344 1.1 christos * i386-darwin-nat.c (i386_darwin_fetch_inferior_registers): Fix 9345 1.1 christos warning. 9346 1.1 christos 9347 1.1 christos 2012-04-11 Siva Chandra Reddy <sivachandra (a] google.com> 9348 1.1 christos 9349 1.1 christos New command 'explore' which helps explore values and types in 9350 1.1 christos scope. 9351 1.1 christos * NEWS: Add an entry about the new 'explore' command. 9352 1.1 christos * data-directory/Makefile.in: Add gdb/command/explore.py 9353 1.1 christos * python/lib/gdb/command/explore.py: Implemention of the 'explore' 9354 1.1 christos command using the GDB Python API. 9355 1.1 christos 9356 1.1 christos 2012-04-10 Maciej W. Rozycki <macro (a] codesourcery.com> 9357 1.1 christos 9358 1.1 christos * mips-tdep.c (mips_skip_pic_trampoline_code): Correct sign 9359 1.1 christos extension in jump target calculation. 9360 1.1 christos 9361 1.1 christos 2012-04-10 Maciej W. Rozycki <macro (a] codesourcery.com> 9362 1.1 christos 9363 1.1 christos * mips-tdep.c (mips32_next_pc): Handle JALX. 9364 1.1 christos 9365 1.1 christos 2012-04-10 Yao Qi <yao (a] codesourcery.com> 9366 1.1 christos 9367 1.1 christos * Makefile.in (gnulib/Makefile): Remove duplicated dependency. 9368 1.1 christos 9369 1.1 christos 2012-04-10 Yao Qi <yao (a] codesourcery.com> 9370 1.1 christos 9371 1.1 christos * Makefile.in (aclocal_m4_deps): Add gnulib/m4/gnulib-cache.m4 9372 1.1 christos and gnulib/m4/gnulib-tool.m4. 9373 1.1 christos 9374 1.1 christos 2012-04-10 Doug Evans <dje (a] google.com> 9375 1.1 christos 9376 1.1 christos * dwarf2read.c (dwarf2_per_cu_data). Clarify comment. 9377 1.1 christos (load_partial_dies): Clarify comment. 9378 1.1 christos (find_partial_die): Support rereading type units. 9379 1.1 christos Clarify CU handling, if we know offset is in CU, don't search for the 9380 1.1 christos containing CU. Add comment regarding memory waste. 9381 1.1 christos 9382 1.1 christos 2012-04-10 H.J. Lu <hongjiu.lu (a] intel.com> 9383 1.1 christos 9384 1.1 christos * features/Makefile (WHICH): Add i386/x32, i386/x32-linux, 9385 1.1 christos i386/x32-avx and i386/x32-avx-linux. 9386 1.1 christos (i386/x32-expedite): New. 9387 1.1 christos (i386/x32-linux-expedite): Likewise. 9388 1.1 christos (i386/x32-avx-expedite): Likewise. 9389 1.1 christos (i386/x32-avx-linux-expedite): Likewise. 9390 1.1 christos ($(outdir)/i386/x32.dat): Likewise. 9391 1.1 christos ($(outdir)/i386/x32-linux.dat): Likewise. 9392 1.1 christos ($(outdir)/i386/x32-avx.dat): Likewise. 9393 1.1 christos ($(outdir)/i386/x32-avx-linux.dat): Likewise. 9394 1.1 christos 9395 1.1 christos * features/i386/x32-avx-linux.xml: New file. 9396 1.1 christos * features/i386/x32-avx.xml: Likewise. 9397 1.1 christos * features/i386/x32-core.xml: Likewise. 9398 1.1 christos * features/i386/x32-linux.xml: Likewise. 9399 1.1 christos * features/i386/x32.xml: Likewise. 9400 1.1 christos 9401 1.1 christos * features/i386/x32-avx-linux.c: New. Generated. 9402 1.1 christos * features/i386/x32-avx.c: Likewise. 9403 1.1 christos * features/i386/x32-linux.c: Likewise. 9404 1.1 christos * features/i386/x32.c: Likewise. 9405 1.1 christos * regformats/i386/x32-avx-linux.dat: Likewise. 9406 1.1 christos * regformats/i386/x32-avx.dat: Likewise. 9407 1.1 christos * regformats/i386/x32-linux.dat: Likewise. 9408 1.1 christos * regformats/i386/x32.dat: Likewise. 9409 1.1 christos 9410 1.1 christos 2012-04-10 Tristan Gingold <gingold (a] adacore.com> 9411 1.1 christos 9412 1.1 christos * darwin-nat.c (darwin_kill_inferior): Always use the no ptrace 9413 1.1 christos code to kill the inferior. 9414 1.1 christos 9415 1.1 christos 2012-04-09 Mark Kettenis <kettenis (a] gnu.org> 9416 1.1 christos 9417 1.1 christos * ada-exp.y (yyss, yysslim, yyssp, yystacksize, yyvs, yyvsp): New 9418 1.1 christos defines. 9419 1.1 christos * c-exp.y (yyss, yysslim, yyssp, yystacksize, yyvs, yyvsp): New 9420 1.1 christos defines. 9421 1.1 christos * cp-name-parser.y (yyss, yysslim, yyssp, yystacksize, yyvs) 9422 1.1 christos (yyvsp): New defines. 9423 1.1 christos * f-exp.y (yyss, yysslim, yyssp, yystacksize, yyvs, yyvsp): New 9424 1.1 christos defines. 9425 1.1 christos * jv-exp.y (yyss, yysslim, yyssp, yystacksize, yyvs, yyvsp): New 9426 1.1 christos defines. 9427 1.1 christos * m2-exp.y (yyss, yysslim, yyssp, yystacksize, yyvs, yyvsp): New 9428 1.1 christos defines. 9429 1.1 christos * objc-exp.y (yyss, yysslim, yyssp, yystacksize, yyvs, yyvsp): New 9430 1.1 christos defines. 9431 1.1 christos * p-exp.y (yyss, yysslim, yyssp, yystacksize, yyvs, yyvsp): New 9432 1.1 christos defines. 9433 1.1 christos 9434 1.1 christos 2012-04-09 Mark Kettenis <kettenis (a] gnu.org> 9435 1.1 christos 9436 1.1 christos * sparc64-tdep.c (sparc64_store_arguments) 9437 1.1 christos (sparc64_store_arguments): Fix coding style. 9438 1.1 christos 9439 1.1 christos 2012-04-07 Mark Kettenis <kettenis (a] gnu.org> 9440 1.1 christos 9441 1.1 christos * sparc64-tdep.c (sparc64_store_arguments): Fix handling of 9442 1.1 christos complex floats, adjust some related comments and tighten a related 9443 1.1 christos assertion. 9444 1.1 christos (sparc64_extract_return_value): Handle complex floats. 9445 1.1 christos 9446 1.1 christos 2012-04-07 Doug Evans <dje (a] google.com> 9447 1.1 christos 9448 1.1 christos * dwarf2read.c (load_partial_dies): Change condition to assert. 9449 1.1 christos 9450 1.1 christos 2012-04-06 Doug Evans <dje (a] google.com> 9451 1.1 christos 9452 1.1 christos * amd64-tdep.c (amd64_analyze_prologue): Recognize both variations of 9453 1.1 christos "mov %rsp,%rbp". 9454 1.1 christos 9455 1.1 christos 2012-04-05 Kevin Buettner <kevinb (a] redhat.com> 9456 1.1 christos 9457 1.1 christos * v850-tdep.c (E_NUM_OF_V850_REGS, E_NUM_OF_V850E_REGS): Fix 9458 1.1 christos fencepost error. 9459 1.1 christos (v850_frame_cache): Use gdbarch_num_regs() instead of E_NUM_REGS. 9460 1.1 christos (v850_gdbarch_init): Set `num_regs' as appropriate for the 9461 1.1 christos architecture. 9462 1.1 christos 9463 1.1 christos 2012-04-05 Keith Seitz <keiths (a] redhat.com> 9464 1.1 christos 9465 1.1 christos * linespec.c (decode_compound): Remove. 9466 1.1 christos (enum offset_relative_sign): New enum. 9467 1.1 christos (struct line_offset): New struct. 9468 1.1 christos (struct linespec): New struct. 9469 1.1 christos (struct linespec_state): Move file_symtabs, 9470 1.1 christos user_filename, and user_function into struct linespec. 9471 1.1 christos Make result an anonymous struct holding vectors of 9472 1.1 christos symbolp and minsym_and_objfile_d. 9473 1.1 christos Add language member. 9474 1.1 christos (enum ls_token_type): New enum. 9475 1.1 christos (linespec_keywords): New array. 9476 1.1 christos (struct ls_token): New struct. 9477 1.1 christos (struct ls_parser): New struct. 9478 1.1 christos (linespec_lexer_lex_number): New function. 9479 1.1 christos (linespec_lexer_lex_keyword): New function. 9480 1.1 christos (is_ada_operator): New function. 9481 1.1 christos (skip_quote_char): New function. 9482 1.1 christos (copy_token_string): New function. 9483 1.1 christos (is_closing_quote_enclosed): New function. 9484 1.1 christos (find_parameter_list_end): New function. 9485 1.1 christos (linespec_lexer_lex_string): New function. 9486 1.1 christos (linespec_lexer_lex_one): New function. 9487 1.1 christos (linespec_lexer_consume_token): New function. 9488 1.1 christos (linespec_lexer_peek_token): New function. 9489 1.1 christos (cplusplus_error): Remove unused function. 9490 1.1 christos (find_methods): Update comment. 9491 1.1 christos (find_toplevel_char): Return const. 9492 1.1 christos (is_objc_method_format): Remove unused function. 9493 1.1 christos (find_toplevel_string): New function. 9494 1.1 christos (is_linespec_boundary): Remove. 9495 1.1 christos (symbol_not_found_error): New function. 9496 1.1 christos (find_method_overload_end): Remove function. 9497 1.1 christos (unexpected_linespec_error): New function. 9498 1.1 christos (keep_name_info): Remove. 9499 1.1 christos (linespec_parse_line_offset): New function. 9500 1.1 christos (linespec_parse_basic): New function. 9501 1.1 christos (canonicalize_linespec): New function. 9502 1.1 christos (decode_line_internal): Remove. 9503 1.1 christos (create_sals_line_offset): New function adapted from 9504 1.1 christos decode_all_digits. 9505 1.1 christos (convert_linespec_to_sals): New function. 9506 1.1 christos (parse_linespec): New function. 9507 1.1 christos (linespec_parser_new): New function. 9508 1.1 christos (linespec_state_destructor): Change parameter type to 9509 1.1 christos struct linespec_state *. 9510 1.1 christos Add language parameter. 9511 1.1 christos Remove freeing of moved members. 9512 1.1 christos (linespec_parser_delete): New function. 9513 1.1 christos (decode_line_full): Use parse_linespec and linespec_parser_new. 9514 1.1 christos (decode_line_1): Likewise. 9515 1.1 christos (decode_indirect): Rename to ... 9516 1.1 christos (linespec_expression_to_pc): ... this and rewrite 9517 1.1 christos to simply find CORE_ADDR, storing this result for later 9518 1.1 christos conversion to SALs. 9519 1.1 christos (locate_first_half): Remove. 9520 1.1 christos (deocde_objc): Add parameter LS. 9521 1.1 christos Initialize new struct collect_info members. 9522 1.1 christos Handle minimal symbols, too. 9523 1.1 christos (decode_compound): Delete. 9524 1.1 christos (lookup_prefix_sym): Rewrite. 9525 1.1 christos (compare_msymbols): New function. 9526 1.1 christos (find_method): Rewrite. 9527 1.1 christos Do not call cplusplus_error. 9528 1.1 christos (symtabs_from_filename): Rewrite. 9529 1.1 christos (collect_function_symbols): Delete. 9530 1.1 christos (find_function_symbols): Rewrite without ARGPTR-style 9531 1.1 christos processing. 9532 1.1 christos (decode_all_digits): Delete. (Rewritten as create_sals_line_offset.) 9533 1.1 christos (decode_dollar): Adapted and renamed to ... 9534 1.1 christos (linespec_parse_variable): ... this. 9535 1.1 christos (find_linespec_symbols): New function. 9536 1.1 christos (decode_label): Adapted and renamed to ... 9537 1.1 christos (find_label_symbols): ... this. 9538 1.1 christos (decode_digits_list_mode): Add and use LS argument. 9539 1.1 christos (decode_digits_ordinary): Likewise. 9540 1.1 christos (collect_symbols): Do not collect SALs, just symbols and msymbols. 9541 1.1 christos If in list mode, allow any symbol class. Otherwise, only 9542 1.1 christos permit LOC_BLOCK symbols. 9543 1.1 christos (minsym_found): Update comments. 9544 1.1 christos (search_minsyms_for_name): Do not convert the matching symbol 9545 1.1 christos into a SAL. Simply push the symbol and objfile into the 9546 1.1 christos result vector. 9547 1.1 christos (decode_variable): Delete. Contents adapted into 9548 1.1 christos find_linespec_symbols. 9549 1.1 christos 9550 1.1 christos * cp-support.c (SKIP_SPACE): Remove. 9551 1.1 christos (operator_tokens): Remove unused global. 9552 1.1 christos (cp_validate_operator): Remove. 9553 1.1 christos * cp-support.h (cp_validate_operator): Remove declaration. 9554 1.1 christos 9555 1.1 christos 2012-04-03 Jan Kratochvil <jan.kratochvil (a] redhat.com> 9556 1.1 christos 9557 1.1 christos * cp-valprint.c (cp_print_value_fields): Check valprint_check_validity 9558 1.1 christos for TYPE_VPTR_FIELDNO. 9559 1.1 christos * valprint.c (valprint_check_validity): Make it global, move the 9560 1.1 christos function comment ... 9561 1.1 christos * value.h (valprint_check_validity): ... to this new declaration. 9562 1.1 christos 9563 1.1 christos 2012-04-02 Tristan Gingold <gingold (a] adacore.com> 9564 1.1 christos 9565 1.1 christos * i386-darwin-nat.c (i386_darwin_fetch_inferior_registers): Use 9566 1.1 christos the STATE32 api for i386 state. 9567 1.1 christos (i386_darwin_store_inferior_registers): Likewise. 9568 1.1 christos 9569 1.1 christos 2012-04-02 Tristan Gingold <gingold (a] adacore.com> 9570 1.1 christos 9571 1.1 christos * i386-darwin-tdep.c (i386_darwin_thread_state_reg_offset): Fix 9572 1.1 christos SS offset. 9573 1.1 christos * i386-darwin-nat.c (i386_darwin_fetch_inferior_registers): Fix 9574 1.1 christos format_string. 9575 1.1 christos 9576 1.1 christos 2012-04-02 Tristan Gingold <gingold (a] adacore.com> 9577 1.1 christos 9578 1.1 christos PR gdb/13901 9579 1.1 christos * darwin-nat.c (darwin_execvp): Set binary preference. 9580 1.1 christos 9581 1.1 christos 2012-04-02 Jan Kratochvil <jan.kratochvil (a] redhat.com> 9582 1.1 christos 9583 1.1 christos * NEWS (set breakpoint condition-evaluation): Use imperative mood. 9584 1.1 christos 9585 1.1 christos 2012-03-30 Tom Tromey <tromey (a] redhat.com> 9586 1.1 christos 9587 1.1 christos * python/python.c (gdbpy_decode_line): Move cleanup creation out 9588 1.1 christos of TRY_CATCH. Fix error handling. 9589 1.1 christos * python/py-value.c (convert_value_from_python): Move 'old' 9590 1.1 christos declaration to innermost scope. 9591 1.1 christos 9592 1.1 christos 2012-03-29 Joel Brobecker <brobecker (a] adacore.com> 9593 1.1 christos Andrey Smirnov <andrew.smirnov (a] gmail.com> 9594 1.1 christos 9595 1.1 christos -Wshadow warning fix. 9596 1.1 christos * ada-lang.c (ada_make_symbol_completion_list): Rename parameters 9597 1.1 christos "wild_match" and "encoded" into "wild_match_p" and "encoded_p". 9598 1.1 christos Adjust code accordingly. 9599 1.1 christos 9600 1.1 christos 2012-03-29 Joel Brobecker <brobecker (a] adacore.com> 9601 1.1 christos 9602 1.1 christos * ada-lang.c (symbol_completion_add): Rename parameter 9603 1.1 christos "encoded" into "encoded_p". Ajust code and documentation 9604 1.1 christos accordingly. 9605 1.1 christos 9606 1.1 christos 2012-03-29 Joel Brobecker <brobecker (a] adacore.com> 9607 1.1 christos Andrey Smirnov <andrew.smirnov (a] gmail.com> 9608 1.1 christos 9609 1.1 christos -Wshadow warning fix. 9610 1.1 christos * ada-lang.c (symbol_completion_add): Rename parameter 9611 1.1 christos "wild_match" into wild_match_p. Update code and documentation 9612 1.1 christos accordingly. 9613 1.1 christos 9614 1.1 christos 2012-03-29 Joel Brobecker <brobecker (a] adacore.com> 9615 1.1 christos 9616 1.1 christos * ada-lang.c (symbol_completion_match): Rename parameter 9617 1.1 christos "encoded" into "encoded_p". Ajust code and documentation 9618 1.1 christos accordingly. 9619 1.1 christos 9620 1.1 christos 2012-03-29 Joel Brobecker <brobecker (a] adacore.com> 9621 1.1 christos Andrey Smirnov <andrew.smirnov (a] gmail.com> 9622 1.1 christos 9623 1.1 christos -Wshadow warning fix. 9624 1.1 christos * ada-lang.c (symbol_completion_match): Rename parameter 9625 1.1 christos "wild_match" into "wild_match_p". Adjust code and function 9626 1.1 christos documentation accordingly. 9627 1.1 christos 9628 1.1 christos 2012-03-29 Joel Brobecker <brobecker (a] adacore.com> 9629 1.1 christos Andrey Smirnov <andrew.smirnov (a] gmail.com> 9630 1.1 christos 9631 1.1 christos -Wshadow warning fix. 9632 1.1 christos * ada-lang.c (ada_lookup_encoded_symbol): Rename parameter 9633 1.1 christos "symbol_info" into "info". Adjust code accordingly. 9634 1.1 christos (ada_lookup_symbol): Likewise. 9635 1.1 christos 9636 1.1 christos 2012-03-29 Joel Brobecker <brobecker (a] adacore.com> 9637 1.1 christos 9638 1.1 christos * ada-lang.c (ada_lookup_symbol_list): Minor reformatting 9639 1.1 christos of this function's documentation. 9640 1.1 christos 9641 1.1 christos 2012-03-29 Joel Brobecker <brobecker (a] adacore.com> 9642 1.1 christos Andrey Smirnov <andrew.smirnov (a] gmail.com> 9643 1.1 christos 9644 1.1 christos -Wshadow warning fix. 9645 1.1 christos * ada-lang.c (ada_lookup_symbol_list): Rename "wild_match" 9646 1.1 christos variable into "wild_match_p". Adjust code accordingly. 9647 1.1 christos 9648 1.1 christos 2012-03-29 Joel Brobecker <brobecker (a] adacore.com> 9649 1.1 christos Andrey Smirnov <andrew.smirnov (a] gmail.com> 9650 1.1 christos 9651 1.1 christos -Wshadow warning fix. 9652 1.1 christos * ada-lang.c (ada_add_local_symbols): Rename "wild_match" 9653 1.1 christos parameter into "wild_match_p". Adjust code accordingly. 9654 1.1 christos Document this parameter in the function description. 9655 1.1 christos 9656 1.1 christos 2012-03-29 Joel Brobecker <brobecker (a] adacore.com> 9657 1.1 christos Andrey Smirnov <andrew.smirnov (a] gmail.com> 9658 1.1 christos 9659 1.1 christos -Wshadow warning fix. 9660 1.1 christos * ada-lang.c (add_symbols_from_enclosing_procs): Rename 9661 1.1 christos "wild_match" parameter to "wild_match_p" (-Wshadow). 9662 1.1 christos 9663 1.1 christos 2012-03-29 Joel Brobecker <brobecker (a] adacore.com> 9664 1.1 christos 9665 1.1 christos * ada-lang.c (ada_lookup_simple_minsym): Remove trailing spaces 9666 1.1 christos in function documentation. 9667 1.1 christos 9668 1.1 christos 2012-03-29 Joel Brobecker <brobecker (a] adacore.com> 9669 1.1 christos Andrey Smirnov <andrew.smirnov (a] gmail.com> 9670 1.1 christos 9671 1.1 christos -Wshadow warning fix. 9672 1.1 christos * ada-lang.c (ada_lookup_simple_minsym): Rename wild_match local 9673 1.1 christos variable into wild_match_p. Adjust code accordingly. 9674 1.1 christos 9675 1.1 christos 2012-03-29 Joel Brobecker <brobecker (a] adacore.com> 9676 1.1 christos Andrey Smirnov <andrew.smirnov (a] gmail.com> 9677 1.1 christos 9678 1.1 christos * ada-valprint.c (ada_val_print_1): Move the code handling 9679 1.1 christos TYPE_CODE_ENUM inside its own lexical block. Declare 9680 1.1 christos variables len and val there, instead of in the function's 9681 1.1 christos top level block. Avoid declaring deref_val again in a way 9682 1.1 christos that shadows another variable of the same name declared 9683 1.1 christos in one of the up-level blocks. Just re-use the up-level 9684 1.1 christos variable instead. 9685 1.1 christos 9686 1.1 christos 2012-03-29 Joel Brobecker <brobecker (a] adacore.com> 9687 1.1 christos 9688 1.1 christos * ada-lang.c (ada_lookup_encoded_symbol): Now returns void. 9689 1.1 christos Replace block_found argument by symbol_info. Adjust 9690 1.1 christos implementation accordingly. Add function documentation. 9691 1.1 christos (ada_lookup_symbol): Adjust to new ada_lookup_encoded_symbol. 9692 1.1 christos Fix documentation. 9693 1.1 christos * ada-lang.h (ada_lookup_encoded_symbol): Update declaration. 9694 1.1 christos * ada-exp.y (write_object_renaming): Adjust to new 9695 1.1 christos ada_lookup_encoded_symbol API. 9696 1.1 christos 9697 1.1 christos 2012-03-29 Joel Brobecker <brobecker (a] adacore.com> 9698 1.1 christos 9699 1.1 christos * ada-lang.h (struct ada_symbol_info): Reformat. Improve 9700 1.1 christos documentation. 9701 1.1 christos 9702 1.1 christos 2012-03-28 Rathish C <rathish.c (a] kpitcummins.com> 9703 1.1 christos 9704 1.1 christos * v850-tdep.c: Add the enum values for mpu and fpu registers. 9705 1.1 christos (v850_register_name): Add the mpu and fpu register names. 9706 1.1 christos (v850e_register_name): Add the mpu and fpu register names. 9707 1.1 christos (v850e2_register_name): New function. 9708 1.1 christos (v850_gdbarch_init): Add case for bfd_mach_v850e2 and 9709 1.1 christos bfd_mach_v850e2v3. 9710 1.1 christos 9711 1.1 christos 2012-03-28 Joel Brobecker <brobecker (a] adacore.com> 9712 1.1 christos 9713 1.1 christos * NEWS: Add entry for Ada varobj support. 9714 1.1 christos 9715 1.1 christos 2012-03-28 Joel Brobecker <brobecker (a] adacore.com> 9716 1.1 christos 9717 1.1 christos * varobj.c (default_value_is_changeable_p): New function, 9718 1.1 christos extracted from varobj_value_is_changeable_p. Add declaration. 9719 1.1 christos (ada_value_is_changeable_p): New function, extracted from 9720 1.1 christos varobj_value_is_changeable_p. Add declaration. 9721 1.1 christos (struct language_specific): New field "value_is_changeable_p". 9722 1.1 christos (languages): Add entries for new field. 9723 1.1 christos (varobj_create): Set language before calling install_new_value. 9724 1.1 christos (varobj_value_is_changeable_p): Reimplement to call the varobj's 9725 1.1 christos "value_is_changeable_p" language callback. 9726 1.1 christos 9727 1.1 christos 2012-03-28 Joel Brobecker <brobecker (a] adacore.com> 9728 1.1 christos 9729 1.1 christos * ada-varobj.h, ada-varobj.c: New files. 9730 1.1 christos * Makefile.in (SFILES): Add ada-varobj.c. 9731 1.1 christos (HFILES_NO_SRCDIR): Add ada-varobj.h. 9732 1.1 christos (COMMON_OBS): Add ada-varobj.o. 9733 1.1 christos 9734 1.1 christos 2012-03-28 Joel Brobecker <brobecker (a] adacore.com> 9735 1.1 christos 9736 1.1 christos * varobj.c (ada_value_has_mutated): Add declaration. New function. 9737 1.1 christos (struct language_specific): New field "value_has_mutated". 9738 1.1 christos (languages): Set field "value_has_mutated" in each entry of array. 9739 1.1 christos (varobj_value_has_mutated): New function. 9740 1.1 christos (varobj_udpdate): Add handling of type mutation. 9741 1.1 christos (value_of_root): Add handling of type mutation. 9742 1.1 christos (ada_value_has_mutated): New function. 9743 1.1 christos 9744 1.1 christos 2012-03-28 Pedro Alves <palves (a] redhat.com> 9745 1.1 christos 9746 1.1 christos * ia64-linux-nat.c (supply_fpregset, ia64_linux_fetch_register): 9747 1.1 christos Always supply $fr0 as 0.0 and $fr1 as 1.0. 9748 1.1 christos 9749 1.1 christos 2012-03-28 Tom Tromey <tromey (a] redhat.com> 9750 1.1 christos 9751 1.1 christos * python/py-inferior.c (infpy_read_memory): Remove cleanups and 9752 1.1 christos explicitly free 'buffer' on exit paths. Decref 'membuf_object' 9753 1.1 christos before returning. 9754 1.1 christos 9755 1.1 christos 2012-03-28 Tom Tromey <tromey (a] redhat.com> 9756 1.1 christos 9757 1.1 christos * .dir-locals.el: New file. 9758 1.1 christos 9759 1.1 christos 2012-03-28 Pedro Alves <palves (a] redhat.com> 9760 1.1 christos 9761 1.1 christos * ia64-linux-nat.c (u_offsets): Map IA64_EC_REGNUM to PT_AR_EC. 9762 1.1 christos 9763 1.1 christos 2012-03-28 Joel Brobecker <brobecker (a] adacore.com> 9764 1.1 christos 9765 1.1 christos * ia64-linux-nat.c (ia64_linux_fetch_register): Add special 9766 1.1 christos handling for r0. 9767 1.1 christos 9768 1.1 christos 2012-03-27 Pedro Alves <palves (a] redhat.com> 9769 1.1 christos 9770 1.1 christos Eliminate struct ui_stream. 9771 1.1 christos 9772 1.1 christos * ui-out.h (struct ui_stream): Delete. 9773 1.1 christos (ui_out_field_stream): Adjust prototype. 9774 1.1 christos (ui_out_stream_new, ui_out_stream_delete) 9775 1.1 christos (make_cleanup_ui_out_stream_delete): Delete declarations. 9776 1.1 christos * ui-out.c (ui_out_field_stream): Change prototype to take a 9777 1.1 christos ui_file instead of a ui_stream. Adjust. 9778 1.1 christos (ui_out_stream_new, ui_out_stream_delete, do_stream_delete) 9779 1.1 christos (make_cleanup_ui_out_stream_delete): Delete. 9780 1.1 christos * breakpoint.c (print_breakpoint_location) 9781 1.1 christos (print_one_detail_ranged_breakpoint, print_it_watchpoint): Use 9782 1.1 christos ui_file/mem_fileopen instead of ui_stream/ui_out_stream_new. 9783 1.1 christos * disasm.c (dump_insns): Ditto. 9784 1.1 christos (do_mixed_source_and_assembly, do_assembly_only): Adjust 9785 1.1 christos prototype. 9786 1.1 christos (gdb_disassembly): Use ui_file/mem_fileopen instead of 9787 1.1 christos ui_stream/ui_out_stream_new. 9788 1.1 christos * infcmd.c (print_return_value): Ditto. 9789 1.1 christos * osdata.c (info_osdata_command): Don't allocate a local 9790 1.1 christos ui_stream. 9791 1.1 christos * stack.c (print_frame_arg, print_frame_args, print_frame): Use 9792 1.1 christos ui_file/mem_fileopen instead of ui_stream/ui_out_stream_new. 9793 1.1 christos * tracepoint.c (print_one_static_tracepoint_marker): Don't 9794 1.1 christos allocate a local ui_stream. 9795 1.1 christos * mi/mi-cmd-stack.c (list_arg_or_local): Use ui_file/mem_fileopen 9796 1.1 christos instead of ui_stream/ui_out_stream_new. 9797 1.1 christos (list_args_or_locals): Don't allocate a local ui_stream. 9798 1.1 christos * mi/mi-main.c (get_register, mi_cmd_data_evaluate_expression) 9799 1.1 christos (mi_cmd_data_read_memory): Use ui_file/mem_fileopen instead of 9800 1.1 christos ui_stream/ui_out_stream_new. 9801 1.1 christos * cli/cli-setshow.c (do_setshow_command): Ditto. 9802 1.1 christos 9803 1.1 christos 2012-03-27 Oza Pawandeep <oza.pawandeep (a] gmail.com> 9804 1.1 christos 9805 1.1 christos * arm-linux-tdep.c (arm_linux_init_abi): Call 9806 1.1 christos set_gdbarch_process_record. Initialize `arm_swi_record' field. 9807 1.1 christos * arm-tdep.c (arm_process_record): New function. 9808 1.1 christos (deallocate_reg_mem): New function. 9809 1.1 christos (decode_insn): New function. 9810 1.1 christos (thumb_record_branch): New function. 9811 1.1 christos (thumb_record_ldm_stm_swi(): New function. 9812 1.1 christos (thumb_record_misc): New function. 9813 1.1 christos (thumb_record_ld_st_stack): New function. 9814 1.1 christos (thumb_record_ld_st_imm_offset): New function. 9815 1.1 christos (thumb_record_ld_st_reg_offset(): New function. 9816 1.1 christos (thumb_record_add_sub_cmp_mov): New function. 9817 1.1 christos (thumb_record_shift_add_sub): New function. 9818 1.1 christos (arm_record_coproc_data_proc): New function. 9819 1.1 christos (arm_record_coproc): New function. 9820 1.1 christos (arm_record_b_bl): New function. 9821 1.1 christos (arm_record_ld_st_multiple): New function. 9822 1.1 christos (arm_record_ld_st_reg_offset): New function. 9823 1.1 christos (arm_record_ld_st_imm_offset): New function. 9824 1.1 christos (arm_record_data_proc_imm): New function. 9825 1.1 christos (arm_record_data_proc_misc_ld_str): New function. 9826 1.1 christos (arm_record_extension_space): New function. 9827 1.1 christos (arm_record_strx): New function. 9828 1.1 christos (sbo_sbz): New function. 9829 1.1 christos (struct insn_decode_record): New structure for arm insn record. 9830 1.1 christos (REG_ALLOC): New macro for reg allocations. 9831 1.1 christos (MEM_ALLOC): New macro for memory allocations. 9832 1.1 christos * arm-tdep.h (struct gdbarch_tdep): New field 'arm_swi_record'. 9833 1.1 christos 9834 1.1 christos 2012-03-27 Andreas Schwab <schwab (a] linux-m68k.org> 9835 1.1 christos 9836 1.1 christos * m68klinux-nat.c (fetch_register): Fix strict-aliasing violation. 9837 1.1 christos (store_register): Likewise. 9838 1.1 christos 9839 1.1 christos 2012-03-26 Oza Pawandeep <oza.pawandeep (a] gmail.com> 9840 1.1 christos 9841 1.1 christos * MAINTAINERS (Write After Approval): Add myself to the list. 9842 1.1 christos 9843 1.1 christos 2012-03-25 Jan Kratochvil <jan.kratochvil (a] redhat.com> 9844 1.1 christos 9845 1.1 christos * NEWS (set breakpoint condition-evaluation): Change "gdb" to "host". 9846 1.1 christos Describe also the option "auto". 9847 1.1 christos 9848 1.1 christos 2012-03-22 Richard Henderson <rth (a] redhat.com> 9849 1.1 christos 9850 1.1 christos * sparc-linux-nat.c (_initialize_sparc_linux_nat): Fix prototype. 9851 1.1 christos * sparc-nat.c (sparc_xfer_wcookie): Make static. 9852 1.1 christos 9853 1.1 christos 2012-03-22 Richard Henderson <rth (a] redhat.com> 9854 1.1 christos 9855 1.1 christos * jit.c (jit_read_code_entry): Compute alignment and offset of 9856 1.1 christos int64_t member before computing entry_size. 9857 1.1 christos 9858 1.1 christos 2012-03-22 Siva Chandra Reddy <sivachandra (a] google.com> 9859 1.1 christos 9860 1.1 christos Python scripting: Add new method Value.referenced_value to 9861 1.1 christos gdb.Value which can dereference pointer as well as reference 9862 1.1 christos values. 9863 1.1 christos * NEWS: Add entry under 'Python scripting' about the new method 9864 1.1 christos Value.referenced_value on gdb.Value objects. 9865 1.1 christos * python/py-value.c (valpy_referenced_value): New function 9866 1.1 christos defining a new method on gdb.Value objects which can dereference 9867 1.1 christos pointer and reference values. 9868 1.1 christos 9869 1.1 christos 2012-03-22 Siva Chandra Reddy <sivachandra (a] google.com> 9870 1.1 christos 9871 1.1 christos * MAINTAINERS (Write After Approval): Add myself to the list. 9872 1.1 christos 9873 1.1 christos 2012-03-21 Kevin Buettner <kevinb (a] redhat.com> 9874 1.1 christos 9875 1.1 christos * symtab.c (skip_prologue_sal): Change test to check for "main()" 9876 1.1 christos in addition to "main". 9877 1.1 christos 9878 1.1 christos 2012-03-21 Joel Brobecker <brobecker (a] adacore.com> 9879 1.1 christos 9880 1.1 christos * expression.h (op_name): Add declaration. 9881 1.1 christos * expprint.c (op_name): Remove declaration. Make non-static. 9882 1.1 christos * ax-gdb.c (gen_expr): Use op_name instead of op_string. 9883 1.1 christos 9884 1.1 christos 2012-03-21 Thomas Schwinge <thomas (a] codesourcery.com> 9885 1.1 christos 9886 1.1 christos * amd64-linux-nat.c (amd64_linux_siginfo_fixup): Use siginfo_t instead 9887 1.1 christos of struct siginfo. 9888 1.1 christos * arm-linux-nat.c (arm_linux_stopped_data_address): Likewise. 9889 1.1 christos * ia64-linux-nat.c (ia64_linux_stopped_data_address): Likewise. 9890 1.1 christos * linux-nat.c (linux_nat_siginfo_fixup, siginfo_fixup) 9891 1.1 christos (linux_xfer_siginfo, linux_nat_set_siginfo_fixup) 9892 1.1 christos (linux_nat_get_siginfo): Likewise. 9893 1.1 christos * linux-nat.h (struct lwp_info, linux_nat_set_siginfo_fixup) 9894 1.1 christos (linux_nat_get_siginfo): Likewise. 9895 1.1 christos * linux-tdep.c (linux_get_siginfo_type): Likewise. 9896 1.1 christos * ppc-linux-nat.c (ppc_linux_stopped_data_address): Likewise. 9897 1.1 christos * procfs.c (gdb_siginfo_t): Likewise. 9898 1.1 christos 9899 1.1 christos 2012-03-21 Mike Frysinger <vapier (a] gentoo.org> 9900 1.1 christos 9901 1.1 christos * .gitignore: Ignore more files. 9902 1.1 christos 9903 1.1 christos 2012-03-20 Pedro Alves <palves (a] redhat.com> 9904 1.1 christos 9905 1.1 christos * remote.c (remote_start_remote): Clear `rs->starting_up' on early 9906 1.1 christos returns. 9907 1.1 christos 9908 1.1 christos 2012-03-20 Yao Qi <yao (a] codesourcery.com> 9909 1.1 christos 9910 1.1 christos * amd64-tdep.c (amd64_displaced_step_copy_insn): Complete missing "}" in 9911 1.1 christos comment. 9912 1.1 christos 9913 1.1 christos 2012-03-19 Jan Kratochvil <jan.kratochvil (a] redhat.com> 9914 1.1 christos 9915 1.1 christos Code cleanupp: Use cu_offset and sect_offset compile time type checking. 9916 1.1 christos * dwarf2expr.c (add_piece, dwarf_get_base_type, execute_stack_op) 9917 1.1 christos (ctx_no_dwarf_call, ctx_no_get_base_type): Use cu_offset and 9918 1.1 christos sect_offset. 9919 1.1 christos * dwarf2expr.h (cu_offset, sect_offset): New types. 9920 1.1 christos (struct dwarf_expr_context_funcs) <dwarf_call> 9921 1.1 christos (struct dwarf_expr_context_funcs) <get_base_type>: Use cu_offset and 9922 1.1 christos sect_offset. 9923 1.1 christos (struct dwarf_expr_context) <len>: Improve the comment. 9924 1.1 christos (struct dwarf_expr_piece, ctx_no_dwarf_call, ctx_no_get_base_type): Use 9925 1.1 christos cu_offset and sect_offset. 9926 1.1 christos * dwarf2loc.c (per_cu_dwarf_call, dwarf_expr_dwarf_call) 9927 1.1 christos (dwarf_expr_get_base_type, needs_frame_dwarf_call) 9928 1.1 christos (dwarf2_compile_expr_to_ax, disassemble_dwarf_expression): Likewise. 9929 1.1 christos * dwarf2loc.h: Include dwarf2expr.h. 9930 1.1 christos (dwarf2_fetch_die_location_block, dwarf2_get_die_type): Use cu_offset 9931 1.1 christos and sect_offset. 9932 1.1 christos * dwarf2read.c (struct dwarf2_per_objfile) <debug_types_type_hash>: 9933 1.1 christos Improve the comment. 9934 1.1 christos (struct comp_unit_head, struct dwarf2_cu, struct dwarf2_per_cu_data) 9935 1.1 christos (struct signatured_type, struct line_header, struct partial_die_info) 9936 1.1 christos (struct die_info, find_partial_die, dwarf2_get_ref_die_offset) 9937 1.1 christos (lookup_signatured_type_at_offset, dwarf2_find_containing_comp_unit) 9938 1.1 christos (get_die_type_at_offset, create_cus_from_index) 9939 1.1 christos (create_signatured_type_table_from_index, dw2_get_file_names) 9940 1.1 christos (offset_in_cu_p, read_comp_unit_head, error_check_comp_unit_head) 9941 1.1 christos (read_and_check_comp_unit_head, read_and_check_type_unit_head) 9942 1.1 christos (create_debug_types_hash_table, process_psymtab_comp_unit) 9943 1.1 christos (load_partial_comp_unit, create_all_comp_units) 9944 1.1 christos (partial_die_parent_scope, partial_die_full_name, skip_one_die) 9945 1.1 christos (load_full_comp_unit, dwarf2_physname, read_import_statement) 9946 1.1 christos (inherit_abstract_dies, read_func_scope, read_call_site_scope) 9947 1.1 christos (dwarf2_add_member_fn, process_enumeration_scope, read_module_type) 9948 1.1 christos (read_typedef, die_hash, die_eq, read_full_die, dwarf2_read_abbrevs) 9949 1.1 christos (load_partial_dies, read_partial_die, find_partial_die_in_comp_unit) 9950 1.1 christos (find_partial_die, read_attribute_value, lookup_die_type) 9951 1.1 christos (dump_die_shallow, store_in_ref_table): Use cu_offset and sect_offset. 9952 1.1 christos (is_ref_attr): New function comment. 9953 1.1 christos (dwarf2_get_ref_die_offset): New function comment, new variable retval. 9954 1.1 christos Use cu_offset and sect_offset. 9955 1.1 christos (follow_die_offset, follow_die_ref, dwarf2_fetch_die_location_block) 9956 1.1 christos (dwarf2_get_die_type, follow_die_sig, lookup_signatured_type_at_offset) 9957 1.1 christos (load_full_type_unit, read_signatured_type, per_cu_header_read_in) 9958 1.1 christos (dwarf2_find_containing_comp_unit, struct dwarf2_offset_and_type) 9959 1.1 christos (offset_and_type_hash, offset_and_type_eq, set_die_type) 9960 1.1 christos (get_die_type_at_offset, partial_die_hash, partial_die_eq) 9961 1.1 christos (write_one_signatured_type, write_psymtabs_to_index): Use cu_offset and 9962 1.1 christos sect_offset. 9963 1.1 christos 9964 1.1 christos 2012-03-19 Jan Kratochvil <jan.kratochvil (a] redhat.com> 9965 1.1 christos 9966 1.1 christos Code cleanup. 9967 1.1 christos * python/py-auto-load.c (source_section_scripts): New variable back_to. 9968 1.1 christos Turn fclose and xfree calls into make_cleanup_fclose and make_cleanup 9969 1.1 christos with xfree. 9970 1.1 christos (auto_load_objfile_script): Turn fclose into make_cleanup_fclose. 9971 1.1 christos 9972 1.1 christos 2012-03-19 Jan Kratochvil <jan.kratochvil (a] redhat.com> 9973 1.1 christos 9974 1.1 christos * NEWS: Describe new options --init-command=FILE, -ix and 9975 1.1 christos --init-eval-command=COMMAND, -iex. 9976 1.1 christos * main.c (struct cmdarg): New enum items CMDARG_INIT_FILE and 9977 1.1 christos CMDARG_INIT_COMMAND. 9978 1.1 christos (captured_main): New enum items OPT_IX and OPT_IEX. Add 9979 1.1 christos "init-command", "init-eval-command", "ix" and "iex" to the variable 9980 1.1 christos long_options. Handle OPT_IX and OPT_IEX. Process them from CMDARG_VEC. 9981 1.1 christos New comment for CMDARG_FILE and CMDARG_COMMAND processing. 9982 1.1 christos (print_gdb_help): Describe --init-command=FILE, -ix and 9983 1.1 christos --init-eval-command=COMMAND, -iex. 9984 1.1 christos 9985 1.1 christos 2012-03-19 Jan Kratochvil <jan.kratochvil (a] redhat.com> 9986 1.1 christos 9987 1.1 christos Code cleanup. 9988 1.1 christos * main.c (struct cmdarg): Move it here from main. Add more comments. 9989 1.1 christos (cmdarg_s, VEC (cmdarg_s)): New. 9990 1.1 christos (main): Move struct cmdarg from here. New variables cmdarg_vec and 9991 1.1 christos cmdarg_p. Remove variables cmdsize and ncmd and their initialization. 9992 1.1 christos Install cleanup for cmdarg_vec. Update filling for options 'x' and 9993 1.1 christos 'X'. Replace cmdarg processing by cmdarg_vec processing. Remove xfree 9994 1.1 christos of CMDARG. 9995 1.1 christos 9996 1.1 christos 2012-03-19 Tom Tromey <tromey (a] redhat.com> 9997 1.1 christos 9998 1.1 christos * gnu-v3-abi.c (gnuv3_print_vtable): Initialize 'result_vec'. 9999 1.1 christos 10000 1.1 christos 2012-03-16 Jan Kratochvil <jan.kratochvil (a] redhat.com> 10001 1.1 christos 10002 1.1 christos PR symtab/13777 10003 1.1 christos * dwarf2read.c (process_full_comp_unit): Set LOCATIONS_VALID only for 10004 1.1 christos GCC >=4.5. 10005 1.1 christos 10006 1.1 christos 2012-03-16 Chris January <chris.january (a] allinea.com> 10007 1.1 christos 10008 1.1 christos * tui-tui.win.c (tui_resize_all): Use erase and clearok instead 10009 1.1 christos of clear. 10010 1.1 christos 10011 1.1 christos 2012-03-16 Chris January <chris.january (a] allinea.com> 10012 1.1 christos 10013 1.1 christos * source.c (add_path): Use memmove instead of strcpy because the 10014 1.1 christos strings overlap. 10015 1.1 christos 10016 1.1 christos 2012-03-16 Joel Brobecker <brobecker (a] adacore.com> 10017 1.1 christos 10018 1.1 christos * value.h (set_value_parent): Add declaration. 10019 1.1 christos * value.c (set_value_parent): New function. 10020 1.1 christos (value_address): If VALUE->PARENT is not NULL, then use it as 10021 1.1 christos the base address instead of VALUE->LOCATION.address. 10022 1.1 christos * ada-lang.c (ada_value_primitive_packed_val): Keep V's address 10023 1.1 christos the same as OBJ's address. Adjust V's offset accordingly. 10024 1.1 christos Set V's parent. 10025 1.1 christos 10026 1.1 christos 2012-03-16 Gary Benson <gbenson (a] redhat.com> 10027 1.1 christos 10028 1.1 christos PR breakpoints/10738 10029 1.1 christos * dwarf2read.c (use_deprecated_index_sections): New global. 10030 1.1 christos (struct partial_die_info): New member may_be_inlined. 10031 1.1 christos (read_partial_die): Set may_be_inlined where appropriate. 10032 1.1 christos (add_partial_subprogram): Add partial symbols for partial 10033 1.1 christos DIEs that may be inlined. 10034 1.1 christos (new_symbol_full): Add inlined subroutines to the current 10035 1.1 christos scope. 10036 1.1 christos (write_psymtabs_to_index): Bump version number. 10037 1.1 christos (dwarf2_read_index): Read only version 6 indices unless 10038 1.1 christos use_deprecated_index_sections is set. 10039 1.1 christos * linespec.c (symbol_and_data_callback): New structure. 10040 1.1 christos (iterate_inline_only): New function. 10041 1.1 christos (iterate_over_all_matching_symtabs): New argument 10042 1.1 christos "include_inline". If nonzero, also call the callback for 10043 1.1 christos symbols representing inlined subroutines. 10044 1.1 christos (lookup_prefix_sym): Pass extra argument to the above. 10045 1.1 christos (find_function_symbols): Likewise. 10046 1.1 christos (add_matching_symbols_to_info): Likewise. 10047 1.1 christos * NEWS: Mention that GDB can now set breakpoints on inlined 10048 1.1 christos functions. 10049 1.1 christos 10050 1.1 christos 2012-03-16 Pierre Muller <muller (a] ics.u-strasbg.fr> 10051 1.1 christos 10052 1.1 christos * p-typeprint.c (pascal_type_print_method_args): 10053 1.1 christos Fix display of parameter of methods. 10054 1.1 christos 10055 1.1 christos 2012-03-16 Pierre Muller <muller (a] ics.u-strasbg.fr> 10056 1.1 christos 10057 1.1 christos * amd64-windows-nat.c (_initialize_amd64_windows_nat): 10058 1.1 christos Add missing prototype. 10059 1.1 christos 10060 1.1 christos 2012-03-16 Yao Qi <yao (a] codesourcery.com> 10061 1.1 christos Jan Kratochvil <jan.kratochvil (a] redhat.com> 10062 1.1 christos 10063 1.1 christos Fix false compilation warning. 10064 1.1 christos * gnu-v3-abi.c (print_one_vtable): Initialize ADDR. 10065 1.1 christos 10066 1.1 christos 2012-03-15 Jonathan Larmour <jifl (a] eCosCentric.com> 10067 1.1 christos Pedro Alves <pedro (a] codesourcery.com> 10068 1.1 christos 10069 1.1 christos * arm-tdep.c: Include "remote.h" and "features/arm-with-m-fpa-layout.c". 10070 1.1 christos (arm_register_g_packet_guesses): New function. 10071 1.1 christos (arm_gdbarch_init): Don't force a target description with 10072 1.1 christos registers when the executable is detected as M-profile. Instead 10073 1.1 christos set gdbarch->tdep->is_m. Register `g' packet guesses. 10074 1.1 christos (_initialize_arm_tdep): Initialize the new target description. 10075 1.1 christos * features/arm-with-m-fpa-layout.xml: New description. 10076 1.1 christos * features/arm-with-m-fpa-layout.c: New, generated. 10077 1.1 christos 10078 1.1 christos 2012-03-15 Joel Brobecker <brobecker (a] adacore.com> 10079 1.1 christos 10080 1.1 christos * breakpoint.c (breakpoint_xfer_memory): Add assertion. 10081 1.1 christos Update function description. 10082 1.1 christos (insert_bp_location): Do not wipe bl->target_info out. 10083 1.1 christos * mem-break.c: #include "gdb_string.h". 10084 1.1 christos (default_memory_insert_breakpoint): Do not call target_read_memory 10085 1.1 christos with a pointer to the breakpoint's shadow_contents buffer. Use 10086 1.1 christos a local buffer instead. 10087 1.1 christos * m32r-tdep.c (m32r_memory_insert_breakpoint): Ditto. 10088 1.1 christos 10089 1.1 christos 2012-03-15 Tom Tromey <tromey (a] redhat.com> 10090 1.1 christos 10091 1.1 christos * NEWS: Mention "info vtbl", not "info vtable". 10092 1.1 christos * cp-support.c (info_vtbl_command): Fix comment. 10093 1.1 christos (_initialize_cp_support): Fix text. 10094 1.1 christos 10095 1.1 christos 2012-03-15 Tom Tromey <tromey (a] redhat.com> 10096 1.1 christos 10097 1.1 christos * cp-valprint.c (cp_print_value_fields): Use 10098 1.1 christos print_function_pointer_address for vtable slot. 10099 1.1 christos 10100 1.1 christos 2012-03-15 Tom Tromey <tromey (a] redhat.com> 10101 1.1 christos 10102 1.1 christos * gnu-v3-abi.c (struct value_and_voffset): New. 10103 1.1 christos (hash_value_and_voffset, eq_value_and_voffset) 10104 1.1 christos (compare_value_and_voffset, compute_vtable_size) 10105 1.1 christos (print_one_vtable, gnuv3_print_vtable): New functions. 10106 1.1 christos (init_gnuv3_ops): Initialize 'print_vtable' field. 10107 1.1 christos * cp-support.c (info_vtbl_command): New function. 10108 1.1 christos (_initialize_cp_support): Add "info vtbl". 10109 1.1 christos * cp-abi.h (cplus_print_vtable): Declare. 10110 1.1 christos (struct cp_abi_ops) <print_vtable>: New field. 10111 1.1 christos * cp-abi.c (cplus_print_vtable): New function. 10112 1.1 christos * NEWS: Update. 10113 1.1 christos 10114 1.1 christos 2012-03-15 Tom Tromey <tromey (a] redhat.com> 10115 1.1 christos 10116 1.1 christos * d-lang.c (d_language_defn) <la_iterate_over_symbols>: Set to 10117 1.1 christos iterate_over_symbols. 10118 1.1 christos 10119 1.1 christos 2012-03-14 Doug Evans <dje (a] google.com> 10120 1.1 christos 10121 1.1 christos * dwarf2read.c (dwarf_stack_op_name): Add DW_OP_GNU_encoded_addr, 10122 1.1 christos DW_OP_GNU_parameter_ref. 10123 1.1 christos 10124 1.1 christos 2012-03-14 Jan Kratochvil <jan.kratochvil (a] redhat.com> 10125 1.1 christos 10126 1.1 christos Fix double prompt of 'interpreter-exec mi'. 10127 1.1 christos * mi/mi-interp.c (mi_execute_command_input_handler): New prototype. 10128 1.1 christos (mi_interpreter_resume): use it. 10129 1.1 christos (mi_execute_command_input_handler): New function. 10130 1.1 christos * mi/mi-main.c (mi_execute_command): Move prompt printing to 10131 1.1 christos mi_execute_command_input_handler. 10132 1.1 christos 10133 1.1 christos 2012-03-13 Josh Matthews <josh (a] joshmatthews.net> (tiny change) 10134 1.1 christos 10135 1.1 christos * darwin-nat-info.c (_initialize_darwin_info_commands): Add 10136 1.1 christos prototype. 10137 1.1 christos (darwin_debug_port_info): Make static. 10138 1.1 christos * darwin-nat.c (_initialize_darwin_inferior): Add prototype. 10139 1.1 christos * machoread.c (_initialize_machoread): Add prototype. 10140 1.1 christos * i386-darwin-nat.c (i386_darwin_dr_set, i386_darwin_dr_get) 10141 1.1 christos (i386_darwin_set_control, i386_darwin_get_control) 10142 1.1 christos i386_darwin_dr_set_addr, i386_darwin_get_addr) 10143 1.1 christos i386_darwin_get_status, i386_darwin_get_control): 10144 1.1 christos Comment out with HW_WATCHPOINT_NOT_YET_ENABLED macro. 10145 1.1 christos 10146 1.1 christos 2012-03-13 Joel Brobecker <brobecker (a] adacore.com> 10147 1.1 christos 10148 1.1 christos * ax-gdb.c (gen_usual_unary): Remove special handling of 10149 1.1 christos enum and bool types. 10150 1.1 christos 10151 1.1 christos 2012-03-13 Joel Brobecker <brobecker (a] adacore.com> 10152 1.1 christos 10153 1.1 christos * ax-gdb.c (gen_fetch): Add handling for TYPE_CODE_RANGE types. 10154 1.1 christos 10155 1.1 christos 2012-03-13 Joel Brobecker <brobecker (a] adacore.com> 10156 1.1 christos 10157 1.1 christos * aix-thread.c (supply_fprs): Make more consistent with fill_fprs. 10158 1.1 christos 10159 1.1 christos 2012-03-13 Chris January <chris.january (a] allinea.com> 10160 1.1 christos 10161 1.1 christos * aix-thread.c (fill_sprs): Store the floating point registers 10162 1.1 christos at the correct offsets into vals. 10163 1.1 christos 10164 1.1 christos 2012-03-13 Doug Evans <dje (a] google.com> 10165 1.1 christos 10166 1.1 christos * NEWS: Mention symbol-reloading has been deleted. 10167 1.1 christos * symfile.c (symbol_reloading): Delete. 10168 1.1 christos (show_symbol_reloading): Delete. 10169 1.1 christos (_initialize_symfile): Delete set/show symbol-reloading. 10170 1.1 christos 10171 1.1 christos * dwarf2read.c (load_partial_comp_unit): Defer adding cu to 10172 1.1 christos read_in_chain until we have successfully read it in. 10173 1.1 christos (load_full_comp_unit): Ditto. 10174 1.1 christos (read_signatured_type): Add comment. 10175 1.1 christos 10176 1.1 christos 2012-03-13 Chris January <chris.january (a] allinea.com> 10177 1.1 christos 10178 1.1 christos * stabsread.c (fix_common_block): Change type of valu argument 10179 1.1 christos to CORE_ADDR. 10180 1.1 christos 10181 1.1 christos 2012-03-13 Chris January <chris.january (a] allinea.com> 10182 1.1 christos 10183 1.1 christos * rs6000-tdep.c (skip_prologue): Support the oril r29, r1, 0x0 10184 1.1 christos instruction. 10185 1.1 christos 10186 1.1 christos 2012-03-13 Jan Kratochvil <jan.kratochvil (a] redhat.com> 10187 1.1 christos 10188 1.1 christos * common/linux-procfs.c (linux_proc_get_int): New, from 10189 1.1 christos linux_proc_get_tgid, change its LWPID type to pid_t, add parameter 10190 1.1 christos field. 10191 1.1 christos (linux_proc_get_tgid): Only call linux_proc_get_int. 10192 1.1 christos (linux_proc_get_tracerpid): New. 10193 1.1 christos (linux_proc_pid_has_state): New, from linux_proc_pid_is_zombie. 10194 1.1 christos (linux_proc_pid_is_stopped, linux_proc_pid_is_zombie): Only call 10195 1.1 christos linux_proc_pid_has_state. 10196 1.1 christos * common/linux-procfs.h (linux_proc_get_tracerpid): New declaration. 10197 1.1 christos * common/linux-ptrace.c: Include linux-procfs.h and buffer.h. 10198 1.1 christos (linux_ptrace_attach_warnings): New. 10199 1.1 christos * common/linux-ptrace.h (struct buffer, linux_ptrace_attach_warnings): 10200 1.1 christos New declaration. 10201 1.1 christos * linux-nat.c: Include exceptions.h, linux-ptrace.h and buffer.h. 10202 1.1 christos (linux_nat_attach): New variables ex, buffer, message and message_s. 10203 1.1 christos Wrap to_attach by TRY_CATCH and call linux_ptrace_attach_warnings. 10204 1.1 christos 10205 1.1 christos 2012-03-13 Jan Kratochvil <jan.kratochvil (a] redhat.com> 10206 1.1 christos 10207 1.1 christos * Makefile.in (linux-ptrace.o): New. 10208 1.1 christos * common/linux-procfs.c (linux_proc_pid_is_zombie): New, 10209 1.1 christos from linux-nat.c. 10210 1.1 christos * common/linux-procfs.h (linux_proc_pid_is_zombie): New declaration. 10211 1.1 christos * common/linux-ptrace.c: New file. 10212 1.1 christos * config/alpha/alpha-linux.mh (NATDEPFILES): Add linux-ptrace.o. 10213 1.1 christos * config/arm/linux.mh: Likewise. 10214 1.1 christos * config/i386/linux.mh: Likewise. 10215 1.1 christos * config/i386/linux64.mh: Likewise. 10216 1.1 christos * config/ia64/linux.mh: Likewise. 10217 1.1 christos * config/m32r/linux.mh: Likewise. 10218 1.1 christos * config/m68k/linux.mh: Likewise. 10219 1.1 christos * config/mips/linux.mh: Likewise. 10220 1.1 christos * config/pa/linux.mh: Likewise. 10221 1.1 christos * config/powerpc/linux.mh: Likewise. 10222 1.1 christos * config/powerpc/ppc64-linux.mh: Likewise. 10223 1.1 christos * config/powerpc/spu-linux.mh: Likewise. 10224 1.1 christos * config/s390/s390.mh: Likewise. 10225 1.1 christos * config/sparc/linux.mh: Likewise. 10226 1.1 christos * config/sparc/linux64.mh: Likewise. 10227 1.1 christos * config/xtensa/linux.mh: Likewise. 10228 1.1 christos * linux-nat.c (linux_lwp_is_zombie): Remove, move it to 10229 1.1 christos common/linux-procfs.c. 10230 1.1 christos (wait_lwp): Rename linux_lwp_is_zombie to linux_proc_pid_is_zombie. 10231 1.1 christos 10232 1.1 christos 2012-03-13 Hui Zhu <teawater (a] gmail.com> 10233 1.1 christos Pedro Alves <palves (a] redhat.com> 10234 1.1 christos 10235 1.1 christos * breakpoint.c (init_breakpoint_sal): New flags parameter. Handle 10236 1.1 christos CREATE_BREAKPOINT_FLAGS_INSERTED. 10237 1.1 christos (create_breakpoint_sal, create_breakpoints_sal) 10238 1.1 christos (base_breakpoint_create_breakpoints_sal) 10239 1.1 christos (tracepoint_create_breakpoints_sal) 10240 1.1 christos (strace_marker_create_breakpoints_sal): New flags parameter. Pass 10241 1.1 christos down. 10242 1.1 christos (break_command_1, handle_gnu_v3_exceptions, trace_command) 10243 1.1 christos (ftrace_command, strace_command): Adjust. 10244 1.1 christos (create_tracepoint_from_upload): Pass 10245 1.1 christos CREATE_BREAKPOINT_FLAGS_INSERTED. 10246 1.1 christos * breakpoint.h (enum breakpoint_create_flags): New. 10247 1.1 christos (create_breakpoint): New flags parameter. 10248 1.1 christos * mi/mi-cmd-break.c (mi_cmd_break_insert): Adjust. 10249 1.1 christos * python/py-breakpoint.c (bppy_init): Adjust. 10250 1.1 christos * python/py-finishbreakpoint.c (bpfinishpy_init): Adjust. 10251 1.1 christos * spu-tdep.c (spu_catch_start): Adjust. 10252 1.1 christos 10253 1.1 christos 2012-03-13 Pedro Alves <palves (a] redhat.com> 10254 1.1 christos Hui Zhu <teawater (a] gmail.com> 10255 1.1 christos Yao Qi <yao (a] codesourcery.com> 10256 1.1 christos 10257 1.1 christos * remote.c (struct remote_state): New field `starting_up'. 10258 1.1 christos (remote_start_remote): Set and clear it. 10259 1.1 christos (remote_can_download_tracepoint): If starting up, return false. 10260 1.1 christos 10261 1.1 christos 2012-03-13 Yao Qi <yao (a] codesourcery.com> 10262 1.1 christos 10263 1.1 christos * inferior.h (struct inferior): Remove fields any_syscall_count, 10264 1.1 christos syscalls_counts and total_syscalls_count. Move them to new 10265 1.1 christos struct catch_syscall_inferior_data in breakpoint.c. 10266 1.1 christos * breakpoint.c: Call DEF_VEC_I(int). 10267 1.1 christos (struct catch_syscall_inferior_data): New. 10268 1.1 christos (get_catch_syscall_inferior_data): New. 10269 1.1 christos (catch_syscall_inferior_data_cleanup): New. 10270 1.1 christos (insert_catch_syscall): Update to access data in 10271 1.1 christos struct catch_syscall_inferior_data. 10272 1.1 christos (insert_catch_syscall): Likewise. 10273 1.1 christos (remove_catch_syscall): Likewise. 10274 1.1 christos (remove_catch_syscall): Likewise. 10275 1.1 christos (is_syscall_catchpoint_enabled): Likewise. 10276 1.1 christos (add_catch_command): Likewise. 10277 1.1 christos (_initialize_breakpoint): Register cleanup. 10278 1.1 christos * breakpoint.h: Removed DEF_VEC_I(int). 10279 1.1 christos * dwarf2loc.c: Call DEF_VEC_I(int). 10280 1.1 christos * mi/mi-main.c: Likewise. 10281 1.1 christos 10282 1.1 christos 2012-03-12 Mark Kettenis <kettenis (a] gnu.org> 10283 1.1 christos 10284 1.1 christos * inf-ptrace.c (inf_ptrace_post_attach): Make static. 10285 1.1 christos 10286 1.1 christos 2012-03-12 Chris January <chris.january (a] allinea.com> 10287 1.1 christos 10288 1.1 christos * aix-thread.c (_initialize_aix_thread): Add prototype. 10289 1.1 christos * rs6000-nat.c (_initialize_rs6000_nat): Ditto. 10290 1.1 christos * xcoffsolib.c (_initialize_xcoffsolib): Ditto. 10291 1.1 christos 10292 1.1 christos 2012-03-12 Joel Brobecker <brobecker (a] adacore.com> 10293 1.1 christos 10294 1.1 christos * amd64bsd-nat.c: Move #include of "amd64bsd-nat.h" after 10295 1.1 christos include of "amd64-nat.h". 10296 1.1 christos 10297 1.1 christos 2012-03-12 Tom Tromey <tromey (a] redhat.com> 10298 1.1 christos 10299 1.1 christos * buildsym.c (record_pending_block): Now static. 10300 1.1 christos * buildsym.h: (record_pending_block): Remove. 10301 1.1 christos 10302 1.1 christos 2012-03-12 Andreas Tobler <andreast (a] fgznet.ch> 10303 1.1 christos 10304 1.1 christos * amd64bsd-nat.c: Include amd64bsd-nat.h. 10305 1.1 christos 10306 1.1 christos 2012-03-09 Tom Tromey <tromey (a] redhat.com> 10307 1.1 christos 10308 1.1 christos * dwarf2read.c (struct dwarf2_cu) <checked_producer, 10309 1.1 christos producer_is_gxx_lt_4_6>: New fields. 10310 1.1 christos (producer_is_gxx_lt_4_6): Use and update producer cache fields. 10311 1.1 christos 10312 1.1 christos 2012-03-09 Tom Tromey <tromey (a] redhat.com> 10313 1.1 christos 10314 1.1 christos * dwarf2read.c (dwarf2_attr): Avoid tail-recursive call. 10315 1.1 christos 10316 1.1 christos 2012-03-08 Joel Brobecker <brobecker (a] adacore.com> 10317 1.1 christos 10318 1.1 christos * ravenscar-sparc-thread.c (_initialize_ravenscar_sparc): Add 10319 1.1 christos prototype. 10320 1.1 christos 10321 1.1 christos 2012-03-08 Joel Brobecker <brobecker (a] adacore.com> 10322 1.1 christos 10323 1.1 christos * ravenscar-thread.c (_initialize_ravenscar): Add prototype. 10324 1.1 christos 10325 1.1 christos 2012-03-08 Jan Kratochvil <jan.kratochvil (a] redhat.com> 10326 1.1 christos 10327 1.1 christos Fix -Wmissing-prototypes build. 10328 1.1 christos * arm-linux-nat.c (get_thread_id): Make it static. 10329 1.1 christos * xtensa-linux-nat.c (get_thread_id): Likewise. 10330 1.1 christos 10331 1.1 christos 2012-03-08 Joel Brobecker <brobecker (a] adacore.com> 10332 1.1 christos 10333 1.1 christos * server.c (process_point_options): If a conditional expression 10334 1.1 christos is found, only print a message if remote_debug is nonzero. 10335 1.1 christos 10336 1.1 christos 2012-03-08 Luis Machado <lgustavo (a] codesourcery.com> 10337 1.1 christos 10338 1.1 christos * ax-gdb.c (gen_fetch): Fail gracefully and use error instead 10339 1.1 christos of internal error for unknown/unsupported types. 10340 1.1 christos 10341 1.1 christos 2012-03-08 Jan Kratochvil <jan.kratochvil (a] redhat.com> 10342 1.1 christos 10343 1.1 christos Fix CU relative vs. absolute DIE offsets. 10344 1.1 christos * dwarf2loc.h (dwarf2_fetch_die_location_block): Rename parameter 10345 1.1 christos offset to offset_in_cu. 10346 1.1 christos * dwarf2read.c (process_enumeration_scope): Add CU offset to 10347 1.1 christos TYPE_OFFSET. 10348 1.1 christos (dwarf2_fetch_die_location_block): Rename parameter offset to 10349 1.1 christos offset_in_cu. New variable offset, add CU offset to OFFSET_IN_CU. 10350 1.1 christos 10351 1.1 christos 2012-03-08 Jan Kratochvil <jan.kratochvil (a] redhat.com> 10352 1.1 christos 10353 1.1 christos * libunwind-frame.c: Rename to ... 10354 1.1 christos * ia64-libunwind-tdep.c: ... here. 10355 1.1 christos * libunwind-frame.h: Rename to ... 10356 1.1 christos * ia64-libunwind-tdep.h: ... here. 10357 1.1 christos * Makefile.in (HFILES_NO_SRCDIR): Rename libunwind-frame.h to 10358 1.1 christos ia64-libunwind-tdep.h. 10359 1.1 christos (ALLDEPFILES): Rename libunwind-frame.c to ia64-libunwind-tdep.c. 10360 1.1 christos * README (--with-libunwind): Rename to ... 10361 1.1 christos (--with-libunwind-ia64): ... here, note it is ia64 specific now. 10362 1.1 christos * config.in: Regenerate. 10363 1.1 christos * configure: Regenerate. 10364 1.1 christos * configure.ac: New option --with-libunwind-ia64, make the 10365 1.1 christos AS_HELP_STRING ia64 specific. Deprecate option --with-libunwind. 10366 1.1 christos Remove AC_DEFINE for HAVE_LIBUNWIND. 10367 1.1 christos * ia64-libunwind-tdep.c: Make the file top comment ia64 specific. 10368 1.1 christos Rename libunwind-frame.h #include to ia64-libunwind-tdep.h. 10369 1.1 christos Rename libunwind-frame in the general comment. 10370 1.1 christos * ia64-libunwind-tdep.h: Make the file top comment ia64 specific. 10371 1.1 christos Rename symbol LIBUNWIND_FRAME_H to IA64_TDEP_LIBUNWIND_FRAME_H. 10372 1.1 christos Move forward declarations inside #ifndef. Rename libunwind-frame in 10373 1.1 christos the general comment. 10374 1.1 christos * ia64-tdep.c: Rename libunwind-frame.h #include to 10375 1.1 christos ia64-libunwind-tdep.h. 10376 1.1 christos (ia64_gdb2uw_regnum, ia64_uw2gdb_regnum, ia64_is_fpreg) 10377 1.1 christos (ia64_libunwind_descr): Rename libunwind-frame to 10378 1.1 christos ia64-libunwind-tdep in these function comments. 10379 1.1 christos * ia64-tdep.h: Rename libunwind-frame.h #include to 10380 1.1 christos ia64-libunwind-tdep.h. 10381 1.1 christos * ia64-vms-tdep.c (ia64_vms_libunwind_descr): Rename libunwind-frame to 10382 1.1 christos ia64-libunwind-tdep in that data comment. 10383 1.1 christos 10384 1.1 christos 2012-03-08 Jan Kratochvil <jan.kratochvil (a] redhat.com> 10385 1.1 christos 10386 1.1 christos * libunwind-frame.h (struct frame_unwind): New declaration. 10387 1.1 christos 10388 1.1 christos 2012-03-08 Joel Brobecker <brobecker (a] adacore.com> 10389 1.1 christos 10390 1.1 christos * breakpoint.c (_initialize_breakpoint): Fix error in help of 10391 1.1 christos "set breakpoint condition-evaluation" command. 10392 1.1 christos 10393 1.1 christos 2012-03-08 Tristan Gingold <gingold (a] adacore.com> 10394 1.1 christos 10395 1.1 christos * sparc-stub.c: Move to stubs/ 10396 1.1 christos * sh-stub.c: Likewise. 10397 1.1 christos * m68k-stub.c: Likewise. 10398 1.1 christos * m32r-stub.c: Likewise. 10399 1.1 christos * i386-stub.c: Likewise. 10400 1.1 christos 10401 1.1 christos 2012-03-08 Andreas Schwab <schwab (a] linux-m68k.org> 10402 1.1 christos 10403 1.1 christos * m68klinux-tdep.c (m68k_linux_init_abi): Register 10404 1.1 christos linux_get_siginfo_type. 10405 1.1 christos 10406 1.1 christos * m68klinux-nat.c: Include "gdb_proc_service.h". 10407 1.1 christos (PTRACE_GET_THREAD_AREA): Define. 10408 1.1 christos (ps_get_thread_area): New function. 10409 1.1 christos 10410 1.1 christos 2012-03-08 Yao Qi <yao (a] codesourcery.com> 10411 1.1 christos 10412 1.1 christos * remote.c (remote_get_noisy_reply): Replace `sprintf' with 10413 1.1 christos `xsnprintf'. 10414 1.1 christos (remote_query_attached): Likewise. 10415 1.1 christos (remote_static_tracepoint_marker_at): Likewise. 10416 1.1 christos (remote_set_permissions): Likewise. 10417 1.1 christos (remote_detach_1, extended_remote_attach_1): Likewise. 10418 1.1 christos (send_g_packet, remote_vkill): Likewise. 10419 1.1 christos (extended_remote_disable_randomization): Likewise. 10420 1.1 christos (remote_add_target_side_condition): Likewise. 10421 1.1 christos (remote_insert_breakpoint): Likewise. 10422 1.1 christos (remote_remove_breakpoint): Likewise. 10423 1.1 christos (remote_insert_watchpoint): Likewise. 10424 1.1 christos (remote_remove_watchpoint): Likewise. 10425 1.1 christos (remote_insert_hw_breakpoint): Likewise. 10426 1.1 christos (remote_insert_hw_breakpoint): Likewise. 10427 1.1 christos (remote_remove_hw_breakpoint): Likewise. 10428 1.1 christos (remote_download_command_source): Likewise. 10429 1.1 christos (remote_download_tracepoint): Likewise. 10430 1.1 christos (remote_download_trace_state_variable): Likewise. 10431 1.1 christos (remote_disable_tracepoint): Likewise. 10432 1.1 christos (remote_trace_set_readonly_regions): Likewise. 10433 1.1 christos (remote_get_tracepoint_status): Likewise. 10434 1.1 christos (remote_trace_find): Likewise. 10435 1.1 christos (remote_get_trace_state_variable_value): Likewise. 10436 1.1 christos (remote_set_disconnected_tracing): Likewise. 10437 1.1 christos (remote_set_circular_trace_buffer): Likewise. 10438 1.1 christos (remote_get_min_fast_tracepoint_insn_len): Likewise. 10439 1.1 christos (remote_use_agent): Likewise. 10440 1.1 christos (remote_add_target_side_condition): Add one parameter BUF_SIZE. 10441 1.1 christos Update callers. 10442 1.1 christos 10443 1.1 christos 2012-03-07 Pedro Alves <palves (a] redhat.com> 10444 1.1 christos 10445 1.1 christos * NEWS: Mention QProgramSignals. 10446 1.1 christos * inferior.h (update_signals_program_target): Declare. 10447 1.1 christos * infrun.c: (update_signals_program_target): New. 10448 1.1 christos (handle_command): Update the target of the new program signals 10449 1.1 christos array changes. 10450 1.1 christos * remote.c (PACKET_QProgramSignals): New enum. 10451 1.1 christos (last_program_signals_packet): New global. 10452 1.1 christos (remote_program_signals): New. 10453 1.1 christos (remote_start_remote): Update the target with the program signals 10454 1.1 christos list. 10455 1.1 christos (remote_protocol_features): Add entry for QPassSignals. 10456 1.1 christos (remote_open_1): Free anc clear last_program_signals_packet. 10457 1.1 christos (init_remote_ops): Install remote_program_signals. 10458 1.1 christos * target.c (update_current_target): Adjust. 10459 1.1 christos (target_program_signals): New. 10460 1.1 christos * target.h (struct target_ops) <to_program_signals>: New field. 10461 1.1 christos (target_program_signals): Declare. 10462 1.1 christos 10463 1.1 christos 2012-03-07 Pedro Alves <palves (a] redhat.com> 10464 1.1 christos 10465 1.1 christos * NEWS: Add subtitle for new z0/z1 conditional breakpoint 10466 1.1 christos extensions. 10467 1.1 christos 10468 1.1 christos 2012-03-07 Andreas Schwab <schwab (a] linux-m68k.org> 10469 1.1 christos 10470 1.1 christos * m68klinux-nat.c (getregs_supplies): Make static. 10471 1.1 christos (getfpregs_supplies): Likewise. 10472 1.1 christos (have_ptrace_getregs): Likewise. 10473 1.1 christos 10474 1.1 christos 2012-03-06 Joel Brobecker <brobecker (a] adacore.com> 10475 1.1 christos 10476 1.1 christos * dwarf2read.c (dwarf2_get_die_type): Pass absolute offset 10477 1.1 christos in call to get_die_type_at_offset. 10478 1.1 christos 10479 1.1 christos 2012-03-06 Stan Shebs <stan (a] codesourcery.com> 10480 1.1 christos 10481 1.1 christos * mi/mi-cmd-break.c: Enforce coding standards, fix comments. 10482 1.1 christos * mi/mi-cmd-disas.c: Ditto. 10483 1.1 christos * mi/mi-cmd-env.c: Ditto. 10484 1.1 christos * mi/mi-cmd-file.c: Ditto. 10485 1.1 christos * mi/mi-cmd-stack.c: Ditto. 10486 1.1 christos * mi/mi-cmd-target.c: Ditto. 10487 1.1 christos * mi/mi-cmd-var.c: Ditto. 10488 1.1 christos * mi/mi-cmds.c: Ditto. 10489 1.1 christos * mi/mi-cmds.h: Ditto. 10490 1.1 christos * mi/mi-console.c: Ditto. 10491 1.1 christos * mi/mi-getopt.c: Ditto. 10492 1.1 christos * mi/mi-getopt.h: Ditto. 10493 1.1 christos * mi/mi-interp.c: Ditto. 10494 1.1 christos * mi/mi-main.c: Ditto. 10495 1.1 christos * mi/mi-out.c: Ditto. 10496 1.1 christos * mi/mi-parse.c: Ditto. 10497 1.1 christos * mi/mi-parse.h: Ditto. 10498 1.1 christos * mi/mi-symbol-cmds.c: Ditto. 10499 1.1 christos 10500 1.1 christos * mi/mi-getopt.h: Move mi_opt struct up. 10501 1.1 christos * mi/mi-main.c (captured_mi_execute_command): Remove redundant 10502 1.1 christos return. 10503 1.1 christos * mi/mi-out.c (_initialize_mi_out): Remove empty initialize. 10504 1.1 christos 10505 1.1 christos 2012-03-06 Tom Tromey <tromey (a] redhat.com> 10506 1.1 christos 10507 1.1 christos * proc-service.c (ps_pglobal_lookup): Set the current program 10508 1.1 christos space. 10509 1.1 christos 10510 1.1 christos 2012-03-06 Pedro Alves <palves (a] redhat.com> 10511 1.1 christos 10512 1.1 christos * gregset.h [HAVE_SYS_PROCFS_H]: Include <sys/procfs.h>. 10513 1.1 christos 10514 1.1 christos 2012-03-05 Joel Brobecker <brobecker (a] adacore.com> 10515 1.1 christos 10516 1.1 christos * MAINTAINERS: List Maciej W. Rozycki as the mips maintainer. 10517 1.1 christos 10518 1.1 christos 2012-03-05 Jan Kratochvil <jan.kratochvil (a] redhat.com> 10519 1.1 christos 10520 1.1 christos Code cleanup. 10521 1.1 christos * common/linux-osdata.c (linux_common_core_of_thread): New function 10522 1.1 christos comment. 10523 1.1 christos * linux-nat.c (linux_nat_wait_1): Replace linux_nat_core_of_thread_1 10524 1.1 christos call by linux_common_core_of_thread. 10525 1.1 christos (linux_nat_core_of_thread_1): Remove. 10526 1.1 christos * linux-nat.h (linux_nat_core_of_thread_1): Remove declaration. 10527 1.1 christos * linux-thread-db.c: Include linux-osdata.h. 10528 1.1 christos (update_thread_core): Replace linux_nat_core_of_thread_1 call by 10529 1.1 christos linux_common_core_of_thread. 10530 1.1 christos 10531 1.1 christos 2012-03-05 Tom Tromey <tromey (a] redhat.com> 10532 1.1 christos 10533 1.1 christos * value.c (value_primitive_field): Don't fetch contents for 10534 1.1 christos non-virtual bases. 10535 1.1 christos 10536 1.1 christos 2012-03-05 Tom Tromey <tromey (a] redhat.com> 10537 1.1 christos 10538 1.1 christos * jv-valprint.c (java_value_print): Correctly compute 'obj_addr'. 10539 1.1 christos 10540 1.1 christos 2012-03-05 Andreas Arnez <arnez (a] linux.vnet.ibm.com> 10541 1.1 christos 10542 1.1 christos * s390-nat.c: Include "gregset.h". 10543 1.1 christos 10544 1.1 christos 2012-03-05 Jan Kratochvil <jan.kratochvil (a] redhat.com> 10545 1.1 christos 10546 1.1 christos * libunwind-frame.c (LIBUNWIND_SO): Change .7 to .8. 10547 1.1 christos [!LIBUNWIND_SO] (LIBUNWIND_SO_7): New #define. 10548 1.1 christos (libunwind_load): New variable so_error, use it for dlerror. Try to 10549 1.1 christos load also LIBUNWIND_SO_7. 10550 1.1 christos 10551 1.1 christos 2012-03-05 Pedro Alves <palves (a] redhat.com> 10552 1.1 christos 10553 1.1 christos * i387-tdep.c (i387_supply_xsave): Assert the xsave section buffer 10554 1.1 christos is not NULL, and remove resulting dead code. 10555 1.1 christos 10556 1.1 christos 2012-03-05 Thomas Schwinge <thomas (a] codesourcery.com> 10557 1.1 christos 10558 1.1 christos * sh-tdep.c (sh_skip_prologue): Provide an upper limit on the function 10559 1.1 christos prologue to sh_analyze_prologue. 10560 1.1 christos (sh_analyze_prologue): Make better use of such an upper limit, and 10561 1.1 christos generally be more cautious about accessing memory. 10562 1.1 christos 10563 1.1 christos 2012-03-05 Tom Tromey <tromey (a] redhat.com> 10564 1.1 christos 10565 1.1 christos * ia64-vms-tdep.c (_initialize_ia64_vms_tdep): Rename from 10566 1.1 christos _initialize_ia64_hpux_tdep. 10567 1.1 christos 10568 1.1 christos 2012-03-05 Pedro Alves <palves (a] redhat.com> 10569 1.1 christos 10570 1.1 christos PR gdb/13766 10571 1.1 christos 10572 1.1 christos * i387-tdep.c (i387_supply_xsave): If we have an xsave buffer, and 10573 1.1 christos the register state is clear, supply explicit zero, instead of 10574 1.1 christos marking the register unavailable. 10575 1.1 christos 10576 1.1 christos 2012-03-05 Tristan Gingold <gingold (a] adacore.com> 10577 1.1 christos 10578 1.1 christos * NEWS: Mention OpenVMS ia64 new target. 10579 1.1 christos 10580 1.1 christos 2012-03-05 Tristan Gingold <gingold (a] adacore.com> 10581 1.1 christos 10582 1.1 christos * ia64-tdep.h: Include libunwind-frame.h and libunwind-ia64.h. 10583 1.1 christos (ia64_unw_accessors, ia64_unw_rse_accessors) 10584 1.1 christos (ia64_libunwind_descr): Declare. 10585 1.1 christos * ia64-vms-tdep.c: New file. 10586 1.1 christos * ia64-tdep.c (ia64_unw_accessors, ia64_unw_rse_accessors) 10587 1.1 christos (ia64_libunwind_descr): Make them public. 10588 1.1 christos * configure.tgt: Add ia64-*-*vms*. 10589 1.1 christos * Makefile.in (ALL_64_TARGET_OBS): Add ia64-vms-tdep.o 10590 1.1 christos (ALLDEPFILES): Add ia64-vms-tdep.c 10591 1.1 christos 10592 1.1 christos 2012-03-05 Tristan Gingold <gingold (a] adacore.com> 10593 1.1 christos 10594 1.1 christos * target.h (target_object): Add TARGET_OBJECT_OPENVMS_UIB. 10595 1.1 christos * remote.c (PACKET_qXfer_uib): New enum value. 10596 1.1 christos (remote_protocol_features): Add entry for PACKET_qXfer_uib. 10597 1.1 christos (remote_xfer_partial): Handle TARGET_OBJECT_OPENVMS_UIB. 10598 1.1 christos (_initialize_remote): Call add_packet_config_cmd for 10599 1.1 christos xfer:uib packet. 10600 1.1 christos 10601 1.1 christos 2012-03-05 Tristan Gingold <gingold (a] adacore.com> 10602 1.1 christos 10603 1.1 christos * osabi.c (gdb_osabi_names): Add OpenVMS. 10604 1.1 christos (generic_elf_osabi_sniffer): Likewise. 10605 1.1 christos * defs.h (gdb_osabi): Add GDB_OSABI_OPENVMS. 10606 1.1 christos 10607 1.1 christos 2012-03-04 Jan Kratochvil <jan.kratochvil (a] redhat.com> 10608 1.1 christos 10609 1.1 christos Removed unused code. 10610 1.1 christos * libunwind-frame.c (libunwind_frame_unwind) 10611 1.1 christos (libunwind_frame_base_address): Remove. 10612 1.1 christos * libunwind-frame.h (libunwind_frame_base_address): Remove declaration. 10613 1.1 christos 10614 1.1 christos 2012-03-04 Yao Qi <yao (a] codesourcery.com> 10615 1.1 christos 10616 1.1 christos * common/agent.c (gdb_connect_sync_socket): Add _ markup and 10617 1.1 christos remove trailing new line. 10618 1.1 christos (agent_run_command, agent_run_command): Add _ markup. 10619 1.1 christos (agent_capability_check): Likewise. 10620 1.1 christos 10621 1.1 christos 2012-03-03 Jan Kratochvil <jan.kratochvil (a] redhat.com> 10622 1.1 christos 10623 1.1 christos * breakpoint.c (set_condition_evaluation_mode): Set 10624 1.1 christos CONDITION_EVALUATION_MODE unconditionally. 10625 1.1 christos 10626 1.1 christos 2012-03-03 Yao Qi <yao (a] codesourcery.com> 10627 1.1 christos 10628 1.1 christos * common/agent.c (agent_look_up_symbols): Add one parameter 'arg'. 10629 1.1 christos * common/agent.h: Update declaration. 10630 1.1 christos * inf-child.c (inf_child_use_agent): New. 10631 1.1 christos (inf_child_can_use_agent): New. 10632 1.1 christos (inf_child_target): Initialize fields `to_use_agent' 10633 1.1 christos and `to_can_use_agent'. 10634 1.1 christos * agent.c (agent_new_objfile): New. 10635 1.1 christos (_initialize_agent): Add agent_new_objfile to new_objfile 10636 1.1 christos observer. 10637 1.1 christos 10638 1.1 christos * linux-nat.c (linux_child_static_tracepoint_markers_by_strid): 10639 1.1 christos New. 10640 1.1 christos (linux_target_install_ops): Initialize field 10641 1.1 christos `to_static_tracepoint_markers_by_strid'. 10642 1.1 christos * remote.c (free_current_marker): Move it to ... 10643 1.1 christos * tracepoint.c (free_current_marker): ... here. New. 10644 1.1 christos (cleanup_target_stop): New. 10645 1.1 christos * tracepoint.h: Declare free_current_marker. 10646 1.1 christos * NEWS: Add one entry about `info static-tracepoint-marker'. 10647 1.1 christos 10648 1.1 christos 2012-03-03 Yao Qi <yao (a] codesourcery.com> 10649 1.1 christos 10650 1.1 christos * common/agent.c (agent_loaded_p): New. 10651 1.1 christos (agent_look_up_symbols): New global. 10652 1.1 christos * common/agent.h: Declare agent_loaded_p. 10653 1.1 christos 10654 1.1 christos 2012-03-03 Yao Qi <yao (a] codesourcery.com> 10655 1.1 christos 10656 1.1 christos * common/agent.c (struct ipa_sym_addresses) <addr_capability>: New. 10657 1.1 christos (agent_capability_check, agent_capability_invalidate): New. 10658 1.1 christos (symbol_list): New array element. 10659 1.1 christos * common/agent.h (enum agent_capa): New. 10660 1.1 christos * target.c (target_pre_inferior): Call agent_capability_invalidate. 10661 1.1 christos 10662 1.1 christos 2012-03-03 Yao Qi <yao (a] codesourcery.com> 10663 1.1 christos 10664 1.1 christos * target.h (struct target_ops) <to_use_agent>: New field. 10665 1.1 christos (struct target_ops) <to_can_use_agent>: New field. 10666 1.1 christos (target_use_agent, target_can_use_agent): New macro. 10667 1.1 christos * target.c (update_current_target): Update. 10668 1.1 christos * remote.c: New enum `PACKET_QAgent'. 10669 1.1 christos (remote_protocol_features): Add a new element. 10670 1.1 christos (remote_use_agent, remote_can_use_agent): New. 10671 1.1 christos (init_remote_ops): Initialize field `can_use_agent' with 10672 1.1 christos remote_can_use_agent. Intiailize field `use_agent' with 10673 1.1 christos remote_use_agent. 10674 1.1 christos * common/agent.c (use_agent): New global. 10675 1.1 christos * common/agent.h: Declare it. 10676 1.1 christos * tracepoint.c (info_static_tracepoint_markers_command): Add 10677 1.1 christos comment. 10678 1.1 christos * Makefile.in (SFILES): Add common/agent.c and agent.c. 10679 1.1 christos (COMMON_OBS): Add common/agent.o and agent.o 10680 1.1 christos (common-agent.o): New rule. 10681 1.1 christos * agent.c: New. 10682 1.1 christos 10683 1.1 christos 2012-03-03 Yao Qi <yao (a] codesourcery.com> 10684 1.1 christos 10685 1.1 christos * common/agent.c: New. 10686 1.1 christos * common/agent.h: New. 10687 1.1 christos * configure.ac: Add `sys/socket.h' and `sys/un.h' to 10688 1.1 christos AC_CHECK_HEADERS. 10689 1.1 christos * configure, configh.in: Regenerated. 10690 1.1 christos 10691 1.1 christos 2012-03-02 Kevin Buettner <kevinb (a] redhat.com> 10692 1.1 christos 10693 1.1 christos * sh-tdep.c (sh_frame_cache): Don't fetch the FPSCR register 10694 1.1 christos unless it exists for this architecture. 10695 1.1 christos 10696 1.1 christos 2012-03-02 Joel Brobecker <brobecker (a] adacore.com> 10697 1.1 christos 10698 1.1 christos * language.h (struct language_defn): New "method" la_read_var_value. 10699 1.1 christos * findvar.c: #include "language.h". 10700 1.1 christos (default_read_var_value): Renames read_var_value. Rewrite 10701 1.1 christos function description. 10702 1.1 christos (read_var_value): New function. 10703 1.1 christos * value.h (default_read_var_value): Add prototype. 10704 1.1 christos * ada-lang.c (ada_read_renaming_var_value, ada_read_var_value): 10705 1.1 christos New functions. 10706 1.1 christos (ada_language_defn): Add entry for la_read_var_value. 10707 1.1 christos * c-lang.c, d-lang.c, f-lang.c, jv-lang.c, language.c, 10708 1.1 christos * m2-lang.c, objc-lang.c, opencl-lang.c, p-lang.c: Update 10709 1.1 christos language_defn structures to add entry for new la_read_var_value 10710 1.1 christos field. 10711 1.1 christos 10712 1.1 christos 2012-03-02 Tom Tromey <tromey (a] redhat.com> 10713 1.1 christos Pedro Alves <palves (a] redhat.com> 10714 1.1 christos 10715 1.1 christos PR breakpoints/13776: 10716 1.1 christos * breakpoint.c (breakpoint_init_inferior): Delete step-resume 10717 1.1 christos breakpoints. 10718 1.1 christos (delete_longjmp_breakpoint_at_next_stop): New. 10719 1.1 christos * breakpoint.h (delete_longjmp_breakpoint_at_next_stop): Declare. 10720 1.1 christos * target.c (generic_mourn_inferior): Call mark_breakpoints_out 10721 1.1 christos before deleting the inferior. Add comments. 10722 1.1 christos * thread.c (clear_thread_inferior_resources): Don't delete lonjmp 10723 1.1 christos breakpoints immediately, but only on next stop. Move that code 10724 1.1 christos next to where we mark other breakpoints for deletion. 10725 1.1 christos 10726 1.1 christos 2012-03-02 Joel Brobecker <brobecker (a] adacore.com> 10727 1.1 christos 10728 1.1 christos * mips-linux-nat.c (mips_linux_read_description): Add missing i18n 10729 1.1 christos marker. 10730 1.1 christos * mips-tdep.c (mips_linux_reg_names): Improve comment to avoid ARI 10731 1.1 christos violation. 10732 1.1 christos 10733 1.1 christos 2012-03-02 Pedro Alves <palves (a] redhat.com> 10734 1.1 christos 10735 1.1 christos * linux-thread-db.c (attach_thread): Avoid in_thread_list call. 10736 1.1 christos 10737 1.1 christos 2012-03-02 Ulrich Weigand <uweigand (a] de.ibm.com> 10738 1.1 christos 10739 1.1 christos Fix -Wmissing-prototypes build. 10740 1.1 christos * ppc-linux-nat.c (ppc_linux_get_hwcap): Make static. 10741 1.1 christos * remote-sim.c (gdbsim_has_all_memory): Likewise. 10742 1.1 christos (gdbsim_has_memory): Likewise. 10743 1.1 christos 10744 1.1 christos 2012-03-02 Yao Qi <yao (a] codesourcery.com> 10745 1.1 christos 10746 1.1 christos Fix -Wmissing-prototypes build. 10747 1.1 christos * charset.c (phony_iconv_open): Make static. 10748 1.1 christos (phony_iconv_close, phony_iconv): Likewise. 10749 1.1 christos * i386-linux-nat.c (_initialize_i386_linux_nat): New prototype. 10750 1.1 christos * i386-windows-nat.c (_initialize_i386_windows_nat): New 10751 1.1 christos prototype. 10752 1.1 christos * mingw-hdep.c (_initialize_mingw_hdep): New prototype. 10753 1.1 christos * ser-mingw.c (create_select_thread): Make static. 10754 1.1 christos * windows-termcap.c (tgetent): New prototype. 10755 1.1 christos (tgetnum, tgetflag, tgetstr, tputs, tgoto): Likewise. 10756 1.1 christos 10757 1.1 christos 2012-03-02 Zhang Yuanhui <asmwarrior (a] gmail.com> 10758 1.1 christos 10759 1.1 christos Fix -Wmissing-prototypes build. 10760 1.1 christos * windows-nat.c (dll_symbol_command, ctrl_c_handler): Make them static. 10761 1.1 christos (_initialize_windows_nat, _initialize_check_for_gdb_ini) 10762 1.1 christos (_initialize_loadable): New prototypes. 10763 1.1 christos 10764 1.1 christos 2012-03-02 Doug Evans <dje (a] google.com> 10765 1.1 christos 10766 1.1 christos * dwarf2read.c (load_full_comp_unit): Remove unnecessary reading of 10767 1.1 christos abbrev table, read_comp_unit will do it. 10768 1.1 christos 10769 1.1 christos 2012-03-02 Jan Kratochvil <jan.kratochvil (a] redhat.com> 10770 1.1 christos 10771 1.1 christos Fix -Wmissing-prototypes build. 10772 1.1 christos * alpha-tdep.c (alpha_deal_with_atomic_sequence): Make it static. 10773 1.1 christos * amd64-darwin-tdep.c (_initialize_amd64_darwin_tdep): New prototype. 10774 1.1 christos * amd64-windows-tdep.c (_initialize_amd64_windows_tdep): Likewise. 10775 1.1 christos * arm-symbian-tdep.c (arm_symbian_skip_trampoline_code): Make it static. 10776 1.1 christos (_initialize_arm_symbian_tdep): New prototype. 10777 1.1 christos * arm-wince-tdep.c (arm_wince_skip_main_prologue): Make it static. 10778 1.1 christos * i386-darwin-tdep.c (_initialize_i386_darwin_tdep): New prototype. 10779 1.1 christos * i386-linux-tdep.c (i386_linux_displaced_step_copy_insn): Make it 10780 1.1 christos static. 10781 1.1 christos * lm32-tdep.c (_initialize_lm32_tdep): New prototype. 10782 1.1 christos * microblaze-linux-tdep.c (_initialize_microblaze_linux_tdep): New 10783 1.1 christos prototype. 10784 1.1 christos * microblaze-tdep.c (microblaze_debug, microblaze_fetch_instruction) 10785 1.1 christos (microblaze_skip_prologue, microblaze_frame_cache): Make them static. 10786 1.1 christos * mips-linux-tdep.c (mips_linux_regset_from_core_section): Make it 10787 1.1 christos static. 10788 1.1 christos * moxie-tdep.c (moxie_process_record): Likewise. 10789 1.1 christos * remote-mips.c (mips_can_use_watchpoint, mips_insert_watchpoint) 10790 1.1 christos (mips_remove_watchpoint, mips_stopped_by_watchpoint): Make them static. 10791 1.1 christos * rl78-tdep.c (rl78_breakpoint_from_pc): Make it static. 10792 1.1 christos (_initialize_rl78_tdep): New prototype. 10793 1.1 christos * rx-tdep.c (rx_breakpoint_from_pc): Make it static. 10794 1.1 christos (_initialize_rx_tdep): New prototype. 10795 1.1 christos * solib-darwin.c (darwin_in_dynsym_resolve_code): Make it static. 10796 1.1 christos (_initialize_darwin_solib): New prototype. 10797 1.1 christos * solib-spu.c: Include solib-spu.h. 10798 1.1 christos (_initialize_spu_solib): New prototype. 10799 1.1 christos * spu-multiarch.c (_initialize_spu_multiarch): New prototype. 10800 1.1 christos * tic6x-tdep.c (tic6x_analyze_prologue, tic6x_skip_prologue) 10801 1.1 christos (tic6x_breakpoint_from_pc, tic6x_frame_unwind_cache) 10802 1.1 christos (tic6x_software_single_step): Make it static. 10803 1.1 christos (_initialize_tic6x_tdep): New prototype. 10804 1.1 christos 10805 1.1 christos 2012-03-02 Jan Kratochvil <jan.kratochvil (a] redhat.com> 10806 1.1 christos 10807 1.1 christos Fix -Wmissing-prototypes build. 10808 1.1 christos * cris-tdep.c (cris_can_use_hardware_watchpoint) 10809 1.1 christos (cris_region_ok_for_watchpoint, cris_stopped_data_address): Remove. 10810 1.1 christos 10811 1.1 christos 2012-03-01 Jan Kratochvil <jan.kratochvil (a] redhat.com> 10812 1.1 christos 10813 1.1 christos Fix -Wmissing-prototypes build. 10814 1.1 christos * frv-tdep.c (frv_check_watch_resources, frv_stopped_data_address) 10815 1.1 christos (frv_have_stopped_data_address): Remove. 10816 1.1 christos 10817 1.1 christos 2012-03-01 Jan Kratochvil <jan.kratochvil (a] redhat.com> 10818 1.1 christos 10819 1.1 christos Fix -Wmissing-prototypes build. 10820 1.1 christos * Makefile.in (HFILES_NO_SRCDIR): Add sh64-tdep.h. 10821 1.1 christos * sh-tdep.c: Include sh64-tdep.h. 10822 1.1 christos * sh-tdep.h (sh64_gdbarch_init, sh64_show_regs): Remove declarations. 10823 1.1 christos * sh64-tdep.c: Include sh64-tdep.h. 10824 1.1 christos * sh64-tdep.h: New file. 10825 1.1 christos 10826 1.1 christos 2012-03-01 Maciej W. Rozycki <macro (a] codesourcery.com> 10827 1.1 christos 10828 1.1 christos * mips-tdep.c (mips32_scan_prologue): Correct indentation. 10829 1.1 christos 10830 1.1 christos 2012-03-01 Maciej W. Rozycki <macro (a] codesourcery.com> 10831 1.1 christos 10832 1.1 christos * mips-tdep.c (mips_gdbarch_init): Only set pc_regnum and 10833 1.1 christos sp_regnum once the gdbarch_init_osabi hook has been called. 10834 1.1 christos 10835 1.1 christos 2012-03-01 Maciej W. Rozycki <macro (a] codesourcery.com> 10836 1.1 christos 10837 1.1 christos * mips-tdep.c (mips32_bc1_pc): New function. 10838 1.1 christos (mips32_next_pc): Handle BC1ANY2F, BC1ANY2T, BC1ANY4F, BC1ANY4T, 10839 1.1 christos BPOSGE32 and BPOSGE64 instructions. 10840 1.1 christos (deal_with_atomic_sequence): Likewise. 10841 1.1 christos (mips32_instruction_has_delay_slot): Likewise. 10842 1.1 christos 10843 1.1 christos 2012-03-01 Maciej W. Rozycki <macro (a] mips.com> 10844 1.1 christos Chris Dearman <chris (a] mips.com> 10845 1.1 christos Maciej W. Rozycki <macro (a] codesourcery.com> 10846 1.1 christos Joseph Myers <joseph (a] codesourcery.com> 10847 1.1 christos 10848 1.1 christos * features/mips-dsp.xml: New file. 10849 1.1 christos * features/mips64-dsp.xml: New file. 10850 1.1 christos * features/mips-dsp-linux.xml: New file. 10851 1.1 christos * features/mips64-dsp-linux.xml: New file. 10852 1.1 christos * features/Makefile (WHICH): Add mips-dsp-linux and 10853 1.1 christos mips64-dsp-linux. 10854 1.1 christos (mips-dsp-expedite, mips64-dsp-expedite): New variables. 10855 1.1 christos * features/mips-dsp-linux.c: New file. 10856 1.1 christos * features/mips64-dsp-linux.c: New file. 10857 1.1 christos * regformats/mips-dsp-linux.dat: New file. 10858 1.1 christos * regformats/mips64-dsp-linux.dat: New file. 10859 1.1 christos * mips-linux-nat.c (mips_linux_register_addr): Handle DSP 10860 1.1 christos registers. 10861 1.1 christos (mips64_linux_register_addr): Likewise. 10862 1.1 christos (mips64_linux_regsets_fetch_registers): Likewise. 10863 1.1 christos (mips64_linux_regsets_store_registers): Likewise. 10864 1.1 christos (mips64_linux_fetch_registers): Update call to 10865 1.1 christos mips64_linux_regsets_fetch_registers. 10866 1.1 christos (mips64_linux_store_registers): Update call to 10867 1.1 christos mips64_linux_regsets_store_registers. 10868 1.1 christos (mips_linux_read_description): Probe for DSP registers. 10869 1.1 christos (_initialize_mips_linux_nat): Call initialize_tdesc_mips_dsp_linux 10870 1.1 christos and initialize_tdesc_mips64_dsp_linux. 10871 1.1 christos * mips-linux-tdep.c (supply_gregset, mips64_supply_gregset): 10872 1.1 christos Remove padding of no longer used embedded register slots. 10873 1.1 christos * mips-linux-tdep.h (DSP_BASE, DSP_CONTROL): New macros. 10874 1.1 christos (MIPS_RESTART_REGNUM): Redefine enum value. 10875 1.1 christos * mips-tdep.c (mips_generic_reg_names): Remove trailing null 10876 1.1 christos strings. 10877 1.1 christos (mips_tx39_reg_names): Likewise. 10878 1.1 christos (mips_linux_reg_names): New array of register names for Linux 10879 1.1 christos targets. 10880 1.1 christos (mips_register_name): Check for a null pointer in 10881 1.1 christos mips_processor_reg_names and return an empty string. 10882 1.1 christos (mips_register_type): Exclude embedded registers for the IRIX 10883 1.1 christos and Linux ABIs. 10884 1.1 christos (mips_pseudo_register_type): Likewise. Use dynamic numbers to 10885 1.1 christos refer to FP registers, LO, HI, BadVAddr, Cause and PC. Handle 10886 1.1 christos DSP registers. 10887 1.1 christos (mips_stab_reg_to_regnum): Handle DSP accumulators. 10888 1.1 christos (mips_dwarf_dwarf2_ecoff_reg_to_regnum): Likewise. 10889 1.1 christos (mips_gdbarch_init): Likewise. Initialize internal register 10890 1.1 christos indices for the Linux ABI. Use dynamic numbers to refer to 10891 1.1 christos registers, as applicable, while parsing the target description. 10892 1.1 christos * mips-tdep.h (struct mips_regnum): Add dspacc/dspctl offsets. 10893 1.1 christos 10894 1.1 christos 2012-03-01 Joel Brobecker <brobecker (a] adacore.com> 10895 1.1 christos 10896 1.1 christos * frame.h (read_frame_register_unsigned): Fix typo in function 10897 1.1 christos description. 10898 1.1 christos 10899 1.1 christos 2012-03-01 Pedro Alves <palves (a] redhat.com> 10900 1.1 christos 10901 1.1 christos * jit-reader.in [!__cplusplus] 10902 1.1 christos (GDB_DECLARE_GPL_COMPATIBLE_READER): Add missing backslash. 10903 1.1 christos 10904 1.1 christos 2012-03-01 Pedro Alves <palves (a] redhat.com> 10905 1.1 christos 10906 1.1 christos * configure.ac (build_warnings): Add -Wmissing-prototypes. 10907 1.1 christos * configure: Regenerate. 10908 1.1 christos 10909 1.1 christos 2012-03-01 Pedro Alves <palves (a] redhat.com> 10910 1.1 christos 10911 1.1 christos * amd64-linux-tdep.c (amd64_linux_record_signal): Make static. 10912 1.1 christos * breakpoint.c (create_exception_master_breakpoint, trace_command) 10913 1.1 christos (ftrace_command, strace_command): Make static. 10914 1.1 christos * d-lang.c (_initialize_d_language): Declare. 10915 1.1 christos * dwarf2expr.c (_initialize_dwarf2expr): Declare. 10916 1.1 christos * dwarf2loc.c (_initialize_dwarf2loc): 10917 1.1 christos * dwarf2read.c (process_psymtab_comp_unit): Make static. 10918 1.1 christos * exec.c (exec_get_section_table): Make static. 10919 1.1 christos * i386-linux-tdep.c (i386_linux_record_signal): Make static. 10920 1.1 christos * infcmd.c (ensure_valid_thread, ensure_not_tfind_mode): Make static. 10921 1.1 christos * inferior.c (remove_inferior_command, add_inferior_command) 10922 1.1 christos (clone_inferior_command): Make static. 10923 1.1 christos * linux-nat.c (linux_nat_thread_address_space) 10924 1.1 christos (linux_nat_core_of_thread): Make static. 10925 1.1 christos * linux-tdep.c (_initialize_linux_tdep): Declare. 10926 1.1 christos * objc-lang.c (_initialize_objc_lang): Declare. 10927 1.1 christos * opencl-lang.c (builtin_opencl_type, opencl_language_arch_info): 10928 1.1 christos Make static. 10929 1.1 christos (_initialize_opencl_language): Declare. 10930 1.1 christos * record.c (_initialize_record): Declare. 10931 1.1 christos * remote.c (demand_private_info, remote_get_tib_address) 10932 1.1 christos (remote_supports_cond_tracepoints) 10933 1.1 christos (remote_supports_fast_tracepoints, remote_get_tracepoint_status): 10934 1.1 christos Make static. 10935 1.1 christos * skip.c (_initialize_step_skip): Declare. 10936 1.1 christos * symtab.c (skip_prologue_using_lineinfo): Make static. 10937 1.1 christos * tracepoint.c (delete_trace_state_variable) 10938 1.1 christos (trace_variable_command, delete_trace_variable_command) 10939 1.1 christos (get_uploaded_tsv, find_matching_tracepoint_location) 10940 1.1 christos (find_matching_tsv, create_tsv_from_upload, get_traceframe_info): 10941 1.1 christos Make static. 10942 1.1 christos * value.c (pack_unsigned_long): Make static. 10943 1.1 christos * varobj.c (varobj_ensure_python_env): Make static. 10944 1.1 christos * windows-tdep.c (_initialize_windows_tdep): Declare. 10945 1.1 christos * xml-syscall.c (make_cleanup_free_syscalls_info): Make static. 10946 1.1 christos 10947 1.1 christos 2012-03-01 Pedro Alves <palves (a] redhat.com> 10948 1.1 christos 10949 1.1 christos * linux-tdep.c (linux_has_shared_address_space): Make static. Add 10950 1.1 christos gdbarch parameter. 10951 1.1 christos (linux_init_abi): Install it as has_shared_address_space gdbarch 10952 1.1 christos callback. 10953 1.1 christos 10954 1.1 christos 2012-03-01 Pedro Alves <palves (a] redhat.com> 10955 1.1 christos 10956 1.1 christos * observer.c (observer_test_first_notification_function) 10957 1.1 christos (observer_test_second_notification_function) 10958 1.1 christos (observer_test_third_notification_function): Add declarations. 10959 1.1 christos 10960 1.1 christos 2012-03-01 Pedro Alves <palves (a] redhat.com> 10961 1.1 christos 10962 1.1 christos * common/signals.c (default_target_signal_to_host) 10963 1.1 christos (default_target_signal_from_host): Move ... 10964 1.1 christos * arch-utils.c: ... here. 10965 1.1 christos * arch-utils.h (default_target_signal_to_host) 10966 1.1 christos (default_target_signal_from_host): Declare. 10967 1.1 christos 10968 1.1 christos * common/signals.c (target_signal_from_command): Move ... 10969 1.1 christos * infrun.c: ... here. 10970 1.1 christos * inferior.h (target_signal_from_command): Declare. 10971 1.1 christos * target.h (target_signal_from_command) 10972 1.1 christos (default_target_signal_from_host, default_target_signal_to_host): 10973 1.1 christos Delete declarations. 10974 1.1 christos 10975 1.1 christos * common/signals.c (_initialize_signals): Delete. 10976 1.1 christos 10977 1.1 christos 2012-03-01 Pedro Alves <palves (a] redhat.com> 10978 1.1 christos 10979 1.1 christos * jit-reader.in (plugin_is_GPL_compatible): Add declarations for 10980 1.1 christos both __cplusplus and !__cplusplus. 10981 1.1 christos 10982 1.1 christos 2012-03-01 Pedro Alves <palves (a] redhat.com> 10983 1.1 christos 10984 1.1 christos * psymtab.c (find_and_open_source): Delete declaration. 10985 1.1 christos * source.c (find_and_open_source): Move comment ... 10986 1.1 christos * source.h (find_and_open_source): ... to this new declaration. 10987 1.1 christos 10988 1.1 christos 2012-03-01 Pedro Alves <palves (a] redhat.com> 10989 1.1 christos 10990 1.1 christos * inline-frame.c: Include inline-frame.h. 10991 1.1 christos 10992 1.1 christos 2012-03-01 Pedro Alves <palves (a] redhat.com> 10993 1.1 christos 10994 1.1 christos * tui/tui-data.c (set_gen_win_origin): Delete. 10995 1.1 christos * tui/tui-data.h (tui_set_gen_win_origin): Delete declaration. 10996 1.1 christos * tui/tui-regs.c (tui_last_reg_element_no_in_line): Delete. 10997 1.1 christos 10998 1.1 christos 2012-03-01 Pedro Alves <palves (a] redhat.com> 10999 1.1 christos 11000 1.1 christos * remote.c (encode_actions): Delete declaration. 11001 1.1 christos * tracepoint.c (encode_actions): Make extern. 11002 1.1 christos * tracepoint.h (encode_actions): Declare. 11003 1.1 christos 11004 1.1 christos 2012-03-01 Pedro Alves <palves (a] redhat.com> 11005 1.1 christos 11006 1.1 christos * python/py-breakpoint.c: Include python.h. 11007 1.1 christos * python/py-continueevent.c (create_continue_event_object): Make 11008 1.1 christos static. 11009 1.1 christos * python/py-lazy-string.c (stpy_get_type): Make static. 11010 1.1 christos * python/py-newobjfileevent.c (create_new_objfile_event_object): 11011 1.1 christos Make static. 11012 1.1 christos * python/py-utils.c (unicode_to_target_python_string): Make 11013 1.1 christos static. 11014 1.1 christos * python/py-value.c: Include python.h. 11015 1.1 christos 11016 1.1 christos 2012-03-01 Pedro Alves <palves (a] redhat.com> 11017 1.1 christos 11018 1.1 christos * inferior.c (delete_threads_of_inferior): Delete. 11019 1.1 christos 11020 1.1 christos 2012-03-01 Pedro Alves <palves (a] redhat.com> 11021 1.1 christos 11022 1.1 christos Import fallback definitions from glibc. 11023 1.1 christos 11024 1.1 christos * gdb_proc_service.h [!HAVE_PROC_SERVICE_H] (struct 11025 1.1 christos ps_prochandle): Forward declare. 11026 1.1 christos (ps_err_e): Use glibc's comments. 11027 1.1 christos [!HAVE_PROC_SERVICE_H] (ps_pdread, ps_pdwrite, ps_ptread) 11028 1.1 christos (ps_ptwrite, ps_lgetregs, ps_lsetregs, ps_lgetfpregs) 11029 1.1 christos (ps_lsetfpregs, ps_getpid, ps_get_thread_area, ps_pglobal_lookup) 11030 1.1 christos (ps_pstop, ps_pcontinue, ps_lstop, ps_lcontinue, ps_lgetxregsize) 11031 1.1 christos (ps_lgetxregs, ps_lsetxregs, ps_plog): Declare. 11032 1.1 christos (struct ps_prochandle): Adjust comment. 11033 1.1 christos 11034 1.1 christos 2012-03-01 Pedro Alves <palves (a] redhat.com> 11035 1.1 christos 11036 1.1 christos * ada-lang.c (ada_modulus_from_name): Delete. 11037 1.1 christos * ada-lex.l (lexer_init): Make static. 11038 1.1 christos 11039 1.1 christos 2012-03-01 Pedro Alves <palves (a] redhat.com> 11040 1.1 christos 11041 1.1 christos PR gdb/13767 11042 1.1 christos 11043 1.1 christos * frame.c (read_frame_register_unsigned): New. 11044 1.1 christos * frame.h (read_frame_register_unsigned): Declare. 11045 1.1 christos * i387-tdep.c (print_i387_status_word): New parameter `status_p'. 11046 1.1 christos Handle it. 11047 1.1 christos (print_i387_control_word): New parameter `control_p'. Handle it. 11048 1.1 christos (i387_print_float_info): Handle unavailable float registers. 11049 1.1 christos 11050 1.1 christos 2012-03-01 Keith Seitz <keiths (a] redhat.com> 11051 1.1 christos 11052 1.1 christos * linespec.c (decode_line_2): Sort the list of methods 11053 1.1 christos alphabetically before presenting the user with a selection 11054 1.1 christos menu. 11055 1.1 christos 11056 1.1 christos 2012-03-01 Doug Evans <dje (a] google.com> 11057 1.1 christos 11058 1.1 christos * dwarf2read.c (dwarf2_cu): Remove unused members has_form_ref_addr, 11059 1.1 christos has_namespace_info. 11060 1.1 christos (dwarf2_read_abbrevs): Remove corresponding initialization. 11061 1.1 christos 11062 1.1 christos 2012-03-01 Scott J. Goldman <scottjg (a] vmware.com> 11063 1.1 christos 11064 1.1 christos * NEWS: Mention new python command class gdb.COMMAND_USER. 11065 1.1 christos * cli/cli-cmds.c (show_user): Print error when used on a python 11066 1.1 christos command. 11067 1.1 christos (init_cli_cmds): Update documentation strings for "show user" and 11068 1.1 christos "set/show max-user-call-depth" to clarify that it does not apply to 11069 1.1 christos python commands. 11070 1.1 christos * python/py-cmd.c (cmdpy_init): Treat class_user as a valid class in 11071 1.1 christos error check. 11072 1.1 christos (gdbpy_initialize_commands): Add COMMAND_USER as a constant in 11073 1.1 christos gdb python api. 11074 1.1 christos * top.c (execute_command): Only execute a user-defined command as a 11075 1.1 christos legacy macro if c->user_commands is set. 11076 1.1 christos 11077 1.1 christos 2012-03-01 Tom Tromey <tromey (a] redhat.com> 11078 1.1 christos 11079 1.1 christos * valprint.h (struct generic_val_print_decorations): New. 11080 1.1 christos (generic_val_print): Declare. 11081 1.1 christos * valprint.c (generic_val_print): New function. 11082 1.1 christos * p-valprint.c (p_decorations): New global. 11083 1.1 christos (pascal_val_print) <TYPE_CODE_REF, TYPE_CODE_ENUM, 11084 1.1 christos TYPE_CODE_FLAGS, TYPE_CODE_FUNC, TYPE_CODE_RANGE, TYPE_CODE_INT, 11085 1.1 christos TYPE_CODE_FLT, TYPE_CODE_VOID, TYPE_CODE_ERROR, TYPE_CODE_UNDEF, 11086 1.1 christos TYPE_CODE_BOOL, TYPE_CODE_CHAR>: Call generic_val_print. 11087 1.1 christos * m2-valprint.c (m2_decorations): New global. 11088 1.1 christos (m2_val_print) <TYPE_CODE_REF, TYPE_CODE_ENUM, TYPE_CODE_FUNC, 11089 1.1 christos TYPE_CODE_BOOL, TYPE_CODE_RANGE, TYPE_CODE_INT, TYPE_CODE_CHAR, 11090 1.1 christos TYPE_CODE_FLT, TYPE_CODE_METHOD, TYPE_CODE_VOID, TYPE_CODE_UNDEF, 11091 1.1 christos TYPE_CODE_ERROR>: Call generic_val_print. 11092 1.1 christos * f-valprint.c (f_decorations): New global. 11093 1.1 christos (f_val_print): Use print_function_pointer_address. 11094 1.1 christos <TYPE_CODE_REF, TYPE_CODE_FUNC, TYPE_CODE_CHAR, TYPE_CODE_FLAGS, 11095 1.1 christos TYPE_CODE_FLT, TYPE_CODE_VOID, TYPE_CODE_ENUM, TYPE_CODE_RANGE, 11096 1.1 christos TYPE_CODE_BOOL, TYPE_CODE_COMPLEX, TYPE_CODE_UNDEF>: Call 11097 1.1 christos generic_val_print. 11098 1.1 christos * c-valprint.c (c_decorations): New global. 11099 1.1 christos (c_val_print) <TYPE_CODE_MEMBERPTR, TYPE_CODE_REF, TYPE_CODE_ENUM, 11100 1.1 christos TYPE_CODE_FLAGS, TYPE_CODE_FUNC, TYPE_CODE_METHOD, TYPE_CODE_BOOL, 11101 1.1 christos TYPE_CODE_RANGE, TYPE_CODE_CHAR, TYPE_CODE_FLT, 11102 1.1 christos TYPE_CODE_DECFLOAT, TYPE_CODE_VOID, TYPE_CODE_ERROR, 11103 1.1 christos TYPE_CODE_UNDEF, TYPE_CODE_COMPLEX>: Call generic_val_print. 11104 1.1 christos * ada-valprint.c (ada_val_print_1) <TYPE_CODE_FLAGS>: Remove 11105 1.1 christos case. 11106 1.1 christos 11107 1.1 christos 2012-03-01 Tom Tromey <tromey (a] redhat.com> 11108 1.1 christos 11109 1.1 christos * valprint.c (val_print): Update. 11110 1.1 christos * p-valprint (pascal_val_print): Return void. 11111 1.1 christos * p-lang.h (pascal_val_print): Return void. 11112 1.1 christos * m2-valprint.c (m2_val_print): Return void. 11113 1.1 christos * m2-lang.h (m2_val_print): Return void. 11114 1.1 christos * language.h (struct language_defn) <la_val_print>: Return void. 11115 1.1 christos * language.c (unk_lang_val_print): Return void. 11116 1.1 christos * jv-valprint.c (java_val_print): Return void. 11117 1.1 christos * jv-lang.h (java_val_print): Return void. 11118 1.1 christos * f-valprint.c (f_val_print): Return void. 11119 1.1 christos * f-lang.h (f_val_print): Return void. 11120 1.1 christos * d-valprint.c (d_val_print): Return void. 11121 1.1 christos (dynamic_array_type): Update. 11122 1.1 christos * d-lang.h (d_val_print): Return void. 11123 1.1 christos * c-valprint.c (c_val_print): Return void. 11124 1.1 christos * c-lang.h (c_val_print): Return void. 11125 1.1 christos * ada-valprint.c (ada_vada_val_print, ada_val_print_1): Return 11126 1.1 christos void. 11127 1.1 christos * ada-lang.h (ada_val_print): Return void. 11128 1.1 christos 11129 1.1 christos 2012-03-01 Tom Tromey <tromey (a] redhat.com> 11130 1.1 christos 11131 1.1 christos * value.h (val_print): Return void. 11132 1.1 christos * valprint.c (val_print): Return void. 11133 1.1 christos 11134 1.1 christos 2012-03-01 Tom Tromey <tromey (a] redhat.com> 11135 1.1 christos 11136 1.1 christos * value.h (common_val_print): Return void. 11137 1.1 christos * valprint.c (common_val_print): Return void. 11138 1.1 christos 11139 1.1 christos 2012-03-01 Tom Tromey <tromey (a] redhat.com> 11140 1.1 christos 11141 1.1 christos * value.h (value_print): Return void. 11142 1.1 christos * valprint.c (value_print): Return void. 11143 1.1 christos * p-valprint.c (pascal_value_print): Return void. 11144 1.1 christos * p-lang.h (pascal_value_print): Return void. 11145 1.1 christos * language.h (struct language_defn) <la_value_print>: Return 11146 1.1 christos void. 11147 1.1 christos * language.c (unk_lang_value_print): Return void. 11148 1.1 christos * jv-valprint.c (java_value_print): Return void. 11149 1.1 christos * jv-lang.h (java_value_print): Return void. 11150 1.1 christos * f-valprint.c (c_value_print): Don't declare. 11151 1.1 christos Include c-lang.h. 11152 1.1 christos * c-valprint.c (c_value_print): Return void. 11153 1.1 christos * c-lang.h (c_value_print): Return void. 11154 1.1 christos * ada-valprint.c (ada_value_print): Return void. 11155 1.1 christos * ada-lang.h (ada_value_print): Return void. 11156 1.1 christos 11157 1.1 christos 2012-03-01 Tom Tromey <tromey (a] redhat.com> 11158 1.1 christos 11159 1.1 christos * value.c (value_primitive_field): Handle virtual base classes. 11160 1.1 christos 11161 1.1 christos 2012-03-01 Tom Tromey <tromey (a] redhat.com> 11162 1.1 christos 11163 1.1 christos * gdbtypes.h (struct vbase): Remove. 11164 1.1 christos 11165 1.1 christos 2012-03-01 Tom Tromey <tromey (a] redhat.com> 11166 1.1 christos 11167 1.1 christos * c-valprint.c (print_function_pointer_address): Move... 11168 1.1 christos * valprint.c: ... here. Make non-static. 11169 1.1 christos * m2-valprint.c (print_function_pointer_address): Remove. 11170 1.1 christos * valprint.h (print_function_pointer_address): Declare. 11171 1.1 christos 11172 1.1 christos 2012-03-01 Joel Brobecker <brobecker (a] adacore.com> 11173 1.1 christos 11174 1.1 christos * NEWS: Document the fact that one can provide a condition when 11175 1.1 christos creating an Ada exception catchpoint. 11176 1.1 christos 11177 1.1 christos 2012-03-01 Tom Tromey <tromey (a] redhat.com> 11178 1.1 christos 11179 1.1 christos * valprint.c (val_print_type_code_flags): Fix placement of 11180 1.1 christos trailing brace. 11181 1.1 christos 11182 1.1 christos 2012-03-01 Joel Brobecker <brobecker (a] adacore.com> 11183 1.1 christos 11184 1.1 christos * copyright.py (MULTILINE_COMMENT_PREFIXES): Delete. 11185 1.1 christos (update_files): Do not set MULTILINE_COMMENT_PREFIXES 11186 1.1 christos environment variable before calling update-copyright. 11187 1.1 christos 11188 1.1 christos 2012-03-01 Joel Brobecker <brobecker (a] adacore.com> 11189 1.1 christos 11190 1.1 christos * gnulib/extra/update-copyright: Update to the latest from 11191 1.1 christos gnulib's git repository. 11192 1.1 christos * copyright.py: Set UPDATE_COPYRIGHT_USE_INTERVALS environment 11193 1.1 christos variable to 2 instead of 1. 11194 1.1 christos 11195 1.1 christos 2012-02-29 Joel Brobecker <brobecker (a] adacore.com> 11196 1.1 christos 11197 1.1 christos * varobj.c (c_value_of_variable): Remove dead code. 11198 1.1 christos 11199 1.1 christos 2012-02-29 Joel Brobecker <brobecker (a] adacore.com> 11200 1.1 christos 11201 1.1 christos * ada-lex.p (processId): Do not modify already encoded IDs. 11202 1.1 christos Update function documentation. 11203 1.1 christos 11204 1.1 christos 2012-02-29 Joel Brobecker <brobecker (a] adacore.com> 11205 1.1 christos 11206 1.1 christos * ada-lang.h (ada_find_renaming_symbol): Replace parameter 11207 1.1 christos "name" with "struct symbol *name_sym". 11208 1.1 christos * ada-exp.y (write_var_or_type): Update call to 11209 1.1 christos ada_find_renaming_symbol. 11210 1.1 christos "name" with "struct symbol *name_sym". Adjust Implementation 11211 1.1 christos accordingly. Adjust the function documentation. 11212 1.1 christos 11213 1.1 christos 2012-02-29 Joel Brobecker <brobecker (a] adacore.com> 11214 1.1 christos 11215 1.1 christos * ada-lang.h (ada_find_any_symbol, ada_find_any_type): Delete. 11216 1.1 christos * ada-lang.c (ada_find_any_type): Add advance declaration. 11217 1.1 christos Make static. Replace ada_find_any_symbol by 11218 1.1 christos ada_find_any_type_symbol. 11219 1.1 christos (ada_find_any_type_symbol): Renames ada_find_any_symbol. 11220 1.1 christos Improve function description. Make static. 11221 1.1 christos (ada_find_renaming_symbol, find_old_style_renaming_symbol): 11222 1.1 christos Replace ada_find_any_symbol by ada_find_any_type_symbol. 11223 1.1 christos 11224 1.1 christos 2012-02-29 Joel Brobecker <brobecker (a] adacore.com> 11225 1.1 christos 11226 1.1 christos * ada-lang.c (struct tag_args): Delete. 11227 1.1 christos (ada_get_tsd_type): Function body moved up in source file. 11228 1.1 christos (ada_tag_name_1, ada_tag_name_2): Delete. 11229 1.1 christos (ada_get_tsd_from_tag): New function. 11230 1.1 christos (ada_tag_name_from_tsd): New function. 11231 1.1 christos (ada_tag_name): Use a TRY_CATCH block instead of catch_errors 11232 1.1 christos to determine the tag name. 11233 1.1 christos 11234 1.1 christos 2012-02-29 Joel Brobecker <brobecker (a] adacore.com> 11235 1.1 christos 11236 1.1 christos * ada-lang.h (ada_get_decoded_value, ada_get_decoded_type): Add 11237 1.1 christos declaration. 11238 1.1 christos * ada-lang.c (ada_get_decoded_value, ada_get_decoded_type): New 11239 1.1 christos function. 11240 1.1 christos 11241 1.1 christos 2012-02-29 Joel Brobecker <brobecker (a] adacore.com> 11242 1.1 christos 11243 1.1 christos * ada-lang.c (ada_is_ignored_field): Rewrite wrong comment. 11244 1.1 christos 11245 1.1 christos 2012-02-29 Joel Brobecker <brobecker (a] adacore.com> 11246 1.1 christos 11247 1.1 christos * ada-lang.c (ada_lookup_symbol_list): Only cache the result of 11248 1.1 christos full searches. 11249 1.1 christos 11250 1.1 christos 2012-02-29 Joel Brobecker <brobecker (a] adacore.com> 11251 1.1 christos 11252 1.1 christos * ada-lang.c (constrained_packed_array_type): If there is a 11253 1.1 christos parallel XA type, use it to determine the array index type. 11254 1.1 christos 11255 1.1 christos 2012-02-29 Joel Brobecker <brobecker (a] adacore.com> 11256 1.1 christos 11257 1.1 christos * ada-valprint.c (ada_val_print_1): If our value is a reference 11258 1.1 christos to an array descriptor, dereference it before converting it 11259 1.1 christos to a simple array. 11260 1.1 christos 11261 1.1 christos 2012-02-29 Joel Brobecker <brobecker (a] adacore.com> 11262 1.1 christos 11263 1.1 christos * ada-lang.c (ada_to_fixed_value): Call unwrap_value before 11264 1.1 christos creating fixed value. 11265 1.1 christos (ada_value_ind, ada_coerce_ref, assign_component) 11266 1.1 christos (ada_evaluate_subexp): Remove call to unwrap_value before 11267 1.1 christos call to ada_to_fixed_value. 11268 1.1 christos 11269 1.1 christos 2012-02-29 Joel Brobecker <brobecker (a] adacore.com> 11270 1.1 christos 11271 1.1 christos * ada-lang.c (to_fixed_array_type): Set result's type name. 11272 1.1 christos 11273 1.1 christos 2012-02-29 Joel Brobecker <brobecker (a] adacore.com> 11274 1.1 christos 11275 1.1 christos * ada-lang.c (catch_ada_exception_command_split): Add new 11276 1.1 christos argument cond_string. Add support for condition at end of 11277 1.1 christos "catch exception" commands. 11278 1.1 christos (ada_decode_exception_location): Add new argument cond_string. 11279 1.1 christos Update call to catch_ada_exception_command_split. 11280 1.1 christos (create_ada_exception_catchpoint): Add new argument cond_string. 11281 1.1 christos Set the breakpoint condition if needed. 11282 1.1 christos (catch_ada_exception_command): Update call to 11283 1.1 christos ada_decode_exception_location. 11284 1.1 christos (ada_decode_assert_location): Add function documentation. 11285 1.1 christos Add support for condition at end of "catch assert" command. 11286 1.1 christos (catch_assert_command): Update calls to ada_decode_assert_location 11287 1.1 christos and create_ada_exception_catchpoint. 11288 1.1 christos 11289 1.1 christos 2012-02-29 Jan Kratochvil <jan.kratochvil (a] redhat.com> 11290 1.1 christos 11291 1.1 christos Fix disp-step-syscall.exp: fork: single step over fork. 11292 1.1 christos * i386-linux-tdep.c (-i386_linux_get_syscall_number): Rename to ... 11293 1.1 christos (i386_linux_get_syscall_number_from_regcache): ... here, new function 11294 1.1 christos comment, change parameters gdbarch and ptid to regcache. Remove 11295 1.1 christos parameter regcache, initialize gdbarch from regcache here. 11296 1.1 christos (i386_linux_get_syscall_number, i386_linux_displaced_step_copy_insn): 11297 1.1 christos New functions. 11298 1.1 christos (i386_linux_init_abi): Install i386_linux_displaced_step_copy_insn 11299 1.1 christos instead. 11300 1.1 christos * i386-tdep.c (i386_syscall_p): Check also for 'sysenter' and 11301 1.1 christos 'syscall'. Make the 'int' check more strict. 11302 1.1 christos 11303 1.1 christos 2012-02-29 Jan Kratochvil <jan.kratochvil (a] redhat.com> 11304 1.1 christos 11305 1.1 christos Fix reverse mode for syscall on AMD CPUs in 32-bit mode. 11306 1.1 christos * i386-linux-tdep.c (i386_linux_intx80_sysenter_record): Rename to ... 11307 1.1 christos (i386_linux_intx80_sysenter_syscall_record): ... here. 11308 1.1 christos (i386_linux_init_abi): Initialize also I386_SYSCALL_RECORD. 11309 1.1 christos Use the renamed function name. 11310 1.1 christos 11311 1.1 christos 2012-02-29 Jan Kratochvil <jan.kratochvil (a] redhat.com> 11312 1.1 christos 11313 1.1 christos * arm-linux-tdep.c (arm_linux_copy_svc): Reset stale FRAME. 11314 1.1 christos * breakpoint.c (until_break_command): Likewise. 11315 1.1 christos * elfread.c (elf_gnu_ifunc_resolver_stop): Likewise. 11316 1.1 christos * infcall.c (call_function_by_hand): Likewise. 11317 1.1 christos * infcmd.c (finish_forward): Likewise. 11318 1.1 christos * infrun.c (insert_exception_resume_breakpoint): Likewise. 11319 1.1 christos 11320 1.1 christos 2012-02-28 Tristan Gingold <gingold (a] adacore.com> 11321 1.1 christos 11322 1.1 christos * ada-tasks.c (ada_tasks_inferior_data_sniffer): Rework code to 11323 1.1 christos avoid variable assignments inside condition. 11324 1.1 christos 11325 1.1 christos 2012-02-28 Jan Kratochvil <jan.kratochvil (a] redhat.com> 11326 1.1 christos 11327 1.1 christos Fix static analysis issue found by cppcheck. 11328 1.1 christos * microblaze-tdep.c (microblaze_extract_return_value): Fix 11329 1.1 christos uninitialized BUF for size 2. 11330 1.1 christos 11331 1.1 christos 2012-02-27 Chris Dearman <chris (a] mips.com> 11332 1.1 christos Nathan Froyd <froydnj (a] codesourcery.com> 11333 1.1 christos Maciej W. Rozycki <macro (a] codesourcery.com> 11334 1.1 christos 11335 1.1 christos * mips-tdep.c (mips32_instruction_has_delay_slot): New function. 11336 1.1 christos (mips16_instruction_has_delay_slot): Likewise. 11337 1.1 christos (mips_segment_boundary): Likewise. 11338 1.1 christos (mips_adjust_breakpoint_address): Likewise. 11339 1.1 christos (mips_gdbarch_init): Use mips_adjust_breakpoint_address. 11340 1.1 christos 11341 1.1 christos 2012-02-27 Maciej W. Rozycki <macro (a] mips.com> 11342 1.1 christos Maciej W. Rozycki <macro (a] codesourcery.com> 11343 1.1 christos 11344 1.1 christos * infrun.c (handle_inferior_event): Don't proceed through 11345 1.1 christos shared library trampolines if stepping at the machine 11346 1.1 christos instruction level. 11347 1.1 christos 11348 1.1 christos 2012-02-27 Maciej W. Rozycki <macro (a] codesourcery.com> 11349 1.1 christos 11350 1.1 christos * mips-linux-tdep.c (mips_linux_init_abi): Set num_pseudo_regs 11351 1.1 christos too. 11352 1.1 christos 11353 1.1 christos 2012-02-27 Thomas Schwinge <thomas (a] codesourcery.com> 11354 1.1 christos 11355 1.1 christos * sh-tdep.c (sh_make_stub_cache, sh_stub_this_id) 11356 1.1 christos (sh_stub_unwind_sniffer): New functions. 11357 1.1 christos (sh_stub_unwind): New variable. 11358 1.1 christos (sh_gdbarch_init): Wire everything. 11359 1.1 christos 11360 1.1 christos 2012-02-27 Pedro Alves <palves (a] redhat.com> 11361 1.1 christos 11362 1.1 christos * linux-nat.c (pid_is_stopped): Delete, moved to common/. 11363 1.1 christos (linux_nat_post_attach_wait): Adjust to use 11364 1.1 christos linux_proc_pid_is_stopped. 11365 1.1 christos * common/linux-procfs.h (linux_proc_pid_is_stopped): Declare. 11366 1.1 christos * common/linux-procfs.c (linux_proc_pid_is_stopped): New function, 11367 1.1 christos based on pid_is_stopped from both linux-nat.c and 11368 1.1 christos gdbserver/linux-low.c, and renamed. 11369 1.1 christos 11370 1.1 christos 2012-02-24 Maciej W. Rozycki <macro (a] codesourcery.com> 11371 1.1 christos 11372 1.1 christos * remote.c (remote_watchpoint_addr_within_range): New function. 11373 1.1 christos (init_remote_ops): Use it. 11374 1.1 christos 11375 1.1 christos 2012-02-24 Maciej W. Rozycki <macro (a] codesourcery.com> 11376 1.1 christos 11377 1.1 christos * target.h (target_watchpoint_addr_within_range): Document macro. 11378 1.1 christos 11379 1.1 christos 2012-02-24 Pedro Alves <palves (a] redhat.com> 11380 1.1 christos 11381 1.1 christos * stack.c (set_last_displayed_sal): Issue internal_error instead 11382 1.1 christos of warning, and issue it after clearing the last displayed sal. 11383 1.1 christos 11384 1.1 christos 2012-02-24 Jan Kratochvil <jan.kratochvil (a] redhat.com> 11385 1.1 christos Pedro Alves <palves (a] redhat.com> 11386 1.1 christos 11387 1.1 christos * breakpoint.c (until_break_command): Install breakpoints after 11388 1.1 christos all frame manipulations. 11389 1.1 christos 11390 1.1 christos 2012-02-24 Luis Machado <lgustavo (a] codesourcery.com> 11391 1.1 christos 11392 1.1 christos * remote.c (remote_supports_cond_breakpoints): New forward 11393 1.1 christos declaration. 11394 1.1 christos (remote_add_target_side_condition): New function. 11395 1.1 christos (remote_insert_breakpoint): Add target-side breakpoint 11396 1.1 christos conditional if supported. 11397 1.1 christos (remote_insert_hw_breakpoint): Likewise. 11398 1.1 christos (init_remote_ops): Set to_supports_evaluation_of_breakpoint_conditions 11399 1.1 christos hook. 11400 1.1 christos 11401 1.1 christos * target.c (update_current_target): Inherit 11402 1.1 christos to_supports_evaluation_of_breakpoint_conditions. 11403 1.1 christos Default to_supports_evaluation_of_breakpoint_conditions to return_zero. 11404 1.1 christos 11405 1.1 christos * target.h (struct target_ops) 11406 1.1 christos <to_supports_evaluation_of_breakpoint_conditions>: New field. 11407 1.1 christos (target_supports_evaluation_of_breakpoint_conditions): New #define. 11408 1.1 christos 11409 1.1 christos * breakpoint.c (get_first_locp_gte_addr): New forward declaration. 11410 1.1 christos (condition_evaluation_both, condition_evaluation_auto, 11411 1.1 christos condition_evaluation_host, condition_evaluation_target, 11412 1.1 christos condition_evaluation_enums, condition_evaluation_mode_1, 11413 1.1 christos condition_evaluation_mode): New static globals. 11414 1.1 christos (translate_condition_evaluation_mode): New function. 11415 1.1 christos (breakpoint_condition_evaluation_mode): New function. 11416 1.1 christos (gdb_evaluates_breakpoint_condition_p): New function. 11417 1.1 christos (ALL_BP_LOCATIONS_AT_ADDR): New helper macro. 11418 1.1 christos (mark_breakpoint_modified): New function. 11419 1.1 christos (mark_breakpoint_location_modified): New function. 11420 1.1 christos (set_condition_evaluation_mode): New function. 11421 1.1 christos (show_condition_evaluation_mode): New function. 11422 1.1 christos (bp_location_compare_addrs): New function. 11423 1.1 christos (get_first_location_gte_addr): New helper function. 11424 1.1 christos (set_breakpoint_condition): Free condition bytecode if locations 11425 1.1 christos has become unconditional. Call mark_breakpoint_modified (...). 11426 1.1 christos (condition_command): Call update_global_location_list (1) for 11427 1.1 christos breakpoints. 11428 1.1 christos (breakpoint_xfer_memory): Use is_breakpoint (...). 11429 1.1 christos (is_breakpoint): New function. 11430 1.1 christos (parse_cond_to_aexpr): New function. 11431 1.1 christos (build_target_condition_list): New function. 11432 1.1 christos (insert_bp_location): Handle target-side conditional 11433 1.1 christos breakpoints and call build_target_condition_list (...). 11434 1.1 christos (update_inserted_breakpoint_locations): New function. 11435 1.1 christos (insert_breakpoint_locations): Handle target-side conditional 11436 1.1 christos breakpoints. 11437 1.1 christos (bpstat_check_breakpoint_conditions): Add comment. 11438 1.1 christos (bp_condition_evaluator): New function. 11439 1.1 christos (bp_location_condition_evaluator): New function. 11440 1.1 christos (print_breakpoint_location): Print information on where the condition 11441 1.1 christos will be evaluated. 11442 1.1 christos (print_one_breakpoint_location): Likewise. 11443 1.1 christos (init_bp_location): Call mark_breakpoint_location_modified (...) for 11444 1.1 christos breakpoint location. 11445 1.1 christos (force_breakpoint_reinsertion): New functions. 11446 1.1 christos (update_global_location_list): Handle target-side breakpoint 11447 1.1 christos conditions. 11448 1.1 christos Reinsert locations that are already inserted if conditions have 11449 1.1 christos changed. 11450 1.1 christos (bp_location_dtor): Free agent expression bytecode. 11451 1.1 christos (disable_breakpoint): Call mark_breakpoint_modified (...). 11452 1.1 christos Call update_global_location_list (...) with parameter 1 for breakpoints. 11453 1.1 christos (disable_command): Call mark_breakpoint_location_modified (...). 11454 1.1 christos Call update_global_location_list (...) with parameter 1 for breakpoints. 11455 1.1 christos (enable_breakpoint_disp): Call mark_breakpoint_modified (...). 11456 1.1 christos (enable_command): mark_breakpoint_location_modified (...). 11457 1.1 christos (_initialize_breakpoint): Update documentation and add 11458 1.1 christos condition-evaluation breakpoint subcommand. 11459 1.1 christos 11460 1.1 christos * breakpoint.h: Include ax.h. 11461 1.1 christos (condition_list): New data structure. 11462 1.1 christos (condition_status): New enum. 11463 1.1 christos (bp_target_info) <cond_list>: New field. 11464 1.1 christos (bp_location) <condition_changed, cond_bytecode>: New fields. 11465 1.1 christos (is_breakpoint): New prototype. 11466 1.1 christos 11467 1.1 christos 2012-02-24 Luis Machado <lgustavo (a] codesourcery.com> 11468 1.1 christos 11469 1.1 christos * remote.c (remote_state) <cond_breakpoints>: New field. 11470 1.1 christos (PACKET_ConditionalBreakpoints): New enum. 11471 1.1 christos (remote_cond_breakpoint_feature): New function. 11472 1.1 christos (remote_protocol_features): Add new ConditionalBreakpoints entry. 11473 1.1 christos (remote_supports_cond_breakpoints): New function. 11474 1.1 christos (_initialize_remote): Add new packet configuration for 11475 1.1 christos target-side conditional breakpoints. 11476 1.1 christos 11477 1.1 christos 2012-02-24 Luis Machado <lgustavo (a] codesourcery.com> 11478 1.1 christos 11479 1.1 christos * NEWS: Mention target-side conditional breakpoint support, 11480 1.1 christos new condition-evaluation breakpoint subcommand and remote 11481 1.1 christos packet extensions. 11482 1.1 christos 11483 1.1 christos 2012-02-24 Luis Machado <lgustavo (a] codesourcery.com> 11484 1.1 christos 11485 1.1 christos * breakpoint.c (bp_location_compare): Sort by pspace before sorting by 11486 1.1 christos number. 11487 1.1 christos 11488 1.1 christos 2012-02-24 Thomas Schwinge <thomas (a] codesourcery.com> 11489 1.1 christos 11490 1.1 christos * sh-tdep.c (sh_skip_prologue): Use skip_prologue_using_sal. 11491 1.1 christos (after_prologue): Remove. 11492 1.1 christos 11493 1.1 christos 2012-02-23 Tom Tromey <tromey (a] redhat.com> 11494 1.1 christos 11495 1.1 christos * jv-valprint.c (java_val_print): Remove dead code. 11496 1.1 christos 11497 1.1 christos 2012-02-23 Tristan Gingold <gingold (a] adacore.com> 11498 1.1 christos 11499 1.1 christos * ada-tasks.c (struct ada_tasks_inferior_data): Add 11500 1.1 christos known_tasks_element and known_tasks_length fields. 11501 1.1 christos (read_known_tasks_array): Change argument type. Use pointer type 11502 1.1 christos and number of elements from DATA. Adjust. 11503 1.1 christos (read_known_tasks_list): Likewise. 11504 1.1 christos (get_known_tasks_addr): Remove. 11505 1.1 christos (ada_set_current_inferior_known_tasks_addr): Renamed to ... 11506 1.1 christos (ada_tasks_inferior_data_sniffer): ... this. Use symtab for element 11507 1.1 christos type and array length. Merge former get_known_tasks_addr code. 11508 1.1 christos 11509 1.1 christos 2012-02-23 Jan Kratochvil <jan.kratochvil (a] redhat.com> 11510 1.1 christos 11511 1.1 christos PR backtrace/13716 11512 1.1 christos * infcmd.c (finish_forward): New variable frame_id, initialize it, use 11513 1.1 christos it after set_momentary_breakpoint. 11514 1.1 christos 11515 1.1 christos 2012-02-22 Sterling Augustine <saugustine (a] google.com> 11516 1.1 christos 11517 1.1 christos PR 13689: 11518 1.1 christos * breakpoint.c (watchpoint_exp_is_constant): Add UNOP_CAST to switch. 11519 1.1 christos 11520 1.1 christos 2012-02-22 Gary Benson <gbenson (a] redhat.com> 11521 1.1 christos 11522 1.1 christos * dwarf2read.c (dwarf2_read_index): Correct misspelling. 11523 1.1 christos (find_slot_in_mapped_hash): Likewise. 11524 1.1 christos 11525 1.1 christos 2012-02-21 Jan Kratochvil <jan.kratochvil (a] redhat.com> 11526 1.1 christos 11527 1.1 christos PR build/13638 11528 1.1 christos * configure.ac (MAKEINFO): Replace AC_CHECK_PROG by AC_ARG_VAR. 11529 1.1 christos (MAKEINFOFLAGS): Replace static string by AC_ARG_VAR. 11530 1.1 christos * configure: Regenerate. 11531 1.1 christos 11532 1.1 christos 2012-02-21 Tristan Gingold <gingold (a] adacore.com> 11533 1.1 christos Pedro Alves <palves (a] redhat.com> 11534 1.1 christos 11535 1.1 christos * ia64-tdep.c: Do not include libunwind-ia64.h. 11536 1.1 christos * libunwind-frame.h: Remove #ifdef HAVE_LIBUNWIND_H guard. 11537 1.1 christos Include libunwind-ia64.h instead of libunwind.h. 11538 1.1 christos * configure.ac (--with-libunwind, $enable_libunwind): Don't check 11539 1.1 christos for libunwind.h existence. 11540 1.1 christos * configure, config.in: Regenerate. 11541 1.1 christos 11542 1.1 christos 2012-02-21 Anton Gorenkov <xgsa (a] yandex.ru> 11543 1.1 christos 11544 1.1 christos * c-valprint.c (c_value_print): Use value_rtti_indirect_type 11545 1.1 christos instead of value_rtti_target_type. 11546 1.1 christos * eval.c (evaluate_subexp_standard): Use value_rtti_indirect_type 11547 1.1 christos instead of value_rtti_target_type. 11548 1.1 christos * typeprint.c (whatis_exp): Use value_rtti_indirect_type instead of 11549 1.1 christos value_rtti_target_type. 11550 1.1 christos * valops.c (value_ind): Extract function readjust_indirect_value_type. 11551 1.1 christos (value_rtti_target_type): Rename to ... 11552 1.1 christos (value_rtti_indirect_type): ... here and make it indirect. Update 11553 1.1 christos function comment. 11554 1.1 christos * value.c (readjust_indirect_value_type): New function. 11555 1.1 christos (coerce_ref): Support for enclosing type setting for references 11556 1.1 christos with readjust_indirect_value_type. 11557 1.1 christos * value.h (readjust_value_type): New declaration. 11558 1.1 christos (value_rtti_target_type): Rename to ... 11559 1.1 christos (value_rtti_indirect_type): ... here. 11560 1.1 christos 11561 1.1 christos 2012-02-21 Anton Gorenkov <xgsa (a] yandex.ru> 11562 1.1 christos 11563 1.1 christos * MAINTAINERS (Write After Approval): Add myself to the list. 11564 1.1 christos 11565 1.1 christos 2012-02-20 Doug Evans <dje (a] google.com> 11566 1.1 christos 11567 1.1 christos * objfiles.c (add_to_objfile_sections): Remove outdated comments. 11568 1.1 christos Rename objfile_p_char parameter to objfilep. 11569 1.1 christos (build_objfile_section_table): Result is now void. All callers 11570 1.1 christos updated. 11571 1.1 christos * objfiles.h (struct objfile): Tweak comments, whitespace. 11572 1.1 christos (build_objfile_section_table): Update. 11573 1.1 christos 11574 1.1 christos * elfread.c (elf_symfile_segments): Fix warning text. 11575 1.1 christos 11576 1.1 christos 2012-02-20 Tom Tromey <tromey (a] redhat.com> 11577 1.1 christos 11578 1.1 christos PR gdb/13498: 11579 1.1 christos * dwarf2read.c (dw2_expand_symtabs_matching): Only visit a 11580 1.1 christos particular set of file names once. 11581 1.1 christos (dw2_map_symbol_filenames): Likewise. 11582 1.1 christos 11583 1.1 christos 2012-02-20 Jan Kratochvil <jan.kratochvil (a] redhat.com> 11584 1.1 christos 11585 1.1 christos Code cleanup. 11586 1.1 christos * main.c (write_files): Remove the declaration. 11587 1.1 christos (external_editor_command): Move the declaration ... 11588 1.1 christos [GDBTK] (external_editor_command): ... here. Fix the comment. 11589 1.1 christos 11590 1.1 christos 2012-02-20 Tom Tromey <tromey (a] redhat.com> 11591 1.1 christos 11592 1.1 christos * dwarf2read.c (dw2_map_symtabs_matching_filename): Remove 11593 1.1 christos extraneous block. 11594 1.1 christos 11595 1.1 christos 2012-02-20 Tristan Gingold <gingold (a] adacore.com> 11596 1.1 christos 11597 1.1 christos * darwin-nat.h (enum darwin_msg_state): Add comments. 11598 1.1 christos 11599 1.1 christos 2012-02-20 Tristan Gingold <gingold (a] adacore.com> 11600 1.1 christos 11601 1.1 christos * amd64-darwin-tdep.c (x86_darwin_init_abi_64): Fix jb_pc_offset 11602 1.1 christos value. 11603 1.1 christos 11604 1.1 christos 2012-20-18 Joel Brobecker <brobecker (a] adacore.com> 11605 1.1 christos 11606 1.1 christos * breakpoint.c (watchpoint_exp_is_const): Add missing empty line 11607 1.1 christos between function description and implementation. 11608 1.1 christos 11609 1.1 christos 2012-02-17 Tom Tromey <tromey (a] redhat.com> 11610 1.1 christos 11611 1.1 christos PR python/12070: 11612 1.1 christos * python/py-event.c (event_object_getset): New global. 11613 1.1 christos (event_object_type): Reference it. 11614 1.1 christos * python/py-type.c (field_object_getset): New global. 11615 1.1 christos (field_object_type): Reference it. 11616 1.1 christos * python/python-internal.h (gdb_py_generic_dict): Declare. 11617 1.1 christos * python/py-utils.c (gdb_py_generic_dict): New function. 11618 1.1 christos 11619 1.1 christos 2012-02-17 Tristan Gingold <gingold (a] adacore.com> 11620 1.1 christos 11621 1.1 christos * solib-darwin.c (darwin_current_sos): Check magic and filetype 11622 1.1 christos 11623 1.1 christos 2012-02-17 Thomas Schwinge <thomas (a] codesourcery.com> 11624 1.1 christos 11625 1.1 christos * sh-tdep.c (sh_is_renesas_calling_convention): Fix handling of 11626 1.1 christos TYPE_CALLING_CONVENTION annotation. 11627 1.1 christos 11628 1.1 christos 2012-02-16 Kevin Buettner <kevinb (a] redhat.com> 11629 1.1 christos 11630 1.1 christos * MAINTAINERS: Add rx to target ISA section. 11631 1.1 christos * Makefile.in (ALL_TARGET_OBS): Add rx-tdep.o. 11632 1.1 christos (ALLDEPFILES): Add rx-tdep.c. 11633 1.1 christos 11634 1.1 christos 2012-02-16 Tom Tromey <tromey (a] redhat.com> 11635 1.1 christos 11636 1.1 christos * symfile.c (symbol_file_add_main_1): Use inferior's 11637 1.1 christos symfile_flags. 11638 1.1 christos * solib.c (solib_read_symbols): Use inferior's symfile_flags. 11639 1.1 christos * linux-nat.c (linux_child_follow_fork): Set symfile_flags on 11640 1.1 christos inferior. 11641 1.1 christos * infrun.c (handle_vfork_child_exec_or_exit): Set symfile_flags on 11642 1.1 christos inferior. 11643 1.1 christos (follow_exec): Use inferior's symfile_flags. 11644 1.1 christos * inferior.h (struct inferior) <symfile_flags>: New field. 11645 1.1 christos 11646 1.1 christos 2012-02-16 Mike Frysinger <vapier (a] gentoo.org> 11647 1.1 christos 11648 1.1 christos PR gdb/9734: 11649 1.1 christos * remote-sim.c (gdbsim_create_inferior): Call error() when 11650 1.1 christos sim_create_inferior() fails. 11651 1.1 christos 11652 1.1 christos 2012-02-16 Josh Matthews <josh (a] joshmatthews.net> 11653 1.1 christos 11654 1.1 christos * machoread.c: Initialize nbr_syms to avoid warnings-as-errors failure. 11655 1.1 christos 11656 1.1 christos 2012-02-16 Tom Tromey <tromey (a] redhat.com> 11657 1.1 christos 11658 1.1 christos PR c++/13653: 11659 1.1 christos * thread.c (struct current_thread_cleanup) <was_removable>: New 11660 1.1 christos field. 11661 1.1 christos (restore_current_thread_cleanup_dtor): Restore 'removable' field. 11662 1.1 christos (make_cleanup_restore_current_thread): Initialize new field. 11663 1.1 christos 11664 1.1 christos 2012-02-15 Kevin Buettner <kevinb (a] redhat.com> 11665 1.1 christos 11666 1.1 christos * MAINTAINERS: Add rl78 to target ISA section. 11667 1.1 christos * Makefile.in (ALL_TARGET_OBS): Add rl78-tdep.o. 11668 1.1 christos (ALLDEPFILES): Add rl78-tdep.c. 11669 1.1 christos * NEWS: Mention rl78 as a new target. 11670 1.1 christos 11671 1.1 christos 2012-02-15 Aleksandar Ristovski <aristovski (a] qnx.com> 11672 1.1 christos 11673 1.1 christos * frame.c (find_frame_sal): Initialize sal->pspace field from frame 11674 1.1 christos data. 11675 1.1 christos * stack.c (set_last_displayed_sal): Validate that PSPACE is not NULL. 11676 1.1 christos 11677 1.1 christos 2012-02-15 Tom Tromey <tromey (a] redhat.com> 11678 1.1 christos 11679 1.1 christos PR gdb/12659: 11680 1.1 christos * infcmd.c (registers_info): Print just the current register's 11681 1.1 christos name. 11682 1.1 christos 11683 1.1 christos 2012-02-15 Tom Tromey <tromey (a] redhat.com> 11684 1.1 christos 11685 1.1 christos * python/py-symbol.c (sympy_value): Use _(). 11686 1.1 christos 11687 1.1 christos 2012-02-15 Pedro Alves <palves (a] redhat.com> 11688 1.1 christos 11689 1.1 christos * remote.c (remote_detach_1, extended_remote_attach_1): Tweak 11690 1.1 christos output to be like native targets'. 11691 1.1 christos (remote_pid_to_str): Special case the null ptid. 11692 1.1 christos 11693 1.1 christos 2012-02-14 Stan Shebs <stan (a] codesourcery.com> 11694 1.1 christos 11695 1.1 christos * NEWS: Mention enable count command. 11696 1.1 christos * breakpoint.h (struct breakpoint): New field enable_count. 11697 1.1 christos * breakpoint.c (enable_breakpoint_disp): Add count argument. 11698 1.1 christos (enable_breakpoint): Add arg to call. 11699 1.1 christos (struct disp_data): New struct. 11700 1.1 christos (do_enable_breakpoint_disp): Interp arg as disp_data and unpack. 11701 1.1 christos (do_map_enable_once_breakpoint): Create a struct and pass it. 11702 1.1 christos (do_map_enable_delete_breakpoint): Ditto. 11703 1.1 christos (do_map_enable_count_breakpoint): New function. 11704 1.1 christos (enable_count_command): New function. 11705 1.1 christos (bpstat_stop_status): Decrement enable_count. 11706 1.1 christos (print_one_breakpoint_location): Report enable count. 11707 1.1 christos (_initialize_breakpoint): Add enable count command. 11708 1.1 christos 11709 1.1 christos 2012-02-14 Kevin Buettner <kevinb (a] redhat.com> 11710 1.1 christos 11711 1.1 christos * rl78-tdep.c (reggroups.h): Include. 11712 1.1 christos (RL78_RAW_BANK0_R0_REGNUM, RL78_RAW_BANK0_R1_REGNUM) 11713 1.1 christos (RL78_RAW_BANK0_R2_REGNUM, RL78_RAW_BANK0_R3_REGNUM) 11714 1.1 christos (RL78_RAW_BANK0_R4_REGNUM, RL78_RAW_BANK0_R5_REGNUM) 11715 1.1 christos (RL78_RAW_BANK0_R6_REGNUM, RL78_RAW_BANK0_R7_REGNUM) 11716 1.1 christos (RL78_RAW_BANK1_R0_REGNUM, RL78_RAW_BANK1_R1_REGNUM) 11717 1.1 christos (RL78_RAW_BANK1_R2_REGNUM, RL78_RAW_BANK1_R3_REGNUM) 11718 1.1 christos (RL78_RAW_BANK1_R4_REGNUM, RL78_RAW_BANK1_R5_REGNUM) 11719 1.1 christos (RL78_RAW_BANK1_R6_REGNUM, RL78_RAW_BANK1_R7_REGNUM) 11720 1.1 christos (RL78_RAW_BANK2_R0_REGNUM, RL78_RAW_BANK2_R1_REGNUM) 11721 1.1 christos (RL78_RAW_BANK2_R2_REGNUM, RL78_RAW_BANK2_R3_REGNUM) 11722 1.1 christos (RL78_RAW_BANK2_R4_REGNUM, RL78_RAW_BANK2_R5_REGNUM) 11723 1.1 christos (RL78_RAW_BANK2_R6_REGNUM, RL78_RAW_BANK2_R7_REGNUM) 11724 1.1 christos (RL78_RAW_BANK3_R0_REGNUM, RL78_RAW_BANK3_R1_REGNUM) 11725 1.1 christos (RL78_RAW_BANK3_R2_REGNUM, RL78_RAW_BANK3_R3_REGNUM) 11726 1.1 christos (RL78_RAW_BANK3_R4_REGNUM, RL78_RAW_BANK3_R5_REGNUM) 11727 1.1 christos (RL78_RAW_BANK3_R6_REGNUM, RL78_RAW_BANK3_R7_REGNUM): Add to 11728 1.1 christos beginning of register list. 11729 1.1 christos (RL78_BANK0_R0_REGNUM, RL78_BANK0_R1_REGNUM, RL78_BANK0_R2_REGNUM) 11730 1.1 christos (RL78_BANK0_R3_REGNUM, RL78_BANK0_R4_REGNUM, RL78_BANK0_R5_REGNUM) 11731 1.1 christos (RL78_BANK0_R6_REGNUM, RL78_BANK0_R7_REGNUM, RL78_BANK1_R0_REGNUM) 11732 1.1 christos (RL78_BANK1_R1_REGNUM, RL78_BANK1_R2_REGNUM, RL78_BANK1_R3_REGNUM) 11733 1.1 christos (RL78_BANK1_R4_REGNUM, RL78_BANK1_R5_REGNUM, RL78_BANK1_R6_REGNUM) 11734 1.1 christos (RL78_BANK1_R7_REGNUM, RL78_BANK2_R0_REGNUM, RL78_BANK2_R1_REGNUM) 11735 1.1 christos (RL78_BANK2_R2_REGNUM, RL78_BANK2_R3_REGNUM, RL78_BANK2_R4_REGNUM) 11736 1.1 christos (RL78_BANK2_R5_REGNUM, RL78_BANK2_R6_REGNUM, RL78_BANK2_R7_REGNUM) 11737 1.1 christos (RL78_BANK3_R0_REGNUM, RL78_BANK3_R1_REGNUM, RL78_BANK3_R2_REGNUM) 11738 1.1 christos (RL78_BANK3_R3_REGNUM, RL78_BANK3_R4_REGNUM, RL78_BANK3_R5_REGNUM) 11739 1.1 christos (RL78_BANK3_R6_REGNUM, RL78_BANK3_R7_REGNUM): Move these into 11740 1.1 christos the pseudo registers. Rearrange other pseudo registers too so 11741 1.1 christos that the bank registers appear at the end. 11742 1.1 christos (rl78_register_type): Account for the fact that the byte sized 11743 1.1 christos bank registers are now pseudo-registers. 11744 1.1 christos (rl78_register_name): Rearrange the register name array. Make 11745 1.1 christos initial set of raw banked registers inaccessible. 11746 1.1 christos (rl78_register_reggroup_p, rl78_register_sim_regno): New functions. 11747 1.1 christos (rl78_pseudo_register_read, rl78_pseudo_register_write): Add 11748 1.1 christos case for copying bytes back and forth between raw and pseudo 11749 1.1 christos versions of the banked registers. Update other cases to reflect 11750 1.1 christos the changed names. 11751 1.1 christos (rl78_return_value): Update to account for changed names of 11752 1.1 christos raw registers. 11753 1.1 christos (rl78_gdbarch_init): Register rl78_register_reggroup_p() and 11754 1.1 christos rl78_register_sim_regno(). 11755 1.1 christos 11756 1.1 christos 2012-02-14 Kevin Buettner <kevinb (a] redhat.com> 11757 1.1 christos 11758 1.1 christos * rl78-tdep.c (rl78_skip_prologue): Make `const' the type of 11759 1.1 christos the name parameter being passed to find_pc_partial_function(). 11760 1.1 christos 11761 1.1 christos 2012-02-14 Jan Kratochvil <jan.kratochvil (a] redhat.com> 11762 1.1 christos 11763 1.1 christos * MAINTAINERS: Step down from being ia64 target maintainer. 11764 1.1 christos 11765 1.1 christos 2012-02-12 Jan Kratochvil <jan.kratochvil (a] redhat.com> 11766 1.1 christos 11767 1.1 christos * ppc-linux-nat.c (fetch_register, store_register): Fix GCC aliasing 11768 1.1 christos compilation warning. 11769 1.1 christos 11770 1.1 christos 2012-02-12 Jan Kratochvil <jan.kratochvil (a] redhat.com> 11771 1.1 christos 11772 1.1 christos Fix crash on loaded shlibs without loaded exec_bfd. 11773 1.1 christos * exec.c (exec_files_info): Do not crash on NULL EXEC_BFD. 11774 1.1 christos (set_section_command): Replace exec_bfd by p->bfd. 11775 1.1 christos 11776 1.1 christos 2012-02-10 Tom Tromey <tromey (a] redhat.com> 11777 1.1 christos 11778 1.1 christos * linespec.c (decode_line_internal): Skip symtabs_from_filename 11779 1.1 christos when we have a C++ qualified name. 11780 1.1 christos 11781 1.1 christos 2012-02-10 Pedro Alves <palves (a] redhat.com> 11782 1.1 christos 11783 1.1 christos * inferior.c (inferior_pid_to_str): New. 11784 1.1 christos (print_inferior, inferior_command): Use it. 11785 1.1 christos 11786 1.1 christos 2012-02-10 Pedro Alves <palves (a] redhat.com> 11787 1.1 christos 11788 1.1 christos * configure.ac (HAVE_ELF test): Put the old CFLAGS at the end of 11789 1.1 christos the test CFLAGS. 11790 1.1 christos * configure: Regenerate. 11791 1.1 christos 11792 1.1 christos 2012-02-10 Jan Kratochvil <jan.kratochvil (a] redhat.com> 11793 1.1 christos 11794 1.1 christos * linespec.c (decode_line_internal): Fix comment correctness. 11795 1.1 christos 11796 1.1 christos 2012-02-09 Valery Khromov <valery.khromov (a] gmail.com> 11797 1.1 christos 11798 1.1 christos PR gdb/12953 11799 1.1 christos * Makefile.in (HFILES_NO_SRCDIR): Add amd64bsd-nat.h. 11800 1.1 christos * amd64bsd-nat.c: Add support for debug registers (adapted from 11801 1.1 christos i386bsd-nat.c). 11802 1.1 christos [HAVE_PT_GETDBREGS] (amd64bsd_dr_get, amd64bsd_dr_set) 11803 1.1 christos (amd64bsd_dr_set_control, amd64bsd_dr_set_addr) 11804 1.1 christos (amd64bsd_dr_get_addr, amd64bsd_dr_get_status) 11805 1.1 christos (amd64bsd_dr_get_control): New functions. 11806 1.1 christos * amd64bsd-nat.h: New file (adapted from i386bsd-nat.h). 11807 1.1 christos * amd64fbsd-nat.c: Include "amd64bsd-nat.h", "i386-nat.h". 11808 1.1 christos [HAVE_PT_GETDBREGS] (_initialize_amd64fbsd_nat): Add hardware 11809 1.1 christos watchpoints initialization. 11810 1.1 christos * config/i386/fbsd64.mh (NATDEPFILES): Add i386-nat.o. 11811 1.1 christos 11812 1.1 christos 2012-02-09 Jan Kratochvil <jan.kratochvil (a] redhat.com> 11813 1.1 christos 11814 1.1 christos * gdb-gdb.py (StructMainTypePrettyPrinter) <struct_field_img>: Print 11815 1.1 christos flds_bnds.fields. 11816 1.1 christos (StructMainTypePrettyPrinter) <bounds_img>: Print flds_bnds.bounds. 11817 1.1 christos 11818 1.1 christos 2012-02-09 Jan Kratochvil <jan.kratochvil (a] redhat.com> 11819 1.1 christos 11820 1.1 christos * breakpoint.c (bp_location_compare): Fix comment. Reindent the code. 11821 1.1 christos 11822 1.1 christos 2012-02-08 Joel Brobecker <brobecker (a] adacore.com> 11823 1.1 christos 11824 1.1 christos * language.h (symbol_name_cmp_ftype): Renames 11825 1.1 christos symbol_name_match_p_ftype. 11826 1.1 christos (struct language_defn)[la_get_symbol_name_cmp]: Renames 11827 1.1 christos la_get_symbol_name_match_p. 11828 1.1 christos * ada-lang.c (ada_get_symbol_name_cmp): Renames 11829 1.1 christos ada_get_symbol_name_match_p. Update comment. 11830 1.1 christos (ada_language_defn)[la_get_symbol_name_cmp]: Update value. 11831 1.1 christos * linespec.c (struct symbol_matcher_data)[symbol_name_cmp]: 11832 1.1 christos Renames symbol_name_match_p. Update field type. 11833 1.1 christos (iterate_name_matcher, iterate_over_all_matching_symtabs): Adjust. 11834 1.1 christos * c-lang.c, d-lang.c, f-lang.c, jv-lang.c, m2-lang.c, objc-lang.c, 11835 1.1 christos opencl-lang.c, p-lang.c: Replace "la_get_symbol_name_match_p" by 11836 1.1 christos "la_get_symbol_name_cmp" in comments. 11837 1.1 christos * language.c: Likewise. 11838 1.1 christos 11839 1.1 christos 2012-02-08 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE> 11840 1.1 christos 11841 1.1 christos * amd64-sol2-tdep.c (amd64_sol2_gregset_reg_offset): Correct 11842 1.1 christos %eflags offset. 11843 1.1 christos * i386-sol2-nat.c (amd64_sol2_gregset64_reg_offs) 11844 1.1 christos (amd64_sol2_gregset32_reg_offs): Likewise. 11845 1.1 christos 11846 1.1 christos 2012-02-08 Joel Brobecker <brobecker (a] adacore.com> 11847 1.1 christos 11848 1.1 christos * solib-darwin.c (darwin_bfd_open): Make sure that the filename 11849 1.1 christos of the returned BFD is allocated by GDB. 11850 1.1 christos 11851 1.1 christos 2012-02-07 Tom Tromey <tromey (a] redhat.com> 11852 1.1 christos 11853 1.1 christos PR python/12027: 11854 1.1 christos * python/python-internal.h (frame_object_type): Declare. 11855 1.1 christos * python/py-symbol.c (sympy_needs_frame): New function. 11856 1.1 christos (sympy_value): New function. 11857 1.1 christos (symbol_object_getset): Add "needs_frame". 11858 1.1 christos (symbol_object_methods): Add "value". 11859 1.1 christos * python/py-frame.c (frame_object_type): No longer static. 11860 1.1 christos 11861 1.1 christos 2012-02-07 Tom Tromey <tromey (a] redhat.com> 11862 1.1 christos 11863 1.1 christos PR python/13599: 11864 1.1 christos * python/py-symbol.c (sympy_line): New function. 11865 1.1 christos (symbol_object_getset): Add "line". 11866 1.1 christos 11867 1.1 christos 2012-02-07 Tom Tromey <tromey (a] redhat.com> 11868 1.1 christos 11869 1.1 christos * charset.c (find_charset_names): Check 'in' against NULL. 11870 1.1 christos 11871 1.1 christos 2012-02-06 Doug Evans <dje (a] google.com> 11872 1.1 christos 11873 1.1 christos * gdbtypes.h (struct main_type): Change type of name,tag_name, 11874 1.1 christos and fields.name members from char * to const char *. All uses updated. 11875 1.1 christos (struct cplus_struct_type): Change type of fn_fieldlists.name member 11876 1.1 christos from char * to const char *. All uses updated. 11877 1.1 christos (type_name_no_tag): Update. 11878 1.1 christos (lookup_unsigned_typename, lookup_signed_typename): Update. 11879 1.1 christos * gdbtypes.c (type_name_no_tag): Change result type 11880 1.1 christos from char * to const char *. All callers updated. 11881 1.1 christos (lookup_unsigned_typename, lookup_signed_typename): Change type of 11882 1.1 christos name parameter from char * to const char *. 11883 1.1 christos * symtab.h (struct cplus_specific): Change type of demangled_name 11884 1.1 christos member from char * to const char *. All uses updated. 11885 1.1 christos (struct general_symbol_info): Change type of name and 11886 1.1 christos mangled_lang.demangled_name members from char * to const char *. 11887 1.1 christos All uses updated. 11888 1.1 christos (symbol_get_demangled_name, symbol_natural_name): Update. 11889 1.1 christos (symbol_demangled_name, symbol_search_name): Update. 11890 1.1 christos * symtab.c (symbol_get_demangled_name): Change result type 11891 1.1 christos from char * to const char *. All callers updated. 11892 1.1 christos (symbol_natural_name, symbol_demangled_name): Ditto. 11893 1.1 christos (symbol_search_name): Ditto. 11894 1.1 christos (completion_list_add_name): Change type of symname,sym_text, 11895 1.1 christos text,word parameters from char * to const char *. 11896 1.1 christos (completion_list_objc_symbol): Change type of sym_text, 11897 1.1 christos text,word parameters from char * to const char *. 11898 1.1 christos * ada-lang.c (find_struct_field): Change type of name parameter 11899 1.1 christos from char * to const char *. 11900 1.1 christos (encoded_ordered_before): Similarly for N0,N1 parameters. 11901 1.1 christos (old_renaming_is_invisible): Similarly for function_name parameter. 11902 1.1 christos (ada_type_name): Change result type from char * to const char *. 11903 1.1 christos All callers updated. 11904 1.1 christos * ada-lang.h (ada_type_name): Update. 11905 1.1 christos * buildsym.c (hashname): Change type of name parameter 11906 1.1 christos from char * to const char *. 11907 1.1 christos * buildsym.h (hashname): Update. 11908 1.1 christos * dbxread.c (end_psymtab): Change type of include_list parameter 11909 1.1 christos from char ** to const char **. 11910 1.1 christos * dwarf2read.c (determine_prefix): Change result type 11911 1.1 christos from char * to const char *. All callers updated. 11912 1.1 christos * f-lang.c (find_common_for_function): Change type of name, funcname 11913 1.1 christos parameters from char * to const char *. 11914 1.1 christos * f-lang.c (find_common_for_function): Update. 11915 1.1 christos * f-valprint.c (list_all_visible_commons): Change type of funcname 11916 1.1 christos parameters from char * to const char *. 11917 1.1 christos * gdbarch.sh (static_transform_name): Change type of name parameter 11918 1.1 christos and result from char * to const char *. 11919 1.1 christos * gdbarch.c: Regenerate. 11920 1.1 christos * gdbarch.h: Regenerate. 11921 1.1 christos * i386-sol2-tdep.c (i386_sol2_static_transform_name): Change type 11922 1.1 christos of name parameter from char * to const char *. 11923 1.1 christos * jv-lang.c (java_primitive_type_from_name): Ditto. 11924 1.1 christos (java_demangled_signature_length): Similarly for signature parameter. 11925 1.1 christos (java_demangled_signature_copy): Ditto. 11926 1.1 christos (java_demangle_type_signature): Ditto. 11927 1.1 christos * jv-lang.h (java_primitive_type_from_name): Update. 11928 1.1 christos (java_demangle_type_signature): Update. 11929 1.1 christos * objc-lang.c (specialcmp): Change type of a,b parameters 11930 1.1 christos from char * to const char *. 11931 1.1 christos * p-lang.c (is_pascal_string_type): Change type of arrayname parameter 11932 1.1 christos from char * to const char *. All callers updated. 11933 1.1 christos * p-lang.h (is_pascal_string_type): Update. 11934 1.1 christos * solib-frv.c (find_canonical_descriptor_in_load_object): Change type 11935 1.1 christos of name parameter from char * to const char *. 11936 1.1 christos * sparc-sol2-tdep.c (sparc_sol2_static_transform_name): Ditto. 11937 1.1 christos * utils.c (fprintf_symbol_filtered): Ditto. 11938 1.1 christos * defs.h (fprintf_symbol_filtered): Update. 11939 1.1 christos * sparc-tdep.h (sparc_sol2_static_transform_name): Update. 11940 1.1 christos * stabsread.h (end_psymtab): Update. 11941 1.1 christos * stack.c (find_frame_funname): Change type of funname parameter 11942 1.1 christos from char ** to const char **. 11943 1.1 christos * stack.h (find_frame_funname): Update. 11944 1.1 christos * typeprint.c (type_print): Change type of varstring parameter 11945 1.1 christos from char * to const char *. 11946 1.1 christos * value.h (type_print): Update. 11947 1.1 christos * xcoffread.c (xcoff_start_psymtab): Change type of filename parameter 11948 1.1 christos from char * to const char *. All callers updated. 11949 1.1 christos (xcoff_end_psymtab): Change type of include_list parameter 11950 1.1 christos from char ** to const char **. All callers updated. 11951 1.1 christos (swap_sym): Similarly for name parameter. All callers updated. 11952 1.1 christos * coffread.c (patch_type): Add (char*) cast to xfree parameter. 11953 1.1 christos Use xstrdup. 11954 1.1 christos (process_coff_symbol): Use xstrdup. 11955 1.1 christos * stabsread.c (stabs_method_name_from_physname): Renamed from 11956 1.1 christos update_method_name_from_physname. Change result type from void 11957 1.1 christos to char *. All callers updated. 11958 1.1 christos (read_member_functions): In has_destructor case, store name in objfile 11959 1.1 christos obstack instead of malloc space. In !has_stub case, fix mem leak. 11960 1.1 christos 11961 1.1 christos 2012-02-06 Luca Pizzamiglio <luca.pizzamiglio (a] gmail.com> 11962 1.1 christos 11963 1.1 christos * configure: Rebuild. 11964 1.1 christos * configure.ac: Put -L../bfd and -L../libiberty at the front of 11965 1.1 christos LDFLAGS. 11966 1.1 christos 11967 1.1 christos 2012-02-03 Kevin Buettner <kevinb (a] redhat.com> 11968 1.1 christos 11969 1.1 christos * configure.tgt (rl78-*-elf): New target. 11970 1.1 christos * rl78-tdep.c: New file. 11971 1.1 christos 11972 1.1 christos 2012-02-03 Philippe Waroquiers <philippe.waroquiers (a] skynet.be> 11973 1.1 christos 11974 1.1 christos * remote.c (remote_rcmd): Use getpkt_sane to detect timeout 11975 1.1 christos and continue the loop. Add QUIT statement. 11976 1.1 christos 11977 1.1 christos 2012-02-03 Tom Tromey <tromey (a] redhat.com> 11978 1.1 christos 11979 1.1 christos PR gdb/13596: 11980 1.1 christos * solib.h (gdb_bfd_lookup_symbol_from_symtab): Rename from 11981 1.1 christos bfd_lookup_symbol_from_symtab. 11982 1.1 christos * solib-pa64.c (pa64_solib_create_inferior_hook): Use 11983 1.1 christos gdb_bfd_lookup_symbol_from_symtab. 11984 1.1 christos 11985 1.1 christos 2012-02-03 Joel Brobecker <brobecker (a] adacore.com> 11986 1.1 christos 11987 1.1 christos * mi/mi-cmd-stack.c (list_args_or_locals): For argument symbols, 11988 1.1 christos use SYMBOL_LINKAGE_NAME to find the corresponding non-argument 11989 1.1 christos symbol. Add assertion that sym2 is never NULL. 11990 1.1 christos 11991 1.1 christos 2012-02-02 Doug Evans <dje (a] google.com> 11992 1.1 christos 11993 1.1 christos * blockframe.c (find_pc_partial_function_gnu_ifunc): Change type of 11994 1.1 christos "name" parameter to const char ** from char **. All callers updated. 11995 1.1 christos (find_pc_partial_function): Ditto. 11996 1.1 christos (cache_pc_function_name): Change type to const char * from char *. 11997 1.1 christos * symtab.h ((find_pc_partial_function_gnu_ifunc): Update. 11998 1.1 christos (find_pc_partial_function): Update. 11999 1.1 christos * alpha-tdep.h (struct gdbarch_tdep, member pc_in_sigtramp): Change 12000 1.1 christos type of "name" parameter to const char * from char *. 12001 1.1 christos All uses updated. 12002 1.1 christos * arch-utils.c (generic_in_solib_return_trampoline): Change 12003 1.1 christos type of "name" parameter to const char * from char *. 12004 1.1 christos * arch-utils.h (generic_in_solib_return_trampoline): Update. 12005 1.1 christos * frv-linux-tdep.c (frv_linux_pc_in_sigtramp): Change 12006 1.1 christos type of "name" parameter to const char * from char *. 12007 1.1 christos * gdbarch.sh (in_solib_return_trampoline): Ditto. 12008 1.1 christos * gdbarch.c: Regenerate. 12009 1.1 christos * gdbarch.h: Regenerate. 12010 1.1 christos * hppa-hpux-tdep.c (hppa_hpux_in_solib_return_trampoline): Update. 12011 1.1 christos * rs6000-tdep.c (rs6000_in_solib_return_trampoline): Update. 12012 1.1 christos * m32r-linux-tdep.c (m32r_linux_pc_in_sigtramp): Change 12013 1.1 christos type of "name" parameter to const char * from char *. 12014 1.1 christos * skip.c (skip_function_pc): Ditto. 12015 1.1 christos * sparc-sol2-tdep.c (sparc_sol2_pc_in_sigtramp): Ditto. 12016 1.1 christos * sparc-tdep.h (sparc_sol2_pc_in_sigtramp): Update. 12017 1.1 christos * sparc64fbsd-tdep.c (sparc64fbsd_pc_in_sigtramp): Ditto. 12018 1.1 christos * sparc64nbsd-tdep.c (sparc64nbsd_pc_in_sigtramp): Ditto. 12019 1.1 christos * sparc64obsd-tdep.c (sparc64obsd_pc_in_sigtramp): Ditto. 12020 1.1 christos * sparcnbsd-tdep.c (sparc32nbsd_pc_in_sigtramp): Ditto. 12021 1.1 christos * sparcobsd-tdep.c (sparc32obsd_pc_in_sigtramp): Ditto. 12022 1.1 christos * nbsd-tdep.c (nbsd_pc_in_sigtramp): Similary for "func_name". 12023 1.1 christos * nbsd-tdep.h (nbsd_pc_in_sigtramp): Update. 12024 1.1 christos 12025 1.1 christos 2012-02-02 Pedro Alves <palves (a] redhat.com> 12026 1.1 christos 12027 1.1 christos * remote.c (remote_get_min_fast_tracepoint_insn_len): Return 0 if 12028 1.1 christos the current inferior has no execution. Make sure the current 12029 1.1 christos remote process matches gdb's current inferior. 12030 1.1 christos 12031 1.1 christos 2012-02-02 Tom Tromey <tromey (a] redhat.com> 12032 1.1 christos 12033 1.1 christos PR gdb/13405: 12034 1.1 christos * tui/tui-win.c (parse_scrolling_args): Don't write to possibly 12035 1.1 christos read-only memory. 12036 1.1 christos 12037 1.1 christos 2012-02-02 Tom Tromey <tromey (a] redhat.com> 12038 1.1 christos 12039 1.1 christos PR gdb/9307: 12040 1.1 christos * symtab.c (lookup_language_this): Set block_found. 12041 1.1 christos 12042 1.1 christos 2012-02-01 Tom Tromey <tromey (a] redhat.com> 12043 1.1 christos 12044 1.1 christos PR gdb/13431: 12045 1.1 christos * jit.c (struct jit_inferior_data): Rewrite. 12046 1.1 christos (struct jit_objfile_data): New. 12047 1.1 christos (get_jit_objfile_data): New function. 12048 1.1 christos (add_objfile_entry): Update. 12049 1.1 christos (jit_read_descriptor): Return int. Replace descriptor_addr 12050 1.1 christos argument with inf_data. Update. Don't call error. 12051 1.1 christos (jit_breakpoint_re_set_internal): Reorder logic. Update. Look up 12052 1.1 christos descriptor here. 12053 1.1 christos (jit_inferior_init): Don't look up descriptor. Don't call error. 12054 1.1 christos (jit_reset_inferior_data_and_breakpoints) 12055 1.1 christos (jit_inferior_created_observer): Remove. 12056 1.1 christos (jit_inferior_exit_hook): Update. 12057 1.1 christos (jit_executable_changed_observer): Remove. 12058 1.1 christos (jit_event_handler): Update. 12059 1.1 christos (free_objfile_data): Reset inferior data if needed. 12060 1.1 christos (_initialize_jit): Update. 12061 1.1 christos 12062 1.1 christos 2012-02-01 Tom Tromey <tromey (a] redhat.com> 12063 1.1 christos 12064 1.1 christos * jit.c (bfd_open_from_target_memory): Move higher in file. 12065 1.1 christos 12066 1.1 christos 2012-02-01 Tristan Gingold <gingold (a] adacore.com> 12067 1.1 christos 12068 1.1 christos * libunwind-frame.c (libunwind_load): Display message if dlopen 12069 1.1 christos failed. 12070 1.1 christos 12071 1.1 christos 2012-02-01 Gary Benson <gbenson (a] redhat.com> 12072 1.1 christos 12073 1.1 christos * symtab.h (symbol_found_callback_ftype): New typedef. 12074 1.1 christos (iterate_over_symbols): Use the above. 12075 1.1 christos * symtab.c (iterate_over_symbols): Likewise. 12076 1.1 christos * language.h (language_defn->la_iterate_over_symbols): Likewise. 12077 1.1 christos * ada-lang.c (ada_iterate_over_symbols): Likewise. 12078 1.1 christos * linespec.c (iterate_over_all_matching_symtabs): Likewise. 12079 1.1 christos (iterate_name_matcher): Document return values. 12080 1.1 christos (collect_one_symbol): Likewise. 12081 1.1 christos (collect_function_symbols): Likewise. 12082 1.1 christos (collect_symbols): Likewise. 12083 1.1 christos 12084 1.1 christos 2012-02-01 Tom Tromey <tromey (a] redhat.com> 12085 1.1 christos 12086 1.1 christos * ada-lang.c (resolve_subexp): Update. 12087 1.1 christos (ada_lookup_symbol_list): Add 'full_search' argument. 12088 1.1 christos (ada_iterate_over_symbols): Pass 0 as full_search argument to 12089 1.1 christos ada_lookup_symbol_list. 12090 1.1 christos (ada_lookup_encoded_symbol): Update. 12091 1.1 christos (get_var_value): Update. 12092 1.1 christos * ada-exp.y (block_lookup): Update. 12093 1.1 christos (write_var_or_type): Update. 12094 1.1 christos (write_name_assoc): Update. 12095 1.1 christos * ada-lang.h (ada_lookup_symbol_list): Update. 12096 1.1 christos 12097 1.1 christos 2012-01-31 Tom Tromey <tromey (a] redhat.com> 12098 1.1 christos 12099 1.1 christos * language.h (struct language_defn) <la_iterate_over_symbols>: Fix 12100 1.1 christos comment. 12101 1.1 christos 12102 1.1 christos 2012-01-31 Doug Evans <dje (a] google.com> 12103 1.1 christos 12104 1.1 christos * symtab.h: Remove outdated comment. 12105 1.1 christos (SYMBOL_MATCHES_NATURAL_NAME): Delete. 12106 1.1 christos 12107 1.1 christos 2012-02-01 Josh Matthews <josh (a] joshmatthews.net> (tiny change) 12108 1.1 christos 12109 1.1 christos Fix build error in Darwin port. 12110 1.1 christos * i386-darwin-nat.c: Include i386-nat.h. 12111 1.1 christos 12112 1.1 christos 2012-01-30 Tom Tromey <tromey (a] redhat.com> 12113 1.1 christos 12114 1.1 christos PR breakpoints/13568: 12115 1.1 christos * dwarf2read.c (dwarf_decode_macro_bytes): Add 'include_hash' 12116 1.1 christos argument. Check for recursive includes. 12117 1.1 christos (dwarf_decode_macros): Create an include hash. 12118 1.1 christos 12119 1.1 christos 2012-01-30 Michael Eager <eager (a] eagercon.com> 12120 1.1 christos 12121 1.1 christos * configure.tgt (powerpc-*-linux*): Add glibc-tdep.o. 12122 1.1 christos * ppc-linux-tdep.c: Include glibc-tdep.h. 12123 1.1 christos (powerpc32_plt_stub, powerpc32_plt_stub_so): Add PLT stub templates. 12124 1.1 christos (powerpc_linux_in_plt_stub): New function. 12125 1.1 christos (powerpc_linux_in_dynsym_resolve_code): New function. 12126 1.1 christos (ppc_skip_trampoline_code): New function. 12127 1.1 christos (ppc_linux_init_abi): Use PPC specific functions rather than generic. 12128 1.1 christos Use glibc_skip_solib_resolver. 12129 1.1 christos 12130 1.1 christos 2012-01-28 Jan Kratochvil <jan.kratochvil (a] redhat.com> 12131 1.1 christos 12132 1.1 christos Code cleanup: Make 1440 bytes of data segment read-only. 12133 1.1 christos * arch-utils.c (endian_enum): Make it const char *const []. 12134 1.1 christos * arm-tdep.c (fp_model_strings, arm_abi_strings, arm_mode_strings): 12135 1.1 christos Likewise. 12136 1.1 christos * breakpoint.c (always_inserted_enums): Likewise. 12137 1.1 christos * cli/cli-cmds.c (script_ext_enums): Likewise. 12138 1.1 christos * cli/cli-decode.c (add_setshow_enum_cmd, complete_on_enum): Make the 12139 1.1 christos enumlist parameter const char *const *. 12140 1.1 christos * cli/cli-decode.h (struct cmd_list_element): Make the enums field 12141 1.1 christos const char *const *. 12142 1.1 christos * command.h (complete_on_enum, add_setshow_enum_cmd): Make the enumlist 12143 1.1 christos parameter const char *const *. 12144 1.1 christos * cris-tdep.c (cris_modes): Make it const char *const []. 12145 1.1 christos * filesystem.c (target_file_system_kinds): Likewise. 12146 1.1 christos * i386-tdep.c (valid_flavors, valid_conventions): Likewise. 12147 1.1 christos * infrun.c (follow_fork_mode_kind_names, follow_exec_mode_names) 12148 1.1 christos (can_use_displaced_stepping_enum, scheduler_enums) 12149 1.1 christos (exec_direction_names): Likewise. 12150 1.1 christos * language.c (_initialize_language): Make the type_or_range_names and 12151 1.1 christos case_sensitive_names variables const char *const []. 12152 1.1 christos * mips-tdep.c (mips_abi_strings): Make it const char *const []. 12153 1.1 christos * python/python.c (python_excp_enums): Likewise. 12154 1.1 christos * remote.c (interrupt_sequence_modes): Likewise. 12155 1.1 christos * rs6000-tdep.c (powerpc_vector_strings): Likewise. 12156 1.1 christos * serial.c (logbase_enums): Likewise. 12157 1.1 christos * sh-tdep.c (sh_cc_enum): Likewise. 12158 1.1 christos * stack.c (print_frame_arguments_choices, print_entry_values_choices): 12159 1.1 christos Likewise. 12160 1.1 christos * symtab.c (multiple_symbols_modes): Likewise. 12161 1.1 christos * tui/tui-win.c (tui_border_kind_enums, tui_border_mode_enums): 12162 1.1 christos Likewise. 12163 1.1 christos * utils.c (internal_problem_modes): Likewise. 12164 1.1 christos 12165 1.1 christos 2012-01-27 Jan Kratochvil <jan.kratochvil (a] redhat.com> 12166 1.1 christos 12167 1.1 christos Fix the 2012-01-26 regression by la_get_symbol_name_match_p. 12168 1.1 christos * linespec.c (iterate_name_matcher): Negate the SYMBOL_NAME_MATCH_P 12169 1.1 christos result. 12170 1.1 christos 12171 1.1 christos 2012-01-27 Doug Evans <dje (a] google.com> 12172 1.1 christos 12173 1.1 christos * configure.ac (with_python): Fix absolute path handling for win32. 12174 1.1 christos * configure: Regenerate. 12175 1.1 christos 12176 1.1 christos 2012-01-26 Doug Evans <dje (a] google.com> 12177 1.1 christos 12178 1.1 christos * symtab.c: Whitespace cleanup, no code changes. 12179 1.1 christos 12180 1.1 christos * symtab.c (lookup_symbol_in_language): Improve comment. 12181 1.1 christos (lookup_symbol_aux): Fix comment. 12182 1.1 christos 12183 1.1 christos * psymtab.c (add_psymbol_to_list): Result is now "void". 12184 1.1 christos * psympriv.h (add_psymbol_to_list): Update. 12185 1.1 christos 12186 1.1 christos * dwarf2read.c (add_partial_symbol): Delete local psym, unused. 12187 1.1 christos 12188 1.1 christos 2012-01-26 Jan Kratochvil <jan.kratochvil (a] redhat.com> 12189 1.1 christos 12190 1.1 christos Do not open script filenames twice. 12191 1.1 christos * cli/cli-cmds.c (source_script_from_stream): Pass to 12192 1.1 christos source_python_script also STREAM. 12193 1.1 christos * python/py-auto-load.c (source_section_scripts): Pass to 12194 1.1 christos source_python_script_for_objfile also STREAM. 12195 1.1 christos (auto_load_objfile_script): Pass to source_python_script_for_objfile 12196 1.1 christos also INPUT. 12197 1.1 christos * python/python-internal.h (source_python_script_for_objfile): New 12198 1.1 christos parameter file, rename parameter file to filename. 12199 1.1 christos * python/python.c (python_run_simple_file): Call PyRun_SimpleFile 12200 1.1 christos instead if !_WIN32. Update the function comment. 12201 1.1 christos (source_python_script, source_python_script_for_objfile) 12202 1.1 christos (source_python_script): New parameter file, rename parameter file to 12203 1.1 christos filename. Pass FILENAME to python_run_simple_file. 12204 1.1 christos * python/python.h (source_python_script): New parameter file, rename 12205 1.1 christos parameter file to filename. 12206 1.1 christos 12207 1.1 christos 2012-01-26 Pedro Alves <palves (a] redhat.com> 12208 1.1 christos 12209 1.1 christos * corelow.c (core_has_fake_pid): Delete. 12210 1.1 christos (core_close): Delete references to `core_has_fake_pid'. 12211 1.1 christos (add_to_thread_list): Adjust to mark the inferior's pid as fake. 12212 1.1 christos (core_open): Delete references to `core_has_fake_pid'. 12213 1.1 christos (core_pid_to_str): Adjust to check inferior->fake_pid_p instead of 12214 1.1 christos the removed global. 12215 1.1 christos 12216 1.1 christos 2012-01-26 Joel Brobecker <brobecker (a] adacore.com> 12217 1.1 christos 12218 1.1 christos * symfile.h (struct quick_symbol_functions) [expand_symtabs_matching]: 12219 1.1 christos Remove language parameter from name_matcher. Adjust the comment. 12220 1.1 christos * symtab.c (search_symbols_name_matches, expand_partial_symbol_name): 12221 1.1 christos Remove language parameter. 12222 1.1 christos * ada-lang.c (ada_expand_partial_symbol_name): Likewise. 12223 1.1 christos * linespec.c (iterate_name_matcher): Likewise. 12224 1.1 christos * dwarf2read.c (dw2_expand_symtabs_matching): Adjust type of 12225 1.1 christos name_matcher. Adjust call accordingly. 12226 1.1 christos * psymtab.c (expand_symtabs_matching_via_partial): Likewise. 12227 1.1 christos (maintenance_check_symtabs): Adjust type of parameter "fun". 12228 1.1 christos * psymtab.h (maintenance_check_symtabs): Likewise. 12229 1.1 christos 12230 1.1 christos 2012-01-26 Joel Brobecker <brobecker (a] adacore.com> 12231 1.1 christos 12232 1.1 christos * language.h (symbol_name_match_p_ftype): New typedef. 12233 1.1 christos (struct language_defn): Replace field la_symbol_name_compare 12234 1.1 christos by la_get_symbol_name_match_p. 12235 1.1 christos * ada-lang.c (ada_get_symbol_name_match_p): New function. 12236 1.1 christos (ada_language_defn): Use it. 12237 1.1 christos * linespec.c (struct symbol_matcher_data): New type. 12238 1.1 christos (iterate_name_matcher): Rewrite. 12239 1.1 christos (iterate_over_all_matching_symtabs): Pass a pointer to 12240 1.1 christos a symbol_matcher_data struct to expand_symtabs_matching 12241 1.1 christos instead of just the lookup name. 12242 1.1 christos * c-lang.c, d-lang.c, jv-lang.c, m2-lang.c, objc-lang.c, 12243 1.1 christos opencl-lang.c, p-lang.c, language.c: Delete field 12244 1.1 christos la_symbol_name_compare, and replace by NULL for new field 12245 1.1 christos la_get_symbol_name_match_p. 12246 1.1 christos * symfile.h (struct quick_symbol_functions): Update comment. 12247 1.1 christos 12248 1.1 christos 2012-01-25 Tom Tromey <tromey (a] redhat.com> 12249 1.1 christos 12250 1.1 christos * breakpoint.c (bpstat_stop_status): Check 'breakpoint_at' before 12251 1.1 christos dereferencing. 12252 1.1 christos 12253 1.1 christos 2012-01-24 Tom Tromey <tromey (a] redhat.com> 12254 1.1 christos 12255 1.1 christos PR symtab/12406: 12256 1.1 christos * solib.c (update_solib_list): Update the program space's 12257 1.1 christos added_solibs and deleted_solibs fields. 12258 1.1 christos * progspace.h (struct program_space) <added_solibs, 12259 1.1 christos deleted_solibs>: New fields. 12260 1.1 christos (clear_program_space_solib_cache): Declare. 12261 1.1 christos * progspace.c (release_program_space): Call 12262 1.1 christos clear_program_space_solib_cache. 12263 1.1 christos (clear_program_space_solib_cache): New function. 12264 1.1 christos * infrun.c (handle_inferior_event) <TARGET_WAITKIND_LOADED>: Call 12265 1.1 christos bpstat_stop_status. Use handle_solib_event. 12266 1.1 christos * breakpoint.c: Include gdb_regex.h. 12267 1.1 christos (print_solib_event): New function. 12268 1.1 christos (bpstat_print): Use print_solib_event. 12269 1.1 christos (bpstat_stop_status): Add special case for bp_shlib_event. 12270 1.1 christos (handle_solib_event): New function. 12271 1.1 christos (bpstat_what): Use handle_solib_event. 12272 1.1 christos (struct solib_catchpoint): New. 12273 1.1 christos (dtor_catch_solib, insert_catch_solib, remove_catch_solib) 12274 1.1 christos (breakpoint_hit_catch_solib, check_status_catch_solib) 12275 1.1 christos (print_it_catch_solib, print_one_catch_solib) 12276 1.1 christos (print_mention_catch_solib, print_recreate_catch_solib): New 12277 1.1 christos functions. 12278 1.1 christos (catch_solib_breakpoint_ops): New global. 12279 1.1 christos (catch_load_or_unload, catch_load_command_1) 12280 1.1 christos (catch_unload_command_1): New functions. 12281 1.1 christos (internal_bkpt_check_status): Add special case for 12282 1.1 christos bp_shlib_event. 12283 1.1 christos (internal_bkpt_print_it): Use print_solib_event. 12284 1.1 christos (initialize_breakpoint_ops): Initialize 12285 1.1 christos catch_solib_breakpoint_ops. 12286 1.1 christos (_initialize_breakpoint): Register "catch load" and "catch 12287 1.1 christos unload". 12288 1.1 christos * breakpoint.h (handle_solib_event): Declare. 12289 1.1 christos * NEWS: Add entry for "catch load" and "catch unload". 12290 1.1 christos 12291 1.1 christos 2012-01-24 Tom Tromey <tromey (a] redhat.com> 12292 1.1 christos 12293 1.1 christos * ada-lang.c: Include gdb_vecs.h. 12294 1.1 christos * charset.c: Include gdb_vecs.h. 12295 1.1 christos * tracepoint.h: Include gdb_vecs.h. 12296 1.1 christos * gdb_vecs.h: New file. 12297 1.1 christos 12298 1.1 christos 2012-01-24 Pedro Alves <pedro (a] codesourcery.com> 12299 1.1 christos 12300 1.1 christos * breakpoint.c (breakpoint_hit_catch_fork) 12301 1.1 christos (breakpoint_hit_catch_vfork, breakpoint_hit_catch_syscall) 12302 1.1 christos (breakpoint_hit_catch_exec): Make use of the `ws' argument. 12303 1.1 christos * infrun.c (inferior_has_forked, inferior_has_vforked) 12304 1.1 christos (inferior_has_execd, inferior_has_called_syscall): Delete. 12305 1.1 christos (handle_syscall_event): Get syscall_number from the execution 12306 1.1 christos control state's wait status. 12307 1.1 christos (wait_for_inferior): Don't clear syscall_number. 12308 1.1 christos 12309 1.1 christos 2012-01-24 Pedro Alves <palves (a] redhat.com> 12310 1.1 christos 12311 1.1 christos * breakpoint.c (bpstat_check_location, bpstat_stop_status, 12312 1.1 christos pc_at_non_inline_function): Add `ws' parameter, and pass it down. 12313 1.1 christos (breakpoint_hit_catch_fork, breakpoint_hit_catch_vfork) 12314 1.1 christos (breakpoint_hit_catch_syscall, breakpoint_hit_catch_exec): Add 12315 1.1 christos `ws' parameter. 12316 1.1 christos (breakpoint_hit_ranged_breakpoint): Add `ws' parameter. Return 12317 1.1 christos false for events other than TARGET_SIGNAL_TRAP. 12318 1.1 christos (breakpoint_hit_watchpoint, base_breakpoint_breakpoint_hit): 12319 1.1 christos Add `ws' parameter. 12320 1.1 christos (bkpt_breakpoint_hit): Add `ws' parameter. Return false for 12321 1.1 christos events other than TARGET_SIGNAL_TRAP. 12322 1.1 christos (tracepoint_breakpoint_hit): Add `ws' parameter. 12323 1.1 christos * breakpoint.h (struct breakpoint_ops) <breakpoint_hit>: Add `ws' 12324 1.1 christos parameter. 12325 1.1 christos (bpstat_stop_status): Same. 12326 1.1 christos (pc_at_non_inline_function): Same. 12327 1.1 christos * infrun.c (handle_syscall_event, handle_inferior_event): Adjust 12328 1.1 christos to pass the current event's waitstatus to bpstat_stop_status 12329 1.1 christos and pc_at_non_inline_function. 12330 1.1 christos 12331 1.1 christos 2012-01-24 Jan Kratochvil <jan.kratochvil (a] redhat.com> 12332 1.1 christos 12333 1.1 christos Code cleanup. 12334 1.1 christos * cli/cli-cmds.c (source_script_from_stream): Never fclose STREAM. 12335 1.1 christos Update the function comment for it. 12336 1.1 christos (source_script_with_search): Call make_cleanup_fclose for STREAM. 12337 1.1 christos * cli/cli-script.c (script_from_file): Do not call make_cleanup_fclose 12338 1.1 christos for STREAM. 12339 1.1 christos 12340 1.1 christos 2012-01-24 Pedro Alves <palves (a] redhat.com> 12341 1.1 christos 12342 1.1 christos * breakpoint.c (bpstat_stop_status): Moving clearing print_it 12343 1.1 christos outside `bs->stop' block. 12344 1.1 christos (bpstat_what): Rework bp_shlib_event handling. 12345 1.1 christos (internal_bkpt_check_status): If the breakpoint is a 12346 1.1 christos bp_shlib_event, then set bs->stop and bs->print if 12347 1.1 christos stop_on_solib_events is set. 12348 1.1 christos 12349 1.1 christos 2012-01-24 Gary Benson <gbenson (a] redhat.com> 12350 1.1 christos 12351 1.1 christos Delete #if 0'd out code. 12352 1.1 christos * stack.c (print_frame_label_vars): Remove. 12353 1.1 christos (catch_info): Likewise. 12354 1.1 christos (_initialize_stack): Remove "info catch" command. 12355 1.1 christos * NEWS: Mention the above. 12356 1.1 christos 12357 1.1 christos 2012-01-24 Pedro Alves <palves (a] redhat.com> 12358 1.1 christos 12359 1.1 christos * remote.c (remote_add_inferior): New `fake_pid_p' parameter. Use 12360 1.1 christos it. 12361 1.1 christos (remote_notice_new_inferior): If the remote end doesn't support 12362 1.1 christos the multiprocess extensions, then the PID is fake. 12363 1.1 christos (add_current_inferior_and_thread): New. 12364 1.1 christos (remote_start_remote): Use it. 12365 1.1 christos (extended_remote_attach_1): Adjust. 12366 1.1 christos (extended_remote_create_inferior_1): Use 12367 1.1 christos add_current_inferior_and_thread. 12368 1.1 christos 12369 1.1 christos 2012-01-24 Jan Kratochvil <jan.kratochvil (a] redhat.com> 12370 1.1 christos 12371 1.1 christos Fix watchpoints to be specific for each inferior. 12372 1.1 christos * breakpoint.c (watchpoint_in_thread_scope): Verify also 12373 1.1 christos current_program_space. 12374 1.1 christos * i386-nat.c (i386_inferior_data_cleanup): New. 12375 1.1 christos (i386_inferior_data_get): Replace variable inf_data_local by an 12376 1.1 christos inferior_data call. 12377 1.1 christos (i386_use_watchpoints): Initialize i386_inferior_data. 12378 1.1 christos * linux-nat.c (linux_nat_iterate_watchpoint_lwps): Use INFERIOR_PTID 12379 1.1 christos specific iterate_over_lwps. 12380 1.1 christos 12381 1.1 christos 2012-01-24 Jan Kratochvil <jan.kratochvil (a] redhat.com> 12382 1.1 christos 12383 1.1 christos Fix watchpoints across inferior fork. 12384 1.1 christos * amd64-linux-nat.c (update_debug_registers_callback): Update the 12385 1.1 christos comment for linux_nat_iterate_watchpoint_lwps. 12386 1.1 christos (amd64_linux_dr_set_control, amd64_linux_dr_set_addr): Use 12387 1.1 christos linux_nat_iterate_watchpoint_lwps. 12388 1.1 christos (amd64_linux_prepare_to_resume): New comment on Linux kernel. 12389 1.1 christos * i386-linux-nat.c (update_debug_registers_callback): Update the 12390 1.1 christos comment for linux_nat_iterate_watchpoint_lwps. 12391 1.1 christos (i386_linux_dr_set_control, i386_linux_dr_set_addr): Use 12392 1.1 christos linux_nat_iterate_watchpoint_lwps. 12393 1.1 christos (i386_linux_prepare_to_resume): New comment on Linux kernel. 12394 1.1 christos * i386-nat.c: Include inferior.h. 12395 1.1 christos (dr_mirror): Remove. 12396 1.1 christos (i386_inferior_data, struct i386_inferior_data) 12397 1.1 christos (i386_inferior_data_get): New. 12398 1.1 christos (i386_debug_reg_state): Use i386_inferior_data_get. 12399 1.1 christos (i386_cleanup_dregs, i386_update_inferior_debug_regs) 12400 1.1 christos (i386_insert_watchpoint, i386_remove_watchpoint) 12401 1.1 christos (i386_stopped_data_address, i386_insert_hw_breakpoint) 12402 1.1 christos (i386_remove_hw_breakpoint): New variable state, use 12403 1.1 christos i386_debug_reg_state instead of DR_MIRROR. 12404 1.1 christos * linux-nat.c (delete_lwp): New declaration. 12405 1.1 christos (num_lwps): Move here from downwards. 12406 1.1 christos (delete_lwp_cleanup): New. 12407 1.1 christos (linux_child_follow_fork): Create new child_lp, call 12408 1.1 christos linux_nat_new_thread and linux_nat_prepare_to_resume before calling 12409 1.1 christos PTRACE_DETACH. 12410 1.1 christos (num_lwps): Move upwards. 12411 1.1 christos (linux_nat_iterate_watchpoint_lwps): New. 12412 1.1 christos * linux-nat.h (linux_nat_iterate_watchpoint_lwps_ftype): New. 12413 1.1 christos (linux_nat_iterate_watchpoint_lwps_ftype): New declaration. 12414 1.1 christos 12415 1.1 christos 2012-01-24 Joel Brobecker <brobecker (a] adacore.com> 12416 1.1 christos 12417 1.1 christos GDB 7.4 released. 12418 1.1 christos 12419 1.1 christos 2012-01-23 Pedro Alves <palves (a] redhat.com> 12420 1.1 christos 12421 1.1 christos * top.c (caution): Rename to ... 12422 1.1 christos (confirm): ... this. 12423 1.1 christos (show_caution): Rename to ... 12424 1.1 christos (show_confirm): ... this. 12425 1.1 christos (quit_cover): Adjust. 12426 1.1 christos (init_main): Adjust. 12427 1.1 christos * top.h (caution): Rename to ... 12428 1.1 christos (confirm): ... this. 12429 1.1 christos * utils.c (internal_vproblem, defaulted_query): Adjust. 12430 1.1 christos 12431 1.1 christos 2012-01-23 Pedro Alves <palves (a] redhat.com> 12432 1.1 christos 12433 1.1 christos * top.c (caution): Update comment. 12434 1.1 christos (execute_command): Don't consider the current value of `caution'. 12435 1.1 christos 12436 1.1 christos 2012-01-23 Jan Kratochvil <jan.kratochvil (a] redhat.com> 12437 1.1 christos 12438 1.1 christos * cli/cli-cmds.c (find_and_open_script): Handle failure of fdopen. 12439 1.1 christos 12440 1.1 christos 2012-01-23 Ulrich Weigand <ulrich.weigand (a] linaro.org> 12441 1.1 christos 12442 1.1 christos * inf-child.c: Include "gdb_stat.h" instead of <sys/stat.h>. 12443 1.1 christos * linux-tdep.c (linux_info_proc): Avoid ARI coding style warning. 12444 1.1 christos * target.c (target_fileio_pwrite): Remove buffer address from 12445 1.1 christos debug output. 12446 1.1 christos (target_fileio_pread): Likewise. 12447 1.1 christos 12448 1.1 christos 2012-01-20 Ulrich Weigand <ulrich.weigand (a] linaro.org> 12449 1.1 christos 12450 1.1 christos * NEWS: Document remote "info proc" and "generate-core-file". 12451 1.1 christos 12452 1.1 christos 2012-01-20 Ulrich Weigand <ulrich.weigand (a] linaro.org> 12453 1.1 christos 12454 1.1 christos * gdbarch.sh (find_memory_regions): New callback. 12455 1.1 christos * gdbarch.c, gdbarch.h: Regenerate. 12456 1.1 christos 12457 1.1 christos * gcore.c (gcore_memory_sections): Try gdbarch find_memory_regions 12458 1.1 christos callback before falling back to target method. 12459 1.1 christos 12460 1.1 christos * linux-nat.c (read_mapping, linux_nat_find_memory_regions): Remove. 12461 1.1 christos (linux_target_install_ops): No longer install it. 12462 1.1 christos 12463 1.1 christos * linux-tdep.c (linux_find_memory_regions): New function. 12464 1.1 christos (linux_init_abi): Install it. 12465 1.1 christos 12466 1.1 christos 2012-01-20 Ulrich Weigand <ulrich.weigand (a] linaro.org> 12467 1.1 christos 12468 1.1 christos * gdbarch.sh (make_corefile_notes): New architecture callback. 12469 1.1 christos * gdbarch.c: Regenerate. 12470 1.1 christos * gdbarch.h: Likewise. 12471 1.1 christos 12472 1.1 christos * gcore.c (write_gcore_file): Try gdbarch_make_corefile_notes 12473 1.1 christos before target_make_corefile_notes. If NULL is returned, the 12474 1.1 christos target does not support core file generation. 12475 1.1 christos 12476 1.1 christos * linux-nat.c: Include "linux-tdep.h". 12477 1.1 christos (find_signalled_thread, find_stop_signal): Remove. 12478 1.1 christos (linux_nat_do_thread_registers): Likewise. 12479 1.1 christos (struct linux_nat_corefile_thread_data): Likewise. 12480 1.1 christos (linux_nat_corefile_thread_callback): Likewise. 12481 1.1 christos (iterate_over_spus): Likewise. 12482 1.1 christos (struct linux_spu_corefile_data): Likewise. 12483 1.1 christos (linux_spu_corefile_callback): Likewise. 12484 1.1 christos (linux_spu_make_corefile_notes): Likewise. 12485 1.1 christos (linux_nat_collect_thread_registers): New function. 12486 1.1 christos (linux_nat_make_corefile_notes): Replace contents by call to 12487 1.1 christos linux_make_corefile_notes passing linux_nat_collect_thread_registers 12488 1.1 christos as native-only callback. 12489 1.1 christos 12490 1.1 christos * linux-tdep.h: Include "bfd.h". 12491 1.1 christos (struct regcache): Add forward declaration. 12492 1.1 christos (linux_collect_thread_registers_ftype): New typedef. 12493 1.1 christos (linux_make_corefile_notes): Add prototype. 12494 1.1 christos * linux-tdep.c: Include "gdbthread.h", "gdbcore.h", "regcache.h", 12495 1.1 christos "regset.h", and "elf-bfd.h". 12496 1.1 christos (find_signalled_thread, find_stop_signal): New functions. 12497 1.1 christos (linux_spu_make_corefile_notes): Likewise. 12498 1.1 christos (linux_collect_thread_registers): Likewise. 12499 1.1 christos (struct linux_corefile_thread_data): New data structure. 12500 1.1 christos (linux_corefile_thread_callback): New funcion. 12501 1.1 christos (linux_make_corefile_notes): Likewise. 12502 1.1 christos (linux_make_corefile_notes_1): Likewise. 12503 1.1 christos (linux_init_abi): Install it. 12504 1.1 christos 12505 1.1 christos 2012-01-20 Ulrich Weigand <ulrich.weigand (a] linaro.org> 12506 1.1 christos 12507 1.1 christos * gdbarch.sh (info_proc): New callback. 12508 1.1 christos * gdbarch.c, gdbarch.h: Regenerate. 12509 1.1 christos 12510 1.1 christos * infcmd.c (info_proc_cmd_1): Try gdbarch info_proc callback 12511 1.1 christos before falling back to the target info_proc callback. 12512 1.1 christos 12513 1.1 christos * linux-nat.c: Do not include "cli/cli-utils.h". 12514 1.1 christos (linux_nat_info_proc): Remove. 12515 1.1 christos (linux_target_install_ops): No longer install it. 12516 1.1 christos 12517 1.1 christos * linux-tdep.c: Include "cli/cli-utils.h" and <ctype.h>. 12518 1.1 christos (read_mapping): New function. 12519 1.1 christos (linux_info_proc): Likewise. 12520 1.1 christos (linux_init_abi): Install it. 12521 1.1 christos 12522 1.1 christos 2012-01-20 Ulrich Weigand <ulrich.weigand (a] linaro.org> 12523 1.1 christos 12524 1.1 christos * defs.h (enum info_proc_what): Moved here from linux-nat.c 12525 1.1 christos * infcmd.c: (info_proc_cmd_1): New function. 12526 1.1 christos (info_proc_cmd): New function, moved here from equivalent routine 12527 1.1 christos orignally in linux-nat.c. 12528 1.1 christos (info_proc_cmd_mappings): Likewise. 12529 1.1 christos (info_proc_cmd_stat): Likewise. 12530 1.1 christos (info_proc_cmd_status): Likewise. 12531 1.1 christos (info_proc_cmd_cwd): Likewise. 12532 1.1 christos (info_proc_cmd_cmdline): Likewise. 12533 1.1 christos (info_proc_cmd_exe): Likewise. 12534 1.1 christos (info_proc_cmd_all): Likewise. 12535 1.1 christos (_initialize_infcmd): Install "info proc" command and subcommands. 12536 1.1 christos 12537 1.1 christos * target.h (struct target_ops): Add to_info_proc. 12538 1.1 christos (target_info_proc): Add prototype. 12539 1.1 christos * target.c (target_info_proc): New function. 12540 1.1 christos 12541 1.1 christos * procfs.c (procfs_info_proc): Add prototype. 12542 1.1 christos (info_proc_cmd): Rename into ... 12543 1.1 christos (procfs_info_proc): ... this. Update argument types as appropriate 12544 1.1 christos for a to_info_proc implementation. Handle "what" argument. 12545 1.1 christos (procfs_target): Install procfs_info_proc. 12546 1.1 christos (_initialize_procfs): No longer install "info proc" command. 12547 1.1 christos 12548 1.1 christos * linux-nat.c: (enum info_proc_what): Remove. 12549 1.1 christos (linux_nat_info_proc_cmd_1): Rename into ... 12550 1.1 christos (linux_nat_info_proc): ... this. Update argument types as appropriate 12551 1.1 christos for a to_info_proc implementation. 12552 1.1 christos (linux_nat_info_proc_cmd): Remove. 12553 1.1 christos (linux_nat_info_proc_cmd_mappings): Likewise. 12554 1.1 christos (linux_nat_info_proc_cmd_stat): Likewise. 12555 1.1 christos (linux_nat_info_proc_cmd_status): Likewise. 12556 1.1 christos (linux_nat_info_proc_cmd_cwd): Likewise. 12557 1.1 christos (linux_nat_info_proc_cmd_cmdline): Likewise. 12558 1.1 christos (linux_nat_info_proc_cmd_exe): Likewise. 12559 1.1 christos (linux_nat_info_proc_cmd_all): Likewise. 12560 1.1 christos (linux_target_install_ops): Install linux_nat_info_proc. 12561 1.1 christos (_initialize_linux_nat): No longer install "info proc" command 12562 1.1 christos and subcommands. 12563 1.1 christos 12564 1.1 christos 2012-01-20 Ulrich Weigand <ulrich.weigand (a] linaro.org> 12565 1.1 christos 12566 1.1 christos * configure.ac [AC_CHECK_FUNCS]: Check for readlink. 12567 1.1 christos * config.in, configure: Regenerate. 12568 1.1 christos 12569 1.1 christos * target.h (struct target_ops): Add to_fileio_readlink. 12570 1.1 christos (target_fileio_readlink): Add prototype. 12571 1.1 christos * target.c (target_fileio_readlink): New function. 12572 1.1 christos 12573 1.1 christos * inf-child.c: Conditionally include <sys/param.h>. 12574 1.1 christos (inf_child_fileio_readlink): New function. 12575 1.1 christos (inf_child_target): Install it. 12576 1.1 christos 12577 1.1 christos * remote.c (PACKET_vFile_readlink): New enum value. 12578 1.1 christos (remote_hostio_readlink): New function. 12579 1.1 christos (init_remote_ops): Install it. 12580 1.1 christos (_initialize_remote): Handle vFile:readlink packet type. 12581 1.1 christos 12582 1.1 christos 2012-01-20 Pedro Alves <palves (a] redhat.com> 12583 1.1 christos Ulrich Weigand <ulrich.weigand (a] linaro.org> 12584 1.1 christos 12585 1.1 christos * configure.ac [AC_CHECK_FUNCS]: Check for pread and pwrite. 12586 1.1 christos * config.in, configure: Regenerate. 12587 1.1 christos 12588 1.1 christos * target.h (struct target_ops): Add to_fileio_open, to_fileio_pwrite, 12589 1.1 christos to_fileio_pread, to_fileio_close, to_fileio_unlink. 12590 1.1 christos (target_fileio_open): Add prototype. 12591 1.1 christos (target_fileio_pwrite): Likewise. 12592 1.1 christos (target_fileio_pread): Likewise. 12593 1.1 christos (target_fileio_close): Likewise. 12594 1.1 christos (target_fileio_unlink): Likewise. 12595 1.1 christos (target_fileio_read_alloc): Likewise. 12596 1.1 christos (target_fileio_read_stralloc): Likewise. 12597 1.1 christos 12598 1.1 christos * target.c: Include "gdb/fileio.h". 12599 1.1 christos (target_read_stralloc): Accept trailing, but not embedded NUL bytes. 12600 1.1 christos (default_fileio_target): New function. 12601 1.1 christos (target_fileio_open): Likewise. 12602 1.1 christos (target_fileio_pwrite): Likewise. 12603 1.1 christos (target_fileio_pread): Likewise. 12604 1.1 christos (target_fileio_close): Likewise. 12605 1.1 christos (target_fileio_unlink): Likewise. 12606 1.1 christos (target_fileio_close_cleanup): Likewise. 12607 1.1 christos (target_fileio_read_alloc_1): Likewise. 12608 1.1 christos (target_fileio_read_alloc): Likewise. 12609 1.1 christos (target_fileio_read_stralloc): Likewise. 12610 1.1 christos 12611 1.1 christos * inf-child.c: Include "gdb/fileio.h", <sys/types.h>, <sys/stat.h>, 12612 1.1 christos <fcntl.h>, and <unistd.h>. 12613 1.1 christos (inf_child_fileio_open_flags_to_host): New function. 12614 1.1 christos (inf_child_errno_to_fileio_error): Likewise. 12615 1.1 christos (inf_child_fileio_open): Likewise. 12616 1.1 christos (inf_child_fileio_pwrite): Likewise. 12617 1.1 christos (inf_child_fileio_pread): Likewise. 12618 1.1 christos (inf_child_fileio_close): Likewise. 12619 1.1 christos (inf_child_fileio_unlink): Likewise. 12620 1.1 christos (inf_child_target): Install to_fileio routines. 12621 1.1 christos 12622 1.1 christos * remote.c (init_remote_ops): Install to_fileio routines. 12623 1.1 christos 12624 1.1 christos 2012-01-20 Pedro Alves <palves (a] redhat.com> 12625 1.1 christos Ulrich Weigand <ulrich.weigand (a] linaro.org> 12626 1.1 christos 12627 1.1 christos * remote.c (remote_multi_process_p): Only check for multi-process 12628 1.1 christos protocol feature, do not check for extended protocol. 12629 1.1 christos (remote_supports_multi_process): Check for extended protocol here. 12630 1.1 christos (set_general_process): Likewise. 12631 1.1 christos (extended_remote_kill): Likewise. 12632 1.1 christos (remote_pid_to_str): Likewise. 12633 1.1 christos (remote_query_supported): Always query multiprocess mode. 12634 1.1 christos 12635 1.1 christos 2012-01-20 Pedro Alves <palves (a] redhat.com> 12636 1.1 christos Ulrich Weigand <ulrich.weigand (a] linaro.org> 12637 1.1 christos 12638 1.1 christos * inferior.h (struct inferior): Add fake_pid_p. 12639 1.1 christos * inferior.c (exit_inferior_1): Clear fake_pid_p. 12640 1.1 christos * remote.c (remote_start_remote): Set fake_pid_p if we have to use 12641 1.1 christos magic_null_ptid since the remote side doesn't provide a real PID. 12642 1.1 christos 12643 1.1 christos 2012-01-19 Tom Tromey <tromey (a] redhat.com> 12644 1.1 christos 12645 1.1 christos * NEWS: Combine the two Python sections. 12646 1.1 christos 12647 1.1 christos 2012-01-19 Jan Kratochvil <jan.kratochvil (a] redhat.com> 12648 1.1 christos 12649 1.1 christos * target.h (target_close): Update comment on the target's unpush state. 12650 1.1 christos 12651 1.1 christos 2012-01-19 Pedro Alves <palves (a] redhat.com> 12652 1.1 christos 12653 1.1 christos * linux-nat.c (linux_nat_close): Call linux_nat_is_async_p and 12654 1.1 christos linux_nat_async directly instead of going through the target 12655 1.1 christos vector. 12656 1.1 christos * target.c (unpush_target): Close target after unpushing it, not 12657 1.1 christos before. 12658 1.1 christos 12659 1.1 christos 2012-01-19 Gary Benson <gbenson (a] redhat.com> 12660 1.1 christos 12661 1.1 christos * mdebugread.c (sort_blocks): Replace integer constants with ones 12662 1.1 christos derived from FIRST_LOCAL_BLOCK. 12663 1.1 christos 12664 1.1 christos 2012-01-18 Paul Pluzhnikov <ppluzhnikov (a] google.com> 12665 1.1 christos Jan Kratochvil <jan.kratochvil (a] redhat.com> 12666 1.1 christos 12667 1.1 christos PR gdb/9538 12668 1.1 christos * symfile.c (find_separate_debug_file): New function. 12669 1.1 christos (terminate_after_last_dir_separator): Likewise. 12670 1.1 christos (find_separate_debug_file_by_debuglink): Also try realpath. 12671 1.1 christos * configure.ac (AC_CHECK_FUNCS): Add lstat. 12672 1.1 christos * configure: Regenerate. 12673 1.1 christos * config.in: Regenerate. 12674 1.1 christos 12675 1.1 christos 2012-01-18 Doug Evans <dje (a] google.com> 12676 1.1 christos 12677 1.1 christos * Makefile.in (TARGET_SYSTEM_ROOT, TARGET_SYSTEM_ROOT_DEFINE): Delete. 12678 1.1 christos (main.o): Remove rule. 12679 1.1 christos * configure.ac (BINDIR): Define with AC_DEFINE_DIR. 12680 1.1 christos (--with-sysroot): Rewrite. 12681 1.1 christos * configure: Regenerate. 12682 1.1 christos * config.in: Regenerate. 12683 1.1 christos 12684 1.1 christos 2012-01-18 Sergio Durigan Junior <sergiodj (a] redhat.com> 12685 1.1 christos 12686 1.1 christos * parse.c (initialize_expout): New function. 12687 1.1 christos (reallocate_expout): Likewise. 12688 1.1 christos (parse_exp_in_context): Use `initialize_expout' and 12689 1.1 christos `reallocate_expout' when appropriate. 12690 1.1 christos 12691 1.1 christos 2012-01-18 Pedro Alves <palves (a] redhat.com> 12692 1.1 christos 12693 1.1 christos * record.c (struct record_breakpoint, record_breakpoint_p) 12694 1.1 christos (record_breakpoints): New. 12695 1.1 christos (record_insert_breakpoint, record_remove_breakpoint): Manage 12696 1.1 christos record breakpoints list. Only remove breakpoints from the 12697 1.1 christos inferior if they had been inserted there in the first place. 12698 1.1 christos 12699 1.1 christos 2012-01-17 Doug Evans <dje (a] google.com> 12700 1.1 christos 12701 1.1 christos * linespec.c (decode_line_internal): Don't call symtabs_from_filename 12702 1.1 christos if we know we don't have a file name to look for. 12703 1.1 christos 12704 1.1 christos 2012-01-17 Pedro Alves <palves (a] redhat.com> 12705 1.1 christos 12706 1.1 christos * dwarf2-frame.c (dwarf2_frame_cfa): Throw NOT_AVAILABLE_ERROR, if 12707 1.1 christos the frame's stop reason is UNWIND_UNAVAILABLE. 12708 1.1 christos 12709 1.1 christos 2012-01-17 Jan Kratochvil <jan.kratochvil (a] redhat.com> 12710 1.1 christos 12711 1.1 christos Fix compilation error. 12712 1.1 christos * m2-exp.y (yyerror): Use ANSI C prototype. 12713 1.1 christos 12714 1.1 christos 2012-01-16 Sergio Durigan Junior <sergiodj (a] redhat.com> 12715 1.1 christos 12716 1.1 christos * f-exp.y (parse_number): Convert prototype from K&R to ANSI C. 12717 1.1 christos (growbuf_by_size): Likewise. 12718 1.1 christos (yyerror): Likewise. 12719 1.1 christos * m2-exp.y (make_qualname): Remove function (was #if 0'ed). 12720 1.1 christos (modblock): Remove variable (was #if 0'ed). 12721 1.1 christos (parse_number): Convert prototype from K&R to ANSI C. 12722 1.1 christos (yyerror): Likewise. 12723 1.1 christos * objc-exp.y (parse_number): Likewise. 12724 1.1 christos (yyerror): Likewise. 12725 1.1 christos (yylex): Remove #if 0'ed code. 12726 1.1 christos * p-exp.y (uptok): Convert prototype from K&R to ANSI C. 12727 1.1 christos (yyerror): Likewise. 12728 1.1 christos 12729 1.1 christos 2012-01-16 Tom Tromey <tromey (a] redhat.com> 12730 1.1 christos 12731 1.1 christos * NEWS: Add item. 12732 1.1 christos * symtab.h (compare_filenames_for_search): Declare. 12733 1.1 christos * symtab.c (compare_filenames_for_search): New function. 12734 1.1 christos (iterate_over_some_symtabs): Use it. 12735 1.1 christos * symfile.h (struct quick_symbol_functions) 12736 1.1 christos <map_symtabs_matching_filename>: Change spec. 12737 1.1 christos * psymtab.c (partial_map_symtabs_matching_filename): Use 12738 1.1 christos compare_filenames_for_search. Update for new spec. 12739 1.1 christos * dwarf2read.c (dw2_map_symtabs_matching_filename): Use 12740 1.1 christos compare_filenames_for_search. Update for new spec. 12741 1.1 christos * breakpoint.c (clear_command): Use compare_filenames_for_search. 12742 1.1 christos 12743 1.1 christos 2012-01-16 Tom Tromey <tromey (a] redhat.com> 12744 1.1 christos 12745 1.1 christos PR python/13281: 12746 1.1 christos * gdbtypes.h (TYPE_FLAG_ENUM): New macro. 12747 1.1 christos (struct main_type) <flag_flag_enum>: New field. 12748 1.1 christos * dwarf2read.c (process_enumeration_scope): Detect "flag" enums. 12749 1.1 christos * NEWS: Add entries. 12750 1.1 christos * c-valprint.c (c_val_print) <TYPE_CODE_ENUM>: Handle "flag" 12751 1.1 christos enums. 12752 1.1 christos * python/lib/gdb/printing.py (_EnumInstance): New class. 12753 1.1 christos (FlagEnumerationPrinter): Likewise. 12754 1.1 christos 12755 1.1 christos 2012-01-16 Sergio Durigan Junior <sergiodj (a] redhat.com> 12756 1.1 christos 12757 1.1 christos * breakpoint.c (create_sals_from_address_default): New function. 12758 1.1 christos (create_breakpoints_sal_default): Likewise. 12759 1.1 christos (decode_linespec_default): Likewise. 12760 1.1 christos (is_marker_spec): Removed. 12761 1.1 christos (strace_marker_p): New function. 12762 1.1 christos (init_breakpoint_sal): Using `strace_marker_p' instead of 12763 1.1 christos `is_marker_spec'. 12764 1.1 christos (create_breakpoint): Call method `create_sals_from_address' from 12765 1.1 christos breakpoint_ops, replacing code that created SALs conditionally 12766 1.1 christos on the type of the breakpoint. Call method `create_breakpoints_sal', 12767 1.1 christos replacing code that created breakpoints conditionally on the type 12768 1.1 christos wanted. 12769 1.1 christos (base_breakpoint_create_sals_from_address): New function. 12770 1.1 christos (base_breakpoint_create_breakpoints_sal): Likewise. 12771 1.1 christos (base_breakpoint_decode_linespec): Likewise. 12772 1.1 christos (base_breakpoint_ops): Add methods 12773 1.1 christos `base_breakpoint_create_sals_from_address', 12774 1.1 christos `base_breakpoint_create_breakpoints_sal' and 12775 1.1 christos `base_breakpoint_decode_linespec'. 12776 1.1 christos (bkpt_create_sals_from_address): New function. 12777 1.1 christos (bkpt_create_breakpoints_sal): Likewise. 12778 1.1 christos (bkpt_decode_linespec): Likewise. 12779 1.1 christos (tracepoint_create_sals_from_address): Likewise. 12780 1.1 christos (tracepoint_create_breakpoints_sal): Likewise. 12781 1.1 christos (tracepoint_decode_linespec): Likewise. 12782 1.1 christos (strace_marker_create_sals_from_address): Likewise. 12783 1.1 christos (strace_marker_create_breakpoints_sal): Likewise. 12784 1.1 christos (strace_marker_decode_linespec): Likewise. 12785 1.1 christos (strace_marker_breakpoint_ops): New variable. 12786 1.1 christos (addr_string_to_sals): Remove `marker_spec'. Call method 12787 1.1 christos `decode_linespec' from breakpoint_ops, replacing code that decoded 12788 1.1 christos an address string into a SAL. Use `strace_marker_p' instead of 12789 1.1 christos `marker_spec'. 12790 1.1 christos (strace_command): Decide whether we are dealing with a static 12791 1.1 christos tracepoint with marker or not. Use the appropriate breakpoint_ops. 12792 1.1 christos (initialize_breakpoint_ops): Initialize new fields of breakpoint_ops. 12793 1.1 christos * breakpoint.h (linespec_result, linespec_sals): New forward 12794 1.1 christos declarations. 12795 1.1 christos (breakpoint_ops) <create_sals_from_address>, 12796 1.1 christos <create_breakpoints_sal>, <decode_linespec>: New methods. 12797 1.1 christos 12798 1.1 christos 2012-01-14 Doug Evans <dje (a] google.com> 12799 1.1 christos 12800 1.1 christos * NEWS: Update text for "maint set python print-stack". 12801 1.1 christos It is deprecated in gdb 7.4 and deleted in 7.5. 12802 1.1 christos 12803 1.1 christos 2012-01-13 Eli Zaretskii <eliz (a] gnu.org> 12804 1.1 christos 12805 1.1 christos * gdb_curses.h (MOUSE_MOVED) [__MINGW32__]: Undefine before 12806 1.1 christos including curses.h. 12807 1.1 christos 12808 1.1 christos 2012-01-12 Jan Kratochvil <jan.kratochvil (a] redhat.com> 12809 1.1 christos 12810 1.1 christos * configure: Regenerate. 12811 1.1 christos * config.in: Regenerate. 12812 1.1 christos 12813 1.1 christos 2012-01-12 Keith Seitz <keiths (a] redhat.com> 12814 1.1 christos 12815 1.1 christos PR mi/10586 12816 1.1 christos * varobj.c (ANONYMOUS_STRUCT_NAME): Define. 12817 1.1 christos (ANONYMOUS_UNION_NAME): Define. 12818 1.1 christos (is_path_expr_parent): New function. 12819 1.1 christos (get_path_expr_parent): New function. 12820 1.1 christos (is_anonymous_child): New function. 12821 1.1 christos (create_child_with_value): If the child is anonymous and without 12822 1.1 christos a name, assign an object name to it. 12823 1.1 christos (c_describe_child): Use get_path_expr_parent to determine 12824 1.1 christos the parent expression. 12825 1.1 christos If there field represents an anonymous struct or union and 12826 1.1 christos has no name, set an appropriate display name and expression. 12827 1.1 christos (cplus_describe_child): Likewise. 12828 1.1 christos 12829 1.1 christos 2012-01-12 Pedro Alves <palves (a] redhat.com> 12830 1.1 christos 12831 1.1 christos * i386-tdep.c (i386_frame_cache_1): Also mark the frame base as 12832 1.1 christos available when %ebp is found to be zero (outermost). 12833 1.1 christos 12834 1.1 christos 2012-01-11 Andreas Tobler <andreast (a] fgznet.ch> 12835 1.1 christos 12836 1.1 christos * common/gdb_assert.h (gdb_static_assert): Rename static_assert to 12837 1.1 christos an internal gdb_static_assert. 12838 1.1 christos * mi/mi-common.c: Rename static_assert to gdb_static_assert. 12839 1.1 christos 12840 1.1 christos 2012-01-11 Tom Tromey <tromey (a] redhat.com> 12841 1.1 christos 12842 1.1 christos PR gdb/9598: 12843 1.1 christos * breakpoint.c (_initialize_breakpoint): Fix help for "catch 12844 1.1 christos catch" and "catch throw". 12845 1.1 christos 12846 1.1 christos 2012-01-11 Paul Hilfinger <hilfingr (a] adacore.com> 12847 1.1 christos 12848 1.1 christos * blockframe.c (block_innermost_frame): Start search from selected 12849 1.1 christos frame, if present, or otherwise the current frame. 12850 1.1 christos 12851 1.1 christos * c-exp.y (variable): Update innermost_block for 12852 1.1 christos 'block COLONCOLON NAME' clause. 12853 1.1 christos * m2-exp.y (variable): Ditto. 12854 1.1 christos * objc-exp.y (variable): Ditto. 12855 1.1 christos 12856 1.1 christos 2012-01-10 Tom Tromey <tromey (a] redhat.com> 12857 1.1 christos 12858 1.1 christos PR python/13199: 12859 1.1 christos * python/python.c (finish_python_initialization): Set sys.argv. 12860 1.1 christos 12861 1.1 christos 2012-01-10 Doug Evans <dje (a] google.com> 12862 1.1 christos 12863 1.1 christos * dwarf2read.c (dwarf_decode_lines): Remove arg "abfd". New arg 12864 1.1 christos "want_line_info". All callers updated. 12865 1.1 christos (dwarf_decode_lines_1): New function. 12866 1.1 christos (handle_DW_AT_stmt_list): Add function comment. 12867 1.1 christos New arg "want_line_info". All callers updated. 12868 1.1 christos (read_file_scope,read_type_unit_scope): Move comment from 12869 1.1 christos handle_DW_AT_stmt_list to here. 12870 1.1 christos 12871 1.1 christos 2012-01-10 Jan Kratochvil <jan.kratochvil (a] redhat.com> 12872 1.1 christos 12873 1.1 christos Fix regression after libiberty/ update for GCC PR 6057 and others. 12874 1.1 christos * c-exp.y (operator) <OPERATOR DELETE> 12875 1.1 christos (operator) <OPERATOR DELETE '[' ']'>: Add trailing space. 12876 1.1 christos * cp-name-parser.y (fill_comp, make_operator, make_dtor) 12877 1.1 christos (make_builtin_type, make_name): New variable i, add gdb_assert. 12878 1.1 christos (operator) <OPERATOR NEW>: Update ARGS to 3. 12879 1.1 christos (operator) <OPERATOR DELETE>: Add trailing space. 12880 1.1 christos (operator) <OPERATOR NEW '[' ']'>: Update ARGS to 3. 12881 1.1 christos (operator) <OPERATOR DELETE '[' ']'>: Add trailing space. 12882 1.1 christos * cp-support.c (cp_canonicalize_string): Check NULL from 12883 1.1 christos cp_comp_to_string, call warning and return. 12884 1.1 christos 12885 1.1 christos 2012-01-10 Jan Kratochvil <jan.kratochvil (a] redhat.com> 12886 1.1 christos 12887 1.1 christos Fix duplicate .o files after omitting libbfd.a. 12888 1.1 christos * Makefile.in (ALL_TARGET_OBS): Remove corelow.o. 12889 1.1 christos (SFILES): Add corelow.c. 12890 1.1 christos (COMMON_OBS): Add corelow.o. 12891 1.1 christos (ALLDEPFILES): Remove corelow.c. 12892 1.1 christos * config/alpha/alpha-linux.mh (NATDEPFILES): Remove corelow.o. 12893 1.1 christos * config/alpha/alpha-osf3.mh: Likewise. 12894 1.1 christos * config/alpha/fbsd.mh: Likewise. 12895 1.1 christos * config/arm/nbsdaout.mh: Likewise. 12896 1.1 christos * config/arm/nbsdelf.mh: Likewise. 12897 1.1 christos * config/i386/i386gnu.mh: Likewise. 12898 1.1 christos * config/ia64/hpux.mh: Likewise. 12899 1.1 christos * config/ia64/linux.mh: Likewise. 12900 1.1 christos * config/m32r/linux.mh: Likewise. 12901 1.1 christos * config/m68k/linux.mh: Likewise. 12902 1.1 christos * config/mips/irix5.mh: Likewise. 12903 1.1 christos * config/mips/irix6.mh: Likewise. 12904 1.1 christos * config/pa/hpux.mh: Likewise. 12905 1.1 christos * config/pa/linux.mh: Likewise. 12906 1.1 christos * config/powerpc/aix.mh: Likewise. 12907 1.1 christos * config/sparc/linux.mh: Likewise. 12908 1.1 christos * config/sparc/linux64.mh: Likewise. 12909 1.1 christos * config/sparc/sol2.mh: Likewise. 12910 1.1 christos * config/vax/vax.mh: Likewise. 12911 1.1 christos * configure.tgt (alpha*-*-freebsd* alpha*-*-kfreebsd*-gnu) 12912 1.1 christos (alpha*-*-netbsd*, alpha*-*-knetbsd*-gnu, alpha*-*-openbsd*) 12913 1.1 christos (am33_2.0*-*-linux*, arm*-wince-pe, arm*-*-mingw32ce*, arm*-*-linux*) 12914 1.1 christos (arm*-*-openbsd*, cris*, frv-*-*, hppa*-*-hpux*, hppa*-*-netbsd*) 12915 1.1 christos (hppa*-*-openbsd*, i[34567]86-*-dicos*, i[34567]86-*-freebsd*) 12916 1.1 christos (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-netbsd*) 12917 1.1 christos (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-openbsd*, i[34567]86-*-nto*) 12918 1.1 christos (i[34567]86-*-solaris2.1[0-9]*, x86_64-*-solaris2.1[0-9]*) 12919 1.1 christos (i[34567]86-*-solaris*, i[34567]86-*-linux*, i[34567]86-*-cygwin*) 12920 1.1 christos (i[34567]86-*-mingw32*, m68*-*-netbsd*, m68*-*-knetbsd*-gnu) 12921 1.1 christos (m68*-*-openbsd*, m88*-*-openbsd*, microblaze*-linux-*) 12922 1.1 christos (microblaze*-*-linux*, mips*-*-linux*, mips*-*-netbsd*) 12923 1.1 christos (mips*-*-knetbsd*-gnu, mips64*-*-openbsd*, powerpc-*-netbsd*) 12924 1.1 christos (powerpc-*-knetbsd*-gnu, powerpc-*-openbsd*, powerpc-*-linux*) 12925 1.1 christos (powerpc64-*-linux*, s390*-*-*, score-*-*, sh*-*-linux*) 12926 1.1 christos (sh*-*-netbsdelf*, sh*-*-knetbsd*-gnu, sh*-*-openbsd*) 12927 1.1 christos (sparc*-*-freebsd*, sparc*-*-kfreebsd*-gnu, sparc-*-netbsd*) 12928 1.1 christos (sparc-*-knetbsd*-gnu, sparc64-*-netbsd*, sparc64-*-knetbsd*-gnu) 12929 1.1 christos (sparc-*-openbsd*, sparc64-*-openbsd*, tic6x-*-*linux, vax-*-netbsd*) 12930 1.1 christos (vax-*-knetbsd*-gnu, vax-*-openbsd*, x86_64-*-dicos*, x86_64-*-linux*) 12931 1.1 christos (x86_64-*-freebsd*, x86_64-*-kfreebsd*-gnu, x86_64-*-netbsd*) 12932 1.1 christos (x86_64-*-knetbsd*-gnu, x86_64-*-openbsd*, xtensa*-*-linux*): Remove 12933 1.1 christos corelow.o from gdb_target_obs. 12934 1.1 christos * corefile.c (core_target): Update the comment on NULL value. 12935 1.1 christos (core_file_command): Replace error by gdb_assert on CORE_TARGET. 12936 1.1 christos * corelow.c (sniff_core_bfd): Call error instead of warning on zero 12937 1.1 christos MATCHES. Drop YUMMY set on NULL. 12938 1.1 christos (core_close): Do not call exit_inferior_silent on zero PID. Do not 12939 1.1 christos reclaim CORE_DATA if it is already NULL. 12940 1.1 christos 12941 1.1 christos 2012-01-09 Doug Evans <dje (a] google.com> 12942 1.1 christos 12943 1.1 christos * gdbtypes.c (safe_parse_type): Initialize type to keep gcc happy. 12944 1.1 christos * varobj.c (varobj_set_value): Initialize val,value to keep gcc happy. 12945 1.1 christos 12946 1.1 christos 2012-01-09 Keith Seitz <keiths (a] redhat.com> 12947 1.1 christos 12948 1.1 christos * breakpoint.c (wrapper.h): Don't include. 12949 1.1 christos 12950 1.1 christos 2012-01-09 Keith Seitz <keiths (a] redhat.com> 12951 1.1 christos 12952 1.1 christos * Makefile.in (SFILES): Remove wrapper.c. 12953 1.1 christos (HFILES_NO_SRCDIR): Remove wrapper.h. 12954 1.1 christos (COMMON_OBS): Remove wrapper.o. 12955 1.1 christos * cli/cli-interp.c: Don't inlude wrapper.h. 12956 1.1 christos * corelow.c: Likewise. 12957 1.1 christos (core_open): Replace gdb_target_find_new_threads with 12958 1.1 christos TRY_CATCH around target_find_new_threads. 12959 1.1 christos * eval.c (fetch_subexp_value): Likewise for value_fetch_lazy. 12960 1.1 christos * gdbtypes.c (safe_parse_type): Likewise for parse_and_eval_type. 12961 1.1 christos * varobj.c (varobj_create): Likewise for parse_exp_1 and 12962 1.1 christos evaluate_expression. 12963 1.1 christos (varobj_set_value): Likewise for evaluate_expression and 12964 1.1 christos value_assign. 12965 1.1 christos (install_new_variable): Likewise for value_fetch_lazy. 12966 1.1 christos (adjust_value_for_child_access): Likewise for value_ind. 12967 1.1 christos (c_describe_child): Likewise for value_subscript and 12968 1.1 christos value_ind. 12969 1.1 christos (c_value_of_root): Likewise for evaluate_expression. 12970 1.1 christos * wrapper.c: Remove. 12971 1.1 christos * wrapper.h: Remove. 12972 1.1 christos 12973 1.1 christos 2012-01-09 Doug Evans <dje (a] google.com> 12974 1.1 christos 12975 1.1 christos * dwarf2read.c (read_and_check_comp_unit_head): Renamed from 12976 1.1 christos partial_read_comp_unit_head. Replace "buffer", "buffer_size" and 12977 1.1 christos "abfd" args with "section". All callers updated. 12978 1.1 christos Error checking code moved ... 12979 1.1 christos (error_check_comp_unit_head): ... here. New function. 12980 1.1 christos (read_and_check_type_unit_head): Renamed from read_type_unit_head. 12981 1.1 christos Delete arg "abfd". New arg "type_offset". All callers updated. 12982 1.1 christos (create_debug_types_hash_table): Simplify by using 12983 1.1 christos read_and_check_type_unit_head. 12984 1.1 christos 12985 1.1 christos * parser-defs.h (namecopy): Delete. 12986 1.1 christos * parse.c (namecopy, namecopy_size): Move into copy_name. 12987 1.1 christos 12988 1.1 christos 2012-01-09 Jan Kratochvil <jan.kratochvil (a] redhat.com> 12989 1.1 christos 12990 1.1 christos Partially fix duplicate .o files after omitting libbfd.a. 12991 1.1 christos * config/alpha/alpha-osf3.mh (NATDEPFILES): Remove solib.o. 12992 1.1 christos * config/i386/nbsdaout.mh (NATDEPFILES): Remove solib.o. 12993 1.1 christos * config/i386/obsdaout.mh (NATDEPFILES): Remove solib.o. 12994 1.1 christos * config/m68k/nbsdaout.mh (NATDEPFILES): Remove solib.o. 12995 1.1 christos * config/m68k/obsd.mh (NATDEPFILES): Remove solib.o. 12996 1.1 christos * config/powerpc/aix.mh (NATDEPFILES): Remove xcoffread.o. 12997 1.1 christos * config/vax/nbsdaout.mh (NATDEPFILES): Remove solib.o. 12998 1.1 christos 12999 1.1 christos 2012-01-09 Pedro Alves <palves (a] redhat.com> 13000 1.1 christos 13001 1.1 christos * MAINTAINERS: Update my email address. 13002 1.1 christos 13003 1.1 christos 2012-01-08 Doug Evans <dje (a] google.com> 13004 1.1 christos 13005 1.1 christos * dwarf2read.c (dwarf2_per_objfile): Rename n_type_comp_units to 13006 1.1 christos n_type_units. Rename type_comp_units to all_type_units. 13007 1.1 christos All uses updated. 13008 1.1 christos (add_signatured_type_cu_to_table): Renamed from 13009 1.1 christos add_signatured_type_cu_to_list. All callers updated. 13010 1.1 christos 13011 1.1 christos * gdbtypes.h (struct cplus_struct_type): Delete member 13012 1.1 christos nfn_fields_total. All uses removed. 13013 1.1 christos 13014 1.1 christos 2012-01-06 Doug Evans <dje (a] google.com> 13015 1.1 christos 13016 1.1 christos * dwarf2read.c: Move FIXME from dwarf2_build_psymtabs_hard 13017 1.1 christos to top of file. 13018 1.1 christos (dwarf2_find_comp_unit): Delete. 13019 1.1 christos (process_psymtab_comp_unit): Make result "void". 13020 1.1 christos Delete args buffer, info_ptr, buffer_size, and replace with 13021 1.1 christos "section". All callers updated. 13022 1.1 christos (dwarf2_build_psymtabs_hard): Simplify. 13023 1.1 christos 13024 1.1 christos 2012-01-06 Sergio Durigan Junior <sergiodj (a] redhat.com> 13025 1.1 christos Thiago Jung Bauermann <bauerman (a] br.ibm.com> 13026 1.1 christos 13027 1.1 christos * ada-lang.c (ada_exception_name_addr): Add `volatile' keyword 13028 1.1 christos before `struct gdb_exception'. 13029 1.1 christos * breakpoint.c (update_global_location_list_nothrow) 13030 1.1 christos (update_breakpoint_locations, enable_breakpoint_disp): Likewise. 13031 1.1 christos * cp-abi.c (value_rtti_type): Likewise. 13032 1.1 christos * cp-support.c (cp_validate_operator): Likewise. 13033 1.1 christos * infrun.c (insert_exception_resume_breakpoint) 13034 1.1 christos (check_exception_resume, keep_going): Likewise. 13035 1.1 christos * mi-interp.c (mi_breakpoint_created) 13036 1.1 christos (mi_breakpoint_modified): Likewise. 13037 1.1 christos * rs6000-aix-tdep.c (rs6000_convert_from_func_ptr_addr): Likewise. 13038 1.1 christos * solib-ia64-hpux.c (ia64_hpux_at_dld_breakpoint_p) 13039 1.1 christos (ia64_hpux_handle_dld_breakpoint_1): Likewise. 13040 1.1 christos 13041 1.1 christos 2012-01-05 Doug Evans <dje (a] google.com> 13042 1.1 christos 13043 1.1 christos * dwarf2read.c (statement_prologue): Delete, unused. 13044 1.1 christos 13045 1.1 christos * dwarf2read.c (dwarf2_per_cu_addr_size): Make result type an int. 13046 1.1 christos * dwarf2loc.h (dwarf2_per_cu_addr_size): Update. 13047 1.1 christos 13048 1.1 christos * dwarf2read.c (comp_unit_header): Delete, unused. 13049 1.1 christos 13050 1.1 christos 2012-01-05 Ulrich Weigand <uweigand (a] de.ibm.com> 13051 1.1 christos 13052 1.1 christos * configure.tgt [s390*-*-*] (gdb_target_obs): Add corelow.o. 13053 1.1 christos * config/s390/s390.mh (NATDEPFILES): Remove corelow.o. 13054 1.1 christos 13055 1.1 christos 2012-01-05 Khoo Yit Phang <khooyp (a] cs.umd.edu> 13056 1.1 christos 13057 1.1 christos * infrun.c (normal_stop): Don't skip calling the normal_stop 13058 1.1 christos observers if the thread was doing a multi-step, but stopped for 13059 1.1 christos some reason other than stepping. 13060 1.1 christos 13061 1.1 christos 2012-01-05 Pedro Alves <alves.ped (a] gmail.com> 13062 1.1 christos 13063 1.1 christos * cli/cli-decode.h: Add comments. 13064 1.1 christos (CMD_LIST_AMBIGUOUS): Moved to command.h 13065 1.1 christos (add_cmd, add_alias_cmd, add_prefix_cmd, add_abbrev_prefix_cmd) 13066 1.1 christos (set_cmd_cfunc, set_cmd_sfunc, set_cmd_completer, cmd_cfunc_eq) 13067 1.1 christos (set_cmd_context, get_cmd_context, lookup_cmd, lookup_cmd_1) 13068 1.1 christos (deprecate_cmd, deprecated_cmd_warning, lookup_cmd_composition) 13069 1.1 christos (add_com, add_com_alias, add_info, add_info_alias) 13070 1.1 christos (complete_on_cmdlist, complete_on_enum, help_list): Remove 13071 1.1 christos declarations. 13072 1.1 christos * command.h: Add and adjust comments. 13073 1.1 christos (CMD_LIST_AMBIGUOUS): Moved here. 13074 1.1 christos (help_cmd, help_cmd_list): Delete declarations. 13075 1.1 christos 13076 1.1 christos 2012-01-04 Doug Evans <dje (a] google.com> 13077 1.1 christos 13078 1.1 christos * dwarf2read.c (dwarf2_read_abbrevs): Delete arg "abfd". 13079 1.1 christos All callers updated. 13080 1.1 christos (load_full_type_unit): Renamed from read_signatured_type_at_offset. 13081 1.1 christos Replace all arguments with "per_cu". All callers updated. 13082 1.1 christos 13083 1.1 christos * dwarf2read.c (dwarf2_per_cu_data): Remove outdated comment. 13084 1.1 christos 13085 1.1 christos * dwarf2read.c (init_one_comp_unit): Delete arg "objfile". 13086 1.1 christos New arg "per_cu". All callers updated. 13087 1.1 christos 13088 1.1 christos Delete #if 0'd out code. 13089 1.1 christos * language.c (binop_result_type): Delete. 13090 1.1 christos (simple_type, ordered_type, same_type, integral_type): Delete. 13091 1.1 christos (numeric_type, character_type, string_type, boolean_type): Delete. 13092 1.1 christos (float_type, structured_type): Delete. 13093 1.1 christos * language.h: Update. 13094 1.1 christos 13095 1.1 christos 2012-01-04 Tom Tromey <tromey (a] redhat.com> 13096 1.1 christos 13097 1.1 christos * python/py-value.c (valpy_binop): Initialize 'res_val'. 13098 1.1 christos 13099 1.1 christos 2012-01-04 Joel Brobecker <brobecker (a] adacore.com> 13100 1.1 christos 13101 1.1 christos * corefile.c (close_exec_file): Delete. 13102 1.1 christos (reopen_exec_file): Remove commented out code that seems related 13103 1.1 christos to close_exec_file, which is being deleted here. 13104 1.1 christos * inferior.h (close_exec_file): Delete. 13105 1.1 christos * fork-child.c (fork_inferior): Remove call to fork_inferior. 13106 1.1 christos 13107 1.1 christos 2012-01-04 Joel Brobecker <brobecker (a] adacore.com> 13108 1.1 christos 13109 1.1 christos * ada-lang.c: #include "cli/cli-utils.h". 13110 1.1 christos (get_selections): Use skip_spaces. 13111 1.1 christos (ada_get_next_arg): Use skip_spaces and skip_to_space. 13112 1.1 christos (catch_ada_exception_command_split): Use skip_spaces. 13113 1.1 christos (ada_decode_assert_location): Likewise. 13114 1.1 christos 13115 1.1 christos 2012-01-04 Joel Brobecker <brobecker (a] adacore.com> 13116 1.1 christos 13117 1.1 christos * linespec.c (decode_line_internal): Check for C++ or Java 13118 1.1 christos compound constructs only if the current language is C, C++ 13119 1.1 christos or Java. 13120 1.1 christos 13121 1.1 christos 2012-01-04 Jan Kratochvil <jan.kratochvil (a] redhat.com> 13122 1.1 christos 13123 1.1 christos Revert: 13124 1.1 christos 2012-01-02 Jan Kratochvil <jan.kratochvil (a] redhat.com> 13125 1.1 christos Joel Brobecker <brobecker (a] adacore.com> 13126 1.1 christos Fix regression for gdb.cp/gdb2495.exp with gcc-4.7. 13127 1.1 christos * arch-utils.c (displaced_step_at_entry_point): Incrase BP_LEN skip to 13128 1.1 christos 3 times. 13129 1.1 christos * infcall.c (call_function_by_hand) <AT_SYMBOL>: Move it upwards and 13130 1.1 christos fall through into AT_ENTRY_POINT. 13131 1.1 christos (call_function_by_hand) <AT_ENTRY_POINT>: New variable bp_len. Adjust 13132 1.1 christos DUMMY_ADDR with it. 13133 1.1 christos * ppc-linux-tdep.c (ppc_linux_displaced_step_location): Increase 13134 1.1 christos PPC_INSN_SIZE skip to 3 times. 13135 1.1 christos 13136 1.1 christos 2012-01-04 Joel Brobecker <brobecker (a] adacore.com> 13137 1.1 christos 13138 1.1 christos * linespec.c (add_minsym): Preserve function descriptors. 13139 1.1 christos 13140 1.1 christos 2012-01-04 Ulrich Weigand <uweigand (a] de.ibm.com> 13141 1.1 christos 13142 1.1 christos * breakpoint.c (all_locations_are_pending): Consider locations 13143 1.1 christos in program spaces executing during startup pending as well. 13144 1.1 christos 13145 1.1 christos 2012-01-04 Joel Brobecker <brobecker (a] adacore.com> 13146 1.1 christos 13147 1.1 christos Copyright year update in most files of the GDB Project. 13148 1.1 christos 13149 1.1 christos 2012-01-04 Joel Brobecker <brobecker (a] adacore.com> 13150 1.1 christos 13151 1.1 christos * copyright.sh: Delete. 13152 1.1 christos * copyright.py: Rewrite. 13153 1.1 christos 13154 1.1 christos 2012-01-04 Joel Brobecker <brobecker (a] adacore.com> 13155 1.1 christos 13156 1.1 christos * gnulib/extra/update-copyright: New file, imported from gnulib. 13157 1.1 christos 13158 1.1 christos 2012-01-04 Joel Brobecker <brobecker (a] adacore.com> 13159 1.1 christos 13160 1.1 christos * README (Copyright and License Notices): New section. 13161 1.1 christos 13162 1.1 christos 2012-01-03 Tom Tromey <tromey (a] redhat.com> 13163 1.1 christos 13164 1.1 christos PR python/12533: 13165 1.1 christos * python/py-value.c (valpy_dereference, valpy_get_address 13166 1.1 christos valpy_get_dynamic_type, valpy_lazy_string, valpy_do_cast) 13167 1.1 christos (valpy_getitem, valpy_call, valpy_binop, valpy_negative) 13168 1.1 christos (valpy_absolute, valpy_richcompare): Free intermediate values. 13169 1.1 christos 13170 1.1 christos 2011-01-03 Joel Brobecker <brobecker (a] adacore.com> 13171 1.1 christos 13172 1.1 christos * ada-lang.c: Reformat the copyright notice. 13173 1.1 christos 13174 1.1 christos 2012-01-02 Jan Kratochvil <jan.kratochvil (a] redhat.com> 13175 1.1 christos 13176 1.1 christos * Makefile.in (ALL_TARGET_OBS): Remove solib-target.o. 13177 1.1 christos * configure.tgt (arm*-wince-pe, arm*-*-mingw32ce*, arm*-*-symbianelf*) 13178 1.1 christos (i[34567]86-*-dicos*, i[34567]86-*-cygwin*, i[34567]86-*-mingw32*) 13179 1.1 christos (x86_64-*-dicos*, x86_64-*-mingw*): Remove solib-target.o. 13180 1.1 christos Revert this part of: 13181 1.1 christos 2012-01-02 Jan Kratochvil <jan.kratochvil (a] redhat.com> 13182 1.1 christos Build gdb directly from *.o files not using libgdb.a. 13183 1.1 christos * Makefile.in (COMMON_OBS): Remove solib-target.o. 13184 1.1 christos 13185 1.1 christos 2012-01-02 Joel Brobecker <brobecker (a] adacore.com> 13186 1.1 christos 13187 1.6 christos * common/gdb_thread_db.h, dbxread.c, environ.c, 13188 1.6 christos gcore.h, rs6000-tdep.h, s390-nat.c, tic6x-tdep.c: 13189 1.1 christos Reformat the copyright header. 13190 1.1 christos 13191 1.1 christos 2012-01-02 Jan Kratochvil <jan.kratochvil (a] redhat.com> 13192 1.1 christos 13193 1.1 christos Revert this part of: 13194 1.1 christos 2012-01-02 Jan Kratochvil <jan.kratochvil (a] redhat.com> 13195 1.1 christos Remove the gdbtui binary. 13196 1.1 christos * gdb.c (main): Remove args.interpreter_p initialization. 13197 1.1 christos * main.c (captured_main): Set INTERPRETER_P directly by INTERP_CONSOLE. 13198 1.1 christos * main.h (struct captured_main_args): Remove interpreter_p. 13199 1.1 christos 13200 1.1 christos 2012-01-02 Joel Brobecker <brobecker (a] adacore.com> 13201 1.1 christos 13202 1.1 christos * config/djgpp/fnchange.lst: Add entry for ChangeLog-2011. 13203 1.1 christos 13204 1.1 christos 2012-01-02 Joel Brobecker <brobecker (a] adacore.com> 13205 1.1 christos 13206 1.1 christos * top.c (print_gdb_version): Update copyright year. 13207 1.1 christos 13208 1.1 christos 2012-01-02 Yao Qi <yao (a] codesourcery.com> 13209 1.1 christos 13210 1.1 christos * inf-ptrace.c (inf_ptrace_xfer_partial): Reindent. 13211 1.1 christos 13212 1.1 christos 2012-01-02 Jan Kratochvil <jan.kratochvil (a] redhat.com> 13213 1.1 christos Joel Brobecker <brobecker (a] adacore.com> 13214 1.1 christos 13215 1.1 christos Fix regression for gdb.cp/gdb2495.exp with gcc-4.7. 13216 1.1 christos * arch-utils.c (displaced_step_at_entry_point): Incrase BP_LEN skip to 13217 1.1 christos 3 times. 13218 1.1 christos * infcall.c (call_function_by_hand) <AT_SYMBOL>: Move it upwards and 13219 1.1 christos fall through into AT_ENTRY_POINT. 13220 1.1 christos (call_function_by_hand) <AT_ENTRY_POINT>: New variable bp_len. Adjust 13221 1.1 christos DUMMY_ADDR with it. 13222 1.1 christos * ppc-linux-tdep.c (ppc_linux_displaced_step_location): Increase 13223 1.1 christos PPC_INSN_SIZE skip to 3 times. 13224 1.1 christos 13225 1.1 christos 2012-01-02 Jan Kratochvil <jan.kratochvil (a] redhat.com> 13226 1.1 christos 13227 1.1 christos * amd64-linux-nat.c (update_debug_registers_callback): New comment on 13228 1.1 christos the return value. 13229 1.1 christos * i386-linux-nat.c (update_debug_registers_callback): Likewise. 13230 1.1 christos 13231 1.1 christos 2012-01-02 Jan Kratochvil <jan.kratochvil (a] redhat.com> 13232 1.1 christos 13233 1.1 christos Build gdb directly from *.o files not using libgdb.a. 13234 1.1 christos * Makefile.in (SUBDIR_TUI_OBS): Remove duplicate tui.o. 13235 1.1 christos (COMMON_OBS): Remove solib-target.o. 13236 1.1 christos (LIBGDB_OBS, libgdb.a): Move it before the gdb$(EXEEXT) rule. 13237 1.1 christos (gdb$(EXEEXT)): Replace libgdb.a with $(LIBGDB_OBS). 13238 1.1 christos (LIBGDB_OBS, libgdb.a): Move it above. 13239 1.1 christos * configure.tgt (alpha*-*-linux*, alpha*-*-freebsd*) 13240 1.1 christos (alpha*-*-kfreebsd*-gnu, alpha*-*-netbsd*, alpha*-*-knetbsd*-gnu) 13241 1.1 christos (alpha*-*-openbsd*, am33_2.0*-*-linux*, arm*-wince-pe) 13242 1.1 christos (arm*-*-mingw32ce*, arm*-*-linux*, arm*-*-netbsd*, arm*-*-knetbsd*-gnu) 13243 1.1 christos (arm*-*-openbsd*, cris*, frv-*-*, hppa*-*-hpux*, hppa*-*-linux*) 13244 1.1 christos (hppa*-*-netbsd*, hppa*-*-openbsd*, i[34567]86-*-darwin*) 13245 1.1 christos (i[34567]86-*-dicos*, i[34567]86-*-freebsd*, i[34567]86-*-kfreebsd*-gnu) 13246 1.1 christos (i[34567]86-*-netbsd*, i[34567]86-*-knetbsd*-gnu, i[34567]86-*-openbsd*) 13247 1.1 christos (i[34567]86-*-nto*, i[34567]86-*-solaris2.1[0-9]*) 13248 1.1 christos (x86_64-*-solaris2.1[0-9]*, i[34567]86-*-solaris*, i[34567]86-*-linux*) 13249 1.1 christos (i[34567]86-*-gnu*, ia64-*-linux*, m32r*-*-linux*, m68*-*-linux*) 13250 1.1 christos (m68*-*-netbsd*, m68*-*-knetbsd*-gnu, m68*-*-openbsd*) 13251 1.1 christos (microblaze*-linux-*, microblaze*-*-linux*, mips*-sgi-irix5*) 13252 1.1 christos (mips*-sgi-irix6*, mips*-*-linux*, mips*-*-netbsd*) 13253 1.1 christos (mips*-*-knetbsd*-gnu, mips64*-*-openbsd*, powerpc-*-netbsd*) 13254 1.1 christos (powerpc-*-knetbsd*-gnu, powerpc-*-openbsd*, powerpc-*-aix*, rs6000-*-*) 13255 1.1 christos (powerpc-*-linux*, powerpc64-*-linux*, powerpc*-*-*, s390*-*-*) 13256 1.1 christos (sh*-*-linux*, sh*-*-netbsdelf*, sh*-*-knetbsd*-gnu, sh*-*-openbsd*) 13257 1.1 christos (sparc-*-linux*, sparc64-*-linux*, sparc*-*-freebsd*) 13258 1.1 christos (sparc*-*-kfreebsd*-gnu, sparc-*-netbsd*, sparc-*-knetbsd*-gnu) 13259 1.1 christos (sparc64-*-netbsd*, sparc64-*-knetbsd*-gnu, sparc-*-openbsd*) 13260 1.1 christos (sparc64-*-openbsd*, sparc-*-solaris2.[0-6], sparc-*-solaris2.[0-6].*) 13261 1.1 christos (sparc-*-solaris2*, sparcv9-*-solaris2*, sparc64-*-solaris2*) 13262 1.1 christos (vax-*-netbsd*, vax-*-knetbsd*-gnu, x86_64-*-darwin*, x86_64-*-dicos*) 13263 1.1 christos (x86_64-*-linux*, x86_64-*-freebsd*, x86_64-*-kfreebsd*-gnu) 13264 1.1 christos (x86_64-*-netbsd*, x86_64-*-knetbsd*-gnu, x86_64-*-openbsd*) 13265 1.1 christos (xtensa*-*-linux*, xtensa*): Remove solib.o from gdb_target_obs. 13266 1.1 christos 13267 1.1 christos 2012-01-02 Jan Kratochvil <jan.kratochvil (a] redhat.com> 13268 1.1 christos 13269 1.1 christos Remove the gdbtui binary. 13270 1.1 christos * .gitignore (/gdbtui): Remove. 13271 1.1 christos * Makefile.in (TUI): Remove. 13272 1.1 christos (SUBDIR_TUI_OBS): Remove tui-main.o. 13273 1.1 christos (SUBDIR_TUI_SRCS): Remove tui/tui-main.c. 13274 1.1 christos (all-tui, install-tui, uninstall-tui, $(TUI)$(EXEEXT), clean-tui) 13275 1.1 christos (tui-main.o): Remove. 13276 1.1 christos (all_object_files): Remove tui-main.o. 13277 1.1 christos * NEWS: New note for the gdbtui removal. 13278 1.1 christos * configure: Rebuilt. 13279 1.1 christos * configure.ac: No longer add all-tui, clean-tui, install-tui and 13280 1.1 christos uninstall-tui to CONFIG_ALL, CONFIG_CLEAN, CONFIG_INSTALL and 13281 1.1 christos CONFIG_UNINSTALL respectively. 13282 1.1 christos * gdb.c (main): Remove args.interpreter_p initialization. 13283 1.1 christos * main.c (captured_main): Set INTERPRETER_P directly by INTERP_CONSOLE. 13284 1.1 christos * main.h (struct captured_main_args): Remove interpreter_p. 13285 1.1 christos * tui/tui-main.c: Remove. 13286 1.1 christos 13287 1.1 christos 2012-01-01 Doug Evans <dje (a] google.com> 13288 1.1 christos 13289 1.1 christos * dwarf2read.c (dwarf2_compute_name): Simplify objfile references. 13290 1.1 christos (dwarf2_physname, read_import_statement): Ditto. 13291 1.1 christos (read_call_site_scope, dwarf2_record_block_ranges): Ditto. 13292 1.1 christos (process_structure_scope read_subroutine_type): Ditto. 13293 1.1 christos (read_typedef, load_partial_dies, read_partial_die): Ditto. 13294 1.1 christos (find_partial_die, dwarf_decode_lines, lookup_die_type): Ditto. 13295 1.1 christos (dwarf2_fetch_die_location_block): Ditto. 13296 1.1 christos (dwarf_decode_macros, dwarf2_symbol_mark_computed): Ditto. 13297 1.1 christos 13298 1.1 christos * dwarf2read.c (read_signatured_type): Delete `objfile' arg. 13299 1.1 christos All callers updated. 13300 1.1 christos (load_full_comp_unit, queue_comp_unit, process_queue): Ditto. 13301 1.1 christos (dw2_do_instantiate_symtab, dw2_instantiate_symtab): Ditto. 13302 1.1 christos (process_psymtab_comp_unit, load_partial_comp_unit): Ditto. 13303 1.1 christos 13304 1.1 christos * dwarf2read.c (load_cu): Move assert to more useful location. 13305 1.1 christos 13306 1.1 christos * dwarf2read.c (free_heap_comp_unit): Renamed from free_one_comp_unit. 13307 1.1 christos All callers updated. 13308 1.1 christos 13309 1.1 christos * dwarf2read.c (dwarf2_per_objfile): Add comment. 13310 1.1 christos (dwarf2_elf_names): Minor reformat. 13311 1.1 christos (dwarf2_per_cu_data): Tweak comment. 13312 1.1 christos (dwarf2_read_section): Fix comment. 13313 1.1 christos (create_all_comp_units): Fix comment. 13314 1.1 christos (load_full_comp_unit): Fix comment. 13315 1.1 christos (process_full_comp_unit): Fix comment. 13316 1.1 christos (read_signatured_type): Fix comment. 13317 1.1 christos 13318 1.1 christos For older changes see ChangeLog-2011. 13319 1.1 christos 13321 1.1 christos Local Variables: 13322 1.1 christos mode: change-log 13323 1.1 christos left-margin: 8 13324 1.1 christos fill-column: 74 13325 1.1 christos version-control: never 13326 1.1 christos coding: utf-8 13327 End: 13328