ChangeLog-2012 revision 1.1 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 * doc/gdb.texinfo (Inferior.read_memory): Mention that the return
839 1.1 christos value is a memoryview object if Python 3.
840 1.1 christos
841 1.1 christos 2012-12-12 Tom Tromey <tromey (a] redhat.com>
842 1.1 christos
843 1.1 christos * coffread.c (coff_objfile_data_key): New global.
844 1.1 christos (coff_symfile_init): Use set_objfile_data.
845 1.1 christos (coff_symfile_read): Use objfile_data.
846 1.1 christos (coff_symfile_finish): Don't free deprecated_sym_private.
847 1.1 christos (coff_free_info): New function.
848 1.1 christos (_initialize_coffread): Initialize coff_objfile_data_key.
849 1.1 christos * mdebugread.c (pending_list): Update comment.
850 1.1 christos * objfiles.h (struct objfile) <deprecated_sym_private>: Remove.
851 1.1 christos * symfile.c (reread_symbols): Don't mention
852 1.1 christos deprecated_sym_private.
853 1.1 christos * xcoffread.c (xcoff_objfile_data_key): New global.
854 1.1 christos (XCOFF_DATA): New macro.
855 1.1 christos (process_linenos, enter_line_range, xcoff_next_symbol_text)
856 1.1 christos (read_xcoff_symtab, coff_getfilename, read_symbol_lineno): Use
857 1.1 christos XCOFF_DATA.
858 1.1 christos (xcoff_new_init) Use set_objfile_data.
859 1.1 christos (xcoff_symfile_finish): Don't free deprecated_sym_private.
860 1.1 christos (init_stringtab, swap_sym, scan_xcoff_symtab)
861 1.1 christos (xcoff_get_toc_offset, xcoff_initial_scan): Use XCOFF_DATA.
862 1.1 christos (xcoff_free_info): New function.
863 1.1 christos (_initialize_xcoffread): Initialize xcoff_objfile_data_key.
864 1.1 christos
865 1.1 christos 2012-12-12 Mircea Gherzan <mircea.gherzan (a] intel.com>
866 1.1 christos
867 1.1 christos * MAINTAINERS (Write After Approval): Add "Mircea Gherzan".
868 1.1 christos
869 1.1 christos 2012-12-12 Tom Tromey <tromey (a] redhat.com>
870 1.1 christos
871 1.1 christos * coffread.c (coff_symfile_init): Use set_objfile_data.
872 1.1 christos (coff_symfile_read): Use DBX_SYMFILE_INFO.
873 1.1 christos * dbxread.c (dbx_objfile_data_key): New global.
874 1.1 christos (dbx_symfile_init): Use set_objfile_data.
875 1.1 christos (dbx_symfile_finish): Don't free deprecated_sym_stab_info.
876 1.1 christos (dbx_free_symfile_info): New function.
877 1.1 christos (coffstab_build_psymtabs, elfstab_build_psymtabs): Use
878 1.1 christos DBX_SYMFILE_INFO.
879 1.1 christos (stabsect_build_psymtabs): Use set_objfile_data.
880 1.1 christos (_initialize_dbxreadb): Initialize dbx_objfile_data_key.
881 1.1 christos * elfread.c (elf_symtab_read): Use DBX_SYMFILE_INFO,
882 1.1 christos set_objfile_data.
883 1.1 christos (free_elfinfo): Use DBX_SYMFILE_INFO.
884 1.1 christos (elf_symfile_finish): Don't free deprecated_sym_stab_info.
885 1.1 christos (elfstab_offset_sections): Use DBX_SYMFILE_INFO.
886 1.1 christos * gdb-stabs.h (dbx_objfile_data_key): Declare.
887 1.1 christos (DBX_SYMFILE_INFO): Rewrite to use objfile_data.
888 1.1 christos * objfiles.h (struct objfile) <deprecated_sym_stab_info>: Remove.
889 1.1 christos * somread.c (som_symfile_finish): Don't free
890 1.1 christos deprecated_sym_stab_info.
891 1.1 christos
892 1.1 christos 2012-12-12 Joel Brobecker <brobecker (a] adacore.com>
893 1.1 christos
894 1.1 christos * gdbarch.sh (software_single_step): Remove trailing space in
895 1.1 christos comment (gdbarch.h is already correct).
896 1.1 christos
897 1.1 christos 2012-12-11 Tom Tromey <tromey (a] redhat.com>
898 1.1 christos
899 1.1 christos * dwarf2read.c (dwarf2_get_dwz_file): Set 'dwz_file'.
900 1.1 christos
901 1.1 christos 2012-12-11 Tom Tromey <tromey (a] redhat.com>
902 1.1 christos
903 1.1 christos * dsrec.c (report_transfer_performance): Don't declare.
904 1.1 christos (load_srec): Use gettimeofday, print_transfer_performance.
905 1.1 christos * symfile.c (report_transfer_performance): Remove.
906 1.1 christos
907 1.1 christos 2012-12-11 Pedro Alves <pedro (a] codesourcery.com>
908 1.1 christos Pedro Alves <palves (a] redhat.com>
909 1.1 christos
910 1.1 christos * procfs.c (procfs_make_note_section) [NEW_PROC_API]: Output a
911 1.1 christos NT_PSTATUS note.
912 1.1 christos * sol2-tdep.c (sol2_core_pid_to_str): Print process IDs
913 1.1 christos differently from LWP IDs.
914 1.1 christos
915 1.1 christos 2012-12-11 Pedro Alves <palves (a] redhat.com>
916 1.1 christos
917 1.1 christos * configure.ac (detect type of /proc): Remove Unixware handling.
918 1.1 christos * configure: Regenerate.
919 1.1 christos * proc-api.c (ioctl_table) [PIOCLSTATUS]: Don't mention Unixware.
920 1.1 christos (ioctl_table) [PCRESET]: Remove entry.
921 1.1 christos * proc-events.c (SYS_lwp_create, SYS_lwp_exit, SYS_lwp_wait)
922 1.1 christos (SYS_lwp_self, SYS_lwp_info, SYS_lwp_private, SYS_lwp_kill)
923 1.1 christos (SYS_lwp_suspend, SYS_lwp_continue): Don't define.
924 1.1 christos * proc-why.c (pr_why_table) [PR_SUSPENDED]: Don't mention Unixware.
925 1.1 christos * procfs.c: Remove all UNIXWARE guarded code, and all traces of
926 1.1 christos Unixware in comments throughout.
927 1.1 christos * i386-tdep.c (i386_svr4_sigtramp_p): Don't match _sigacthandler,
928 1.1 christos and remove mention of Unixware.
929 1.1 christos
930 1.1 christos 2012-12-10 Doug Evans <dje (a] google.com>
931 1.1 christos
932 1.1 christos * dwarf2read.c (dwarf2_cu): Enhance comment.
933 1.1 christos (dwarf2_get_pc_bounds): Only add ranges_base for DIEs that live in
934 1.1 christos the DWO file.
935 1.1 christos (dwarf2_record_block_ranges): Ditto.
936 1.1 christos
937 1.1 christos * dwarf2read.c (create_dwo_in_dwp): Tweak comment.
938 1.1 christos
939 1.1 christos * symtab.c (find_pc_sect_symtab): Add comment.
940 1.1 christos
941 1.1 christos 2012-12-10 Tom Tromey <tromey (a] redhat.com>
942 1.1 christos
943 1.1 christos * defs.h: Don't check for definition of LONGEST.
944 1.1 christos (min, max): Remove duplicates.
945 1.1 christos
946 1.1 christos 2012-12-10 Tom Tromey <tromey (a] redhat.com>
947 1.1 christos
948 1.1 christos * dwarf2read.c (dwarf2_fetch_die_loc_sect_off): New function.
949 1.1 christos (dwarf2_fetch_die_loc_cu_off): Rename from
950 1.1 christos dwarf2_fetch_die_location_block. Rewrite to use
951 1.1 christos dwarf2_fetch_die_loc_sect_off.
952 1.1 christos * dwarf2loc.h (dwarf2_fetch_die_loc_sect_off): Declare.
953 1.1 christos (dwarf2_fetch_die_loc_cu_off): Rename.
954 1.1 christos * dwarf2loc.c (indirect_pieced_value): Use
955 1.1 christos dwarf2_fetch_die_loc_sect_off.
956 1.1 christos * dwarf2expr.h (struct dwarf_expr_context) <len, data>: Update
957 1.1 christos comment.
958 1.1 christos (struct dwarf_expr_piece) <v.ptr.die>: Now a sect_offset.
959 1.1 christos * dwarf2expr.c (add_piece): Update.
960 1.1 christos (execute_stack_op) <DW_OP_GNU_implicit_pointer>: Update comment.
961 1.1 christos
962 1.1 christos 2012-12-10 Tom Tromey <tromey (a] redhat.com>
963 1.1 christos
964 1.1 christos * buildsym.c (struct pending_block): Move from buildsym.h.
965 1.1 christos (pending_blocks): Likewise; now static.
966 1.1 christos (pending_block_obstack): New global.
967 1.1 christos (free_pending_blocks): Free blocks.
968 1.1 christos (record_pending_block): Use pending_block_obstack.
969 1.1 christos * buildsym.h (struct pending_block): Move definition to
970 1.1 christos buildsym.c.
971 1.1 christos (pending_blocks): Don't declare.
972 1.1 christos
973 1.1 christos 2012-12-10 Pedro Alves <palves (a] redhat.com>
974 1.1 christos
975 1.1 christos * solib-svr4.c (svr4_solib_create_inferior_hook) [_SCO_DS]: Remove
976 1.1 christos dead SCO code, and adjust function description comment.
977 1.1 christos
978 1.1 christos 2012-12-09 Jan Kratochvil <jan.kratochvil (a] redhat.com>
979 1.1 christos
980 1.1 christos * configure.ac (CC_HAS_LONG_LONG): Replace by AC_MSG_ERROR.
981 1.1 christos * defs.h (LONGEST, ULONGEST): Remove conditionalization for
982 1.1 christos CC_HAS_LONG_LONG.
983 1.1 christos * dwarf2-frame.c (DW64_CIE_ID): Likewise.
984 1.1 christos * dwarf2read.c (extract_cu_value): Remove the function.
985 1.1 christos (create_cus_from_index_list): Make the return type void, inline the
986 1.1 christos extract_cu_value caller, include new gdb_static_assert.
987 1.1 christos (create_cus_from_index): Make the return type void, update the function
988 1.1 christos comment, update the create_cus_from_index_list caller.
989 1.1 christos (create_signatured_type_table_from_index): Make the return type void,
990 1.1 christos inline the extract_cu_value caller, include new gdb_static_assert.
991 1.1 christos (dwarf2_read_index): Update the create_cus_from_index and
992 1.1 christos create_signatured_type_table_from_index caller.
993 1.1 christos * printcmd.c (ui_printf): Remove conditionalizations for
994 1.1 christos CC_HAS_LONG_LONG.
995 1.1 christos * config.in: Regenerate.
996 1.1 christos * configure: Regenerate.
997 1.1 christos
998 1.1 christos 2012-12-09 Jan Kratochvil <jan.kratochvil (a] redhat.com>
999 1.1 christos
1000 1.1 christos * dwarf2read.c (struct dwarf2_cu): New field producer_is_gcc_lt_4_3.
1001 1.1 christos Update the comment for checked_producer.
1002 1.1 christos (check_producer): New forward declaration.
1003 1.1 christos (producer_is_gcc_lt_4_3): New function.
1004 1.1 christos (find_file_and_directory): Simulate *COMP_DIR only for gcc < 4.3.
1005 1.1 christos (check_producer): Initialize also PRODUCER_IS_GCC_LT_4_3.
1006 1.1 christos
1007 1.1 christos 2012-12-07 Tom Tromey <tromey (a] redhat.com>
1008 1.1 christos
1009 1.1 christos * ada-lang.c (ada_make_symbol_completion_list): Add 'code'
1010 1.1 christos argument, assertion.
1011 1.1 christos * c-exp.y (typebase): Add completion productions.
1012 1.1 christos * completer.c (expression_completer): Handle tag completion.
1013 1.1 christos * expression.h (parse_expression_for_completion): Add argument.
1014 1.1 christos * f-lang.c (f_make_symbol_completion_list): Add 'code'
1015 1.1 christos argument.
1016 1.1 christos * language.h (struct language_defn)
1017 1.1 christos <la_make_symbol_completion_list>: Add 'code' argument.
1018 1.1 christos * parse.c (expout_tag_completion_type, expout_completion_name):
1019 1.1 christos New globals.
1020 1.1 christos (mark_struct_expression): Add assertion.
1021 1.1 christos (mark_completion_tag): New function.
1022 1.1 christos (parse_exp_in_context): Initialize new globals.
1023 1.1 christos (parse_expression_for_completion): Add 'code' argument. Handle
1024 1.1 christos tag completion.
1025 1.1 christos * parser-defs.h (mark_completion_tag): Declare.
1026 1.1 christos * symtab.c (default_make_symbol_completion_list_break_on): Add
1027 1.1 christos 'code' argument. Update.
1028 1.1 christos (default_make_symbol_completion_list): Add 'code' argument.
1029 1.1 christos (make_symbol_completion_list): Update.
1030 1.1 christos (make_symbol_completion_type): New function.
1031 1.1 christos * symtab.h (default_make_symbol_completion_list_break_on)
1032 1.1 christos (default_make_symbol_completion_list): Update.
1033 1.1 christos (make_symbol_completion_type): Declare.
1034 1.1 christos
1035 1.1 christos 2012-12-07 Tom Tromey <tromey (a] redhat.com>
1036 1.1 christos
1037 1.1 christos * expression.h (parse_expression_for_completion): Rename
1038 1.1 christos from parse_field_expression.
1039 1.1 christos (parse_completion): Rename from in_parse_field.
1040 1.1 christos * c-exp.y (lex_one_token): Update.
1041 1.1 christos * completer.c (expression_completer): Update.
1042 1.1 christos * go-exp.y (lex_one_token): Update.
1043 1.1 christos * p-exp.y (yylex): Update.
1044 1.1 christos * parse.c (parse_completion): Rename from in_parse_field.
1045 1.1 christos (parse_exp_in_context): Update.
1046 1.1 christos (parse_expression_for_completion): Rename from
1047 1.1 christos parse_field_expression. Update.
1048 1.1 christos
1049 1.1 christos 2012-12-07 Tom Tromey <tromey (a] redhat.com>
1050 1.1 christos
1051 1.1 christos * typeprint.c (_initialize_typeprint): Set completer
1052 1.1 christos for "whatis" and "ptype".
1053 1.1 christos
1054 1.1 christos 2012-12-07 Joel Brobecker <brobecker (a] adacore.com>
1055 1.1 christos
1056 1.1 christos * copyright.py (NOT_FSF_LIST): Remove duplicate entry
1057 1.1 christos "sim/common/cgen-fpu.h". Remove invalid entries
1058 1.1 christos "sim/common/sim-fpu.c" and "sim/mn10300/sim-main.h",
1059 1.1 christos which actually have an FSF copyright header.
1060 1.1 christos
1061 1.1 christos 2012-12-07 Joel Brobecker <brobecker (a] adacore.com>
1062 1.1 christos
1063 1.1 christos * osf-share/AT386/cma_thread_io.h: Delete.
1064 1.1 christos * osf-share/HP800/cma_thread_io.h: Delete.
1065 1.1 christos * osf-share/README: Delete.
1066 1.1 christos * osf-share/RIOS/cma_thread_io.h: Delete.
1067 1.1 christos * osf-share/cma_attr.h: Delete.
1068 1.1 christos * osf-share/cma_deb_core.h: Delete.
1069 1.1 christos * osf-share/cma_debug_client.h: Delete.
1070 1.1 christos * osf-share/cma_errors.h: Delete.
1071 1.1 christos * osf-share/cma_handle.h: Delete.
1072 1.1 christos * osf-share/cma_init.h: Delete.
1073 1.1 christos * osf-share/cma_list.h: Delete.
1074 1.1 christos * osf-share/cma_mutex.h: Delete.
1075 1.1 christos * osf-share/cma_sched.h: Delete.
1076 1.1 christos * osf-share/cma_semaphore_defs.h: Delete.
1077 1.1 christos * osf-share/cma_sequence.h: Delete.
1078 1.1 christos * osf-share/cma_stack.h: Delete.
1079 1.1 christos * osf-share/cma_stack_int.h: Delete.
1080 1.1 christos * osf-share/cma_tcb_defs.h: Delete.
1081 1.1 christos * osf-share/cma_util.h: Delete.
1082 1.1 christos * Makefile.in (HFILES_NO_SRCDIR): Remove entries for the files
1083 1.1 christos in osf-share.
1084 1.1 christos * config/djgpp/fnchange.lst: Remove osf-share/cma_stack_int.h entry.
1085 1.1 christos * contrib/ari/gdb_find.sh: Remove handling of osf-share.
1086 1.1 christos * copyright.sh (NOT_FSF_LIST): Remove "gdb/osf-share" entry.
1087 1.1 christos
1088 1.1 christos 2012-12-06 Pedro Alves <palves (a] redhat.com>
1089 1.1 christos Tom Tromey <tromey (a] redhat.com>
1090 1.1 christos
1091 1.1 christos * valops.c (value_cast): Move TYPE_CODE_VOID case earlier.
1092 1.1 christos
1093 1.1 christos 2012-12-06 Jens Elmenthaler <jens.elmenthaler (a] advantest.com>
1094 1.1 christos
1095 1.1 christos PR mi/14741:
1096 1.1 christos * mi/mi-cmd-var.c (varobj_update_one): Take value of
1097 1.1 christos attribute "dynamic" and "displayhint" from printed child,
1098 1.1 christos not the root variable.
1099 1.1 christos
1100 1.1 christos 2012-12-06 Joel Brobecker <brobecker (a] adacore.com>
1101 1.1 christos
1102 1.1 christos * aix-thread.c (getthrds): Fix type of 4th parameter.
1103 1.1 christos (get_signaled_thread): Change type of variable ktid to tid_t.
1104 1.1 christos
1105 1.1 christos 2012-12-06 Hui Zhu <hui_zhu (a] mentor.com>
1106 1.1 christos
1107 1.1 christos * dwarf2loc.c (dwarf_expr_frame_base): Add check for the return
1108 1.1 christos value of get_frame_block.
1109 1.1 christos
1110 1.1 christos 2012-12-05 Pierre Muller <muller (a] sourceware.org>
1111 1.1 christos
1112 1.1 christos Avoid memory leaks on struct cmd_list_element.doc field.
1113 1.1 christos * cli/cli-decode.c (add_alias_cmd): Make a copy of doc field
1114 1.1 christos if flags contains DOC_ALLOCATED.
1115 1.1 christos (add_setshow_cmd_full): Add DOC_ALLOCATED to set and show
1116 1.1 christos flags.
1117 1.1 christos (delete_cmd): Handle DOC_ALLOCATED flag.
1118 1.1 christos * cli/cli-decode.h (DOC_ALLOCATED): New macro for use
1119 1.1 christos in flags filed of struct cmd_list_element.
1120 1.1 christos (struct cmd_list_element): Document new flag item.
1121 1.1 christos
1122 1.1 christos 2012-12-04 Doug Evans <dje (a] google.com>
1123 1.1 christos
1124 1.1 christos * symmisc.c: Whitespace fixes.
1125 1.1 christos
1126 1.1 christos 2012-12-04 Karthik Bhat <kv.bhat (a] samsung.com>
1127 1.1 christos
1128 1.1 christos * i386-tdep.c (i386_skip_prologue): Using symbol table
1129 1.1 christos to find the end of prologue for clang compiled binaries.
1130 1.1 christos * amd64-tdep.c (amd64_skip_prologue): Using symbol table
1131 1.1 christos to find the end of prologue for clang compiled binaries.
1132 1.1 christos
1133 1.1 christos 2012-12-03 Doug Evans <dje (a] google.com>
1134 1.1 christos
1135 1.1 christos * dwarf2read.c (struct dwarf2_per_objfile): Clarify comment.
1136 1.1 christos (dw2_find_symbol_file): Delete unused local file_data.
1137 1.1 christos
1138 1.1 christos 2012-12-03 Tom Tromey <tromey (a] redhat.com>
1139 1.1 christos
1140 1.1 christos * ada-exp.y (write_object_renaming, write_var_or_type)
1141 1.1 christos (write_ambiguous_var, write_var_from_sym): Make blocks const.
1142 1.1 christos * ada-lang.c (replace_operator_with_call)
1143 1.1 christos (find_old_style_renaming_symbol): Make blocks const.
1144 1.1 christos * ada-lang.h (ada_find_renaming_symbol): Update.
1145 1.1 christos (struct ada_symbol_info) <block>: Now const.
1146 1.1 christos * breakpoint.c (watch_command_1): Update.
1147 1.1 christos * breakpoint.h (struct watchpoint) <exp_valid_block,
1148 1.1 christos cond_exp_valid_block>: Now const.
1149 1.1 christos * c-exp.y (classify_inner_name, classify_name): Make block
1150 1.1 christos argument const.
1151 1.1 christos * expprint.c (print_subexp_standard) <OP_VAR_VALUE>: Make 'b'
1152 1.1 christos const.
1153 1.1 christos * expression.h (innermost_block, parse_exp_1): Update.
1154 1.1 christos (union exp_element) <block>: Now const.
1155 1.1 christos * gdbtypes.c (lookup_template_type, lookup_enum, lookup_union)
1156 1.1 christos (lookup_struct): Make block argument const.
1157 1.1 christos * gdbtypes.h (lookup_template_type): Update.
1158 1.1 christos * go-exp.y (classify_name, classify_packaged_name)
1159 1.1 christos (package_name_p): Make block argument const.
1160 1.1 christos * objc-lang.c (lookup_struct_typedef): Make block argument const.
1161 1.1 christos * objc-lang.h (lookup_struct_typedef): Update.
1162 1.1 christos * parse.c (parse_exp_in_context, parse_exp_1)
1163 1.1 christos (write_exp_elt_block): Make block arguments const.
1164 1.1 christos (expression_context_block, innermost_block): Now const.
1165 1.1 christos * parser-defs.h (write_exp_elt_block): Update.
1166 1.1 christos (expression_context_block, innermost_block, block_found): Now
1167 1.1 christos const.
1168 1.1 christos * printcmd.c (struct display) <block>: Now const.
1169 1.1 christos * symtab.h (lookup_struct, lookup_union, lookup_enum): Update.
1170 1.1 christos * valops.c (address_of_variable): Make block argument const.
1171 1.1 christos * value.h (value_of_variable): Update.
1172 1.1 christos * varobj.c (struct varobj_root) <valid_block>: Now const.
1173 1.1 christos
1174 1.1 christos 2012-11-30 Yao Qi <yao (a] codesourcery.com>
1175 1.1 christos
1176 1.1 christos * breakpoint.c (print_one_breakpoint_location): Indent code.
1177 1.1 christos
1178 1.1 christos 2012-11-30 Yao Qi <yao (a] codesourcery.com>
1179 1.1 christos
1180 1.1 christos * breakpoint.c (print_one_breakpoint_location): Combine two
1181 1.1 christos blocks handling 'hit count' together.
1182 1.1 christos
1183 1.1 christos 2012-11-30 Yao Qi <yao (a] codesourcery.com>
1184 1.1 christos
1185 1.1 christos * infrun.c (error_is_running, ensure_not_running): Move them
1186 1.1 christos to ...
1187 1.1 christos * infcmd.c (error_is_running, ensure_not_running): ... here.
1188 1.1 christos Make them 'static'.
1189 1.1 christos * inferior.h: Remove declarations of error_is_running and
1190 1.1 christos ensure_not_running.
1191 1.1 christos
1192 1.1 christos 2012-11-30 Yao Qi <yao (a] codesourcery.com>
1193 1.1 christos
1194 1.1 christos * tic6x-linux-tdep.c (tic6x_register_sigcontext_offset): Don't
1195 1.1 christos check REGNUM >= 0.
1196 1.1 christos
1197 1.1 christos 2012-11-30 Yao Qi <yao (a] codesourcery.com>
1198 1.1 christos
1199 1.1 christos * infrun.c: Make the declaration of 'init_infwait_state'
1200 1.1 christos static.
1201 1.1 christos (init_infwait_state): Make it 'static'.
1202 1.1 christos
1203 1.1 christos 2012-11-29 Ulrich Weigand <uweigand (a] de.ibm.com>
1204 1.1 christos
1205 1.1 christos * python/python.c (finalize_python): Cast unused PyGILState_Ensure
1206 1.1 christos return value to void to avoid compiler warning.
1207 1.1 christos
1208 1.1 christos 2012-11-29 Ulrich Weigand <uweigand (a] de.ibm.com>
1209 1.1 christos
1210 1.1 christos * opencl-lang.c (opencl_print_type): New function.
1211 1.1 christos (opencl_language_arch_info): Install it.
1212 1.1 christos
1213 1.1 christos 2012-11-29 Tom Tromey <tromey (a] redhat.com>
1214 1.1 christos
1215 1.1 christos * contrib/ari/gdb_ari.sh: Remove rules for xasprintf and
1216 1.1 christos xvasprintf.
1217 1.1 christos * common/common-utils.c (xasprintf, xvasprintf): Remove.
1218 1.1 christos * common/common-utils.h (xasprintf, xvasprintf): Remove.
1219 1.1 christos
1220 1.1 christos 2012-11-29 Jerome Guitton <guitton (a] adacore.com>
1221 1.1 christos
1222 1.1 christos * ada-lang.c (ada_is_interface_tag): New function.
1223 1.1 christos (ada_is_ignored_field): Add interface tags to the list
1224 1.1 christos of ignored fields.
1225 1.1 christos
1226 1.1 christos 2012-11-29 Jerome Guitton <guitton (a] adacore.com>
1227 1.1 christos
1228 1.1 christos * ada-lang.h (ada_tag_value_at_base_address): New function
1229 1.1 christos declaration.
1230 1.1 christos * ada-lang.c (is_ada95_tag, ada_tag_value_at_base_address):
1231 1.1 christos New functions.
1232 1.1 christos (ada_to_fixed_type_1, ada_evaluate_subexp): Let ada_tag_base_address
1233 1.1 christos relocate the class-wide value if need be.
1234 1.1 christos (ada_value_struct_elt, ada_value_ind, ada_coerce_ref):
1235 1.1 christos Let ada_tag_value_at_base_address relocate the class-wide access/ref
1236 1.1 christos before dereferencing it.
1237 1.1 christos * ada-valprint.c (ada_val_print_1): Relocate to base address
1238 1.1 christos before displaying the content of an interface-wide ref.
1239 1.1 christos
1240 1.1 christos 2012-11-29 Jerome Guitton <guitton (a] adacore.com>
1241 1.1 christos
1242 1.1 christos * ada-lang.c (ada_evaluate_subexp): Unwrap only in EVAL_NORMAL.
1243 1.1 christos
1244 1.1 christos 2012-11-29 Joel Brobecker <brobecker (a] adacore.com>
1245 1.1 christos
1246 1.1 christos GDB 7.5.1 released.
1247 1.1 christos
1248 1.1 christos 2012-11-29 Yao Qi <yao (a] codesourcery.com>
1249 1.1 christos Tom Tromey <tromey (a] redhat.com>
1250 1.1 christos
1251 1.1 christos * eval.c (evaluate_subexp_standard): Get the correct pointer
1252 1.1 christos type for TYPE_CODE_MEMBERPTR.
1253 1.1 christos
1254 1.1 christos 2012-11-28 Edjunior Machado <emachado (a] linux.vnet.ibm.com>
1255 1.1 christos
1256 1.1 christos * rs6000-tdep.c (gdb_print_insn_powerpc): Remove info->mach checking,
1257 1.1 christos since now it is being done by binutils' powerpc_init_dialect().
1258 1.1 christos
1259 1.1 christos 2012-11-28 Tom Tromey <tromey (a] redhat.com>
1260 1.1 christos
1261 1.1 christos PR gdb/14290:
1262 1.1 christos * solib-darwin.c (gdb_bfd_mach_o_fat_extract): New function.
1263 1.1 christos (darwin_solib_get_all_image_info_addr_at_init, darwin_bfd_open):
1264 1.1 christos Use it.
1265 1.1 christos * gdb_bfd.h (gdb_bfd_mark_parent): Declare.
1266 1.1 christos * gdb_bfd.c (gdb_bfd_mark_parent): New function.
1267 1.1 christos (gdb_bfd_openr_next_archived_file): Use it.
1268 1.1 christos
1269 1.1 christos 2012-11-28 Markus Metzger <markus.t.metzger (a] intel.com>
1270 1.1 christos
1271 1.1 christos * configure.ac: Check for linux/perf_event.h.
1272 1.1 christos * config.in: Regenerated.
1273 1.1 christos * configure: Regenerated.
1274 1.1 christos
1275 1.1 christos 2012-11-28 Yao Qi <yao (a] codesourcery.com>
1276 1.1 christos
1277 1.1 christos * breakpoint.c (_initialize_breakpoint): Call add_alias_cmd to
1278 1.1 christos abbreviate 'delete tracepoints' to 'delete tr'.
1279 1.1 christos * corefile.c (_initialize_core): Call add_alias_cmd to
1280 1.1 christos abbreviate 'set gnutarget' to 'set g'.
1281 1.1 christos * value.c (_initialize_values): Call add_alias_cmd to abbreviate
1282 1.1 christos 'show convenience' to 'show conv'.
1283 1.1 christos
1284 1.1 christos 2012-11-27 Joel Brobecker <brobecker (a] adacore.com>
1285 1.1 christos
1286 1.1 christos * sparc-sol2-nat.c (supply_gregset): Fix first parameter in
1287 1.1 christos call to sparc_supply_fpregset.
1288 1.1 christos (fill_fpregset): Fix first parameter in call to
1289 1.1 christos sparc_collect_fpregset.
1290 1.1 christos
1291 1.1 christos 2012-11-27 Daniel Jacobowitz <dan (a] codesourcery.com>
1292 1.1 christos Kazu Hirata <kazu (a] codesourcery.com>
1293 1.1 christos Yao Qi <yao (a] codesourcery.com>
1294 1.1 christos
1295 1.1 christos * objfiles.c (init_entry_point_info): Call
1296 1.1 christos gdbarch_convert_from_func_ptr_addr and
1297 1.1 christos gdbarch_addr_bits_remove here ...
1298 1.1 christos (entry_point_address_query): ... instead of here.
1299 1.1 christos * solib-svr4.c (exec_entry_point): Call
1300 1.1 christos gdbarch_addr_bits_remove.
1301 1.1 christos * symfile.c (generic_load): Call gdbarch_addr_bits_remove on
1302 1.1 christos the entry address.
1303 1.1 christos
1304 1.1 christos 2012-11-27 Daniel Jacobowitz <dan (a] codesourcery.com>
1305 1.1 christos Yao Qi <yao (a] codesourcery.com>
1306 1.1 christos
1307 1.1 christos * eval.c (evaluate_subexp_standard): Add handling of
1308 1.1 christos TYPE_CODE_MEMBERPTR when calling functions. Correct the
1309 1.1 christos result of ptype for calling a TYPE_CODE_METHODPTR.
1310 1.1 christos
1311 1.1 christos 2012-11-27 Yao Qi <yao (a] codesourcery.com>
1312 1.1 christos
1313 1.1 christos * symtab.c (symtab_symbol_info): Fix a -Wformat-extra-args
1314 1.1 christos warning.
1315 1.1 christos Add i18n markup.
1316 1.1 christos
1317 1.1 christos 2012-11-26 Alexander Larsson <alexl (a] redhat.com>
1318 1.1 christos Jan Kratochvil <jan.kratochvil (a] redhat.com>
1319 1.1 christos Tom Tromey <tromey (a] redhat.com>
1320 1.1 christos
1321 1.1 christos * NEWS: Mention mini debuginfo feature.
1322 1.1 christos * minidebug.c: New file.
1323 1.1 christos * configure.ac: Check for lzma.
1324 1.1 christos * configure, config.in: Rebuild.
1325 1.1 christos * Makefile.in (LIBLZMA): New variable.
1326 1.1 christos (CLIBS): Include LIBLZMA.
1327 1.1 christos (SFILES): Mention minidebug.c.
1328 1.1 christos (COMMON_OBS): Mention minidebug.o.
1329 1.1 christos * symfile.c (read_symbols): New function.
1330 1.1 christos (syms_from_objfile, reread_symbols): Call it.
1331 1.1 christos * symfile.h (find_separate_debug_file_in_section): Declare.
1332 1.1 christos
1333 1.1 christos 2012-11-26 Keith Seitz <keiths (a] redhat.com>
1334 1.1 christos
1335 1.1 christos * exec.c (exec_file_attach): Move cleanup after verifying that
1336 1.1 christos memory has in fact been allocated.
1337 1.1 christos
1338 1.1 christos 2012-11-26 Tom Tromey <tromey (a] redhat.com>
1339 1.1 christos
1340 1.1 christos * ada-lang.c (user_select_syms): Use SYMBOL_SYMTAB.
1341 1.1 christos * dwarf2read.c (dw2_find_symbol_file, fixup_go_packaging): Use
1342 1.1 christos SYMBOL_SYMTAB.
1343 1.1 christos * skip.c (skip_info): Use SYMBOL_SYMTAB.
1344 1.1 christos
1345 1.1 christos 2012-11-26 Maxime Villard <rustyBSD (a] gmx.fr>
1346 1.1 christos Pedro Alves <palves (a] redhat.com>
1347 1.1 christos
1348 1.1 christos * common/linux-osdata.c (linux_xfer_osdata_fds): Decrease buffer
1349 1.1 christos size parameter passed to readlink by one byte.
1350 1.1 christos * fbsd-nat.c (fbsd_pid_to_exec_file): Ditto.
1351 1.1 christos * linux-nat.c (linux_child_pid_to_exec_file): Ditto.
1352 1.1 christos * nbsd-nat.c (nbsd_pid_to_exec_file): Ditto.
1353 1.1 christos * inf-child.c (inf_child_fileio_readlink): Decrease local buffer's
1354 1.1 christos size by one byte.
1355 1.1 christos
1356 1.1 christos 2012-11-26 Yao Qi <yao (a] codesourcery.com>
1357 1.1 christos
1358 1.1 christos * f-valprint.c (f77_create_arrayprint_offset_tbl): Remove
1359 1.1 christos extraneous parentheses.
1360 1.1 christos
1361 1.1 christos 2012-11-26 Yao Qi <yao (a] codesourcery.com>
1362 1.1 christos
1363 1.1 christos * remote.c (remote_start_remote): Typo fix.
1364 1.1 christos
1365 1.1 christos 2012-11-23 David S. Miller <davem (a] davemloft.net>
1366 1.1 christos
1367 1.1 christos * sparc-tdep.h (struct sparc_fpregset): New data structure.
1368 1.1 christos (sparc32_sunos4_fpregset, sparc32_bsd_fpregset,
1369 1.1 christos sparc32_sol2_fpregset): Declare new globals.
1370 1.1 christos (sparc32_supply_fpregset, sparc32_collect_fpregset): Add new
1371 1.1 christos 'fpregset' argument.
1372 1.1 christos * sparc64-tdep.h (sparc64_supply_fpregset,
1373 1.1 christos sparc64_collect_fpregset): Likewise.
1374 1.1 christos (sparc64_sol2_fpregset, sparc64_bsd_fpregset): Declare new
1375 1.1 christos globals.
1376 1.1 christos * sparc-nat.h (struct sparc_fpregset): Add forward declaration.
1377 1.1 christos (sparc_fpregset): Declare new global.
1378 1.1 christos (sparc_supply_fpregset, sparc_collect_fpregset): Add new
1379 1.1 christos 'fpregset' argument.
1380 1.1 christos * sparc-linux-nat.c (supply_fpregset): Pass sparc_fpregset down
1381 1.1 christos into handler.
1382 1.1 christos (fill_fpregset): Likewise.
1383 1.1 christos (_initialize_sparc_linux_nat): Set sparc_fpregset to
1384 1.1 christos sparc32_bsd_fpregset.
1385 1.1 christos * sparc-linux-tdep.c (sparc32_linux_supply_core_fpregset): Pass
1386 1.1 christos sparc32_bsd_fpregset down into handler.
1387 1.1 christos (sparc32_linux_collect_core_fpregset): Likewise.
1388 1.1 christos * sparc-nat.c (sparc_fpregset): Define.
1389 1.1 christos (sparc_supply_fpregset): Add 'fpregset' argument.
1390 1.1 christos (sparc_collect_fpregset): Likewise.
1391 1.1 christos (sparc_fetch_inferior_registers): Pass sparc_fpregset down
1392 1.1 christos into fpregset handler.
1393 1.1 christos (sparc_store_inferior_registers): Likewise.
1394 1.1 christos (_initialize_sparc_nat): Set sparc_fpregset to
1395 1.1 christos sparc32_sunos4_fpregset if NULL.
1396 1.1 christos * sparc-sol2-nat.c (supply_gregset): Pass sparc_sol2_fpregset
1397 1.1 christos down into handler.
1398 1.1 christos (fill_fpregset): Likewise.
1399 1.1 christos * sparc-sol2-tdep.c (sparc32_sol2_fpregset): Define.
1400 1.1 christos * sparc-tdep.c (sparc32_supply_fpregset): Add fpregset arg and
1401 1.1 christos use it to compute offsets.
1402 1.1 christos (sparc32_collect_fpregset): Likewise.
1403 1.1 christos (sparc32_sunos4_fpregset, sparc32_bsd_fpregset): Define.
1404 1.1 christos * sparc64-linux-nat.c (supply_fpregset): Pass sparc64_bsd_fpregset
1405 1.1 christos down into handler.
1406 1.1 christos (fill_fpregset): Likewise.
1407 1.1 christos * sparc64-linux-tdep.c (sparc64_linux_supply_core_fpregset):
1408 1.1 christos Likewise.
1409 1.1 christos (sparc64_linux_collect_core_fpregset): Likewise.
1410 1.1 christos * sparc64-sol2-tdep.c (sparc64_sol2_fpregset): Define.
1411 1.1 christos * sparc64-tdep.c (sparc64_supply_fpregset): Add fpregset arg and
1412 1.1 christos use it to compute offsets.
1413 1.1 christos (sparc64_collect_fpregset): Likewise.
1414 1.1 christos (sparc64_bsd_fpregset): Define.
1415 1.1 christos * sparc64fbsd-tdep.c (sparc64fbsd_supply_fpregset): Padd
1416 1.1 christos sparc64_bsd_fpregset down into handler.
1417 1.1 christos (sparc64fbsd_collect_fpregset): Likewise.
1418 1.1 christos * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Add fpregset arg
1419 1.1 christos and pass sparc{32,64}_bsd_fpregset down into handler.
1420 1.1 christos (sparc64nbsd_collect_fpregset): Likewise.
1421 1.1 christos * sparc64nbsd-tdep.c (sparc64nbsd_supply_fpregset): Pass
1422 1.1 christos sparc64_bsd_fpregset down into handler.
1423 1.1 christos * sparc64obsd-tdep.c (sparc64obsd_supply_gregset): Likewise.
1424 1.1 christos * sparcnbsd-nat.c (_initialize_sparcnbsd_nat): Set sparc_fpregset
1425 1.1 christos to sparc32_bsd_fpregset.
1426 1.1 christos * sparcnbsd-tdep.c (sparc32nbsd_supply_gregset): Pass
1427 1.1 christos sparc32_bsd_fpregset down into sparc32_supply_fpregset.
1428 1.1 christos (sparc32nbsd_supply_fpregset): Likewise.
1429 1.1 christos
1430 1.1 christos 2012-11-21 Tom Tromey <tromey (a] redhat.com>
1431 1.1 christos
1432 1.1 christos * gdbtypes.h (struct cplus_struct_type) <localtype_ptr>: Remove
1433 1.1 christos field.
1434 1.1 christos (TYPE_LOCALTYPE_PTR, TYPE_LOCALTYPE_FILE, TYPE_LOCALTYPE_LINE):
1435 1.1 christos Remove.
1436 1.1 christos * c-typeprint.c (c_type_print_base): Update.
1437 1.1 christos
1438 1.1 christos 2012-11-21 Yao Qi <yao (a] codesourcery.com>
1439 1.1 christos
1440 1.1 christos PR tdep/7438
1441 1.1 christos * gdbarch.sh (smash_text_address): Remove.
1442 1.1 christos * gdbarch.c, gdbarch.h: Regenerate.
1443 1.1 christos * arm-tdep.c (arm_smash_text_address): Remove.
1444 1.1 christos (arm_gdbarch_init): Don't call set_gdbarch_smash_text_address.
1445 1.1 christos * hppa-tdep.c (hppa_smash_text_address): Remove.
1446 1.1 christos (hppa_addr_bits_remove): Rename from hppa_smash_text_address.
1447 1.1 christos (hppa_gdbarch_init): Don't call set_gdbarch_smash_text_address.
1448 1.1 christos Caller update.
1449 1.1 christos * coffread.c (coff_symtab_read): Caller update.
1450 1.1 christos * dbxread.c (process_one_symbol): Likewise.
1451 1.1 christos * elfread.c (record_minimal_symbol): Likewise.
1452 1.1 christos * somread.c (som_symtab_read): Likewise.
1453 1.1 christos
1454 1.1 christos 2012-11-20 Pierre Muller <muller (a] sourceware.org>
1455 1.1 christos
1456 1.1 christos ARI fixes: sprintf rule.
1457 1.1 christos Replace sprintf function calls for char arrays by
1458 1.1 christos calls to xsnprintf calls.
1459 1.1 christos * arm-tdep.c (arm_push_dummy_call): Replace sprintf by xsnprintf.
1460 1.1 christos (arm_dwarf_reg_to_regnum, arm_return_value): Ditto.
1461 1.1 christos (arm_neon_quad_read, arm_pseudo_read): Ditto.
1462 1.1 christos (arm_neon_quad_write, arm_pseudo_write): Ditto.
1463 1.1 christos * breakpoint.c (condition_completer): Ditto.
1464 1.1 christos (create_tracepoint_from_upload): Ditto.
1465 1.1 christos * dwarf2read.c (file_full_name): Ditto.
1466 1.1 christos * gcore.c (gcore_command): Ditto.
1467 1.1 christos * gnu-nat.c (proc_string, gnu_pid_to_str): Ditto.
1468 1.1 christos * go32-nat.c (go32_sysinfo): Ditto.
1469 1.1 christos * interps.c (interp_set): Ditto.
1470 1.1 christos * m32c-tdep.c (make_types): Ditto.
1471 1.1 christos * ppc-linux-nat.c (fetch_register, store_register): Ditto.
1472 1.1 christos * remote-m32r-sdi.c (m32r_open): Ditto.
1473 1.1 christos * sol-thread.c (td_err_string): Ditto.
1474 1.1 christos (td_state_string, solaris_pid_to_str): Ditto.
1475 1.1 christos * symtab.c (gdb_mangle_name): Ditto.
1476 1.1 christos * cli/cli-script.c (execute_control_command): Ditto.
1477 1.1 christos (define_command, document_command): Ditto.
1478 1.1 christos * tui/tui-io.c (tui_rl_display_match_list): Ditto.
1479 1.1 christos * tui/tui-stack.c (tui_make_status_line): Ditto.
1480 1.1 christos * tui/tui-win.c (tui_update_gdb_sizes): Ditto.
1481 1.1 christos
1482 1.1 christos 2012-11-20 Mike Frysinger <vapier (a] gentoo.org>
1483 1.1 christos
1484 1.1 christos * cli/cli-decode.c (complete_on_cmdlist): Add a fourth arg and check
1485 1.1 christos it when looking at ptr->func.
1486 1.1 christos * command.h (complete_on_cmdlist): Add a fourth arg.
1487 1.1 christos * completer.c (complete_line_internal): Add local ignore_help_classes,
1488 1.1 christos and set it to 1 when reason is not handle_help. Pass this down to
1489 1.1 christos lookup_cmd_1 and complete_on_cmdlist.
1490 1.1 christos
1491 1.1 christos 2012-11-20 Tom Tromey <tromey (a] redhat.com>
1492 1.1 christos
1493 1.1 christos * completer.c (count_struct_fields): Remove.
1494 1.1 christos (expression_completer): Don't call count_struct_fields.
1495 1.1 christos
1496 1.1 christos 2012-11-20 Pedro Alves <palves (a] redhat.com>
1497 1.1 christos
1498 1.1 christos * annotate.c (breakpoints_changed): Rename to ...
1499 1.1 christos (annotate_breakpoints_changed): ... this.
1500 1.1 christos (annotate_stopped, breakpoint_changed): Adjust caller.
1501 1.1 christos * annotate.h (breakpoints_changed): Rename to ...
1502 1.1 christos (annotate_breakpoints_changed): ... this.
1503 1.1 christos * breakpoint.c (set_breakpoint_condition, breakpoint_set_commands)
1504 1.1 christos (do_map_commands_command, init_raw_breakpoint, clear_command)
1505 1.1 christos (set_ignore_count, enable_breakpoint_disp): Adjust callers.
1506 1.1 christos
1507 1.1 christos 2012-11-20 David S. Miller <davem (a] davemloft.net>
1508 1.1 christos
1509 1.1 christos * common/linux-osdata.c (get_number_of_cpu_cores): Delete.
1510 1.1 christos (linux_xfer_osdata_processes): Fetch _SC_NPROCESSORS_ONLN via
1511 1.1 christos sysconf.
1512 1.1 christos (get_cores_used_by_process): Update comment.
1513 1.1 christos
1514 1.1 christos 2012-11-20 Yao Qi <yao (a] codesourcery.com>
1515 1.1 christos
1516 1.1 christos * objfiles.c (init_entry_point_info): Remove trailing spaces.
1517 1.1 christos
1518 1.1 christos 2012-11-20 Yao Qi <yao (a] codesourcery.com>
1519 1.1 christos
1520 1.1 christos * infrun.c (handle_inferior_event): Pass 'saved_singlestep_ptid'
1521 1.1 christos to deprecated_context_hook.
1522 1.1 christos
1523 1.1 christos 2012-11-19 Yao Qi <yao (a] codesourcery.com>
1524 1.1 christos
1525 1.1 christos * infrun.c (infwait_state): Add static.
1526 1.1 christos
1527 1.1 christos 2012-11-16 Keith Seitz <keiths (a] redhat.com>
1528 1.1 christos
1529 1.1 christos PR c++/13615
1530 1.1 christos * cp-namespace.c (cp_lookup_symbol_in_namespace): Add SEARCH
1531 1.1 christos parameter and pass it to lookup_symbol_file.
1532 1.1 christos (cp_lookup_symbol_imports): Tell cp_lookup_symbol_in_namespace
1533 1.1 christos to search base classes.
1534 1.1 christos (cp_lookup_symbol_namespace): Likewise.
1535 1.1 christos (lookup_namespace_scope): Likewise.
1536 1.1 christos (lookup_symbol_file): Add SEARCH parameter.
1537 1.1 christos If SEARCH is non-zero and no symbol is found, lookup the class
1538 1.1 christos and call cp_lookup_nested_symbol.
1539 1.1 christos (find_symbol_in_baseclass): New function.
1540 1.1 christos (cp_lookup_nested_symbol): Do not let
1541 1.1 christos cp_lookup_symbol_in_namespace search through base classes.
1542 1.1 christos Do that later when there is no global symbol match.
1543 1.1 christos
1544 1.1 christos 2012-11-16 Doug Evans <dje (a] google.com>
1545 1.1 christos
1546 1.1 christos * main.c (gdb_datadir_provided): New static global.
1547 1.1 christos (get_init_files): If --data-directory is provided,
1548 1.1 christos and SYSTEM_GDBINIT lives in data-directory, look for it there.
1549 1.1 christos * NEWS: Mention it.
1550 1.1 christos
1551 1.1 christos 2012-11-15 Pierre Muller <muller (a] sourceware.org>
1552 1.1 christos
1553 1.1 christos ARI fixes: move gdb_wait and gdb_stat headers to common subdirectory.
1554 1.1 christos * gdb_stat.h: Delete. Moved to common directory.
1555 1.1 christos * common/gdb_stat.h: New file.
1556 1.1 christos * gdb_wait.h: Delete. Moved to common directory.
1557 1.1 christos * common/gdb_wait.h: New file.
1558 1.1 christos * Makefile.in (H_FILES_NO_SRC): Adapt to new header
1559 1.1 christos location.
1560 1.1 christos * contrib/ari/gdb_ari.sh (wait.h rule): Adapt to new gdb_wait.h
1561 1.1 christos location.
1562 1.1 christos (stat.h rule): Adapt to new gdb_stat.h location.
1563 1.1 christos * common/linux-osdata.c: Include "gdb_stat.h" header instead of
1564 1.1 christos <sys/stat.h> header.
1565 1.1 christos * common/linux-ptrace.c: Include "gdb_wait.h" header instead of
1566 1.1 christos <sys/wait.h> header.
1567 1.1 christos
1568 1.1 christos 2012-11-15 Pierre Muller <muller (a] sourceware.org>
1569 1.1 christos
1570 1.1 christos * configure.ac (AC_HEADER_STAT): Remove.
1571 1.1 christos * gdb_stat.h (STAT_MACROS_BROKEN): Remove macro use
1572 1.1 christos and corresponding code.
1573 1.1 christos * configure: Regenerate.
1574 1.1 christos * config.in: Regenerate.
1575 1.1 christos
1576 1.1 christos 2012-11-15 Pierre Muller <muller (a] sourceware.org>
1577 1.1 christos
1578 1.1 christos ARI xasprintf rule fixes.
1579 1.1 christos * dwarf2read.c (create_dwo_in_dwp): Use xstrprintf function
1580 1.1 christos instead of xasprintf.
1581 1.1 christos (open_and_init_dwp_file): Ditto.
1582 1.1 christos
1583 1.1 christos 2012-11-14 Luis Machado <lgustavo (a] codesourcery.com>
1584 1.1 christos
1585 1.1 christos * value.c (value_actual_type): Check for TYPE_CODE_STRUCT
1586 1.1 christos target types.
1587 1.1 christos
1588 1.1 christos 2012-11-14 Tom Tromey <tromey (a] redhat.com>
1589 1.1 christos
1590 1.1 christos * configure, config.in: Rebuild.
1591 1.1 christos * configure.ac: Don't check for ctype.h, time.h.
1592 1.1 christos * expprint.c: Don't use HAVE_CTYPE_H.
1593 1.1 christos
1594 1.1 christos 2012-11-13 Tom Tromey <tromey (a] redhat.com>
1595 1.1 christos
1596 1.1 christos * gdbarch.h, gdbarch.c: Rebuild.
1597 1.1 christos * gdbarch.sh (set_target_gdbarch): Rename from
1598 1.1 christos deprecated_target_gdbarch_select_hack.
1599 1.1 christos * arch-utils.c (gdbarch_update_p): Update.
1600 1.1 christos (set_gdbarch_from_file): Update.
1601 1.1 christos
1602 1.1 christos 2012-11-14 Pierre Muller <muller (a] sourceware.org>
1603 1.1 christos
1604 1.1 christos * MAINTAINERS (Responsible Maintainers/misc): Add myself
1605 1.1 christos as responsible of contrib/ari directory.
1606 1.1 christos
1607 1.1 christos 2012-11-14 Daniel Jacobowitz <dan (a] codesourcery.com>
1608 1.1 christos Yao Qi <yao (a] codesourcery.com>
1609 1.1 christos
1610 1.1 christos * arm-tdep.c (arm_addr_bits_remove): Do not adjust the low
1611 1.1 christos bit of EXC_RETURN.
1612 1.1 christos (arm_m_exception_cache, arm_m_exception_this_id)
1613 1.1 christos (arm_m_exception_prev_register, arm_m_exception_unwind_sniffer)
1614 1.1 christos (arm_m_exception_unwind): New.
1615 1.1 christos (arm_gdbarch_init): Register arm_m_exception_unwind.
1616 1.1 christos
1617 1.1 christos 2012-11-13 Giuseppe Montalto <giuseppe.montalto (a] st.com>
1618 1.1 christos
1619 1.1 christos * mi/mi-main.c (mi_cmd_data_write_memory): Handle additional
1620 1.1 christos parameter COUNT, for pattern filling of memory regions.
1621 1.1 christos * NEWS: Mention it.
1622 1.1 christos
1623 1.1 christos 2012-11-13 Markus Metzger <markus.t.metzger (a] intel.com>
1624 1.1 christos
1625 1.1 christos * disasm.h (DISASSEMBLY_FILENAME): New macro.
1626 1.1 christos * disasm.c (do_mixed_source_and_assembly): Pass filename flag on
1627 1.1 christos to print_source_lines ().
1628 1.1 christos * symtab.h (PRINT_SOURCE_LINES_FILENAME): New print source lines
1629 1.1 christos flag.
1630 1.1 christos * source.c (print_source_lines_base): Prefix source line with
1631 1.1 christos filename if PRINT_SOURCE_LINES_FILENAME flag is set.
1632 1.1 christos
1633 1.1 christos 2012-11-13 Markus Metzger <markus.t.metzger (a] intel.com>
1634 1.1 christos
1635 1.1 christos * symtab.h (print_source_lines_flags): New enum.
1636 1.1 christos * source.c (print_source_lines_base): Change noerror to flags.
1637 1.1 christos (print_source_lines): Change noerror to flags.
1638 1.1 christos
1639 1.1 christos 2012-11-13 Pierre Muller <muller (a] sourceware.org>
1640 1.1 christos
1641 1.1 christos ARI fixes: Avoid sprintf function use rule.
1642 1.1 christos * charset.c (convert_between_encodings): Use xsnprintf.
1643 1.1 christos * cli-out.c (cli_field_int): Likewise.
1644 1.1 christos * cp-namespace.c (cp_lookup_nested_symbol): Likewise.
1645 1.1 christos * expprint.c (op_name_standard): Likewise.
1646 1.1 christos * frv-tdep.c (set_variant_num_gprs): Likewise.
1647 1.1 christos (set_variant_num_fprs): Likewise.
1648 1.1 christos * m68hc11-tdep.c (m68hc11_initialize_register_info): Likewise.
1649 1.1 christos * nto-tdep.c (nto_find_and_open_solib): Likewise.
1650 1.1 christos (nto_init_solib_absolute_prefix): Likewise.
1651 1.1 christos * source.c (init_source_path): Likewise.
1652 1.1 christos (print_source_lines_base): Likewise.
1653 1.1 christos * valprint.c (print_wchar): Likewise.
1654 1.1 christos * mi/mi-out.c (mi_field_int): Likewise.
1655 1.1 christos windows-nat.c (windows_pid_to_exec_file): Likewise.
1656 1.1 christos (windows_create_inferior): Likewise.
1657 1.1 christos (_initialize_check_for_gdb_ini): Likewise.
1658 1.1 christos
1659 1.1 christos 2012-11-12 Joel Brobecker <brobecker (a] adacore.com>
1660 1.1 christos
1661 1.1 christos * frame.h (deprecated_frame_register_read): Renames
1662 1.1 christos frame_register_read.
1663 1.1 christos * frame.c (deprecated_frame_register_read): Renames
1664 1.1 christos frame_register_read. Update all callers.
1665 1.1 christos * i386-tdep.c: Update all callers of frame_register_read.
1666 1.1 christos * infcmd.c: Likewise.
1667 1.1 christos * jit.c: Likewise.
1668 1.1 christos * mips-tdep.c: Likewise.
1669 1.1 christos * mt-tdep.c: Likewise.
1670 1.1 christos * sh64-tdep.c: Likewise.
1671 1.1 christos
1672 1.1 christos 2012-11-12 Joel Brobecker <brobecker (a] adacore.com>
1673 1.1 christos
1674 1.1 christos * frame.h (frame_register_read): Remove FIXME comment.
1675 1.1 christos * frame.c (frame_register_read): Add suggestion explaining
1676 1.1 christos which function to use in place of this one.
1677 1.1 christos
1678 1.1 christos 2012-11-12 Tom Tromey <tromey (a] redhat.com>
1679 1.1 christos
1680 1.1 christos * python/python.c (start_type_printers): Initialize 'result_obj'.
1681 1.1 christos
1682 1.1 christos 2012-11-12 Tom Tromey <tromey (a] redhat.com>
1683 1.1 christos
1684 1.1 christos * NEWS: Update.
1685 1.1 christos * data-directory/Makefile.in (PYTHON_FILES): Add
1686 1.1 christos type_printers.py.
1687 1.1 christos * python/lib/gdb/command/type_printers.py: New file.
1688 1.1 christos * python/lib/gdb/command/types.py (TypePrinter): New class.
1689 1.1 christos (_get_some_type_recognizers, get_type_recognizers,
1690 1.1 christos apply_type_recognizers, register_type_printer): New
1691 1.1 christos functions.
1692 1.1 christos * python/py-objfile.c (objfile_object) <type_printers>: New
1693 1.1 christos field.
1694 1.1 christos (objfpy_dealloc): Decref new field.
1695 1.1 christos (objfpy_new): Set new field.
1696 1.1 christos (objfpy_get_type_printers, objfpy_set_type_printers): New
1697 1.1 christos functions.
1698 1.1 christos (objfile_to_objfile_object): Set new field.
1699 1.1 christos (objfile_getset): Add "type_printers".
1700 1.1 christos * python/py-progspace.c (pspace_object) <type_printers>: New
1701 1.1 christos field.
1702 1.1 christos (pspy_dealloc): Decref new field.
1703 1.1 christos (pspy_new): Set new field.
1704 1.1 christos (pspy_get_type_printers, pspy_set_type_printers): New functions.
1705 1.1 christos (pspace_to_pspace_object): Set new field.
1706 1.1 christos (pspace_getset): Add "type_printers".
1707 1.1 christos * python/python.c (start_type_printers, apply_type_printers,
1708 1.1 christos free_type_printers): New functions.
1709 1.1 christos (_initialize_python): Set gdb.type_printers.
1710 1.1 christos * python/python.h (start_type_printers, apply_type_printers,
1711 1.1 christos free_type_printers): Declare.
1712 1.1 christos * typeprint.c (type_print_raw_options, default_ptype_flags):
1713 1.1 christos Update for new fields.
1714 1.1 christos (do_free_global_table, create_global_typedef_table,
1715 1.1 christos find_global_typedef): New functions.
1716 1.1 christos (find_typedef_in_hash): Use find_global_typedef.
1717 1.1 christos (whatis_exp): Use create_global_typedef_table. Change cleanup
1718 1.1 christos handling.
1719 1.1 christos * typeprint.h (struct type_print_options) <global_typedefs,
1720 1.1 christos global_printers>: New fields.
1721 1.1 christos
1722 1.1 christos 2012-11-12 Tom Tromey <tromey (a] redhat.com>
1723 1.1 christos
1724 1.1 christos * c-typeprint.c (find_typedef_for_canonicalize,
1725 1.1 christos print_name_maybe_canonical): New functions.
1726 1.1 christos (c_print_type): Look up type name.
1727 1.1 christos (cp_type_print_derivation_info): Add flags argument. Use
1728 1.1 christos print_name_maybe_canonical.
1729 1.1 christos (cp_type_print_method_args): Add wrapping.
1730 1.1 christos (c_type_print_varspec_prefix): Use print_name_maybe_canonical.
1731 1.1 christos (c_type_print_template_args): New function.
1732 1.1 christos (c_type_print_base): Change wrapping. Use
1733 1.1 christos print_name_maybe_canonical.
1734 1.1 christos <TYPE_CODE_STRUCT>: Possibly create a typedef hash, and do
1735 1.1 christos type name lookups.
1736 1.1 christos * gdbtypes.c (types_equal): No longer static.
1737 1.1 christos * gdbtypes.h (types_equal): Declare.
1738 1.1 christos * typeprint.c (type_print_raw_options, default_ptype_flags):
1739 1.1 christos Update.
1740 1.1 christos (struct typedef_hash_table): New.
1741 1.1 christos (hash_typedef_field, eq_typedef_field,
1742 1.1 christos recursively_update_typedef_hash, add_template_parameters,
1743 1.1 christos create_typedef_hash, free_typedef_hash, do_free_typedef_hash,
1744 1.1 christos make_cleanup_free_typedef_hash, copy_typedef_hash_element,
1745 1.1 christos copy_typedef_hash, find_typedef_in_hash): New functions.
1746 1.1 christos * typeprint.h (struct type_print_options) <local_typedefs>:
1747 1.1 christos New field.
1748 1.1 christos (recursively_update_typedef_hash, add_template_parameters,
1749 1.1 christos create_typedef_hash, free_typedef_hash,
1750 1.1 christos make_cleanup_free_typedef_hash, copy_typedef_hash,
1751 1.1 christos find_typedef_in_hash): Declare.
1752 1.1 christos
1753 1.1 christos 2012-11-12 Tom Tromey <tromey (a] redhat.com>
1754 1.1 christos
1755 1.1 christos * cp-support.c (inspect_type,
1756 1.1 christos replace_typedefs_qualified_name, replace_typedefs): Add
1757 1.1 christos finder, data arguments. Call as needed.
1758 1.1 christos (cp_canonicalize_string_full): New function.
1759 1.1 christos (cp_canonicalize_string_no_typedefs): Rewrite.
1760 1.1 christos * cp-support.h (canonicalization_ftype): New typedef.
1761 1.1 christos (cp_canonicalize_string_full): Declare.
1762 1.1 christos
1763 1.1 christos 2012-11-12 Tom Tromey <tromey (a] redhat.com>
1764 1.1 christos
1765 1.1 christos * NEWS: Update.
1766 1.1 christos * c-typeprint.c (c_type_print_base): Handle print_method and
1767 1.1 christos print_typedefs flags.
1768 1.1 christos * gdbcmd.h (setprinttypelist, showprinttypelist): Declare.
1769 1.1 christos * python/py-type.c (typy_str): Use LA_PRINT_TYPE and raw
1770 1.1 christos options.
1771 1.1 christos * typeprint.c (type_print_raw_options, default_ptype_flags):
1772 1.1 christos Update for new field.s
1773 1.1 christos (whatis_exp): Parse flags. Use LA_PRINT_TYPE.
1774 1.1 christos (setprinttypelist, showprinttypelist, print_methods,
1775 1.1 christos print_typedefs): New globals.
1776 1.1 christos (set_print_type, show_print_type, set_print_type_methods,
1777 1.1 christos show_print_type_methods, set_print_type_typedefs,
1778 1.1 christos show_print_type_typedefs): New functions.
1779 1.1 christos (_initialize_typeprint): Update documentation. Add "print
1780 1.1 christos type methods" and "print type typedefs" parameters.
1781 1.1 christos * typeprint.h (struct type_print_options) <print_methods,
1782 1.1 christos print_typedefs>: New fields.
1783 1.1 christos
1784 1.1 christos 2012-11-12 Tom Tromey <tromey (a] redhat.com>
1785 1.1 christos
1786 1.1 christos * c-typeprint.c (cp_type_print_method_args): Add flags
1787 1.1 christos argument. Call c_print_type, not type_print.
1788 1.1 christos (c_type_print_base): Call c_print_type, not type_print.
1789 1.1 christos Update.
1790 1.1 christos
1791 1.1 christos 2012-11-12 Tom Tromey <tromey (a] redhat.com>
1792 1.1 christos
1793 1.1 christos * ada-lang.c (user_select_syms, ada_print_subexp): Pass flags
1794 1.1 christos to type-printing functions.
1795 1.1 christos * ada-lang.h (ada_print_type): Add argument.
1796 1.1 christos * ada-typeprint.c (print_array_type, print_variant_clauses,
1797 1.1 christos print_variant_part, print_selected_record_field_types,
1798 1.1 christos print_record_field_types, print_unchecked_union_type,
1799 1.1 christos print_func_type, ada_print_type): Add flags argument.
1800 1.1 christos (ada_print_typedef): Update.
1801 1.1 christos * c-exp.y (OPERATOR conversion_type_id): Update.
1802 1.1 christos * c-lang.h (c_print_type, c_type_print_base): Update.
1803 1.1 christos * c-typeprint.c (c_print_type, c_type_print_varspec_prefix,
1804 1.1 christos c_type_print_modifier, c_type_print_args,
1805 1.1 christos c_type_print_varspec_suffix, c_type_print_base): Add flags
1806 1.1 christos argument.
1807 1.1 christos * cp-valprint.c (cp_print_class_member): Update.
1808 1.1 christos * dwarf2read.c (dwarf2_compute_name): Update.
1809 1.1 christos * f-lang.h (f_print_type): Add argument.
1810 1.1 christos * f-typeprint.c (f_print_type): Add flags argument.
1811 1.1 christos * gnu-v3-abi.c (gnuv3_print_method_ptr): Update.
1812 1.1 christos * go-lang.h (go_print_type): Add argument.
1813 1.1 christos * go-typeprint.c (go_print_type): Add flags argument.
1814 1.1 christos * jv-lang.h (java_print_type): Add argument.
1815 1.1 christos * jv-typeprint.c (java_type_print_base, java_print_type): Add
1816 1.1 christos flags argument.
1817 1.1 christos * language.c (unk_lang_print_type): Add flags argument.
1818 1.1 christos * language.h (struct language_defn) <la_print_type>: Add flags
1819 1.1 christos argument.
1820 1.1 christos (LA_PRINT_TYPE): Likewise.
1821 1.1 christos * m2-lang.h (m2_print_type): Add argument.
1822 1.1 christos * m2-typeprint.c (m2_print_type, m2_range, m2_typedef,
1823 1.1 christos m2_array, m2_pointer, m2_ref, m2_procedure, m2_long_set,
1824 1.1 christos m2_unbounded_array, m2_record_fields): Add flags argument.
1825 1.1 christos * p-lang.h (pascal_print_type, pascal_type_print_base,
1826 1.1 christos pascal_type_print_varspec_prefix): Add argument.
1827 1.1 christos * p-typeprint.c (pascal_print_type,
1828 1.1 christos pascal_type_print_varspec_prefix, pascal_print_func_args,
1829 1.1 christos pascal_type_print_varspec_suffix, pascal_type_print_base): Add
1830 1.1 christos flags argument.
1831 1.1 christos * symmisc.c (print_symbol): Update.
1832 1.1 christos * typeprint.c (type_print_raw_options, default_ptype_flags):
1833 1.1 christos New globals.
1834 1.1 christos (type_print): Update.
1835 1.1 christos * typeprint.h (struct type_print_options): New.
1836 1.1 christos (type_print_raw_options): Declare.
1837 1.1 christos (c_type_print_varspec_suffix, c_type_print_args): Add argument.
1838 1.1 christos
1839 1.1 christos 2012-11-10 Keith Seitz <keiths (a] redhat.com>
1840 1.1 christos
1841 1.1 christos * breakpoint.c (clear_command): Add cleanup for
1842 1.1 christos sals.sals if an argument is given.
1843 1.1 christos
1844 1.1 christos * linespec.c (parse_linespec): Do cleanups after
1845 1.1 christos parsing a convenience variable.
1846 1.1 christos
1847 1.1 christos 2012-11-10 Keith Seitz <keiths (a] redhat.com>
1848 1.1 christos
1849 1.1 christos PR gdb/14288
1850 1.1 christos * c-valprint.c (c_val_print): For character arrays
1851 1.1 christos with "print null" option on, print ellipses if
1852 1.1 christos the output is truncated and the next character is not \000.
1853 1.1 christos * valprint.c (MAX_WCHARS): Define.
1854 1.1 christos (WCHAR_BUFLEN): Likewise.
1855 1.1 christos (WCHAR_BUFLEN_MAX): Likewise.
1856 1.1 christos (struct converted_character): New structure.
1857 1.1 christos (count_next_character): New function.
1858 1.1 christos (print_converted_chars_to_obstack): New function.
1859 1.1 christos (generic_printstr): Rewrite using count_next_character
1860 1.1 christos and print_converted_chars_to_obstack.
1861 1.1 christos
1862 1.1 christos 2012-11-10 Stephane Carrez <Stephane.Carrez (a] gmail.com>
1863 1.1 christos
1864 1.1 christos * tui/tui.c (tui_rl_command_key): Switch to TUI_ONE_COMMAND_MODE
1865 1.1 christos while executing the gdb command.
1866 1.1 christos (tui_rl_startup_hook): Do not switch back to TUI_SINGLE_KEY_MODE if we
1867 1.1 christos are called from prompt_for_continue.
1868 1.1 christos * tui/tui-io.c (tui_redisplay_readline): Likewise.
1869 1.1 christos
1870 1.1 christos 2012-11-10 Stephane Carrez <Stephane.Carrez (a] gmail.com>
1871 1.1 christos
1872 1.1 christos PR tui/9584
1873 1.1 christos
1874 1.1 christos * tui/tui.c (tui_rl_command_key): Do not call execute_command
1875 1.1 christos but insert the command to execute in readline's buffer.
1876 1.1 christos
1877 1.1 christos 2012-11-09 Tom Tromey <tromey (a] redhat.com>
1878 1.1 christos
1879 1.1 christos * gdbarch.sh (target_gdbarch): Remove macro.
1880 1.1 christos (get_target_gdbarch): Rename to target_gdbarch.
1881 1.1 christos * gdbarch.c, gdbarch.h: Rebuild.
1882 1.1 christos * ada-tasks.c, aix-thread.c, amd64-linux-nat.c, arch-utils.c,
1883 1.1 christos arm-tdep.c, auxv.c, breakpoint.c, bsd-uthread.c, corefile.c,
1884 1.1 christos darwin-nat-info.c, dcache.c, dsrec.c, exec.c, fbsd-nat.c,
1885 1.1 christos filesystem.c, gcore.c, gnu-nat.c, i386-darwin-nat.c, i386-nat.c,
1886 1.1 christos ia64-vms-tdep.c, inf-ptrace.c, infcmd.c, jit.c, linux-nat.c,
1887 1.1 christos linux-tdep.c, linux-thread-db.c, m32r-rom.c, memattr.c,
1888 1.1 christos mep-tdep.c, microblaze-tdep.c, mips-linux-nat.c,
1889 1.1 christos mips-linux-tdep.c, mips-tdep.c, monitor.c, moxie-tdep.c,
1890 1.1 christos nto-procfs.c, nto-tdep.c, ppc-linux-nat.c, proc-service.c,
1891 1.1 christos procfs.c, progspace.c, ravenscar-thread.c, record.c,
1892 1.1 christos remote-m32r-sdi.c, remote-mips.c, remote-sim.c, remote.c,
1893 1.1 christos rl78-tdep.c, rs6000-nat.c, rx-tdep.c, s390-nat.c, sol-thread.c,
1894 1.1 christos solib-darwin.c, solib-dsbt.c, solib-frv.c, solib-ia64-hpux.c,
1895 1.1 christos solib-irix.c, solib-pa64.c, solib-som.c, solib-spu.c,
1896 1.1 christos solib-sunos.c, solib-svr4.c, solib.c, spu-linux-nat.c,
1897 1.1 christos spu-multiarch.c, spu-tdep.c, symfile-mem.c, symfile.c, symtab.c,
1898 1.1 christos target-descriptions.c, target.c, target.h, tracepoint.c,
1899 1.1 christos windows-nat.c, windows-tdep.c, xcoffsolib.c, cli/cli-dump.c,
1900 1.1 christos common/agent.c, mi/mi-interp.c, python/py-finishbreakpoint.c,
1901 1.1 christos python/py-inferior.c, python/python.c: Update.
1902 1.1 christos
1903 1.1 christos 2012-11-09 Andrew Burgess <aburgess (a] broadcom.com>
1904 1.1 christos
1905 1.1 christos * source.c (print_source_lines_base): Add fullname field giving
1906 1.1 christos full path to file in mi output.
1907 1.1 christos * NEWS: Mention the new fullname field.
1908 1.1 christos
1909 1.1 christos 2012-11-09 Yao Qi <yao (a] codesourcery.com>
1910 1.1 christos
1911 1.1 christos * NEWS: Mention the fix to the ambiguity of 'fo' command.
1912 1.1 christos
1913 1.1 christos 2012-11-09 Pedro Alves <palves (a] redhat.com>
1914 1.1 christos
1915 1.1 christos PR gdb/14306
1916 1.1 christos
1917 1.1 christos * infrun.c: Include target-descriptions.h.
1918 1.1 christos (follow_exec): Fetch new target description.
1919 1.1 christos
1920 1.1 christos 2012-11-09 Yao Qi <yao (a] codesourcery.com>
1921 1.1 christos
1922 1.1 christos * i386-tdep.c (i386_analyze_frame_setup): Handle opcode
1923 1.1 christos 0x8d (lea).
1924 1.1 christos
1925 1.1 christos 2012-11-09 Yao Qi <yao (a] codesourcery.com>
1926 1.1 christos
1927 1.1 christos * breakpoint.c: Declare set_tracepoint_count.
1928 1.1 christos (install_breakpoint): Call set_tracepoint_count if B is a
1929 1.1 christos tracepoint.
1930 1.1 christos (trace_command): Don't call set_tracepoint_count. Re-indent.
1931 1.1 christos (strace_command, ftrace_command):
1932 1.1 christos (create_tracepoint_from_upload): Likewise.
1933 1.1 christos
1934 1.1 christos 2012-11-09 Pedro Alves <palves (a] redhat.com>
1935 1.1 christos
1936 1.1 christos * gdbarch.sh (target_gdbarch) <gdbarch.h>: Reimplement as macro.
1937 1.1 christos (get_target_gdbarch) <gdbarch.h>: New function.
1938 1.1 christos (startup_gdbarch) <gdbarch.h>: Declare.
1939 1.1 christos <gdbarch.c> (target_gdbarch): Delete.
1940 1.1 christos <gdbarch.c> (deprecated_target_gdbarch_select_hack): Set the
1941 1.1 christos current inferior's gdbarch.
1942 1.1 christos <gdbarch.c> (get_target_gdbarch): New function.
1943 1.1 christos * inferior.c: Include target-descriptions.h.
1944 1.1 christos (free_inferior): Free target description info.
1945 1.1 christos (add_inferior_with_spaces): Set the inferior's initial
1946 1.1 christos architecture.
1947 1.1 christos (clone_inferior_command): Copy the original inferior's target
1948 1.1 christos description if it was user specified.
1949 1.1 christos (initialize_inferiors): Add comment.
1950 1.1 christos * inferior.h (struct target_desc_info): Forward declare.
1951 1.1 christos (struct inferior) <gdbarch>: New field.
1952 1.1 christos * linux-nat.c: Include target-descriptions.h.
1953 1.1 christos (linux_child_follow_fork): Copy the parent's architecture and
1954 1.1 christos target description to the child.
1955 1.1 christos * target-descriptions.c: Include inferior.h.
1956 1.1 christos (struct target_desc_info): New structure, holding the equivalents
1957 1.1 christos of ...
1958 1.1 christos (target_desc_fetched, current_target_desc)
1959 1.1 christos (target_description_filename): ... these removed globals.
1960 1.1 christos (get_tdesc_info, target_desc_info_from_user_p)
1961 1.1 christos (copy_inferior_target_desc_info, target_desc_info_free): New.
1962 1.1 christos (target_desc_fetched, current_target_desc)
1963 1.1 christos (target_description_filename): Reimplemented as convenience
1964 1.1 christos macros.
1965 1.1 christos (tdesc_filename_cmd_string): New global.
1966 1.1 christos (set_tdesc_filename_cmd): Copy the string manipulated by the "set
1967 1.1 christos tdescs filename ..." commands to the per-inferior equivalent.
1968 1.1 christos (show_tdesc_filename_cmd): Get the value to show from the
1969 1.1 christos per-inferior description filename.
1970 1.1 christos (_initilize_target_descriptions): Change the "set/show tdesc
1971 1.1 christos filename" commands' variable.
1972 1.1 christos * target-descriptions.h (struct target_desc, struct target_desc_info)
1973 1.1 christos (struct inferior): Forward declare.
1974 1.1 christos (target_find_description, target_clear_description)
1975 1.1 christos (target_current_description): Adjust comments.
1976 1.1 christos (copy_inferior_target_desc_info, target_desc_info_free)
1977 1.1 christos (target_desc_info_from_user_p). Declare.
1978 1.1 christos
1979 1.1 christos 2012-11-08 Stephane Carrez <Stephane.Carrez (a] gmail.com>
1980 1.1 christos
1981 1.1 christos * tui/tui-hooks.c (tui_about_to_proceed): New function.
1982 1.1 christos (tui_target_wait_hook): Remove.
1983 1.1 christos (tui_install_hooks): Install the about_to_proceed observer.
1984 1.1 christos (tui_remove_hooks): And remove it here.
1985 1.1 christos
1986 1.1 christos 2012-11-08 Tom Tromey <tromey (a] redhat.com>
1987 1.1 christos
1988 1.1 christos * linux-tdep.c (linux_make_siginfo_note): New function.
1989 1.1 christos (linux_make_corefile_notes): Use it.
1990 1.1 christos * corelow.c (get_core_siginfo): New function.
1991 1.1 christos (core_xfer_partial) <TARGET_OBJECT_SIGNAL_INFO>: New case.
1992 1.1 christos
1993 1.1 christos 2012-11-08 Tom Tromey <tromey (a] redhat.com>
1994 1.1 christos
1995 1.1 christos PR gdb/14704:
1996 1.1 christos * gdb_bfd.c (gdb_bfd_ref): Set BFD_DECOMPRESS.
1997 1.1 christos (zlib_decompress_section): Remove.
1998 1.1 christos (gdb_bfd_map_section): Only check for compressed section
1999 1.1 christos in mmap case. Use bfd_get_full_section_contents.
2000 1.1 christos * osabi.c (check_note): Add 'sectsize' argument. Read
2001 1.1 christos section data.
2002 1.1 christos (generic_elf_osabi_sniff_abi_tag_sections): Don't read
2003 1.1 christos section data. Update for check_note change.
2004 1.1 christos * xcoffread.c (xcoff_initial_scan): Use
2005 1.1 christos bfd_get_full_section_contents.
2006 1.1 christos * py-auto-load.c (auto_load_section_scripts): Use
2007 1.1 christos bfd_get_full_section_contents.
2008 1.1 christos * contrib/cc-with-tweaks.sh: Add -Z option.
2009 1.1 christos
2010 1.1 christos 2012-11-08 Tom Tromey <tromey (a] redhat.com>
2011 1.1 christos
2012 1.1 christos * python/py-bpevent.c: Include defs.h.
2013 1.1 christos * python/py-continueevent.c: Include defs.h.
2014 1.1 christos * python/py-event.c: Include defs.h.
2015 1.1 christos * python/py-event.h: Don't include defs.h.
2016 1.1 christos * python/py-events.h: Don't include defs.h.
2017 1.1 christos * python/py-evts.c: Include defs.h.
2018 1.1 christos * python/py-exitedevent.c: Include defs.h.
2019 1.1 christos * python/py-newobjfileevent.c: Include defs.h.
2020 1.1 christos * python/py-signalevent.c: Include defs.h.
2021 1.1 christos * python/py-stopevent.c: Include defs.h.
2022 1.1 christos * python/py-threadevent.c: Include defs.h.
2023 1.1 christos
2024 1.1 christos 2012-11-08 Pierre Muller <muller (a] sourceware.org>
2025 1.1 christos
2026 1.1 christos * update-web-ari.sh (print_heading): Add number of files
2027 1.1 christos checked.
2028 1.1 christos (nb_files): New variable counting the number of sources
2029 1.1 christos files found by gdb_find.sh script.
2030 1.1 christos (debug_awk): New variable to allow extra debug output.
2031 1.1 christos (indexes): Add more information if DEBUG_AWK is set.
2032 1.1 christos
2033 1.1 christos 2012-11-08 Edjunior Machado <emachado (a] linux.vnet.ibm.com>
2034 1.1 christos
2035 1.1 christos * ppc-linux-tdep.c (ppc64_standard_linkage1, ppc64_standard_linkage2,
2036 1.1 christos ppc64_standard_linkage3): Mark ld r11 instructions as optional,
2037 1.1 christos following the change in PLT call stubs on linker.
2038 1.1 christos
2039 1.1 christos 2012-11-08 Pierre Muller <muller (a] sourceware.org>
2040 1.1 christos
2041 1.1 christos * contrib/ari/gdb_ari.sh (LANG, LC_ALL): Use 'C' instead of 'c'
2042 1.1 christos as default language.
2043 1.1 christos (AWK): Use = instead of == for sh test to avoid warning.
2044 1.1 christos (Linux rule): Correct [:digit] into [[:digit:]].
2045 1.1 christos (__func__ rule): Adapt to "gdb_assert.h" move to common subdirectory.
2046 1.1 christos (vasprintf rule): Adapt to common subdirectory moves.
2047 1.1 christos (xasprintf rule): Idem.
2048 1.1 christos (xvasprintf rule): Idem.
2049 1.1 christos (var_boolean rule): Accept occurence in == or != test.
2050 1.1 christos
2051 1.1 christos * contrib/ari/gdb_find.sh: Also prune gdbtk directory.
2052 1.1 christos
2053 1.1 christos 2012-11-08 Stephane Carrez <Stephane.Carrez (a] gmail.com>
2054 1.1 christos
2055 1.1 christos * tui/tui-hooks.c (tui_inferior_exit): New function.
2056 1.1 christos (tui_detach_hook): Remove.
2057 1.1 christos (tui_install_hooks): Install the inferior exit observer.
2058 1.1 christos (tui_remove_hooks): Remove it.
2059 1.1 christos
2060 1.1 christos 2012-11-08 Yao Qi <yao (a] codesourcery.com>
2061 1.1 christos
2062 1.1 christos PR gdb/14777.
2063 1.1 christos * source.c (_initialize_source): Call add_com_alias to abbreviate
2064 1.1 christos 'forward-search' as 'fo'.
2065 1.1 christos
2066 1.1 christos 2012-11-07 Pedro Alves <palves (a] redhat.com>
2067 1.1 christos
2068 1.1 christos * arm-tdep.c: Make defs.h be the first include.
2069 1.1 christos * coff-pe-read.c: Ditto.
2070 1.1 christos * gnu-nat.c: Ditto.
2071 1.1 christos * go32-nat.c: Ditto.
2072 1.1 christos * i386-nat.c: Ditto.
2073 1.1 christos * ppcnbsd-nat.c: Ditto.
2074 1.1 christos * ada-varobj.h: Don't include defs.h.
2075 1.1 christos * i386-darwin-tdep.h: Ditto.
2076 1.1 christos * i386-nat.h: Ditto.
2077 1.1 christos
2078 1.1 christos 2012-11-07 Pedro Alves <palves (a] redhat.com>
2079 1.1 christos
2080 1.1 christos * MAINTAINERS: New FSF-appointed maintainers replace the Steering
2081 1.1 christos Committee.
2082 1.1 christos
2083 1.1 christos 2012-11-07 Pierre Muller <muller (a] sourceware.org>
2084 1.1 christos
2085 1.1 christos * common/linux-osdata.c (dirent.h): ARI fix: Remove.
2086 1.1 christos File already uses "gdb_dirent.h" header.
2087 1.1 christos
2088 1.1 christos 2012-11-07 Yao Qi <yao (a] codesourcery.com>
2089 1.1 christos
2090 1.1 christos * breakpoint.c (get_tracepoint_by_number): Remove 'extern int
2091 1.1 christos tracepoint_count'.
2092 1.1 christos
2093 1.1 christos 2012-11-06 Tom Tromey <tromey (a] redhat.com>
2094 1.1 christos
2095 1.1 christos * target.h (inferior_has_forked, inferior_has_vforked)
2096 1.1 christos (inferior_has_execd, inferior_has_called_syscall): Remove
2097 1.1 christos declarations.
2098 1.1 christos
2099 1.1 christos 2012-11-06 Pierre Muller <muller (a] sourceware.org>
2100 1.1 christos
2101 1.1 christos * remote.c (remote_insert_hw_breakpoint): ARI fix,
2102 1.1 christos add missing internalization markup.
2103 1.1 christos
2104 1.1 christos 2012-11-06 Pedro Alves <palves (a] redhat.com>
2105 1.1 christos
2106 1.1 christos PR gdb/14810
2107 1.1 christos
2108 1.1 christos * breakpoint.c (bpstat_stop_status): Skip disabled locations.
2109 1.1 christos
2110 1.1 christos 2012-11-06 Pierre Muller <muller (a] sourceware.org>
2111 1.1 christos
2112 1.1 christos * contrib/ari/create-web-ari-in-src.sh: Avoid problem if script
2113 1.1 christos is not executable.
2114 1.1 christos
2115 1.1 christos 2012-11-05 Joel Brobecker <brobecker (a] adacore.com>
2116 1.1 christos
2117 1.1 christos * gnulib/update-gnulib.sh: New script.
2118 1.1 christos
2119 1.1 christos 2012-11-05 Stephane Carrez <Stephane.Carrez (a] gmail.com>
2120 1.1 christos
2121 1.1 christos * MAINTAINERS: Update my email address.
2122 1.1 christos
2123 1.1 christos 2012-11-05 Tom Tromey <tromey (a] redhat.com>
2124 1.1 christos
2125 1.1 christos * frame.c (put_frame_register): Don't use temporary buffer.
2126 1.1 christos
2127 1.1 christos 2012-11-05 Pedro Alves <palves (a] redhat.com>
2128 1.1 christos
2129 1.1 christos * inferior.c (exit_inferior_1): Clear 'vfork_parent' in the vfork
2130 1.1 christos child. Clear 'pending_detach'.
2131 1.1 christos * infrun.c (handle_vfork_child_exec_or_exit): Clear
2132 1.1 christos 'pending_detach' in the vfork parent.
2133 1.1 christos
2134 1.1 christos 2012-11-05 Doug Evans <dje (a] google.com>
2135 1.1 christos
2136 1.1 christos Add support for DWP files. http://gcc.gnu.org/wiki/DebugFissionDWP
2137 1.1 christos * contrib/cc-with-tweaks.sh: Add -p parameter to invoke dwp.
2138 1.1 christos * dwarf2read.c: #include "elf-bfd.h".
2139 1.1 christos (struct dwarf2_per_objfile): New members dwp_checked, dwp_file.
2140 1.1 christos (dwop_section_names): Renamed from dwo_section names. All uses
2141 1.1 christos updated. Add entries for .debug_cu_index, .debug_tu_index.
2142 1.1 christos (struct dwo_file): Rename dwo_name to name, dwo_bfd to dbfd.
2143 1.1 christos All uses updated.
2144 1.1 christos (struct dwp_sections): New type.
2145 1.1 christos (struct virtual_dwo_sections): New type.
2146 1.1 christos (struct dwp_hash_table): New type.
2147 1.1 christos (struct dwp_file): New type.
2148 1.1 christos (init_cutu_and_read_dies): Ensure DWO info/types section has been
2149 1.1 christos read in. Handle DWOs coming from DWP files.
2150 1.1 christos (lookup_dwo_file_slot): New function.
2151 1.1 christos (dwarf2_locate_dwo_sections): Move definition closer to use.
2152 1.1 christos (create_dwo_debug_info_hash_table_reader): Renamed from
2153 1.1 christos create_debug_info_hash_table_reader. All callers updated.
2154 1.1 christos (create_dwo_debug_info_hash_table): Renamed from
2155 1.1 christos create_debug_info_hash_table. All callers updated.
2156 1.1 christos (create_dwp_hash_table): New function.
2157 1.1 christos (locate_virtual_dwo_sections, create_dwo_in_dwp): New functions.
2158 1.1 christos (lookup_dwo_in_dwp): New function.
2159 1.1 christos (try_open_dwop_file): Renamed from try_open_dwo_file. New parameter
2160 1.1 christos is_dwp. All callers updated.
2161 1.1 christos (open_dwop_file): Renamed from open_dwo_file. All callers updated.
2162 1.1 christos (open_and_init_dwo_file): Renamed from init_dwo_file.
2163 1.1 christos All callers updated.
2164 1.1 christos (lookup_dwo_file): Delete.
2165 1.1 christos (dwarf2_locate_dwp_sections): New function.
2166 1.1 christos (hash_dwp_loaded_cutus, eq_dwp_loaded_cutus): New functions.
2167 1.1 christos (allocate_dwp_loaded_cutus_table): New function.
2168 1.1 christos (open_and_init_dwp_file): New function.
2169 1.1 christos (lookup_dwo_cutu): New function.
2170 1.1 christos (lookup_dwo_comp_unit, lookup_dwo_type_unit): Call it.
2171 1.1 christos
2172 1.1 christos 2012-11-03 Yao Qi <yao (a] codesourcery.com>
2173 1.1 christos
2174 1.1 christos Fix PR gdb/14617.
2175 1.1 christos * breakpoint.c (trace_pass_set_count): Call
2176 1.1 christos observer_notify_breakpoint_modified instead of
2177 1.1 christos observer_notify_tracepoint_modified.
2178 1.1 christos * mi/mi-cmd-break.c (mi_cmd_break_passcount): Likewise.
2179 1.1 christos
2180 1.1 christos 2012-11-02 Tom Tromey <tromey (a] redhat.com>
2181 1.1 christos
2182 1.1 christos * breakpoint.c (catch_syscall_completer): Pass 'word' as second
2183 1.1 christos argument to complete_on_enum.
2184 1.1 christos
2185 1.1 christos 2012-11-02 Tom Tromey <tromey (a] redhat.com>
2186 1.1 christos
2187 1.1 christos * configure: Rebuild.
2188 1.1 christos * configure.ac (build_warnings): Add -Wempty-body.
2189 1.1 christos * m68k-tdep.c (m68k_gdbarch_init): Remove empty 'if'.
2190 1.1 christos * remote.c (handle_notification): Use braces for empty 'else' body.
2191 1.1 christos * s390-tdep.c (s390_analyze_prologue): Use braces for empty
2192 1.1 christos 'else' body.
2193 1.1 christos * sh64-tdep.c (sh64_push_dummy_call): Use braces for empty
2194 1.1 christos 'else' body.
2195 1.1 christos * solib-som.c (som_relocate_section_addresses): Use braces
2196 1.1 christos for empty 'else' body.
2197 1.1 christos * ui-file.c (stdio_file_write): Use braces for empty 'if' body.
2198 1.1 christos (stdio_file_write_async_safe, stdio_file_fputs): Likewise.
2199 1.1 christos
2200 1.1 christos 2012-11-02 Pedro Alves <palves (a] redhat.com>
2201 1.1 christos
2202 1.1 christos PR gdb/14766
2203 1.1 christos
2204 1.1 christos * infrun.c (handle_inferior_event)
2205 1.1 christos <TARGET_WAITKIND_EXITED/TARGET_WAITKIND_SIGNALLED>: Switch to
2206 1.1 christos null_ptid before handling a vfork child exec or exit. Switch to
2207 1.1 christos the event ptid afterwards.
2208 1.1 christos
2209 1.1 christos 2012-11-02 Yao Qi <yao (a] codesourcery.com>
2210 1.1 christos
2211 1.1 christos * std-operator.def: Remove OP_LABELED.
2212 1.1 christos * eval.c: Remove the declaration of 'get_label'.
2213 1.1 christos (get_label): Remove.
2214 1.1 christos (evaluate_struct_tuple): Remove code handling OP_LABELED.
2215 1.1 christos Update comment.
2216 1.1 christos Remove local variable 'variantno' and related code.
2217 1.1 christos Replace 'substruct_type' with 'struct_type'. Replace 'subfieldno'
2218 1.1 christos with 'fieldno'.
2219 1.1 christos * expprint.c (print_subexp_standard): Likewise.
2220 1.1 christos (dump_subexp_body_standard): Likewise.
2221 1.1 christos * parse.c (operator_length_standard): Likewise.
2222 1.1 christos
2223 1.1 christos 2012-11-01 Pierre Muller <muller (a] ics.u-strasbg.fr>
2224 1.1 christos
2225 1.1 christos Incorporate ARI web page generator into GDB sources.
2226 1.1 christos * contrib/ari/create-web-ari-in-src.sh: New file.
2227 1.1 christos * contrib/ari/gdb_ari.sh: New file.
2228 1.1 christos * contrib/ari/gdb_find.sh: New file.
2229 1.1 christos * contrib/ari/update-web-ari.sh: New file.
2230 1.1 christos
2231 1.1 christos 2012-10-31 Tom Tromey <tromey (a] redhat.com>
2232 1.1 christos
2233 1.1 christos * gdbarch.c: Rebuild.
2234 1.1 christos * gdbarch.sh: Remove references to gdbarch_swap.
2235 1.1 christos * corelow.c (core_open): Remove obsolete comment.
2236 1.1 christos
2237 1.1 christos 2012-10-31 Andrew Burgess <aburgess (a] broadcom.com>
2238 1.1 christos
2239 1.1 christos PR cli/14772
2240 1.1 christos * c-typeprint.c (c_print_type): Don't print a space for vector
2241 1.1 christos types, this is handled within the suffix.
2242 1.1 christos (c_type_print_varspec_suffix): Add a space to vector suffix.
2243 1.1 christos
2244 1.1 christos 2012-10-26 Pedro Alves <palves (a] redhat.com>
2245 1.1 christos
2246 1.1 christos * amd64-tdep.c (amd64_relocate_instruction): Use
2247 1.1 christos store_unsigned_integer instead of memcpy.
2248 1.1 christos * i386-tdep.c (i386_relocate_instruction): Ditto.
2249 1.1 christos
2250 1.1 christos 2012-10-26 Pedro Alves <palves (a] redhat.com>
2251 1.1 christos
2252 1.1 christos * infrun.c (handle_inferior_event): Merge handling of
2253 1.1 christos TARGET_WAITKIND_EXITED and TARGET_WAITKIND_SIGNALLED into a single
2254 1.1 christos switch case.
2255 1.1 christos
2256 1.1 christos 2012-10-26 Pedro Alves <palves (a] redhat.com>
2257 1.1 christos
2258 1.1 christos * infrun.c (handle_inferior_event) <TARGET_WAITKIND_SIGNALLED>:
2259 1.1 christos Remove comment.
2260 1.1 christos
2261 1.1 christos 2012-10-26 Pedro Alves <palves (a] redhat.com>
2262 1.1 christos
2263 1.1 christos * target.c (target_waitstatus_to_string): Handle
2264 1.1 christos TARGET_WAITKIND_VFORK_DONE.
2265 1.1 christos
2266 1.1 christos 2012-10-26 Pedro Alves <palves (a] redhat.com>
2267 1.1 christos
2268 1.1 christos * infrun.c (handle_inferior_event): Print TARGET_WAITKIND_VFORKED
2269 1.1 christos as "TARGET_WAITKIND_VFORKED", not "TARGET_WAITKIND_FORKED".
2270 1.1 christos
2271 1.1 christos 2012-10-24 Tristan Gingold <gingold (a] adacore.com>
2272 1.1 christos
2273 1.1 christos * ravenscar-sparc-thread.c (ravenscar_sparc_fetch_registers):
2274 1.1 christos Add comments.
2275 1.1 christos
2276 1.1 christos 2012-10-24 Joel Brobecker <brobecker (a] adacore.com>
2277 1.1 christos
2278 1.1 christos * ravenscar-thread.c (ravenscar_wait): Only update the list
2279 1.1 christos of threads and inferior_ptid if the inferior is still alive.
2280 1.1 christos
2281 1.1 christos 2012-10-24 Joel Brobecker <brobecker (a] adacore.com>
2282 1.1 christos
2283 1.1 christos * ada-lang.c (is_known_support_routine): Use lbasename when
2284 1.1 christos matching the symtab's filename against
2285 1.1 christos known_runtime_file_name_patterns.
2286 1.1 christos
2287 1.1 christos 2012-10-24 Joel Brobecker <brobecker (a] adacore.com>
2288 1.1 christos
2289 1.1 christos * ada-lang.c (ada_same_array_size_p): New function.
2290 1.1 christos (ada_promote_array_of_integrals): New function.
2291 1.1 christos (coerce_for_assign): Add handling of arrays where the elements
2292 1.1 christos are integrals of a smaller size than the size of the target
2293 1.1 christos array element type.
2294 1.1 christos
2295 1.1 christos 2012-10-24 Joel Brobecker <brobecker (a] adacore.com>
2296 1.1 christos
2297 1.1 christos * doublest.c (convert_doublest_to_floatformat): Fix comparison
2298 1.1 christos against maximum exponent value.
2299 1.1 christos
2300 1.1 christos 2012-10-24 Joel Brobecker <brobecker (a] adacore.com>
2301 1.1 christos
2302 1.1 christos * ada-lang.h (ADA_KNOWN_RUNTIME_FILE_NAME_PATTERNS): Add entry for
2303 1.1 christos "unwind-seh.c".
2304 1.1 christos
2305 1.1 christos 2012-10-24 Joel Brobecker <brobecker (a] adacore.com>
2306 1.1 christos
2307 1.1 christos * ada-lang.c (ada_template_to_fixed_record_type_1): Do not
2308 1.1 christos strip typedef layer when computing the fixed type's field type,
2309 1.1 christos only when computing its size.
2310 1.1 christos
2311 1.1 christos 2012-10-24 Mark Kettenis <kettenis (a] gnu.org>
2312 1.1 christos
2313 1.1 christos PR gdb/12783
2314 1.1 christos * i386-tdep.c (i386_return_value): Handle complex double and long
2315 1.1 christos double.
2316 1.1 christos
2317 1.1 christos 2012-10-24 Joel Brobecker <brobecker (a] adacore.com>
2318 1.1 christos
2319 1.1 christos * windows-nat.c (windows_create_inferior) [!__CYGWIN__]:
2320 1.1 christos New local variable args_len.
2321 1.1 christos Quote the name of the executable when computing the command line.
2322 1.1 christos
2323 1.1 christos 2012-10-23 Mark Kettenis <kettenis (a] gnu.org>
2324 1.1 christos
2325 1.1 christos PR gdb/12796
2326 1.1 christos PR gdb/12798
2327 1.1 christos PR gdb/12800
2328 1.1 christos * amd64-tdep.h (enum amd64_regnum): Add AMD64_ST1_REGNUM and
2329 1.1 christos AMD64_FTAG_REGNUM.
2330 1.1 christos * amd64-tdep.c (amd64_classify): Classify complex types.
2331 1.1 christos (amd64_return_value): Handle the COMPLEX_X87 class.
2332 1.1 christos
2333 1.1 christos 2012-10-23 Joel Brobecker <brobecker (a] adacore.com>
2334 1.1 christos
2335 1.1 christos * rs6000-aix-tdep.c (rs6000_aix_auto_wide_charset): New function.
2336 1.1 christos (rs6000_aix_init_osabi): Set auto_wide_charset gdbarch method.
2337 1.1 christos
2338 1.1 christos 2012-10-23 Joel Brobecker <brobecker (a] adacore.com>
2339 1.1 christos
2340 1.1 christos * amd64-windows-tdep.c (amd64_windows_auto_wide_charset): New
2341 1.1 christos function.
2342 1.1 christos (amd64_windows_init_abi): Set auto_wide_charset gdbarch method
2343 1.1 christos to amd64_windows_auto_wide_charset.
2344 1.1 christos
2345 1.1 christos 2012-10-23 Yao Qi <yao (a] codesourcery.com>
2346 1.1 christos
2347 1.1 christos * event-top.c (mark_async_signal_handler_wrapper): Remove.
2348 1.1 christos * event-top.h: Remove its declaration.
2349 1.1 christos (async_request_quit): Call mark_async_signal_handler instead of
2350 1.1 christos mark_async_signal_handler_wrapper.
2351 1.1 christos (async_do_nothing, async_disconnect): Likewise.
2352 1.1 christos (async_stop_sig): Likewise.
2353 1.1 christos * remote.c (handle_remote_sigint): Likewise.
2354 1.1 christos (handle_remote_sigint_twice): Likewise.
2355 1.1 christos
2356 1.1 christos 2012-10-23 Yao Qi <yao (a] codesourcery.com>
2357 1.1 christos
2358 1.1 christos * event-top.c (sigint_token, sighup_token): Replace 'void *'
2359 1.1 christos with 'static struct async_signal_handler *'.
2360 1.1 christos (sighup_token, sigquit_token, sigstp_token): Likewise.
2361 1.1 christos
2362 1.1 christos 2012-10-22 Ali Anwar <ali_anwar (a] codesourcery.com>
2363 1.1 christos
2364 1.1 christos * gdbarch.sh (function_list): Use 'pstring' when printing
2365 1.1 christos a variable which could return NULL.
2366 1.1 christos * gdbarch.c: Regenerate.
2367 1.1 christos
2368 1.1 christos 2012-10-10 Joel Brobecker <brobecker (a] adacore.com>
2369 1.1 christos Tom Tromey <tromey (a] redhat.com>
2370 1.1 christos
2371 1.1 christos * rs6000-aix-tdep.c (rs6000_aix_osabi_sniffer): Replace
2372 1.1 christos inneffective if condition by gdb assertion. Add function
2373 1.1 christos description comment.
2374 1.1 christos
2375 1.1 christos 2012-10-19 Joel Brobecker <brobecker (a] adacore.com>
2376 1.1 christos
2377 1.1 christos * parser-defs.h (struct exp_descriptor): Document constraint
2378 1.1 christos on return value for "op_name" callbacks.
2379 1.1 christos
2380 1.1 christos 2012-10-18 Tom Tromey <tromey (a] redhat.com>
2381 1.1 christos
2382 1.1 christos * tracepoint.c (print_one_static_tracepoint_marker): Constify.
2383 1.1 christos * symtab.c (iterate_over_some_symtabs): Constify.
2384 1.1 christos * source.h (symtab_to_fullname): Return 'const char *'.
2385 1.1 christos * source.c (symtab_to_fullname): Return 'const char *'.
2386 1.1 christos * python/py-symtab.c (stpy_fullname): Constify.
2387 1.1 christos * cli/cli-cmds.c (edit_command): Constify.
2388 1.1 christos * breakpoint.c (print_breakpoint_location)
2389 1.1 christos (update_static_tracepoint): Constify.
2390 1.1 christos
2391 1.1 christos 2012-10-18 Tom Tromey <tromey (a] redhat.com>
2392 1.1 christos
2393 1.1 christos * breakpoint.c (compare_breakpoints): Fix comparison.
2394 1.1 christos
2395 1.1 christos 2012-10-18 Tom Tromey <tromey (a] redhat.com>
2396 1.1 christos
2397 1.1 christos * valprint.c (generic_emit_char, generic_printstr): Pass size of
2398 1.1 christos gdb_wchar_t to convert_between_encodings.
2399 1.1 christos
2400 1.1 christos 2012-10-17 Yao Qi <yao (a] codesourcery.com>
2401 1.1 christos
2402 1.1 christos * breakpoint.c (invalidate_bp_value_on_memory_change): Add one
2403 1.1 christos more parameter 'inferior'.
2404 1.1 christos * corefile.c (write_memory_with_notification): Caller update.
2405 1.1 christos
2406 1.1 christos * mi/mi-cmd-var.c: Include "mi-main.h".
2407 1.1 christos (mi_cmd_var_assign): Set mi_suppress_notification.data_write_memory
2408 1.1 christos to 1 and restore it later.
2409 1.1 christos * mi/mi-cmds.c (mi_cmd mi_cmds): Update for "data-write-memory"
2410 1.1 christos and "data-write-memory-bytes.
2411 1.1 christos * mi/mi-interp.c: Include objfiles.h.
2412 1.1 christos (mi_interpreter_init): Call observer_attach_memory_changed.
2413 1.1 christos (mi_memory_changed): New.
2414 1.1 christos * mi/mi-main.h (struct mi_suppress_notification) <memory>:
2415 1.1 christos New field.
2416 1.1 christos
2417 1.1 christos * NEWS: Mention new MI notification "memory-changed".
2418 1.1 christos
2419 1.1 christos 2012-10-16 Jan Kratochvil <jan.kratochvil (a] redhat.com>
2420 1.1 christos
2421 1.1 christos * dwarf2loc.c (dwarf_expr_reg_to_entry_parameter): Remove comment.
2422 1.1 christos
2423 1.1 christos 2012-10-15 Doug Evans <dje (a] google.com>
2424 1.1 christos
2425 1.1 christos New option -nh: inhibit loading of ~/.gdbinit.
2426 1.1 christos * NEWS: Mention -nh.
2427 1.1 christos * main.c (captured_main): Recognize and process -nh.
2428 1.1 christos (print_gdb_help): Mention -nh.
2429 1.1 christos * gdb.1: Mention -nh. Remove erroneous docs on -nx behavior.
2430 1.1 christos
2431 1.1 christos 2012-10-15 H.J. Lu <hongjiu.lu (a] intel.com>
2432 1.1 christos
2433 1.1 christos PR backtrace/14646
2434 1.1 christos PR gdb/14647
2435 1.1 christos * i386-tdep.h (gdbarch_tdep): Remove sp_regnum_from_eax and
2436 1.1 christos pc_regnum_from_eax.
2437 1.1 christos * i386-tdep.c (i386_gdbarch_init): Don't use sp_regnum_from_eax
2438 1.1 christos nor pc_regnum_from_eax.
2439 1.1 christos * amd64-tdep.c (amd64_x32_init_abi): Don't set sp_regnum_from_eax
2440 1.1 christos nor pc_regnum_from_eax.
2441 1.1 christos
2442 1.1 christos 2012-10-15 Jan Kratochvil <jan.kratochvil (a] redhat.com>
2443 1.1 christos
2444 1.1 christos Fix entry values resolving in inlined frames.
2445 1.1 christos * dwarf2loc.c (dwarf_expr_reg_to_entry_parameter): Move func_addr,
2446 1.1 christos gdbarch and caller_frame initialization later. Skip INLINE_FRAME
2447 1.1 christos entries of FRAME.
2448 1.1 christos
2449 1.1 christos 2012-10-15 Joel Brobecker <brobecker (a] adacore.com>
2450 1.1 christos
2451 1.1 christos * configure.ac: Build with -DMS_WIN64 if building with Python
2452 1.1 christos enabled using GCC on amd64-windows.
2453 1.1 christos * configure: Regenerate.
2454 1.1 christos
2455 1.1 christos 2012-10-15 Tom Tromey <tromey (a] redhat.com>
2456 1.1 christos
2457 1.1 christos PR python/14635:
2458 1.1 christos * python/py-symtab.c (del_objfile_sal): Set 'symtab' field
2459 1.1 christos to Py_None.
2460 1.1 christos
2461 1.1 christos 2012-10-15 Tom Tromey <tromey (a] redhat.com>
2462 1.1 christos
2463 1.1 christos PR python/14634:
2464 1.1 christos * python/py-symbol.c (sympy_dealloc): Check for NULL symbol.
2465 1.1 christos
2466 1.1 christos 2012-10-11 Andrew Burgess <aburgess (a] broadcom.com>
2467 1.1 christos
2468 1.1 christos * remote-sim.c (gdbsim_create_inferior): Call init_thread_list to
2469 1.1 christos reset thread numbering back to 1.
2470 1.1 christos
2471 1.1 christos 2012-10-11 Doug Evans <dje (a] google.com>
2472 1.1 christos
2473 1.1 christos PR breakpoints/14643.
2474 1.1 christos * linespec.c (struct ls_parser): New member keyword_ok.
2475 1.1 christos (linespec_lexer_lex_string): Add comment.
2476 1.1 christos (linespec_lexer_lex_one): Ignore keywords if it's the wrong place
2477 1.1 christos for one.
2478 1.1 christos (parse_linespec): Set keyword_ok.
2479 1.1 christos
2480 1.1 christos 2012-10-10 Doug Evans <dje (a] google.com>
2481 1.1 christos
2482 1.1 christos * dwarf2read.c (process_psymtab_comp_unit_reader): Remove duplicate
2483 1.1 christos "0x" prefix on address in log message.
2484 1.1 christos
2485 1.1 christos * dwarf2read.c (read_1_byte): Add const to buf parameter.
2486 1.1 christos (read_1_signed_byte, read_2_bytes, read_2_signed_bytes): Ditto.
2487 1.1 christos (read_4_bytes, read_4_signed_bytes, read_8_bytes): Ditto.
2488 1.1 christos (lookup_dwo_file): Add const to dwo_name parameter.
2489 1.1 christos (lookup_dwo_comp_unit, lookup_dwo_type_unit): Ditto.
2490 1.1 christos
2491 1.1 christos 2012-10-06 Jan Kratochvil <jan.kratochvil (a] redhat.com>
2492 1.1 christos
2493 1.1 christos Fix crash during stepping on ppc32.
2494 1.1 christos * ppc-linux-tdep.c (powerpc_linux_in_dynsym_resolve_code): Test NULL
2495 1.1 christos SYM.
2496 1.1 christos
2497 1.1 christos 2012-10-03 Doug Evans <dje (a] google.com>
2498 1.1 christos
2499 1.1 christos PR symtab/14601
2500 1.1 christos * buildsym.c (buildsym_init): Reset using_directives to NULL.
2501 1.1 christos
2502 1.1 christos 2012-10-02 Andrew Burgess <aburgess (a] broadcom.com>
2503 1.1 christos
2504 1.1 christos * remote-sim.c (dump_mem): Always dump buffer contents, zero fill
2505 1.1 christos output and use uint32_t not long to ensure 4 byte size.
2506 1.1 christos
2507 1.1 christos 2012-10-02 Joel Brobecker <brobecker (a] adacore.com>
2508 1.1 christos
2509 1.1 christos * rs6000-nat.c (add_vmap): Set "last" to "next" after having
2510 1.1 christos unref'ed it.
2511 1.1 christos
2512 1.1 christos 2012-10-01 Andrew Burgess <aburgess (a] broadcom.com>
2513 1.1 christos
2514 1.1 christos * target.c (simple_search_memory): Include access length in
2515 1.1 christos warning message.
2516 1.1 christos
2517 1.1 christos 2012-09-28 Nathan Miller <nathanm2 (a] us.ibm.com>
2518 1.1 christos Edjunior Machado <emachado (a] linux.vnet.ibm.com>
2519 1.1 christos
2520 1.1 christos PR gdb/13989
2521 1.1 christos * solib.c (solib_find): Prevent GDB from loading native libraries when
2522 1.1 christos debugging a cross-target corefile.
2523 1.1 christos
2524 1.1 christos 2012-09-28 selven <pcthegreat (a] gmail.com>
2525 1.1 christos
2526 1.1 christos Make definition match declaration.
2527 1.1 christos
2528 1.1 christos * regcache.c (regcache_register_status): Change return type to
2529 1.1 christos enum register_status.
2530 1.1 christos
2531 1.1 christos 2012-09-28 Yao Qi <yao (a] codesourcery.com>
2532 1.1 christos
2533 1.1 christos * mi/mi-main.c (mi_cmd_data_write_memory): Call
2534 1.1 christos write_memory_with_notification instead of write_memory.
2535 1.1 christos (mi_cmd_data_write_memory_bytes): Call write_memory_with_notification
2536 1.1 christos instead of target_write_memory.
2537 1.1 christos
2538 1.1 christos 2012-09-28 Yao Qi <yao (a] codesourcery.com>
2539 1.1 christos
2540 1.1 christos * mi/mi-main.c (mi_cmd_data_write_memory_bytes): Emit error
2541 1.1 christos when the length of content is not an even number.
2542 1.1 christos
2543 1.1 christos 2012-09-27 Tom Tromey <tromey (a] redhat.com>
2544 1.1 christos
2545 1.1 christos Fix https://bugzilla.redhat.com/show_bug.cgi?id=849357
2546 1.1 christos * cp-valprint.c (cp_print_value_fields): Use get_vptr_fieldno.
2547 1.1 christos
2548 1.1 christos 2012-09-27 Joel Brobecker <brobecker (a] adacore.com>
2549 1.1 christos
2550 1.1 christos * sol-thread.c (sol_thread_fetch_registers)
2551 1.1 christos (sol_thread_store_registers): Delete commented out code.
2552 1.1 christos
2553 1.1 christos 2012-09-27 Joel Brobecker <brobecker (a] adacore.com>
2554 1.1 christos
2555 1.1 christos * sol-thread.c (ps_lgetxregsize, ps_lgetxregs, ps_lsetxregs):
2556 1.1 christos Move these functions to sparc-sol-thread.c.
2557 1.1 christos * sparc-sol-thread.c: New file.
2558 1.1 christos * configure.ac: Add sparc-sol-thread.o to CONFIG_OBS and
2559 1.1 christos sparc-sol-thread.c to CONFIG_SRCS for sparc-solaris native
2560 1.1 christos configurations.
2561 1.1 christos * configure: Regenerate.
2562 1.1 christos
2563 1.1 christos 2012-09-27 Joel Brobecker <brobecker (a] adacore.com>
2564 1.1 christos
2565 1.1 christos * sol-thread.c (ps_lgetxregsize, ps_lgetxregs, ps_lsetxregs):
2566 1.1 christos Remove commented-out code.
2567 1.1 christos
2568 1.1 christos 2012-09-27 Joel Brobecker <brobecker (a] adacore.com>
2569 1.1 christos
2570 1.1 christos * sol-thread.c (ps_lgetxregsize, ps_lgetxregs, ps_lsetxregs):
2571 1.1 christos Enable this code for sparc hosts only.
2572 1.1 christos
2573 1.1 christos 2012-09-27 Joel Brobecker <brobecker (a] adacore.com>
2574 1.1 christos
2575 1.1 christos * procfs.h (procfs_find_LDT_entry): Add declaration.
2576 1.1 christos * sol-thread.c (ps_lgetLDT): Delete local declaration of
2577 1.1 christos function procfs_find_LDT_entry.
2578 1.1 christos
2579 1.1 christos 2012-09-27 Joel Brobecker <brobecker (a] adacore.com>
2580 1.1 christos
2581 1.1 christos * procfs.c (proc_get_LDT_entry): Make static.
2582 1.1 christos
2583 1.1 christos 2012-09-27 Joel Brobecker <brobecker (a] adacore.com>
2584 1.1 christos
2585 1.1 christos * procfs.c (proc_find_memory_regions): Fix declaration.
2586 1.1 christos
2587 1.1 christos 2012-09-27 Siddhesh Poyarekar <siddhesh (a] redhat.com>
2588 1.1 christos
2589 1.1 christos * amd64-tdep.c (amd64_return_value): Revert previous change
2590 1.1 christos that used TYPE_LENGTH directly.
2591 1.1 christos * bfin-tdep.c (bfin_extract_return_value): Likewise.
2592 1.1 christos (bfin_store_return_value): Likewise.
2593 1.1 christos * cris-tdep.c (cris_store_return_value): Likewise.
2594 1.1 christos (cris_extract_return_value): Likewise.
2595 1.1 christos * h8300-tdep.c (h8300_extract_return_value): Likewise.
2596 1.1 christos * hppa-tdep.c (hppa64_return_value): Likewise.
2597 1.1 christos * lm32-tdep.c (lm32_store_return_value): Likewise.
2598 1.1 christos * microblaze-tdep.c (microblaze_store_return_value): Likewise.
2599 1.1 christos * spu-tdep.c (spu_value_from_register): Likewise.
2600 1.1 christos * vax-tdep.c (vax_return_value): Likewise.
2601 1.1 christos
2602 1.1 christos 2012-09-27 Siddhesh Poyarekar <siddhesh (a] redhat.com>
2603 1.1 christos
2604 1.1 christos * gdbtypes.c (lookup_array_range_type): Expand parameters
2605 1.1 christos LOW_BOUND and HIGH_BOUND to LONGEST.
2606 1.1 christos (lookup_string_range_type): Likewise.
2607 1.1 christos * gdbtypes.h (lookup_array_range_type): Likewise.
2608 1.1 christos (lookup_string_range_type): Likewise.
2609 1.1 christos * valops.c (value_cstring): Expand parameter LEN to ssize_t.
2610 1.1 christos Expand HIGHBOUND to ssize_t.
2611 1.1 christos (value_string): Likewise.
2612 1.1 christos * value.h (value_cstring): Expand parameter LEN to ssize_t.
2613 1.1 christos (value_string): Likewise.
2614 1.1 christos
2615 1.1 christos 2012-09-27 Yao Qi <yao (a] codesourcery.com>
2616 1.1 christos
2617 1.1 christos PR breakpoints/13898
2618 1.1 christos * breakpoint.h (tracepoint_breakpoint_ops): Forward declaration.
2619 1.1 christos * mi/mi-cmd-break.c (mi_cmd_break_insert): Set breakpoint_ops
2620 1.1 christos per breakpoint type.
2621 1.1 christos
2622 1.1 christos 2012-09-26 Pierre Muller <muller (a] ics.u-strasbg.fr>
2623 1.1 christos
2624 1.1 christos * procfs.c: Add gdb_bfd header.
2625 1.1 christos * rs6000-nat.c: Likewise.
2626 1.1 christos * solib-pa64.c: Likewise.
2627 1.1 christos * spu-linux-nat.c: Likewise.
2628 1.1 christos * windows-nat.c: Likewise.
2629 1.1 christos
2630 1.1 christos 2012-09-26 Tom Tromey <tromey (a] redhat.com>
2631 1.1 christos
2632 1.1 christos * f-lang.h (BLANK_COMMON_NAME_LOCAL): Remove.
2633 1.1 christos
2634 1.1 christos 2012-09-26 Tom Tromey <tromey (a] redhat.com>
2635 1.1 christos
2636 1.1 christos * dwarf2read.c (mark_common_block_symbol_computed): New function.
2637 1.1 christos (read_common_block): Handle child DIEs with
2638 1.1 christos DW_AT_data_member_location.
2639 1.1 christos (new_symbol_full): Add special case for common blocks.
2640 1.1 christos
2641 1.1 christos 2012-09-26 Jan Kratochvil <jan.kratochvil (a] redhat.com>
2642 1.1 christos Tom Tromey <tromey (a] redhat.com>
2643 1.1 christos
2644 1.1 christos * dwarf2read.c (read_common_block): Rewrite.
2645 1.1 christos (new_symbol_full): Handle DW_TAG_common_block.
2646 1.1 christos * f-lang.c (head_common_list, find_common_for_function):
2647 1.1 christos Remove.
2648 1.1 christos * f-lang.h (struct common_entry, struct saved_f77_common,
2649 1.1 christos SAVED_F77_COMMON, SAVED_F77_COMMON_PTR, COMMON_ENTRY,
2650 1.1 christos COMMON_ENTRY_PTR, head_common_list, find_common_for_function,
2651 1.1 christos BLANK_COMMON_NAME_LOCAL): Remove.
2652 1.1 christos (struct common_block): New.
2653 1.1 christos * f-valprint.c (list_all_visible_commons): Remove.
2654 1.1 christos (info_common_command_for_block): New function.
2655 1.1 christos (info_common_command): Use it.
2656 1.1 christos * stack.c (iterate_over_block_locals): Special case for
2657 1.1 christos COMMON_BLOCK_DOMAIN.
2658 1.1 christos * symtab.h (enum domain_enum_tag) <COMMON_BLOCK_DOMAIN>: New
2659 1.1 christos constant.
2660 1.1 christos (struct general_symbol_info) <value.common_block>: New field.
2661 1.1 christos (SYMBOL_VALUE_COMMON_BLOCK): New define.
2662 1.1 christos
2663 1.1 christos 2012-09-26 Jan Kratochvil <jan.kratochvil (a] redhat.com>
2664 1.1 christos Tom Tromey <tromey (a] redhat.com>
2665 1.1 christos
2666 1.1 christos * f-lang.c (allocate_saved_bf_node,
2667 1.1 christos allocate_saved_function_node, allocate_saved_f77_common_node,
2668 1.1 christos allocate_common_entry_node, tail_common_list, current_common,
2669 1.1 christos saved_bf_list, saved_bf_list_end, current_head_bf_list,
2670 1.1 christos tmp_bf_ptr, add_common_block, add_common_entry,
2671 1.1 christos find_first_common_named, patch_common_entries,
2672 1.1 christos patch_all_commons_by_name, ADD_BF_SYMNUM, clear_bf_list,
2673 1.1 christos global_remote_debug, get_bf_for_fcn, saved_function_list,
2674 1.1 christos saved_function_list_end, clear_function_list, struct saved_fcn,
2675 1.1 christos struct saved_bf_symnum, SAVED_FUNCTION, SAVED_FUNCTION_PTR,
2676 1.1 christos SAVED_BF, SAVED_BF_PTR): Remove.
2677 1.1 christos * f-lang.h (tail_common_list, current_common,
2678 1.1 christos UNINITIALIZED_SECNUM, COMMON_NEEDS_PATCHING,
2679 1.1 christos BLANK_COMMON_NAME_ORIGINAL, BLANK_COMMON_NAME_MF77,
2680 1.1 christos DEFAULT_UPPER_BOUND, DEFAULT_LOWER_BOUND, real_main_name,
2681 1.1 christos real_main_c_value): Remove.
2682 1.1 christos * f-valprint.c (there_is_a_visible_common_named): Remove.
2683 1.1 christos
2684 1.1 christos 2012-09-26 Andrew Burgess <aburgess (a] broadcom.com>
2685 1.1 christos
2686 1.1 christos * breakpoint.c (update_global_location_list): Ignore previous
2687 1.1 christos duplicate status of a breakpoint when starting a new scan for
2688 1.1 christos duplicate breakpoints.
2689 1.1 christos
2690 1.1 christos 2012-09-26 Karthik Bhat <kv.bhat (a] samsung.com>
2691 1.1 christos PR breakpoints/14419
2692 1.1 christos * arm-tdep.c (arm_skip_prologue): Extending producer check to
2693 1.1 christos support LLVM compiler.
2694 1.1 christos
2695 1.1 christos 2012-09-26 Siddhesh Poyarekar <siddhesh (a] redhat.com>
2696 1.1 christos
2697 1.1 christos * amd64-tdep.c (amd64_return_value): Use TYPE_LENGTH directly.
2698 1.1 christos * bfin-tdep.c (bfin_extract_return_value): Likewise.
2699 1.1 christos (bfin_store_return_value): Likewise.
2700 1.1 christos * cris-tdep.c (cris_store_return_value): Likewise.
2701 1.1 christos (cris_extract_return_value): Likewise.
2702 1.1 christos * h8300-tdep.c (h8300_extract_return_value): Likewise.
2703 1.1 christos * hppa-tdep.c (hppa64_return_value): Likewise.
2704 1.1 christos * lm32-tdep.c (lm32_store_return_value): Likewise.
2705 1.1 christos * microblaze-tdep.c (microblaze_store_return_value): Likewise.
2706 1.1 christos * spu-tdep.c (spu_value_from_register): Likewise.
2707 1.1 christos * vax-tdep.c (vax_return_value): Likewise.
2708 1.1 christos
2709 1.1 christos 2012-09-26 Siddhesh Poyarekar <siddhesh (a] redhat.com>
2710 1.1 christos
2711 1.1 christos * breakpoint.c (invalidate_bp_value_on_memory_change): Expand
2712 1.1 christos parameter LEN to ssize_t.
2713 1.1 christos
2714 1.1 christos 2012-09-25 Siddhesh Poyarekar <siddhesh (a] redhat.com>
2715 1.1 christos
2716 1.1 christos * ada-valprint.c (ada_val_print_1): Eliminate single-use
2717 1.1 christos variable LEN.
2718 1.1 christos * alpha-tdep.c (alpha_extract_return_value): Use TYPE_LENGTH
2719 1.1 christos directly.
2720 1.1 christos (alpha_store_return_value): Likewise.
2721 1.1 christos * amd64-tdep.c (amd64_classify_aggregate): Likewise.
2722 1.1 christos (amd64_push_arguments): Likewise.
2723 1.1 christos * ax-gdb.c (gen_trace_static_fields): Likewise.
2724 1.1 christos (gen_traced_pop): Likewise.
2725 1.1 christos * bfin-tdep.c (bfin_push_dummy_call): Likewise.
2726 1.1 christos * breakpoint.c (update_watchpoint): Likewise.
2727 1.1 christos * findcmd.c (parse_find_args): Use local variable for type
2728 1.1 christos instead of length.
2729 1.1 christos * findvar.c (default_read_var_value): Use TYPE_LENGTH directly.
2730 1.1 christos * h8300-tdep.c (h8300h_extract_return_value): Likewise.
2731 1.1 christos (h8300_store_return_value): Likewise.
2732 1.1 christos * i386-darwin-tdep.c (i386_darwin_push_dummy_call): Likewise.
2733 1.1 christos Use i386_darwin_arg_type_alignment directly.
2734 1.1 christos * infcall.c (call_function_by_hand): Use TYPE_LENGTH directly.
2735 1.1 christos * lm32-tdep.c (lm32_push_dummy_call): Likewise.
2736 1.1 christos * m68hc11-tdep.c (m68hc11_push_dummy_call): Likewise.
2737 1.1 christos (m68hc11_extract_return_value): Likewise.
2738 1.1 christos * mep-tdep.c (mep_push_dummy_call): Likewise.
2739 1.1 christos * printcmd.c (float_type_from_length): Likewise.
2740 1.1 christos * s390-tdep.c (s390_value_from_register): Likewise.
2741 1.1 christos * stack.c (read_frame_arg): Likewise.
2742 1.1 christos * tracepoint.c (encode_actions_1): Likewise.
2743 1.1 christos * valops.c (value_fetch_lazy): Use local variable for type
2744 1.1 christos instead of length. Use TYPE_LENGTH directly.
2745 1.1 christos * value.c (value_contents_equal): Use TYPE_LENGTH directly.
2746 1.1 christos
2747 1.1 christos 2012-09-25 Joel Brobecker <brobecker (a] adacore.com>
2748 1.1 christos
2749 1.1 christos * symtab.c (skip_prologue_sal): Fix typo in comment.
2750 1.1 christos
2751 1.1 christos 2012-09-25 Joel Brobecker <brobecker (a] adacore.com>
2752 1.1 christos
2753 1.1 christos * linespec.c (create_sals_line_offset): Fix typo in comment.
2754 1.1 christos
2755 1.1 christos 2012-09-25 Siddhesh Poyarekar <siddhesh (a] redhat.com>
2756 1.1 christos
2757 1.1 christos * c-typeprint.c (c_type_print_varspec_suffix): Remove cast and
2758 1.1 christos use plongest to print the array size.
2759 1.1 christos
2760 1.1 christos 2012-09-24 Siddhesh Poyarekar <siddhesh (a] redhat.com>
2761 1.1 christos
2762 1.1 christos * m2-typeprint.c (m2_enum): Expand LASTVAL to LONGEST.
2763 1.1 christos * p-valprint.c (pascal_type_print_base): Likewise.
2764 1.1 christos
2765 1.1 christos 2012-09-22 Yao Qi <yao (a] codesourcery.com>
2766 1.1 christos
2767 1.1 christos * remote.c (remote_get_trace_status): Remove setting default
2768 1.1 christos values of fields of 'ts'.
2769 1.1 christos
2770 1.1 christos 2012-09-21 Jan Kratochvil <jan.kratochvil (a] redhat.com>
2771 1.1 christos
2772 1.1 christos Fix internal error on canonicalization of clang types.
2773 1.1 christos * cp-name-parser.y (operator): New comment at make_operator call for
2774 1.1 christos new, delete, new[] and delete[].
2775 1.1 christos (exp): Use "sizeof ". Add new comment at make_operator call.
2776 1.1 christos
2777 1.1 christos 2012-09-21 Jan Kratochvil <jan.kratochvil (a] redhat.com>
2778 1.1 christos
2779 1.1 christos Fix disassemble without parameters in tailcall frame.
2780 1.1 christos * cli/cli-cmds.c (disassemble_current_function): Use
2781 1.1 christos get_frame_address_in_block.
2782 1.1 christos
2783 1.1 christos 2012-09-21 Tom Tromey <tromey (a] redhat.com>
2784 1.1 christos
2785 1.1 christos * c-typeprint.c (c_type_print_base) <TYPE_CODE_STRUCT,
2786 1.1 christos TYPE_CODE_UNION>: Unify, removing a goto.
2787 1.1 christos
2788 1.1 christos 2012-09-21 Tom Tromey <tromey (a] redhat.com>
2789 1.1 christos
2790 1.1 christos * c-typeprint.c (cp_type_print_derivation_info): Fix comment.
2791 1.1 christos
2792 1.1 christos 2012-09-21 Andrew Burgess <aburgess (a] broadcom.com>
2793 1.1 christos
2794 1.1 christos * findvar.c (read_frame_register_value): Mark the result value as
2795 1.1 christos optimized out if any of the input registers have been optimized out.
2796 1.1 christos
2797 1.1 christos 2012-09-21 Andreas Schwab <schwab (a] linux-m68k.org>
2798 1.1 christos
2799 1.1 christos * python/python.c (finalize_python): Only define if HAVE_PYTHON.
2800 1.1 christos
2801 1.1 christos 2012-09-21 Siddhesh Poyarekar <siddhesh (a] redhat.com>
2802 1.1 christos
2803 1.1 christos * eval.c (evaluate_subexp_standard): Eliminate single-use
2804 1.1 christos variable LOWER.
2805 1.1 christos
2806 1.1 christos 2012-09-21 Yao Qi <yao (a] codesourcery.com>
2807 1.1 christos
2808 1.1 christos * mi/mi-interp.c: Declare mi_record_changed.
2809 1.1 christos (mi_interpreter_init): Call observer_attach_record_changed.
2810 1.1 christos (mi_record_changed): New.
2811 1.1 christos * record.c (record_open): Call observer_notify_record_changed.
2812 1.1 christos (cmd_record_stop): Call observer_notify_record_changed.
2813 1.1 christos * NEWS: Mention it.
2814 1.1 christos
2815 1.1 christos 2012-09-20 Tom Tromey <tromey (a] redhat.com>
2816 1.1 christos
2817 1.1 christos * NEWS: Update.
2818 1.1 christos * python/python.c (finalize_python): New function.
2819 1.1 christos (_initialize_python): Make a final cleanup.
2820 1.1 christos
2821 1.1 christos 2012-09-19 Doug Evans <dje (a] google.com>
2822 1.1 christos
2823 1.1 christos * buildsym.h (param_symbols): Delete, unused.
2824 1.1 christos (context_stack): Delete member "params", unused.
2825 1.1 christos * buildsym.c (push_context): Update.
2826 1.1 christos * dwarf2read.c (read_func_scope): Update.
2827 1.1 christos
2828 1.1 christos 2012-09-19 Thomas Schwinge <thomas (a] codesourcery.com>
2829 1.1 christos
2830 1.1 christos * sh-tdep.c (sh_register_convert_to_virtual)
2831 1.1 christos (sh_register_convert_to_raw): Add a gdbarch parameter. Update
2832 1.1 christos all callers. Just do a memcpy if not the little-endian case.
2833 1.1 christos
2834 1.1 christos * h8300-tdep.c (h8300_gdbarch_init): Invoke
2835 1.1 christos set_gdbarch_double_format and set_gdbarch_long_double_format.
2836 1.1 christos * m68hc11-tdep.c (m68hc11_gdbarch_init): Invoke
2837 1.1 christos set_gdbarch_double_format.
2838 1.1 christos * sh-tdep.c (sh_gdbarch_init): Likewise.
2839 1.1 christos
2840 1.1 christos * NEWS: Document the removal of SH's 'regs' command.
2841 1.1 christos * sh-tdep.c (_initialize_sh_tdep): Remove the deprecated 'regs'
2842 1.1 christos command.
2843 1.1 christos
2844 1.1 christos 2012-09-18 Sergio Durigan Junior <sergiodj (a] redhat.com>
2845 1.1 christos
2846 1.1 christos * infcmd.c (_initialize_infcmd): Register `j' as an alias for
2847 1.1 christos `jump'.
2848 1.1 christos
2849 1.1 christos 2012-09-18 Joel Brobecker <brobecker (a] adacore.com>
2850 1.1 christos
2851 1.1 christos * linespec.c (iterate_over_all_matching_symtabs): Use the correct
2852 1.1 christos language when iterating over symbols.
2853 1.1 christos
2854 1.1 christos 2012-09-18 Yao Qi <yao (a] codesourcery.com>
2855 1.1 christos
2856 1.1 christos * mi/mi-interp.c: Declare mi_tsv_created and mi_tsv_deleted.
2857 1.1 christos (mi_interpreter_init): Call observer_attach_tsv_created and
2858 1.1 christos observer_attach_tsv_deleted.
2859 1.1 christos (mi_tsv_created, mi_tsv_deleted): New.
2860 1.1 christos * tracepoint.c (delete_trace_state_variable): Call
2861 1.1 christos observer_notify_tsv_deleted.
2862 1.1 christos (trace_variable_command): Call observer_notify_tsv_created.
2863 1.1 christos (delete_trace_variable_command): Call
2864 1.1 christos observer_notify_tsv_deleted.
2865 1.1 christos (create_tsv_from_upload): Call observer_notify_tsv_created.
2866 1.1 christos * NEWS: Mention it.
2867 1.1 christos
2868 1.1 christos 2012-09-18 Yao Qi <yao (a] codesourcery.com>
2869 1.1 christos
2870 1.1 christos * tracepoint.c (tfind_1): Call observer_notify_traceframe_changed
2871 1.1 christos if traceframe changed.
2872 1.1 christos * mi/mi-cmds.c (mi_cmd mi_cmds): Adjust for command
2873 1.1 christos "trace-find".
2874 1.1 christos * mi/mi-interp.c: Declare 'mi_traceframe_changed'.
2875 1.1 christos (mi_interpreter_init): Hook mi_traceframe_changed to observer
2876 1.1 christos 'traceframe_changed'.
2877 1.1 christos (mi_traceframe_changed): New.
2878 1.1 christos * mi/mi-main.h (struct mi_suppress_notification) <traceframe>:
2879 1.1 christos New field.
2880 1.1 christos * NEWS: Mention the new MI notification.
2881 1.1 christos
2882 1.1 christos 2012-09-17 Mike Wrighton <wrighton (a] codesourcery.com>
2883 1.1 christos
2884 1.1 christos * MAINTAINERS (Write After Approval): Add "Mike Wrighton".
2885 1.1 christos
2886 1.1 christos 2012-09-17 Jan Kratochvil <jan.kratochvil (a] redhat.com>
2887 1.1 christos
2888 1.1 christos * common/linux-ptrace.c: Change __i386__ to __i386__ || __x86_64__.
2889 1.1 christos (linux_ptrace_test_ret_to_nx): Extend comment for x86_64. Change
2890 1.1 christos __i386__ to __i386__ || __x86_64__. Extend code also for __x86_64__.
2891 1.1 christos Extend code also for PaX support. Convert all gdb_assert to warning
2892 1.1 christos calls.
2893 1.1 christos
2894 1.1 christos 2012-09-17 Jan Kratochvil <jan.kratochvil (a] redhat.com>
2895 1.1 christos
2896 1.1 christos Implement auto-load user conveniences suggested by Doug Evans.
2897 1.1 christos * auto-load.c: Include top.h.
2898 1.1 christos (file_is_auto_load_safe): New variable advice_printed. Print advice.
2899 1.1 christos (_initialize_auto_load): New variable scripts_directory_help. Mention
2900 1.1 christos GDBPY_AUTO_FILE_NAME and GDB_AUTO_FILE_NAME for set auto-load
2901 1.1 christos scripts-directory. Document in online help one can use also files for
2902 1.1 christos set auto-load safe-path.
2903 1.1 christos * python/py-auto-load.c: (GDBPY_AUTO_FILE_NAME): Move it from here ...
2904 1.1 christos * python/python.h (GDBPY_AUTO_FILE_NAME): ... to here.
2905 1.1 christos
2906 1.1 christos 2012-09-17 Siddhesh Poyarekar <siddhesh (a] redhat.com>
2907 1.1 christos
2908 1.1 christos * tic6x-tdep.c (tic6x_push_dummy_call): Remove unused definition
2909 1.1 christos of LEN.
2910 1.1 christos
2911 1.1 christos 2012-09-17 Siddhesh Poyarekar <siddhesh (a] redhat.com>
2912 1.1 christos
2913 1.1 christos * m2-valprint.c (m2_print_array_contents): Eliminate variable
2914 1.1 christos ELTLEN and use TYPE_LENGTH directly.
2915 1.1 christos (m2_val_print): Likewise.
2916 1.1 christos * m68k-tdep.c (m68k_svr4_extract_return_value): Eliminate
2917 1.1 christos variable LEN and use TYPE_LENGTH directly.
2918 1.1 christos (m68k_svr4_store_return_value): Likewise.
2919 1.1 christos * mips-tdep.c (mips_o32_push_dummy_call): Eliminate variable
2920 1.1 christos ARGLEN and use TYPE_LENGTH directly.
2921 1.1 christos (mips_o64_push_dummy_call): Likewise.
2922 1.1 christos * s390-tdep (s390_function_arg_pass_by_reference): Eliminate
2923 1.1 christos variable LENGTH and use TYPE_LENGTH directly.
2924 1.1 christos (s390_function_arg_float): Likewise.
2925 1.1 christos (s390_function_arg_integer): Likewise.
2926 1.1 christos (s390_push_dummy_call): Likewise.
2927 1.1 christos (s390_return_value_convention): Likewise.
2928 1.1 christos * spu-tdep.c (spu_push_dummy_call): Eliminate LEN and use
2929 1.1 christos TYPE_LENGTH directly.
2930 1.1 christos
2931 1.1 christos 2012-09-17 Yao Qi <yao (a] codesourcery.com>
2932 1.1 christos
2933 1.1 christos * cli/cli-decode.c (add_setshow_zuinteger_unlimited_cmd): New.
2934 1.1 christos Update comment to add_setshow_integer_cmd.
2935 1.1 christos * cli/cli-setshow.c (do_set_command): Handle case
2936 1.1 christos 'var_zuinteger_unlimited'.
2937 1.1 christos (do_show_command): Likewise.
2938 1.1 christos * cli/cli-cmds.c (init_cmds): Call add_setshow_zuinteger_unlimited_cmd
2939 1.1 christos for command 'remotetimeout'.
2940 1.1 christos * command.h (enum var_types): New zuinteger_unlimited. Update comment
2941 1.1 christos to var_integer.
2942 1.1 christos * source.c (_initialize_source): Call
2943 1.1 christos add_setshow_zuinteger_unlimited_cmd for command 'set listsize'.
2944 1.1 christos
2945 1.1 christos 2012-09-17 Siddhesh Poyarekar <siddhesh (a] redhat.com>
2946 1.1 christos
2947 1.1 christos * infrun.c (restore_infcall_suspend_state): Eliminate single-use
2948 1.1 christos variable LEN.
2949 1.1 christos
2950 1.1 christos 2012-09-17 Jan Kratochvil <jan.kratochvil (a] redhat.com>
2951 1.1 christos
2952 1.1 christos PR 14119
2953 1.1 christos * frame.c (skip_inlined_frames): Skip also TAILCALL_FRAME frames.
2954 1.1 christos (frame_pop): Drop also TAILCALL_FRAME frames.
2955 1.1 christos * infcmd.c (finish_command): Ignore also TAILCALL_FRAME frames.
2956 1.1 christos
2957 1.1 christos 2012-09-17 Jan Kratochvil <jan.kratochvil (a] redhat.com>
2958 1.1 christos Pedro Alves <palves (a] redhat.com>
2959 1.1 christos
2960 1.1 christos PR 14548
2961 1.1 christos * infrun.c (handle_inferior_event): Do not reverse-continue back to the
2962 1.1 christos function start if we are already at function start. Both for
2963 1.1 christos reverse-next and for reverse-step into function without line number
2964 1.1 christos info.
2965 1.1 christos
2966 1.1 christos 2012-09-17 Jan Kratochvil <jan.kratochvil (a] redhat.com>
2967 1.1 christos
2968 1.1 christos Code cleanup - rename 'inline' depth to 'artificial' depth.
2969 1.1 christos * breakpoint.c (set_momentary_breakpoint): Rename at a caller to
2970 1.1 christos frame_id_artificial_p, extend the comment.
2971 1.1 christos * dwarf2-frame-tailcall.c (tailcall_frame_this_id): Rename at a user.
2972 1.1 christos * frame.c (fprint_frame_id): Rename at a user, change debug output
2973 1.1 christos text to "artificial=".
2974 1.1 christos (skip_inlined_frames): Rename to ...
2975 1.1 christos (skip_artificial_frames): ... here. Extend the comment.
2976 1.1 christos (get_stack_frame_id, frame_unwind_caller_id): Rename at a caller.
2977 1.1 christos (frame_id_inlined_p): Rename to ...
2978 1.1 christos (frame_id_artificial_p): ... here. Rename at a user.
2979 1.1 christos (frame_id_eq, frame_id_inner, frame_unwind_caller_pc)
2980 1.1 christos (frame_unwind_caller_pc_if_available, frame_unwind_caller_arch): Rename
2981 1.1 christos at a user.
2982 1.1 christos * frame.h (struct frame_id): Rename inline_depth to artificial_depth.
2983 1.1 christos Extend the comment.
2984 1.1 christos (frame_id_inlined_p): Rename to ...
2985 1.1 christos (frame_id_artificial_p): ... here.
2986 1.1 christos * inline-frame.c (inline_frame_this_id): Rename at a user.
2987 1.1 christos
2988 1.1 christos 2012-09-14 Andrew Burgess <aburgess (a] broadcom.com>
2989 1.1 christos
2990 1.1 christos * c-typeprint.c (c_type_print_varspec_suffix): Display the size of
2991 1.1 christos vector variables using vector_size syntax rather than array
2992 1.1 christos syntax.
2993 1.1 christos
2994 1.1 christos 2012-09-14 Siddhesh Poyarekar <siddhesh (a] redhat.com>
2995 1.1 christos
2996 1.1 christos * valarith.c (value_concat): Replace unsafe ALLOCA with
2997 1.1 christos XMALLOC/XFREE.
2998 1.1 christos
2999 1.1 christos 2012-09-14 Pedro Alves <palves (a] redhat.com>
3000 1.1 christos
3001 1.1 christos * gdb.1 (SEE ALSO): Expand pointer to GDB's Texinfo manual.
3002 1.1 christos
3003 1.1 christos 2012-09-14 Khoo Yit Phang <khooyp (a] cs.umd.edu>
3004 1.1 christos
3005 1.1 christos Point contrib/cc-with-tweaks.sh to the build-local data-directory.
3006 1.1 christos * contrib/cc-with-tweaks.sh (GDB): Add -data-directory
3007 1.1 christos data-directory as appropriate.
3008 1.1 christos
3009 1.1 christos 2012-09-14 Siddhesh Poyarekar <siddhesh (a] redhat.com>
3010 1.1 christos
3011 1.1 christos * printcmd.c (ui_printf): Eliminate single-use variable
3012 1.1 christos PARAM_LEN.
3013 1.1 christos
3014 1.1 christos 2012-09-14 Yao Qi <yao (a] codesourcery.com>
3015 1.1 christos Pedro Alves <palves (a] redhat.com>
3016 1.1 christos
3017 1.1 christos * valops.c (value_assign): Move observer_notify_target_changed
3018 1.1 christos below to replace reinit_frame_cache.
3019 1.1 christos
3020 1.1 christos 2012-09-13 Khoo Yit Phang <khooyp (a] cs.umd.edu>
3021 1.1 christos
3022 1.1 christos Refactor Python "gdb" module into a proper Python package, by
3023 1.1 christos introducing a new "_gdb" module for code implemented in C, and
3024 1.1 christos using reload/__import__ instead of exec.
3025 1.1 christos * python/lib/gdb/__init__.py: Import * from _gdb.
3026 1.1 christos (GdbOutputFile, sys.stdout, GdbOutputErrorFile, sys.stderr,
3027 1.1 christos prompt_hook, sys.argv): Moved from finish_python_initialization.
3028 1.1 christos (pretty_printers, PYTHONDIR): Moved from _initialize_python.
3029 1.1 christos (packages, auto_load_packages): New list and function replacing
3030 1.1 christos module_dict and auto-loading code, using __file__ instead of
3031 1.1 christos gdb.PYTHONDIR and reload/__import__ instead of exec.
3032 1.1 christos (GdbSetPythonDirectory): Replacing function of the same name
3033 1.1 christos from finish_python_initialization, using reload/__import__ instead
3034 1.1 christos of exec, as well as call auto_load_packages.
3035 1.1 christos * python/py-prettyprint.c (find_pretty_printer_from_gdb): Check
3036 1.1 christos gdb_python_module and not gdb_module.
3037 1.1 christos * python/python-internal.h (gdb_python_module): Declare.
3038 1.1 christos * python/python.c (gdb_python_module): New global.
3039 1.1 christos (before_prompt_hook): Check gdb_python_module and not gdb_module.
3040 1.1 christos (_initialize_python): Rename gdb module to _gdb.
3041 1.1 christos Move gdb.PYTHONDIR and gdb.pretty_printer to lib/gdb/__init__.py.
3042 1.1 christos (finish_python_initialization): Move Python code to
3043 1.1 christos lib/gdb/__init__.py; instead, set up sys.path and import gdb into
3044 1.1 christos __main__.
3045 1.1 christos
3046 1.1 christos 2012-09-13 Pedro Alves <palves (a] redhat.com>
3047 1.1 christos
3048 1.1 christos * Makefile.in (COMMON_OBS): Add registry.o.
3049 1.1 christos * registry.c: New file.
3050 1.1 christos * registry.h (struct registry_container): Declare.
3051 1.1 christos (registry_data_callback): New typedef.
3052 1.1 christos (struct registry_data, struct registry_data_registration, struct
3053 1.1 christos registry_data_registry): New type.
3054 1.1 christos (register_data_with_cleanup, registry_alloc_data)
3055 1.1 christos (registry_callback_adaptor, registry_clear_data)
3056 1.1 christos (registry_container_free_data, registry_set_data, registry_data):
3057 1.1 christos Declare.
3058 1.1 christos (DEFINE_REGISTRY): Refactor structures and functions as shims over
3059 1.1 christos the new common structures and functions.
3060 1.1 christos (DECLARE_REGISTRY): Declare struct TAG ## _data. Use the tagged
3061 1.1 christos callback typedefs.
3062 1.1 christos
3063 1.1 christos 2012-09-12 Mike Wrighton <wrighton (a] codesourcery.com>
3064 1.1 christos
3065 1.1 christos * remote.c (remote_insert_hw_breakpoint): Throw exception if
3066 1.1 christos there is an error inserting hardware breakpoints and use the
3067 1.1 christos error message from the target.
3068 1.1 christos
3069 1.1 christos * breakpoint.c (insert_bp_location, insert_breakpoint_locations):
3070 1.1 christos Catch this exception and print the error message contained within.
3071 1.1 christos Do not print the default hardware error breakpoint message in this
3072 1.1 christos case.
3073 1.1 christos
3074 1.1 christos 2012-09-12 Doug Evans <dje (a] google.com>
3075 1.1 christos
3076 1.1 christos * dwarf2read.c (dwarf2_read_addr_index): Fix handling the case where
3077 1.1 christos cu == NULL.
3078 1.1 christos
3079 1.1 christos 2012-09-11 Doug Evans <dje (a] google.com>
3080 1.1 christos
3081 1.1 christos * dwarf2read.c (dw2_do_expand_symtabs_matching): Don't examine
3082 1.1 christos .gdb_index symbol attributes if there are none.
3083 1.1 christos
3084 1.1 christos 2012-09-11 Joel Brobecker <brobecker (a] adacore.com>
3085 1.1 christos
3086 1.1 christos * symtab.h (struct minimal_symbol) [has_size]: New field.
3087 1.1 christos (MSYMBOL_SIZE): Adjust to forbid macro from being used as lvalue.
3088 1.1 christos (SET_MSYMBOL_SIZE, MSYMBOL_HAS_SIZE): New macros.
3089 1.1 christos * printcmd.c (build_address_symbolic): Only filter out zero-sized
3090 1.1 christos minimal symbols if the symbol's size is actually known.
3091 1.1 christos * minsyms.c (prim_record_minimal_symbol_full): Adjust setting
3092 1.1 christos of msymbol's size field. Add comment.
3093 1.1 christos * elfread.c (elf_symtab_read, elf_rel_plt_read): Use
3094 1.1 christos SET_MSYMBOL_SIZE to set the minimal symbol size.
3095 1.1 christos
3096 1.1 christos 2012-09-11 Joel Brobecker <brobecker (a] adacore.com>
3097 1.1 christos
3098 1.1 christos * minsyms.c (install_minimal_symbols): Use memset to fill entire
3099 1.1 christos minimal_symbol struct object, rather than setting some of its
3100 1.1 christos fields one by one.
3101 1.1 christos
3102 1.1 christos 2012-09-11 Andrew Burgess <aburgess (a] broadcom.com>
3103 1.1 christos
3104 1.1 christos * c-typeprint.c (c_type_print_varspec_prefix): Pass through the
3105 1.1 christos passed_a_ptr flag when displaying typedef types.
3106 1.1 christos
3107 1.1 christos 2012-09-10 Joel Brobecker <brobecker (a] adacore.com>
3108 1.1 christos
3109 1.1 christos * ada-lang.c (coerce_unspec_val_to_type): Make sure that
3110 1.1 christos the optimized_out flag is preserved.
3111 1.1 christos
3112 1.1 christos 2012-09-10 Anthony Green <green (a] moxielogic.com>
3113 1.1 christos
3114 1.1 christos * moxie-tdep.c (moxie_analyze_prologue): Update for function
3115 1.1 christos prologue changes in GCC.
3116 1.1 christos
3117 1.1 christos 2012-09-10 Keith Seitz <keiths (a] redhat.com>
3118 1.1 christos
3119 1.1 christos PR gdb/13483
3120 1.1 christos * gdbtypes.h (BOOL_PTR_CONVERSION_BADNESS): Rename to ...
3121 1.1 christos (BOOL_CONVERSION_BADNESS): ... this.
3122 1.1 christos * gdbtypes.c (BOOL_PTR_CONVERSION_BADNESS): Likewise.
3123 1.1 christos (rank_one_type): Allow all boolean conversions
3124 1.1 christos permitted by the standard.
3125 1.1 christos
3126 1.1 christos 2012-09-06 Tom Tromey <tromey (a] redhat.com>
3127 1.1 christos
3128 1.1 christos * python/py-newobjfileevent.c (create_new_objfile_event_object):
3129 1.1 christos Don't decref py_objfile.
3130 1.1 christos
3131 1.1 christos 2012-09-02 Khoo Yit Phang <khooyp (a] cs.umd.edu>
3132 1.1 christos
3133 1.1 christos Do not enable -lmcheck by default when Python is enabled with
3134 1.1 christos threading support.
3135 1.1 christos * configure.ac: (python_has_threads) New variable, by testing
3136 1.1 christos if WITH_THREAD is defined in Python.h.
3137 1.1 christos Move --enable-lmcheck after --with-python.
3138 1.1 christos Do not enable -lmcheck by default if python_has_threads=yes.
3139 1.1 christos Warn if --enable-lmcheck and python_has_threads=yes.
3140 1.1 christos * configure: Regenerate.
3141 1.1 christos
3142 1.1 christos 2012-08-31 Yao Qi <yao (a] codesourcery.com>
3143 1.1 christos
3144 1.1 christos * mi/mi-cmds.c (mi_cmds): New macros DEF_MI_CMD_CLI
3145 1.1 christos DEF_MI_CMD_MI DEF_MI_CMD_CLI_1 and DEF_MI_CMD_CLI_1.
3146 1.1 christos Update some commands.
3147 1.1 christos * mi/mi-cmds.h (struct mi_cmd) <suppress_notification>: New field.
3148 1.1 christos * mi/mi-main.c (mi_cmd_execute): Set
3149 1.1 christos '*parse->cmd->suppress_notification' to 1.
3150 1.1 christos
3151 1.1 christos 2012-08-31 Yao Qi <yao (a] codesourcery.com>
3152 1.1 christos
3153 1.1 christos * mi/mi-cmds.c (mi_cmds): Add 'static'.
3154 1.1 christos
3155 1.1 christos 2012-08-30 Khoo Yit Phang <khooyp (a] cs.umd.edu>
3156 1.1 christos
3157 1.1 christos * MAINTAINERS (Write After Approval): Add "Khoo Yit Phang".
3158 1.1 christos
3159 1.1 christos 2012-08-29 Doug Evans <dje (a] google.com>
3160 1.1 christos
3161 1.1 christos * main.c (print_gdb_help): Remove reference to
3162 1.1 christos --use-deprecated-index-sections.
3163 1.1 christos
3164 1.1 christos 2012-08-28 Yao Qi <yao (a] codesourcery.com>
3165 1.1 christos
3166 1.1 christos * cli/cli-cmds.c (max_user_call_depth): Add 'unsigned'.
3167 1.1 christos (init_cmds): Call add_setshow_uinteger_cmd for command
3168 1.1 christos 'max-user-call-depth'.
3169 1.1 christos * cli/cli-script.c (execute_user_command): Add 'unsigned' to the
3170 1.1 christos declaration of 'max_user_call_depth'.
3171 1.1 christos * frame.c (backtrace_limit): Add 'unsigned'.
3172 1.1 christos (_initialize_frame): Call add_setshow_uinteger_cmd for command
3173 1.1 christos 'limit'.
3174 1.1 christos * remote.c (remoteaddresssize): Add 'unsigned'.
3175 1.1 christos (remote_address_masked): Change local var 'address_size' to
3176 1.1 christos 'unsigned'.
3177 1.1 christos (_initialize_remote): Call add_setshow_uinteger_cmd for
3178 1.1 christos 'remoteaddresssize'.
3179 1.1 christos * top.c (history_size): Add 'unsigned'.
3180 1.1 christos (show_commands): Change local variables to 'unsigned'.
3181 1.1 christos (set_history_size_command): Don't check history_size is negative.
3182 1.1 christos Adjust the condition to call unstifle_history and set history_size
3183 1.1 christos to UNIT_MAX.
3184 1.1 christos
3185 1.1 christos 2012-08-28 Pedro Alves <palves (a] redhat.com>
3186 1.1 christos
3187 1.1 christos PR gdb/14428
3188 1.1 christos
3189 1.1 christos * infcmd.c (default_print_one_register_info): New, factored out
3190 1.1 christos from default_print_registers_info.
3191 1.1 christos (default_print_registers_info): Use it. Mark value unavailable if
3192 1.1 christos necessary.
3193 1.1 christos (registers_info): Print user registers with
3194 1.1 christos default_print_one_register_info.
3195 1.1 christos
3196 1.1 christos 2010-08-27 H.J. Lu <hongjiu.lu (a] intel.com>
3197 1.1 christos
3198 1.1 christos PR tui/14486
3199 1.1 christos * tui/tui-source.c (tui_source_is_displayed): Check if TUI_SRC_WIN
3200 1.1 christos is not NULL before referencing it.
3201 1.1 christos
3202 1.1 christos 2012-08-27 Jan Kratochvil <jan.kratochvil (a] redhat.com>
3203 1.1 christos
3204 1.1 christos * breakpoint.c (parse_breakpoint_sals) <(*address) == NULL>: New
3205 1.1 christos variable pc. Call find_pc_line instead of find_pc_overlay, restore
3206 1.1 christos original PC for it.
3207 1.1 christos
3208 1.1 christos 2012-08-27 Eli Zaretskii <eliz (a] gnu.org>
3209 1.1 christos Jan Kratochvil <jan.kratochvil (a] redhat.com>
3210 1.1 christos
3211 1.1 christos * auto-load.c (auto_load_objfile_script): Rename to ...
3212 1.1 christos (auto_load_objfile_script_1): ... here, change variable realname to
3213 1.1 christos parameter realname, document it, add return value, add variable retval.
3214 1.1 christos (auto_load_objfile_script): New function.
3215 1.1 christos
3216 1.1 christos 2012-08-27 Jan Kratochvil <jan.kratochvil (a] redhat.com>
3217 1.1 christos
3218 1.1 christos * cli/cli-decode.c (print_doc_line): Keep skipping '.' and ',' not
3219 1.1 christos followed by a whitespace.
3220 1.1 christos
3221 1.1 christos 2012-08-27 Jan Kratochvil <jan.kratochvil (a] redhat.com>
3222 1.1 christos
3223 1.1 christos PR gdb/14494.
3224 1.1 christos * dwarf2read.c (dwarf2_locate_sections): Move variable aflag here.
3225 1.1 christos Move the SEC_HAS_CONTENTS check here - for any NAMES use.
3226 1.1 christos (dwarf2_locate_sections) <eh_frame>: Move the variable and check from
3227 1.1 christos here.
3228 1.1 christos
3229 1.1 christos 2012-08-27 Wei-cheng Wang <cole945 (a] gmail.com>
3230 1.1 christos
3231 1.1 christos * memattr.c (create_mem_region): Fix memory region overlapping
3232 1.1 christos checking.
3233 1.1 christos
3234 1.1 christos 2012-08-24 Siddhesh Poyarekar <siddhesh (a] redhat.com>
3235 1.1 christos
3236 1.1 christos * h8300-tdep.c (h8300_push_dummy_call): Replace unsafe alloca
3237 1.1 christos with xmalloc/cleanup.
3238 1.1 christos * mt-tdep.c (mt_push_dummy_call): Likewise.
3239 1.1 christos * tilegx-tdep.c (tilegx_push_dummy_call): Likewise.
3240 1.1 christos * xstormy16-tdep.c (xstormy16_push_dummy_call): Likewise.
3241 1.1 christos
3242 1.1 christos 2012-08-24 Yao Qi <yao (a] codesourcery.com>
3243 1.1 christos
3244 1.1 christos * jv-exp.y (push_expression_name): Add "." at the end of error
3245 1.1 christos message.
3246 1.1 christos
3247 1.1 christos 2012-08-23 Khoo Yit Phang <khooyp (a] cs.umd.edu>
3248 1.1 christos
3249 1.1 christos Document how to return from "python-interactive" to GDB.
3250 1.1 christos * python/python.c (_initialize_python): Update documentation.
3251 1.1 christos
3252 1.1 christos 2012-08-23 Pedro Alves <palves (a] redhat.com>
3253 1.1 christos
3254 1.1 christos * infrun.c (_initialize_infrun) <handle command help text>:
3255 1.1 christos Mention that multiple signals are supported.
3256 1.1 christos
3257 1.1 christos 2012-08-23 Pedro Alves <palves (a] redhat.com>
3258 1.1 christos
3259 1.1 christos * infcmd.c (_initialize_infcmd) <signal command>: Fix typo in help
3260 1.1 christos string.
3261 1.1 christos
3262 1.1 christos 2012-08-23 Yao Qi <yao (a] codesourcery.com>
3263 1.1 christos
3264 1.1 christos * tracepoint.c (disconnect_tracing): Call set_tracepoint_num.
3265 1.1 christos (tfind_1): Don't call registers_changed, set_traceframe_num,
3266 1.1 christos and clear_traceframe_info.
3267 1.1 christos Call set_current_traceframe.
3268 1.1 christos (set_current_traceframe): call set_traceframe_num.
3269 1.1 christos
3270 1.1 christos 2012-08-22 Sergio Durigan Junior <sergiodj (a] redhat.com>
3271 1.1 christos
3272 1.1 christos * remote-sim.c (_initialize_remote_sim): Pass NULL argument to
3273 1.1 christos `register_inferior_data_with_cleanup', fixing regression on PowerPC64.
3274 1.1 christos
3275 1.1 christos 2012-08-22 Khoo Yit Phang <khooyp (a] cs.umd.edu>
3276 1.1 christos
3277 1.1 christos Enable readline in Python in a GDB-specific way and block the
3278 1.1 christos standard Python readline module to prevent conflicts with GDB.
3279 1.1 christos * Makefile.in (SUBDIR_PYTHON_OBS): Add py-gdb-readline.o.
3280 1.1 christos (SUBDIR_PYTHON_SRCS): Add python/py-gdb-readline.c.
3281 1.1 christos (py-gdb-readline.o): Add rule to compile python/py-gdb-readline.c.
3282 1.1 christos * python/py-gdb-readline.c: New file.
3283 1.1 christos * python/python-internal.h (gdbpy_initialize_gdb_readline): New
3284 1.1 christos prototype.
3285 1.1 christos * python/python.c (_initialize_python): Call
3286 1.1 christos gdbpy_initialize_gdb_readline.
3287 1.1 christos
3288 1.1 christos 2012-08-22 Keith Seitz <keiths (a] redhat.com>
3289 1.1 christos
3290 1.1 christos * defs.h: Include build-gnulib/config.h
3291 1.1 christos
3292 1.1 christos 2012-08-22 Joseph Myers <joseph (a] codesourcery.com>
3293 1.1 christos
3294 1.1 christos * arm-tdep.c (thumb_get_next_pc_raw): Mask off low bits for bx pc
3295 1.1 christos and blx pc.
3296 1.1 christos
3297 1.1 christos 2012-08-22 Khoo Yit Phang <khooyp (a] cs.umd.edu>
3298 1.1 christos
3299 1.1 christos Add a new "python-interactive" command that starts a standard
3300 1.1 christos Python interactive prompt with "pi" as alias, and add "py" as
3301 1.1 christos an alias to "python".
3302 1.1 christos * NEWS: Mention the new commands.
3303 1.1 christos * python/python.c (eval_python_command): New function.
3304 1.1 christos (python_interactive_command): For "python-interactive" with
3305 1.1 christos arguments, call eval_python_command. For "python-interactive"
3306 1.1 christos without arguments, call PyRun_InteractiveLoop.
3307 1.1 christos (_initialize_python): Add "python-interactive" command with
3308 1.1 christos "pi" as alias, and add "py" as an alias to "python".
3309 1.1 christos
3310 1.1 christos 2012-08-22 Tom Tromey <tromey (a] redhat.com>
3311 1.1 christos
3312 1.1 christos * defs.h (quit_flag): Don't declare.
3313 1.1 christos (clear_quit_flag, check_quit_flag, set_quit_flag): Declare.
3314 1.1 christos (QUIT): Use new functions.
3315 1.1 christos * event-top.c (command_handler): Use clear_quit_flag.
3316 1.1 christos (handle_sigint): Use set_quit_flag.
3317 1.1 christos (async_request_quit): Use check_quit_flag. Don't check
3318 1.1 christos immediate_quit.
3319 1.1 christos * exceptions.c (throw_exception): Use clear_quit_flag.
3320 1.1 christos * main.c (captured_main): Use clear_quit_flag.
3321 1.1 christos * python/python.c (clear_quit_flag, set_quit_flag)
3322 1.1 christos (check_quit_flag): New functions.
3323 1.1 christos * remote-sim.c (gdb_os_poll_quit): Use check_quit_flag,
3324 1.1 christos clear_quit_flag.
3325 1.1 christos * remote.c (remote_wait_as): Use check_quit_flag,
3326 1.1 christos clear_quit_flag.
3327 1.1 christos (remote_start_remote): Call QUIT.
3328 1.1 christos * symfile.c (load_progress): Use check_quit_flag.
3329 1.1 christos * top.c (command_loop): Use clear_quit_flag.
3330 1.1 christos (command_line_input): Call QUIT.
3331 1.1 christos * utils.c (quit_flag): Conditionally define.
3332 1.1 christos (clear_quit_flag, check_quit_flag, set_quit_flag): New
3333 1.1 christos functions.
3334 1.1 christos (prompt_for_continue): Call QUIT. Use quit, not
3335 1.1 christos async_request_quit.
3336 1.1 christos * remote-mips.c (mips_expect_timeout): Call QUIT.
3337 1.1 christos * monitor.c (monitor_expect): Call QUIT.
3338 1.1 christos
3339 1.1 christos 2012-08-22 Tom Tromey <tromey (a] redhat.com>
3340 1.1 christos
3341 1.1 christos * event-top.c (sigwinch_token, handle_sigwinch): Remove.
3342 1.1 christos (async_init_signals): Update.
3343 1.1 christos * utils.c (init_page_info): Don't use SIGWINCH_HANDLER.
3344 1.1 christos (SIGWINCH_HANDLER_BODY): Remove.
3345 1.1 christos
3346 1.1 christos 2012-08-22 Tom Tromey <tromey (a] redhat.com>
3347 1.1 christos
3348 1.1 christos * jit.c (jit_object_close_impl): Don't malloc the objfile
3349 1.1 christos name.
3350 1.1 christos * objfiles.c (allocate_objfile): Don't malloc the objfile
3351 1.1 christos name.
3352 1.1 christos (free_objfile): Don't free the objfile name.
3353 1.1 christos * objfiles.h (struct objfile) <name>: Update comment.
3354 1.1 christos * symfile.c (reread_symbols): Fix reference counting. Don't
3355 1.1 christos malloc objfile name.
3356 1.1 christos
3357 1.1 christos 2012-08-22 Tom Tromey <tromey (a] redhat.com>
3358 1.1 christos
3359 1.1 christos * windows-nat.c (windows_make_so): Use gdb_bfd_open.
3360 1.1 christos * symfile.c (bfd_open_maybe_remote): Use gdb_bfd_open.
3361 1.1 christos (symfile_bfd_open): Likewise.
3362 1.1 christos (generic_load): Likewise.
3363 1.1 christos * solib.c (solib_bfd_fopen): Use gdb_bfd_open.
3364 1.1 christos * solib-pa64.c (pa64_solib_create_inferior_hook): Use
3365 1.1 christos gdb_bfd_open.
3366 1.1 christos * solib-darwin.c (darwin_solib_get_all_image_info_addr_at_init):
3367 1.1 christos Use gdb_bfd_open.
3368 1.1 christos * rs6000-nat.c (add_vmap): Use gdb_bfd_open.
3369 1.1 christos * remote-mips.c (mips_load_srec): Use gdb_bfd_open.
3370 1.1 christos (pmon_load_fast): Likewise.
3371 1.1 christos * remote-m32r-sdi.c (m32r_load): Use gdb_bfd_open.
3372 1.1 christos * procfs.c (insert_dbx_link_bpt_in_file): Use gdb_bfd_open.
3373 1.1 christos * machoread.c (macho_symfile_read_all_oso): Use gdb_bfd_open.
3374 1.1 christos (macho_check_dsym): Likewise.
3375 1.1 christos * m32r-rom.c (m32r_load): Use gdb_bfd_open.
3376 1.1 christos (m32r_upload_command): Likewise.
3377 1.1 christos * gdb_bfd.h (gdb_bfd_cache): Declare.
3378 1.1 christos * gdb_bfd.c (struct gdb_bfd_data): New.
3379 1.1 christos (gdb_bfd_cache): New global.
3380 1.1 christos (struct gdb_bfd_cache_search): New.
3381 1.1 christos (hash_bfd): New function.
3382 1.1 christos (eq_bfd): Likewise.
3383 1.1 christos (gdb_bfd_open): Likewise.
3384 1.1 christos (gdb_bfd_ref): Allocate a gdb_bfd_data and attach to the BFD.
3385 1.1 christos (gdb_bfd_unref): Remove closed BFD from cache. Update for
3386 1.1 christos gdb_bfd_data.
3387 1.1 christos * exec.c (exec_file_attach): Use gdb_bfd_open.
3388 1.1 christos * dsrec.c (load_srec): Use gdb_bfd_open.
3389 1.1 christos
3390 1.1 christos 2012-08-22 Tom Tromey <tromey (a] redhat.com>
3391 1.1 christos
3392 1.1 christos * dwarf2read.c (macro_start_file): Update.
3393 1.1 christos * objfiles.c (get_objfile_bfd_data): Initialize macro_cache.
3394 1.1 christos (free_objfile_per_bfd_storage): Destroy macro_cache.
3395 1.1 christos (allocate_objfile, free_objfile): Update.
3396 1.1 christos * objfiles.h (struct objfile_per_bfd_storage) <macro_cache>:
3397 1.1 christos New field.
3398 1.1 christos (struct objfile) <macro_cache>: Remove.
3399 1.1 christos * symfile.c (reread_symbols): Update.
3400 1.1 christos * symmisc.c (print_symbol_bcache_statistics): Update.
3401 1.1 christos (print_objfile_statistics): Update.
3402 1.1 christos
3403 1.1 christos 2012-08-22 Tom Tromey <tromey (a] redhat.com>
3404 1.1 christos
3405 1.1 christos * elfread.c (elf_symtab_read): Update.
3406 1.1 christos * objfiles.c (objfiles_bfd_data): New global.
3407 1.1 christos (get_objfile_bfd_data, free_objfile_per_bfd_storage)
3408 1.1 christos (objfile_bfd_data_free, set_objfile_per_bfd): New functions.
3409 1.1 christos (allocate_objfile, free_objfile): Update.
3410 1.1 christos (_initialize_objfiles): Initialize objfiles_bfd_data.
3411 1.1 christos * objfiles.h (struct objfile_per_bfd_storage): New.
3412 1.1 christos (struct objfile) <per_bfd>: New field.
3413 1.1 christos <filename_cache>: Remove.
3414 1.1 christos (set_objfile_per_bfd): Declare.
3415 1.1 christos * symfile.c (reread_symbols): Update. Call
3416 1.1 christos set_objfile_per_bfd.
3417 1.1 christos (allocate_symtab): Update.
3418 1.1 christos * symmisc.c (print_symbol_bcache_statistics): Update.
3419 1.1 christos (print_objfile_statistics): Print the size of the BFD obstack.
3420 1.1 christos
3421 1.1 christos 2012-08-22 Tom Tromey <tromey (a] redhat.com>
3422 1.1 christos
3423 1.1 christos * gdb_bfd.h: Include registry.h. Use DECLARE_REGISTRY.
3424 1.1 christos * gdb_bfd.c: Use DEFINE_REGISTRY.
3425 1.1 christos (struct gdb_bfd_data): Add REGISTRY_FIELDS.
3426 1.1 christos (gdb_bfd_ref): Call bfd_alloc_data.
3427 1.1 christos (gdb_bfd_unref): Call bfd_free_data.
3428 1.1 christos
3429 1.1 christos 2012-08-22 Tom Tromey <tromey (a] redhat.com>
3430 1.1 christos
3431 1.1 christos * registry.h (struct registry_fields): New.
3432 1.1 christos (REGISTRY_FIELDS): Redefine.
3433 1.1 christos (REGISTRY_ACCESS_FIELD): New macro.
3434 1.1 christos (DEFINE_REGISTRY): Add ACCESS argument. Update defined
3435 1.1 christos functions.
3436 1.1 christos
3437 1.1 christos 2012-08-22 Tom Tromey <tromey (a] redhat.com>
3438 1.1 christos
3439 1.1 christos * auto-load.c (_initialize_auto_load): Update.
3440 1.1 christos * solib-svr4.c (_initialize_svr4_solib): Update
3441 1.1 christos * solib-dsbt.c (_initialize_dsbt_solib): Update.
3442 1.1 christos * solib-darwin.c (_initialize_darwin_solib): Update.
3443 1.1 christos * registry.h: New file.
3444 1.1 christos * python/py-progspace.c (gdbpy_initialize_pspace): Update.
3445 1.1 christos * python/py-inferior.c (gdbpy_initialize_inferior): Update.
3446 1.1 christos * progspace.h: Include registry.h. Use DECLARE_REGISTRY.
3447 1.1 christos (register_program_space_data_with_cleanup)
3448 1.1 christos (register_program_space_data, program_space_alloc_data)
3449 1.1 christos (clear_program_space_data, set_program_space_data)
3450 1.1 christos (program_space_data): Don't declare.
3451 1.1 christos * progspace.c: Use DEFINE_REGISTRY.
3452 1.1 christos (struct program_space_data, struct
3453 1.1 christos program_space_data_registration, struct
3454 1.1 christos program_space_data_registry, program_space_data_registry)
3455 1.1 christos (register_program_space_data_with_cleanup)
3456 1.1 christos (register_program_space_data, program_space_alloc_data)
3457 1.1 christos (program_space_free_data, clear_program_space_data)
3458 1.1 christos (set_program_space_data, program_space_data): Remove.
3459 1.1 christos * objfiles.h: Include registry.h. Use DECLARE_REGISTRY.
3460 1.1 christos (struct objfile) <data, num_data>: Replace with REGISTRY_FIELDS.
3461 1.1 christos (register_objfile_data_with_cleanup, register_objfile_data)
3462 1.1 christos (clear_objfile_data, set_objfile_data, objfile_data): Don't
3463 1.1 christos declare.
3464 1.1 christos * objfiles.c: Use DEFINE_REGISTRY.
3465 1.1 christos (struct objfile_data, struct objfile_data_registration, struct
3466 1.1 christos objfile_data_registry, objfile_data_registry)
3467 1.1 christos (register_objfile_data_with_cleanup, register_objfile_data)
3468 1.1 christos (objfile_alloc_data, objfile_free_data, clear_objfile_data)
3469 1.1 christos (set_objfile_data, objfile_data): Remove.
3470 1.1 christos (_initialize_objfiles): Update.
3471 1.1 christos * jit.c (_initialize_jit): Update.
3472 1.1 christos * inflow.c (_initialize_inflow): Update.
3473 1.1 christos * inferior.h: Include registry.h. Use DECLARE_REGISTRY.
3474 1.1 christos (struct inferior) <data, num_data>: Replace with REGISTRY_FIELDS.
3475 1.1 christos (register_inferior_data_with_cleanup, register_inferior_data)
3476 1.1 christos (clear_inferior_data, set_inferior_data, inferior_data): Don't
3477 1.1 christos declare.
3478 1.1 christos * inferior.c: Use DEFINE_REGISTRY.
3479 1.1 christos (struct inferior_data, struct inferior_data_registration, struct
3480 1.1 christos inferior_data_registry, inferior_data_registry)
3481 1.1 christos (register_inferior_data_with_cleanup, register_inferior_data)
3482 1.1 christos (inferior_alloc_data, inferior_free_data clear_inferior_data)
3483 1.1 christos (set_inferior_data, inferior_data): Remove.
3484 1.1 christos * auxv.c (_initialize_auxv): Update.
3485 1.1 christos * ada-lang.c (_initialize_ada_language): Update.
3486 1.1 christos * breakpoint.c (_initialize_breakpoint): Update.
3487 1.1 christos * i386-nat.c (i386_use_watchpoints): Update.
3488 1.1 christos
3489 1.1 christos 2012-08-22 Tom Tromey <tromey (a] redhat.com>
3490 1.1 christos
3491 1.1 christos * exec.c (exec_close, exec_file_attach): Update.
3492 1.1 christos (add_to_section_table): Initialize 'key' field.
3493 1.1 christos (add_target_sections, remove_target_sections): Add 'key' argument.
3494 1.1 christos * exec.h (add_target_sections, remove_target_sections): Add
3495 1.1 christos 'key' argument.
3496 1.1 christos * solib.c (solib_map_sections, update_solib_list, clear_solib)
3497 1.1 christos (reload_shared_libraries_1): Update.
3498 1.1 christos * target.h (struct target_section) <key>: New field.
3499 1.1 christos
3500 1.1 christos 2012-08-22 Tom Tromey <tromey (a] redhat.com>
3501 1.1 christos
3502 1.1 christos * cli/cli-cmds.c (filter_sals): Handle nelts == 0 case.
3503 1.1 christos
3504 1.1 christos 2012-08-21 Pierre Muller <muller (a] ics.u-strasbg.fr>
3505 1.1 christos
3506 1.1 christos * symfile.c (allocate_symtab): Use host_address_to_string
3507 1.1 christos function instead of cast of pointer to long which is not
3508 1.1 christos compatible with x86_64-w64-mingw32 build.
3509 1.1 christos
3510 1.1 christos 2012-08-19 Andrew Pinski <apinski (a] cavium.com>
3511 1.1 christos
3512 1.1 christos * mips-tdep.c (is_octeon): New function.
3513 1.1 christos (is_octeon_bbit_op): New function.
3514 1.1 christos (mips32_next_pc): Handle Octeon's bbit instructions.
3515 1.1 christos (mips32_instruction_has_delay_slot): Likewise.
3516 1.1 christos
3517 1.1 christos 2012-08-19 Andrew Pinski <apinski (a] cavium.com>
3518 1.1 christos
3519 1.1 christos * mips-tdep.c (mips32_next_pc): Fix line spacing of the comment
3520 1.1 christos before the function.
3521 1.1 christos
3522 1.1 christos 2012-08-19 Andrew Pinski <apinski (a] cavium.com>
3523 1.1 christos
3524 1.1 christos * mips-tdep.c (mips32_next_pc): Consolidate calls to itype_op.
3525 1.1 christos
3526 1.1 christos 2012-08-19 Keith Seitz <keiths (a] redhat.com>
3527 1.1 christos
3528 1.1 christos PR c++/14365
3529 1.1 christos * c-typeprint.c (c_type_print_varspec_prefix): Pass
3530 1.1 christos -1 for SHOW to c_type_print_base for METHODPTR and MEMBERPTR.
3531 1.1 christos
3532 1.1 christos 2012-08-18 Eli Zaretskii <eliz (a] gnu.org>
3533 1.1 christos
3534 1.1 christos * Makefile.in (HFILES_NO_SRCDIR): Fix a typo: golang.h -> go-lang.h.
3535 1.1 christos The typo broke "make TAGS".
3536 1.1 christos
3537 1.1 christos 2012-08-17 Joel Brobecker <brobecker (a] adacore.com>
3538 1.1 christos
3539 1.1 christos GDB 7.5 released.
3540 1.1 christos
3541 1.1 christos 2012-08-17 Keith Seitz <keiths (a] redhat.com>
3542 1.1 christos
3543 1.1 christos PR c++/13356
3544 1.1 christos * gdbtypes.c (strict_type_checking): New variable.
3545 1.1 christos (show_strict_type_checking): New function.
3546 1.1 christos (rank_one_type): Return NS_POINTER_INTEGER_CONVERSION_BADNESS
3547 1.1 christos if strict type checking is disabled.
3548 1.1 christos (_initialize_gdbtypes): Add "check type" subcommand.
3549 1.1 christos * gdbtypes.h (NS_INTEGER_POINTER_CONVERSION_BADNESS): New struct.
3550 1.1 christos
3551 1.1 christos 2012-08-17 Keith Seitz <keiths (a] redhat.com>
3552 1.1 christos
3553 1.1 christos * language.h (type_mode): Remove.
3554 1.1 christos (type_check): Remove.
3555 1.1 christos (struct language_defn): Remove la_type_check.
3556 1.1 christos (STRICT_TYPE): Remove unused macro.
3557 1.1 christos (type_error): Remove.
3558 1.1 christos * language.c (set_type_range_case): Renamed to ...
3559 1.1 christos (set_range_case): ... this. Update all callers.
3560 1.1 christos Remove type_mode/type_check.
3561 1.1 christos (type_mode): Remove.
3562 1.1 christos (type_check): Remove.
3563 1.1 christos (show_type_command): Remove.
3564 1.1 christos (set_type_command): Remove.
3565 1.1 christos (language_info): Remove type checking output.
3566 1.1 christos (type_error): Remove unused function.
3567 1.1 christos (range_error): Update comment.
3568 1.1 christos (unknown_language_defn): Remove la_type_check.
3569 1.1 christos (auto_language_defn): Likewise.
3570 1.1 christos (local_language_defn): Likewise.
3571 1.1 christos (_initialize_language): Remove "check type" subcommand.
3572 1.1 christos * ada-lang.c (ada_language_defn): Remove la_type_check.
3573 1.1 christos * c-lang.c (c_language_defn): Likewise.
3574 1.1 christos (cplus_language_defn): Likewise.
3575 1.1 christos (asm_language_defn): Likewise.
3576 1.1 christos (minimal_language_defn): Likewise.
3577 1.1 christos * d-lang.c (d_language_defn): Likewise.
3578 1.1 christos * f-lang.c (f_language_defn): Likewise.
3579 1.1 christos * go-lang.c (go_language_defn): Likewise.
3580 1.1 christos * jv-lang.c (java_language_defn): Likewise.
3581 1.1 christos * m2-lang.c (m2_language_defn): Likewise.
3582 1.1 christos * objc-lang.c (objc_language_defn): Likewise.
3583 1.1 christos * opencl-lang.c (opencl_language_defn): Likewise.
3584 1.1 christos * p-lang.c (pascal_language_defn): Likewise.
3585 1.1 christos
3586 1.1 christos 2012-08-16 Mike Frysinger <vapier (a] gentoo.org>
3587 1.1 christos
3588 1.1 christos * infcmd.c (_initialize_infcmd): Remove trailing ) in next help text.
3589 1.1 christos
3590 1.1 christos 2012-08-16 Joel Brobecker <brobecker (a] adacore.com>
3591 1.1 christos
3592 1.1 christos * ia64-hpux-nat.c (ia64_hpux_get_register_from_save_state_t):
3593 1.1 christos New function.
3594 1.1 christos (ia64_hpux_xfer_memory): Check if inferior_ptid is known before
3595 1.1 christos using the regache. Use ia64_hpux_get_register_from_save_state_t
3596 1.1 christos to access the bsp and bspstore registers if not.
3597 1.1 christos
3598 1.1 christos 2012-08-16 Joel Brobecker <brobecker (a] adacore.com>
3599 1.1 christos
3600 1.1 christos * breakpoint.h (detach_breakpoints): pid parameter is now a ptid.
3601 1.1 christos * breakpoint.c (detach_breakpoints): Change pid parameter into
3602 1.1 christos a ptid. Adjust code accordingly.
3603 1.1 christos * infrun.c (handle_inferior_event): Delete variable child_pid.
3604 1.1 christos Update call to detach_breakpoints to pass the child ptid for
3605 1.1 christos fork events.
3606 1.1 christos * linux-nat.c (linux_nat_iterate_watchpoint_lwps): Remove
3607 1.1 christos assert that inferior_ptid's lwp is zero.
3608 1.1 christos (linux_handle_extended_wait): Update call to detach_breakpoints.
3609 1.1 christos * inf-ttrace.c (inf_ttrace_follow_fork): Update call to
3610 1.1 christos detach_breakpoints.
3611 1.1 christos
3612 1.1 christos 2012-08-16 Joel Brobecker <brobecker (a] adacore.com>
3613 1.1 christos
3614 1.1 christos * inf-ttrace.c (inf_ttrace_follow_fork): When following the
3615 1.1 christos parent, only call detach_breakpoints if tts.tts_event ==
3616 1.1 christos TTEVT_VFORK.
3617 1.1 christos
3618 1.1 christos 2012-08-16 Joel Brobecker <brobecker (a] adacore.com>
3619 1.1 christos
3620 1.1 christos * dwarf2-frame.c (dwarf2_frame_cache): Use
3621 1.1 christos get_frame_address_in_block instead of get_frame_pc as
3622 1.1 christos the bound for executing the frame's FDE.
3623 1.1 christos
3624 1.1 christos 2012-08-16 Yao Qi <yao (a] codesourcery.com>
3625 1.1 christos
3626 1.1 christos * gdbtypes.h (enum type_code): Define TYPE_CODE_BITSTRING -1.
3627 1.1 christos * arm-tdep.c (arm_type_align): Remove code handling TYPE_CODE_BITSTRING.
3628 1.1 christos * c-typeprint.c (c_type_print_varspec_prefix): Likewise.
3629 1.1 christos (c_type_print_varspec_suffix): Likewise.
3630 1.1 christos * eval.c (evaluate_subexp_standard): Likewise.
3631 1.1 christos * f-typeprint.c (f_type_print_varspec_prefix): Likewise.
3632 1.1 christos (f_type_print_varspec_suffix): Likewise.
3633 1.1 christos * gdbtypes.c (is_scalar_type): Likewise.
3634 1.1 christos (recursive_dump_type): Likewise.
3635 1.1 christos * infcall.c (value_arg_coerce): Likewise.
3636 1.1 christos * m2-valprint.c (m2_val_print): Likewise.
3637 1.1 christos * p-typeprint.c (pascal_type_print_varspec_prefix): Likewise.
3638 1.1 christos (pascal_type_print_varspec_suffix): Likewise.
3639 1.1 christos (pascal_type_print_base): Likewise.
3640 1.1 christos * p-valprint.c (pascal_val_print): Likewise.
3641 1.1 christos (pascal_val_print): Likewise.
3642 1.1 christos * valops.c (value_slice): Likewise.
3643 1.1 christos * valprint.c (scalar_type_p): Likewise.
3644 1.1 christos * valarith.c (value_bitstring_subscript): Remove.
3645 1.1 christos (value_concat): Remove code handling TYPE_CODE_BITSTRING.
3646 1.1 christos Remove comment on TYPE_CODE_BITSTRING.
3647 1.1 christos
3648 1.1 christos * stabsread.c (read_type): Don't set TYPE_CODE (type) to
3649 1.1 christos TYPE_CODE_BITSTRING.
3650 1.1 christos
3651 1.1 christos * python/py-type.c (pyty_codes): Move ENTRY (TYPE_CODE_BITSTRING) to
3652 1.1 christos slot 0.
3653 1.1 christos
3654 1.1 christos 2012-08-16 Yao Qi <yao (a] codesourcery.com>
3655 1.1 christos
3656 1.1 christos * tracepoint.c (trace_find_none_command): Remove.
3657 1.1 christos (_initialize_tracepoint): Call add_alias_cmd for "tfind none".
3658 1.1 christos
3659 1.1 christos 2012-08-16 Yao Qi <yao (a] codesourcery.com>
3660 1.1 christos
3661 1.1 christos * remote.c (handle_notification): Remove parameter 'length'.
3662 1.1 christos (putpkt_binary, getpkt_or_notif_sane_1): Caller update.
3663 1.1 christos
3664 1.1 christos 2012-08-15 Keith Seitz <keiths (a] redhat.com>
3665 1.1 christos
3666 1.1 christos * gdbtypes.c (opaque_type_resolution): Make static.
3667 1.1 christos Add missing comment.
3668 1.1 christos (overload_debug): Add missing comment.
3669 1.1 christos (show_opaque_type_resolution): Likewise.
3670 1.1 christos (show_overload_debug): Likewise.
3671 1.1 christos (print_bit_vector): Remove unnecessary forward declaration.
3672 1.1 christos (print_arg_types): Likewise.
3673 1.1 christos (dump_fn_fieldlists): Likewise.
3674 1.1 christos (print_cplus_stuff): Likewise.
3675 1.1 christos
3676 1.1 christos 2012-08-15 Tom Tromey <tromey (a] redhat.com>
3677 1.1 christos
3678 1.1 christos * gdb_bfd.c (struct gdb_bfd_data) <archive_bfd>: New field.
3679 1.1 christos (gdb_bfd_ref): Initialize new field.
3680 1.1 christos (gdb_bfd_unref): Unref the archive BFD.
3681 1.1 christos (gdb_bfd_openr_next_archived_file): Acquire a reference to the
3682 1.1 christos parent archive.
3683 1.1 christos
3684 1.1 christos 2012-08-15 Tom Tromey <tromey (a] redhat.com>
3685 1.1 christos
3686 1.1 christos PR python/14387:
3687 1.1 christos * python/py-bpevent.c (create_breakpoint_event_object): Update
3688 1.1 christos comment.
3689 1.1 christos * python/py-event.c (evpy_add_attribute): Update comment.
3690 1.1 christos * python/py-exitedevent.c (create_exited_event_object): Fix
3691 1.1 christos reference counting and error handling.
3692 1.1 christos * python/py-newobjfileevent.c (create_new_objfile_event_object):
3693 1.1 christos Fix reference counting.
3694 1.1 christos * python/py-signalevent.c (create_signal_event_object): Fix
3695 1.1 christos reference counting and error handling.
3696 1.1 christos * python/py-stopevent.c (emit_stop_event): Fix reference
3697 1.1 christos counting.
3698 1.1 christos * python/py-threadevent.c (get_event_thread): Return a
3699 1.1 christos borrowed reference.
3700 1.1 christos * python/py-type.c (convert_field): Fix reference counting.
3701 1.1 christos
3702 1.1 christos 2012-08-15 Tom Tromey <tromey (a] redhat.com>
3703 1.1 christos
3704 1.1 christos * dwarf2read.c (dwarf_decode_macro_bytes)
3705 1.1 christos <DW_MACRO_GNU_transparent_include>: Use pointer to included data
3706 1.1 christos as hash key.
3707 1.1 christos
3708 1.1 christos 2012-08-14 Mike Frysinger <vapier (a] gentoo.org>
3709 1.1 christos
3710 1.1 christos * infcmd.c (_initialize_infcmd): Update help text for the signal,
3711 1.1 christos stepi, nexti, finish, next, step, jump, and continue commands.
3712 1.1 christos * infrun.c (_initialize_infrun): Update help text for the handle
3713 1.1 christos command.
3714 1.1 christos
3715 1.1 christos 2012-08-14 Doug Evans <dje (a] google.com>
3716 1.1 christos
3717 1.1 christos * gdbtypes.c (struct extra): Delete, unused.
3718 1.1 christos
3719 1.1 christos * gdbtypes.c: Whitespace cleanup.
3720 1.1 christos (address_space_name_to_int): Remove "extern" from definition.
3721 1.1 christos (_initialize_gdbtypes): Declare with initialize_file_ftype.
3722 1.1 christos
3723 1.1 christos * gdbtypes.c (make_pointer_type): Remove redundant setting of
3724 1.1 christos TYPE_POINTER_TYPE (type).
3725 1.1 christos
3726 1.1 christos 2012-08-14 Gary Benson <gbenson (a] redhat.com>
3727 1.1 christos
3728 1.1 christos * solib-svr4.c (svr4_free_library_list): Use free_so.
3729 1.1 christos
3730 1.1 christos 2012-08-13 Mike Frysinger <vapier (a] gentoo.org>
3731 1.1 christos
3732 1.1 christos * .gitignore: Add go-exp.c.
3733 1.1 christos
3734 1.1 christos 2012-08-13 Doug Evans <dje (a] google.com>
3735 1.1 christos
3736 1.1 christos * value.c (show_convenience): Tweak comment.
3737 1.1 christos (_initialize_values): Mention convenience functions in the help text
3738 1.1 christos for "show convenience".
3739 1.1 christos
3740 1.1 christos 2012-08-13 Yao Qi <yao (a] codesourcery.com>
3741 1.1 christos
3742 1.1 christos * std-operator.def: Remove TERNOP_SLICE_COUNT.
3743 1.1 christos * breakpoint.c (watchpoint_exp_is_const): Remove handling to
3744 1.1 christos TERNOP_SLICE_COUNT.
3745 1.1 christos * eval.c (evaluate_subexp_standard): Likewise.
3746 1.1 christos * expprint.c (print_subexp_standard): Likewise.
3747 1.1 christos (dump_subexp_body_standard): Likewise.
3748 1.1 christos * parse.c (operator_length_standard): Likewise.
3749 1.1 christos
3750 1.1 christos 2012-08-13 Yao Qi <yao (a] codesourcery.com>
3751 1.1 christos
3752 1.1 christos * std-operator.def: Remove OP_BITSTRING.
3753 1.1 christos * breakpoint.c (watchpoint_exp_is_const): Update.
3754 1.1 christos * eval.c (evaluate_subexp_standard): Remove handling to
3755 1.1 christos OP_BITSTRING.
3756 1.1 christos * expprint.c (print_subexp_standard): Likewise.
3757 1.1 christos (dump_subexp_body_standard): Likewise.
3758 1.1 christos * parse.c (operator_length_standard): Likewise.
3759 1.1 christos * valops.c (value_bitstring): Remove.
3760 1.1 christos * value.h: Remove the declaration of 'value_bitstring'.
3761 1.1 christos
3762 1.1 christos 2012-08-10 Sergio Durigan Junior <sergiodj (a] redhat.com>
3763 1.1 christos
3764 1.1 christos * linespec.c (find_methods): Remove unused variables `i1' and
3765 1.1 christos `name_len'.
3766 1.1 christos (decode_line_full): Likewise for `arg_start'.
3767 1.1 christos
3768 1.1 christos 2012-08-10 Sergio Durigan Junior <sergiodj (a] redhat.com>
3769 1.1 christos
3770 1.1 christos * gdb_bfd.c (gdb_bfd_unref): Remove unused variable `slot'.
3771 1.1 christos (zlib_decompress_section): Likewise for `section_data'.
3772 1.1 christos (gdb_bfd_map_section): Likewise for `buf' and `retbuf'.
3773 1.1 christos
3774 1.1 christos 2012-08-10 Doug Evans <dje (a] google.com>
3775 1.1 christos
3776 1.1 christos Add $_memeq, $_regex, $_streq, $_strlen convenience functions.
3777 1.1 christos * NEWS: Document them.
3778 1.1 christos * data-directory/Makefile.in (PYTHON_FILES): Add function/__init__.py,
3779 1.1 christos function/strfns.py.
3780 1.1 christos * python/py-type.c (typy_array_1): New function.
3781 1.1 christos (typy_array): Call it.
3782 1.1 christos (typy_vector): New function.
3783 1.1 christos (type_object_methods): Add "vector".
3784 1.1 christos * python/lib/gdb/function/__init__.py: New file.
3785 1.1 christos * python/lib/gdb/function/strfns.py: New file.
3786 1.1 christos
3787 1.1 christos 2012-08-10 Siddhesh Poyarekar <siddhesh (a] redhat.com>
3788 1.1 christos
3789 1.1 christos * python/py-type.c (convert_field): Use gdb_py_long_from_longest
3790 1.1 christos for TYPE_FIELD_BITPOS.
3791 1.1 christos (typy_get_sizeof): Likewise for TYPE_LENGTH.
3792 1.1 christos
3793 1.1 christos 2012-08-10 Mike Frysinger <vapier (a] gentoo.org>
3794 1.1 christos
3795 1.1 christos PR cli/10436:
3796 1.1 christos * common/vec.h (VEC_merge): Define.
3797 1.1 christos (DEF_VEC_ALLOC_FUNC_I): Add a merge helper.
3798 1.1 christos (DEF_VEC_ALLOC_FUNC_P): Likewise.
3799 1.1 christos (DEF_VEC_ALLOC_FUNC_O): Likewise.
3800 1.1 christos * completer.c: Include gdb_signals.h.
3801 1.1 christos (signal_completer): Define.
3802 1.1 christos * completer.h (signal_completer): Add prototype.
3803 1.1 christos * infcmd.c (_initialize_infcmd): Assign the command
3804 1.1 christos completer for "signal" to handle_completer.
3805 1.1 christos * infrun.c: Include completer.h.
3806 1.1 christos (handle_completer): Define.
3807 1.1 christos (_initialize_infrun): Declare a new local variable c. Store the
3808 1.1 christos result of add_com("handle") to it. Assign the command
3809 1.1 christos completer for "handle" to handle_completer.
3810 1.1 christos
3811 1.1 christos 2012-08-09 Yao Qi <yao (a] codesourcery.com>
3812 1.1 christos
3813 1.1 christos * cli/cli-decode.c (set_cmd_prefix): New.
3814 1.1 christos (lookup_cmd_for_prefixlist): New.
3815 1.1 christos (add_prefix_cmd): Call set_cmd_prefix and update field 'prefix'
3816 1.1 christos of each cmd_list_element in *prefixlist.
3817 1.1 christos (add_setshow_cmd_full): set_cmd_prefix.
3818 1.1 christos (add_alias_cmd): Likewise.
3819 1.1 christos * cli/cli-decode.h (struct cmd_list_element) <prefix>: New field.
3820 1.1 christos Declare 'auto_boolean_enums'.
3821 1.1 christos * cli/cli-setshow.c: Include "observer.h".
3822 1.1 christos (notify_command_param_changed_p): New.
3823 1.1 christos (add_setshow_auto_boolean_cmd): Move auto_boolean_enums out.
3824 1.1 christos Remove 'static'.
3825 1.1 christos (do_setshow_command): Split it to ...
3826 1.1 christos (do_set_command, do_show_command): ... them. New.
3827 1.1 christos (do_set_command): Call observer_notify_command_param_changed if
3828 1.1 christos notify_command_param_changed_p returns true.
3829 1.1 christos (cmd_show_list): Caller update.
3830 1.1 christos * auto-load.c (set_auto_load_cmd): Likewise.
3831 1.1 christos * remote.c (show_remote_cmd): Likewise.
3832 1.1 christos * cli/cli-setshow.h: Update declarations.
3833 1.1 christos * top.c (execute_command): Call do_set_command and do_show_command.
3834 1.1 christos
3835 1.1 christos * NEWS: Mention new MI notification.
3836 1.1 christos * mi/mi-interp.c: Declare mi_command_param_changed.
3837 1.1 christos (mi_interpreter_init): Attach mi_command_param_changed to
3838 1.1 christos observer command_param_changed.
3839 1.1 christos (mi_command_param_changed): New.
3840 1.1 christos Remove mi_suppress_breakpoint_notifications.
3841 1.1 christos Define global variable mi_suppress_notification.
3842 1.1 christos (mi_breakpoint_created): Update.
3843 1.1 christos (mi_breakpoint_deleted): Likewise.
3844 1.1 christos (mi_breakpoint_modified): Likewise.
3845 1.1 christos * mi/mi-main.c (mi_cmd_execute): Likewise. Check command
3846 1.1 christos 'gdb-set' and set mi_suppress_notification.
3847 1.1 christos * mi/mi-main.h: (mi_suppress_notification): New struct.
3848 1.1 christos
3849 1.1 christos 2012-08-09 Andreas Tobler <andreast (a] fgznet.ch>
3850 1.1 christos Jan Kratochvil <jan.kratochvil (a] redhat.com>
3851 1.1 christos
3852 1.1 christos * fbsd-nat.h (fbsd_find_memory_regions): Use find_memory_region_ftype.
3853 1.1 christos
3854 1.1 christos 2012-08-09 Yao Qi <yao (a] codesourcery.com>
3855 1.1 christos
3856 1.1 christos * cli/cli-cmds.c (enablebreaklist): Move it to breakpoint.c.
3857 1.1 christos (skiplist): Move it to skip.c.
3858 1.1 christos (init_cmd_lists): Remove code setting enablebreaklist and
3859 1.1 christos skiplist to NULL.
3860 1.1 christos * breakpoint.c (enablebreaklist): Moved from cli/cli-cmds.c.
3861 1.1 christos * cli/cli-cmds.h: Remove declaration of enablebreaklist and
3862 1.1 christos skiplist.
3863 1.1 christos * gdbcmd.h: Likewise.
3864 1.1 christos * skip.c (_initialize_step_skip): Move 'skiplist' from
3865 1.1 christos cli/cli-cmds.c.
3866 1.1 christos
3867 1.1 christos 2012-08-09 Yao Qi <yao (a] codesourcery.com>
3868 1.1 christos
3869 1.1 christos * cli/cli-dump.c: Add 'static' to some cmd_list_element variables.
3870 1.1 christos * gnu-nat.c, symfile.c: Likewise.
3871 1.1 christos
3872 1.1 christos 2012-08-08 Aaron Gamble <agamble (a] google.com>
3873 1.1 christos
3874 1.1 christos * utils.c (prompt_for_continue_wait_time): New static global.
3875 1.1 christos (make_command_stats_cleanup): Initialize it.
3876 1.1 christos (report_command_stats): Subtract time waiting for user.
3877 1.1 christos (prompt_for_continue): Track time waiting for user.
3878 1.1 christos (defaulted_query): Track time waiting for user.
3879 1.1 christos
3880 1.1 christos 2012-08-08 Doug Evans <dje (a] google.com>
3881 1.1 christos
3882 1.1 christos * eval.c (evaluate_subexp_standard): Fix thinko in handling
3883 1.1 christos UNOP_MEMVAL_TYPE.
3884 1.1 christos * expprint.c (print_subexp_standard, case OP_TYPE): New.
3885 1.1 christos (print_subexp_standard, case UNOP_CAST_TYPE): Don't increment pos.
3886 1.1 christos (print_subexp_standard, case UNOP_DYNAMIC_CAST): Ditto.
3887 1.1 christos (print_subexp_standard, case UNOP_REINTERPRET_CAST): Ditto.
3888 1.1 christos (print_subexp_standard, case UNOP_MEMVAL_TYPE): Ditto.
3889 1.1 christos (dump_subexp_body_standard, case UNOP_DYNAMIC_CAST): Don't increment
3890 1.1 christos elt.
3891 1.1 christos (dump_subexp_body_standard, case UNOP_REINTERPRET_CAST): Ditto.
3892 1.1 christos (dump_subexp_body_standard, case UNOP_CAST_TYPE): Ditto.
3893 1.1 christos (dump_subexp_body_standard, case UNOP_MEMVAL_TYPE): Ditto.
3894 1.1 christos (dump_prefix_expression): Handle OP_TYPE.
3895 1.1 christos
3896 1.1 christos 2012-08-08 Keith Seitz <keiths (a] redhat.com>
3897 1.1 christos
3898 1.1 christos * breakpoint.c (parse_breakpoint_sals): Remove unused variable
3899 1.1 christos addr_start.
3900 1.1 christos
3901 1.1 christos 2012-08-08 Doug Evans <dje (a] google.com>
3902 1.1 christos
3903 1.1 christos * linux-thread-db.c: #include "gdb_vecs.h".
3904 1.1 christos (try_thread_db_load_from_pdir_1): New arg "subdir". All callers
3905 1.1 christos updated.
3906 1.1 christos (try_thread_db_load_from_pdir): New arg "subdir". All callers updated.
3907 1.1 christos (thread_db_load_search): Use a vector to iterate over path elements.
3908 1.1 christos Handle text appearing after "$pdir".
3909 1.1 christos
3910 1.1 christos * gdb_string.h: Moved to ...
3911 1.1 christos * common/gdb_string.h: ... here.
3912 1.1 christos * common/vec.h: Remove #ifndef GDBSERVER conditional inclusion of
3913 1.1 christos gdb_string.h and gdb_assert.h.
3914 1.1 christos
3915 1.1 christos 2012-08-08 Yao Qi <yao (a] codesourcery.com>
3916 1.1 christos
3917 1.1 christos * tic6x-tdep.c (tic6x_register_to_value): Remove.
3918 1.1 christos (tic6x_value_to_register): Likewise.
3919 1.1 christos (tic6x_gdbarch_init): Don't call set_gdbarch_register_to_value
3920 1.1 christos and set_gdbarch_value_to_register.
3921 1.1 christos
3922 1.1 christos 2012-08-07 Jan Kratochvil <jan.kratochvil (a] redhat.com>
3923 1.1 christos Jean-Marc Saffroy <saffroy (a] gmail.com>
3924 1.1 christos
3925 1.1 christos PR 11804
3926 1.1 christos * defs.h (find_memory_region_ftype): New comment. New arg modified.
3927 1.1 christos * fbsd-nat.c (fbsd_find_memory_regions): Add the passed modified value.
3928 1.1 christos * gcore.c (gcore_create_callback): New function comment. Add modified
3929 1.1 christos parameter. Only write modified regions. Set SEC_READONLY exactly
3930 1.1 christos according to MODIFIED.
3931 1.1 christos (objfile_find_memory_regions): Ignore separate debug info files. Ass
3932 1.1 christos the passed modified value to FUNC.
3933 1.1 christos * gnu-nat.c (gnu_find_memory_regions): Add the passed modified value.
3934 1.1 christos * linux-tdep.c (linux_find_memory_regions): Try to reads smaps file
3935 1.1 christos first. New variables modified and has_anonymous. Parse the lines of
3936 1.1 christos smaps file. Add the passed MODIFIED value to FUNC.
3937 1.1 christos * procfs.c (find_memory_regions_callback): Add the passed modified
3938 1.1 christos value.
3939 1.1 christos
3940 1.1 christos 2012-08-06 Tom Tromey <tromey (a] redhat.com>
3941 1.1 christos
3942 1.1 christos * dwarf2-frame.c (clear_pointer_cleanup): New function.
3943 1.1 christos (dwarf2_frame_cache): Use it.
3944 1.1 christos * frame-unwind.h (frame_sniffer_ftype): Document prologue
3945 1.1 christos cache initialization constraint.
3946 1.1 christos
3947 1.1 christos 2012-08-06 Tom Tromey <tromey (a] redhat.com>
3948 1.1 christos
3949 1.1 christos PR python/14386:
3950 1.1 christos * varobj.c (update_dynamic_varobj_children): Don't call
3951 1.1 christos PyIter_Check.
3952 1.1 christos
3953 1.1 christos 2012-08-06 Tom Tromey <tromey (a] redhat.com>
3954 1.1 christos
3955 1.1 christos PR cli/14392:
3956 1.1 christos * cli/cli-cmds.c (list_command): Filter 'sals_end'.
3957 1.1 christos
3958 1.1 christos 2012-08-06 Nathaniel Flath <flat0103 (a] gmail.com>
3959 1.1 christos
3960 1.1 christos * NEWS: New entry for 'cd' default parameters.
3961 1.1 christos * cli/cli-cmds.c (cd_command): Replace error_no_arg by DIR assignment.
3962 1.1 christos
3963 1.1 christos 2012-08-03 Tom Tromey <tromey (a] redhat.com>
3964 1.1 christos
3965 1.1 christos * dwarf2-frame.c (dwarf2_frame_cache): Call do_cleanups before
3966 1.1 christos return.
3967 1.1 christos
3968 1.1 christos 2012-08-02 Ulrich Weigand <ulrich.weigand (a] linaro.org>
3969 1.1 christos
3970 1.1 christos * inf-child.c (inf_child_fileio_pwrite): If pwrite fails, fall back
3971 1.1 christos to attempting lseek/write.
3972 1.1 christos (inf_child_fileio_pread): Likewise for pread.
3973 1.1 christos
3974 1.1 christos 2012-08-02 Yao Qi <yao (a] codesourcery.com>
3975 1.1 christos
3976 1.1 christos * dwarf2loc.c (entry_values_debug): Add 'unsigned'.
3977 1.1 christos (_initialize_dwarf2loc): Call add_setshow_zuinteger_cmd instead of
3978 1.1 christos add_setshow_zinteger_cmd.
3979 1.1 christos * dwarf2loc.h: Update the declaration of 'entry_values_debug'.
3980 1.1 christos * dwarf2read.c (dwarf2_die_debug): Add 'unsigned'.
3981 1.1 christos (_initialize_dwarf2_read): Call add_setshow_zuinteger_cmd
3982 1.1 christos instead of add_setshow_zinteger_cmd.
3983 1.1 christos * darwin-nat.c (dwarwin_debug_flag): Add 'unsigned'.
3984 1.1 christos (_initialize_darwin_inferior): Call add_setshow_zuinteger_cmd
3985 1.1 christos instead of add_setshow_zinteger_cmd.
3986 1.1 christos * frame.c (frame_debug): Add 'unsigned'.
3987 1.1 christos (_intialize_frame): Call add_setshow_zuinteger_cmd instead of
3988 1.1 christos add_setshow_zinteger_cmd.
3989 1.1 christos * frame.h: Update the declaration of 'frame_debug'.
3990 1.1 christos * gdbtypes.c (overload_debug): Add 'unsigned'.
3991 1.1 christos (_initialize_gdbtypes): Call add_setshow_zuinteger_cmd instead of
3992 1.1 christos add_setshow_zinteger_cmd.
3993 1.1 christos * inferior.h: Update declaration of 'debug_infrun'.
3994 1.1 christos * infrun.c (debug_infrun): Add 'unsigned'.
3995 1.1 christos (_initialize_infrun): Call add_setshow_zuinteger_cmd instead of
3996 1.1 christos add_setshow_zinteger_cmd.
3997 1.1 christos * jit.c (jit_debug): Add 'unsigned'.
3998 1.1 christos (_initialize_jit): Call add_setshow_zuinteger_cmd instead of
3999 1.1 christos add_setshow_zinteger_cmd.
4000 1.1 christos * linux-nat.c (debug_linux_nat): Add 'unsigned'.
4001 1.1 christos (_initialize_linux_nat): Call add_setshow_zuinteger_cmd
4002 1.1 christos instead of add_setshow_zinteger_cmd.
4003 1.1 christos * linux-thread-db.c (libthread_db_debug): Add 'unsigned'.
4004 1.1 christos (_initialize_thread_db): Call add_setshow_zuinteger_cmd instead of
4005 1.1 christos add_setshow_zinteger_cmd.
4006 1.1 christos * machoread.c (mach_o_debug_level): Add 'unsigned'.
4007 1.1 christos (_initialize_machoread): Call add_setshow_zuinteger_cmd
4008 1.1 christos instead of add_setshow_zinteger_cmd.
4009 1.1 christos * mi/mi-cmd-var.c: Update the declaration of 'varobjdebug'.
4010 1.1 christos * microblaze-tdep.c (microblaze_debug_flag): Add 'unsigned'.
4011 1.1 christos (_initialize_microblaze_tdep): Call add_setshow_zuinteger_cmd
4012 1.1 christos intead of add_setshow_zinteger_cmd.
4013 1.1 christos * mips-tdep.c (mips_debug): Add 'unsigned'.
4014 1.1 christos (_initialize_mips_tdep): Call add_setshow_zuinteger_cmd
4015 1.1 christos instead of add_setshow_zinteger_cmd.
4016 1.1 christos * monitor.c (monitor_debug): Add 'unsigned'.
4017 1.1 christos (_initialize_remote_monitors): Call add_setshow_zuinteger_cmd instead of
4018 1.1 christos add_setshow_zinteger_cmd.
4019 1.1 christos * observer.c (observer_debug): Add 'unsigned'.
4020 1.1 christos (_initialize_observer): Call add_setshow_zuinteger_cmd instead of
4021 1.1 christos add_setshow_zinteger_cmd.
4022 1.1 christos * parse.c (expressiondebug): Add 'unsigned'.
4023 1.1 christos (_initialize_parse): Call add_setshow_zuinteger_cmd instead of
4024 1.1 christos add_setshow_zinteger_cmd.
4025 1.1 christos * record.c (record_debug): Add 'unsigned'.
4026 1.1 christos (_initialize_record): Call add_setshow_zuinteger_cmd instead of
4027 1.1 christos add_setshow_zinteger_cmd.
4028 1.1 christos * record.h: Update the declaration of 'record_debug'.
4029 1.1 christos * stap-probe.c (stap_expression_debug): Add 'unsigned'.
4030 1.1 christos (_initialize_stap_probe): Call add_setshow_zuinteger_cmd instead of
4031 1.1 christos add_setshow_zinteger_cmd.
4032 1.1 christos * serial.c (global_serial_debug_p): Add 'unsigned'.
4033 1.1 christos (_initialize_serial): Call add_setshow_zuinteger_cmd instead of
4034 1.1 christos add_setshow_zinteger_cmd.
4035 1.1 christos * solib-dsbt.c (solib_dsbt_debug): Add 'unsigned'.
4036 1.1 christos (_initialize_dsbt_solib): Call add_setshow_zuinteger_cmd instead of
4037 1.1 christos add_setshow_zinteger_cmd.
4038 1.1 christos * solib-frv.c (solib_frv_debug): Add 'unsigned'.
4039 1.1 christos (_initialize_frv_solib): Call add_setshow_zuinteger_cmd instead of
4040 1.1 christos add_setshow_zinteger_cmd.
4041 1.1 christos * target.c (targetdebug): Add 'unsigned'.
4042 1.1 christos (initialize_targets): Call add_setshow_zuinteger_cmd instead of
4043 1.1 christos add_setshow_zinteger_cmd.
4044 1.1 christos * valops.c (overload_debug): Add 'unsigned'.
4045 1.1 christos * varobj.c (varobjdebug): Add 'unsigned'.
4046 1.1 christos (_initialize_varobj): Call add_setshow_zuinteger_cmd instead of
4047 1.1 christos add_setshow_zinteger_cmd.
4048 1.1 christos * xtensa-tdep.c (xtensa_debug_level): Add 'unsigned'.
4049 1.1 christos (_initialize_xtensa_tdep): Call add_setshow_zuinteger_cmd
4050 1.1 christos instead of add_setshow_zinteger_cmd.
4051 1.1 christos
4052 1.1 christos * arch-utils.h: Remove the declaration of 'gdbarch_debug'.
4053 1.1 christos * gdbarch.sh (gdbarch_debug): Add 'unsigned'.
4054 1.1 christos (extern void _initialize_gdbarch): Call add_setshow_zuinteger_cmd
4055 1.1 christos instead of add_setshow_zinteger_cmd.
4056 1.1 christos * gdbarch.c, gdbarch.h: Re-generated.
4057 1.1 christos
4058 1.1 christos 2012-08-02 Yao Qi <yao (a] codesourcery.com>
4059 1.1 christos
4060 1.1 christos * nto-tdep.c: Don't include cli/cli-decode.h and
4061 1.1 christos cli/cli-cmds.h.
4062 1.1 christos (_initialize_nto_tdep): Remove.
4063 1.1 christos * nto-tdep.h (struct nto_target_ops) <internal_debugging>:
4064 1.1 christos Remove field.
4065 1.1 christos Remove macro nto_internal_debugging.
4066 1.1 christos
4067 1.1 christos 2012-08-01 Richard Henderson <rth (a] redhat.com>
4068 1.1 christos
4069 1.1 christos * configure.tgt (m32c-*-*) [gdb_target_obs]: Remove prologue-value.o.
4070 1.1 christos (mep-*-*) [gdb_target_obs]: Likewise.
4071 1.1 christos
4072 1.1 christos 2012-07-31 Andreas Schwab <schwab (a] linux-m68k.org>
4073 1.1 christos
4074 1.1 christos * ppc-linux-tdep.c (ppc_linux_init_abi): Register
4075 1.1 christos linux_get_siginfo_type.
4076 1.1 christos
4077 1.1 christos 2012-07-31 Jan Kratochvil <jan.kratochvil (a] redhat.com>
4078 1.1 christos
4079 1.1 christos * infcall.c (call_function_by_hand): Move BP_ADDR comment to
4080 1.1 christos AT_ENTRY_POINT.
4081 1.1 christos (call_function_by_hand) <ON_STACK>: Call write_memory with
4082 1.1 christos gdbarch_breakpoint_from_pc, if possible.
4083 1.1 christos (call_function_by_hand) <AT_ENTRY_POINT>: The BP_ADDR comment is moved
4084 1.1 christos here.
4085 1.1 christos
4086 1.1 christos 2012-07-31 Yao Qi <yao (a] codesourcery.com>
4087 1.1 christos
4088 1.1 christos * tracepoint.c: Add 'static' for some variables.
4089 1.1 christos
4090 1.1 christos 2012-07-31 Yao Qi <yao (a] codesourcery.com>
4091 1.1 christos
4092 1.1 christos * go32-nat.c: Declare _initialize_go32_nat.
4093 1.1 christos * ser-go32.c: Declare _initialize_ser_dos.
4094 1.1 christos * top.c (do_chdir_cleanup): Add 'static'.
4095 1.1 christos
4096 1.1 christos 2012-07-30 Keith Seitz <keiths (a] redhat.com>
4097 1.1 christos
4098 1.1 christos * linespec.c (linespec_lex_number): A number followed
4099 1.1 christos by quotes is a valid number, too.
4100 1.1 christos
4101 1.1 christos 2012-07-30 Tom Tromey <tromey (a] redhat.com>
4102 1.1 christos
4103 1.1 christos * remote-sim.c (gdb_os_poll_quit): Don't check immediate_quit.
4104 1.1 christos
4105 1.1 christos 2012-07-30 Ulrich Weigand <ulrich.weigand (a] linaro.org>
4106 1.1 christos
4107 1.1 christos * arm-linux-nat.c (arm_linux_hw_breakpoint_initialize): Do not
4108 1.1 christos attempt to 4-byte-align HW breakpoint addresses for Thumb.
4109 1.1 christos
4110 1.1 christos 2012-07-30 Andrew Burgess <aburgess (a] broadcom.com>
4111 1.1 christos
4112 1.1 christos * varobj.c (varobj_invalidate_iter): All varobj must be marked as
4113 1.1 christos invalid or reevaluated to prevent prevent references to possibly
4114 1.1 christos delete'd type objects being left in the varobj.
4115 1.1 christos
4116 1.1 christos 2012-07-27 Tom Tromey <tromey (a] redhat.com>
4117 1.1 christos Jan Kratochvil <jan.kratochvil (a] redhat.com>
4118 1.1 christos
4119 1.1 christos * copying.awk: Print buffer-read-only and vi ro markers.
4120 1.1 christos * copying.c: Rebuild.
4121 1.1 christos * gdbarch.sh (copyright): Print buffer-read-only and vi ro markers.
4122 1.1 christos * gdbarch.c, gdbarch.h: Rebuild.
4123 1.1 christos * target-descriptions.c (maint_print_c_tdesc_cmd): Print
4124 1.1 christos buffer-read-only and vi ro markers.
4125 1.1 christos * features/arm-with-iwmmxt.c: Rebuild.
4126 1.1 christos * features/arm-with-m-fpa-layout.c: Rebuild.
4127 1.1 christos * features/arm-with-m-vfp-d16.c: Rebuild.
4128 1.1 christos * features/arm-with-m.c: Rebuild.
4129 1.1 christos * features/arm-with-neon.c: Rebuild.
4130 1.1 christos * features/arm-with-vfpv2.c: Rebuild.
4131 1.1 christos * features/arm-with-vfpv3.c: Rebuild.
4132 1.1 christos * features/i386/amd64-avx-linux.c: Rebuild.
4133 1.1 christos * features/i386/amd64-avx.c: Rebuild.
4134 1.1 christos * features/i386/amd64-linux.c: Rebuild.
4135 1.1 christos * features/i386/amd64.c: Rebuild.
4136 1.1 christos * features/i386/i386-avx-linux.c: Rebuild.
4137 1.1 christos * features/i386/i386-avx.c: Rebuild.
4138 1.1 christos * features/i386/i386-linux.c: Rebuild.
4139 1.1 christos * features/i386/i386-mmx-linux.c: Rebuild.
4140 1.1 christos * features/i386/i386-mmx.c: Rebuild.
4141 1.1 christos * features/i386/i386.c: Rebuild.
4142 1.1 christos * features/i386/x32-avx-linux.c: Rebuild.
4143 1.1 christos * features/i386/x32-avx.c: Rebuild.
4144 1.1 christos * features/i386/x32-linux.c: Rebuild.
4145 1.1 christos * features/i386/x32.c: Rebuild.
4146 1.1 christos * features/mips-dsp-linux.c: Rebuild.
4147 1.1 christos * features/mips-linux.c: Rebuild.
4148 1.1 christos * features/mips64-dsp-linux.c: Rebuild.
4149 1.1 christos * features/mips64-linux.c: Rebuild.
4150 1.1 christos * features/rs6000/powerpc-32.c: Rebuild.
4151 1.1 christos * features/rs6000/powerpc-32l.c: Rebuild.
4152 1.1 christos * features/rs6000/powerpc-403.c: Rebuild.
4153 1.1 christos * features/rs6000/powerpc-403gc.c: Rebuild.
4154 1.1 christos * features/rs6000/powerpc-405.c: Rebuild.
4155 1.1 christos * features/rs6000/powerpc-505.c: Rebuild.
4156 1.1 christos * features/rs6000/powerpc-601.c: Rebuild.
4157 1.1 christos * features/rs6000/powerpc-602.c: Rebuild.
4158 1.1 christos * features/rs6000/powerpc-603.c: Rebuild.
4159 1.1 christos * features/rs6000/powerpc-604.c: Rebuild.
4160 1.1 christos * features/rs6000/powerpc-64.c: Rebuild.
4161 1.1 christos * features/rs6000/powerpc-64l.c: Rebuild.
4162 1.1 christos * features/rs6000/powerpc-7400.c: Rebuild.
4163 1.1 christos * features/rs6000/powerpc-750.c: Rebuild.
4164 1.1 christos * features/rs6000/powerpc-860.c: Rebuild.
4165 1.1 christos * features/rs6000/powerpc-altivec32.c: Rebuild.
4166 1.1 christos * features/rs6000/powerpc-altivec32l.c: Rebuild.
4167 1.1 christos * features/rs6000/powerpc-altivec64.c: Rebuild.
4168 1.1 christos * features/rs6000/powerpc-altivec64l.c: Rebuild.
4169 1.1 christos * features/rs6000/powerpc-cell32l.c: Rebuild.
4170 1.1 christos * features/rs6000/powerpc-cell64l.c: Rebuild.
4171 1.1 christos * features/rs6000/powerpc-e500.c: Rebuild.
4172 1.1 christos * features/rs6000/powerpc-e500l.c: Rebuild.
4173 1.1 christos * features/rs6000/powerpc-isa205-32l.c: Rebuild.
4174 1.1 christos * features/rs6000/powerpc-isa205-64l.c: Rebuild.
4175 1.1 christos * features/rs6000/powerpc-isa205-altivec32l.c: Rebuild.
4176 1.1 christos * features/rs6000/powerpc-isa205-altivec64l.c: Rebuild.
4177 1.1 christos * features/rs6000/powerpc-isa205-vsx32l.c: Rebuild.
4178 1.1 christos * features/rs6000/powerpc-isa205-vsx64l.c: Rebuild.
4179 1.1 christos * features/rs6000/powerpc-vsx32.c: Rebuild.
4180 1.1 christos * features/rs6000/powerpc-vsx32l.c: Rebuild.
4181 1.1 christos * features/rs6000/powerpc-vsx64.c: Rebuild.
4182 1.1 christos * features/rs6000/powerpc-vsx64l.c: Rebuild.
4183 1.1 christos * features/rs6000/rs6000.c: Rebuild.
4184 1.1 christos * features/s390-linux32.c: Rebuild.
4185 1.1 christos * features/s390-linux32v1.c: Rebuild.
4186 1.1 christos * features/s390-linux32v2.c: Rebuild.
4187 1.1 christos * features/s390-linux64.c: Rebuild.
4188 1.1 christos * features/s390-linux64v1.c: Rebuild.
4189 1.1 christos * features/s390-linux64v2.c: Rebuild.
4190 1.1 christos * features/s390x-linux64.c: Rebuild.
4191 1.1 christos * features/s390x-linux64v1.c: Rebuild.
4192 1.1 christos * features/s390x-linux64v2.c: Rebuild.
4193 1.1 christos * features/tic6x-c62x-linux.c: Rebuild.
4194 1.1 christos * features/tic6x-c62x.c: Rebuild.
4195 1.1 christos * features/tic6x-c64x-linux.c: Rebuild.
4196 1.1 christos * features/tic6x-c64x.c: Rebuild.
4197 1.1 christos * features/tic6x-c64xp-linux.c: Rebuild.
4198 1.1 christos * features/tic6x-c64xp.c: Rebuild.
4199 1.1 christos
4200 1.1 christos 2012-07-27 Tom Tromey <tromey (a] redhat.com>
4201 1.1 christos
4202 1.1 christos * c-exp.y (classify_name): Avoid assignment in condition.
4203 1.1 christos
4204 1.1 christos 2012-07-27 Roland Schwingel <roland.schwingel (a] onevision.com>
4205 1.1 christos
4206 1.1 christos * amd64-windows-tdep.c: Include "frame.h".
4207 1.1 christos (amd64_windows_skip_trampoline_code): New function.
4208 1.1 christos (amd64_windows_init_abi): Add trampoline registration.
4209 1.1 christos
4210 1.1 christos 2012-07-27 Yao Qi <yao (a] codesourcery.com>
4211 1.1 christos
4212 1.1 christos * tracepoint.c (cur_traceframe_number): Remove.
4213 1.1 christos (set_tfile_traceframe): Remove.
4214 1.1 christos (tfile_trace_find, tfile_fetch_registers): Update callers.
4215 1.1 christos (tfile_xfer_partial, tfile_get_trace_state_variable_value): Likewise.
4216 1.1 christos (tfile_open, tfile_trace_find): Likewise.
4217 1.1 christos
4218 1.1 christos 2012-07-27 Yao Qi <yao (a] codesourcery.com>
4219 1.1 christos
4220 1.1 christos * thread.c (switch_to_thread): Don't call registers_changed.
4221 1.1 christos
4222 1.1 christos 2012-07-26 Tom Tromey <tromey (a] redhat.com>
4223 1.1 christos
4224 1.1 christos * Makefile.in (SFILES): Remove objc-exp.y.
4225 1.1 christos (YYFILES): Remove objc-exp.c.
4226 1.1 christos (YYOBJ): Remove objc-exp.o.
4227 1.1 christos (local-maintainer-clean): Don't mention objc-exp.c.
4228 1.1 christos * c-exp.y: Include objc-lang.h.
4229 1.1 christos (%union) <class>: New field.
4230 1.1 christos (NSSTRING, SELECTOR, CLASSNAME, OBJC_LBRAC): New tokens.
4231 1.1 christos (exp): Clone subscript production for OBJC_LBRAC. Add various
4232 1.1 christos Objective C productions.
4233 1.1 christos (msglist, msgarglist, msgarg): New productions.
4234 1.1 christos (array_mod, func_mod, operator): Clone productions for
4235 1.1 christos OBJC_LBRAC.
4236 1.1 christos (parse_string_or_char): Handle '@' strings.
4237 1.1 christos (lex_one_token): Return OBJC_LBRAC. Recognize @selector.
4238 1.1 christos (classify_name): Check la_name_of_this. Recognize ObjC class
4239 1.1 christos names.
4240 1.1 christos * objc-exp.y: Remove.
4241 1.1 christos * objc-lang.c (objc_language_defn): Use c_parse, c_error.
4242 1.1 christos * objc-lang.h (objc_parse, objc_error): Don't declare.
4243 1.1 christos
4244 1.1 christos 2012-07-26 Markus Metzger <markus.t.metzger (a] intel.com>
4245 1.1 christos
4246 1.1 christos * python/py-inferior.c (infpy_threads): Call update_thread_list ().
4247 1.1 christos
4248 1.1 christos 2012-07-26 Jan Kratochvil <jan.kratochvil (a] redhat.com>
4249 1.1 christos
4250 1.1 christos * auto-load.c (auto_load_info_scripts): Remove immediate_quit increment
4251 1.1 christos and decrement.
4252 1.1 christos
4253 1.1 christos 2012-07-26 Tom Tromey <tromey (a] redhat.com>
4254 1.1 christos
4255 1.1 christos * copying.c: Rebuild.
4256 1.1 christos * copying.awk: Don't use immediate_quit. Use 'no_set_class', not
4257 1.1 christos 'no_class'.
4258 1.1 christos
4259 1.1 christos 2012-07-26 Tom Tromey <tromey (a] redhat.com>
4260 1.1 christos
4261 1.1 christos * symmisc.c (print_symbol_bcache_statistics): Use QUIT, not
4262 1.1 christos immediate_quit.
4263 1.1 christos (print_objfile_statistics): Likewise.
4264 1.1 christos (maintenance_print_symbols): Likewise.
4265 1.1 christos (maintenance_print_msymbols): Likewise.
4266 1.1 christos (maintenance_print_objfiles): Likewise.
4267 1.1 christos * psymtab.c (print_partial_symbols): Call QUIT.
4268 1.1 christos (maintenance_print_psymbols): Likewise. Don't modify
4269 1.1 christos immediate_quit.
4270 1.1 christos * copying.c (show_copying_command): Don't modify immediate_quit.
4271 1.1 christos (show_warranty_command): Likewise.
4272 1.1 christos * cli/cli-cmds.c (show_version): Don't modify immediate_quit.
4273 1.1 christos
4274 1.1 christos 2012-07-26 Keith Seitz <keiths (a] redhat.com>
4275 1.1 christos
4276 1.1 christos * linespec.c (linespec_lexer_lex_number): The input
4277 1.1 christos is also a valid number if the next character is a comma
4278 1.1 christos or colon.
4279 1.1 christos
4280 1.1 christos 2012-07-26 Joel Brobecker <brobecker (a] adacore.com>
4281 1.1 christos
4282 1.1 christos * NEWS: Document new --enable-libmcheck/--disable-libmcheck
4283 1.1 christos configure options.
4284 1.1 christos
4285 1.1 christos 2012-07-26 Tristan Gingold <gingold (a] adacore.com>
4286 1.1 christos
4287 1.1 christos * machoread.c: Include gdb_bfd.h.
4288 1.1 christos
4289 1.1 christos 2012-07-26 Tristan Gingold <gingold (a] adacore.com>
4290 1.1 christos
4291 1.1 christos * dwarf2loc.c (locexpr_describe_location_piece): Use uint64_t for
4292 1.1 christos offset.
4293 1.1 christos
4294 1.1 christos 2012-07-26 Siddhesh Poyarekar <siddhesh (a] redhat.com>
4295 1.1 christos
4296 1.1 christos * dwarf2loc.c (dwarf2_evaluate_loc_desc_full): Expand parameter
4297 1.1 christos SIZE to size_t.
4298 1.1 christos (dwarf2_evaluate_loc_desc): Likewise.
4299 1.1 christos (dwarf2_loc_desc_needs_frame): Likewise.
4300 1.1 christos (locexpr_describe_location_1): Likewise.
4301 1.1 christos * dwarf2loc.h (struct dwarf2_locexpr_baton): Make SIZE as
4302 1.1 christos size_t.
4303 1.1 christos (struct dwarf2_loclist_baton): Likewise.
4304 1.1 christos * dwarf2read.c (struct dwarf_block): Likewise.
4305 1.1 christos (dump_die_shallow): Use pulongest to print dwarf_block.size.
4306 1.1 christos (decode_locdesc): Expand SIZE and I to size_t.
4307 1.1 christos
4308 1.1 christos 2012-07-25 Jan Kratochvil <jan.kratochvil (a] redhat.com>
4309 1.1 christos
4310 1.1 christos * contrib/cc-with-tweaks.sh: Put into comment path gdb/contrib/.
4311 1.1 christos
4312 1.1 christos 2012-07-25 Joel Brobecker <brobecker (a] adacore.com>
4313 1.1 christos
4314 1.1 christos * doublest.c (convert_doublest_to_floatformat): If the exponent
4315 1.1 christos is too small, treat the value as zero. If the exponent is too
4316 1.1 christos large, treat the value as infinity.
4317 1.1 christos
4318 1.1 christos 2012-07-25 Joel Brobecker <brobecker (a] adacore.com>
4319 1.1 christos
4320 1.1 christos * configure.ac: Add --enable-lmcheck configure option.
4321 1.1 christos * configure: Regenerate.
4322 1.1 christos
4323 1.1 christos 2012-07-25 Tom Tromey <tromey (a] redhat.com>
4324 1.1 christos
4325 1.1 christos * NEWS: Mention maint info bfds.
4326 1.1 christos * gdb_bfd.c (all_bfds): New global.
4327 1.1 christos (gdb_bfd_ref, gdb_bfd_unref): Update all_bfds.
4328 1.1 christos (print_one_bfd, maintenance_info_bfds, _initialize_gdb_bfd):
4329 1.1 christos New functions.
4330 1.1 christos
4331 1.1 christos 2012-07-25 Ralf Corspius <ralf.corsepius (a] rtems.org>
4332 1.1 christos
4333 1.1 christos * configure.tgt: Add v850*-*-rtems*.
4334 1.1 christos
4335 1.1 christos 2012-07-25 Tom Tromey <tromey (a] redhat.com>
4336 1.1 christos
4337 1.1 christos * macrotab.c (macro_bcache_str): Remove cast.
4338 1.1 christos
4339 1.1 christos 2012-07-25 Hui Zhu <hui_zhu (a] mentor.com>
4340 1.1 christos
4341 1.1 christos * linespec.c (linespec_lexer_lex_number): Update comments,
4342 1.1 christos change the return and add check to make sure the input is
4343 1.1 christos the decimal numbers.
4344 1.1 christos (linespec_lexer_lex_one): If linespec_lexer_lex_number return
4345 1.1 christos false, call linespec_lexer_lex_string.
4346 1.1 christos
4347 1.1 christos 2012-07-24 Tom Tromey <tromey (a] redhat.com>
4348 1.1 christos
4349 1.1 christos * symfile.c (symbol_file_add): Don't open BFD twice.
4350 1.1 christos
4351 1.1 christos 2012-07-24 Marc Khouzam <marc.khouzam (a] ericsson.com>
4352 1.1 christos
4353 1.1 christos * breakpoint.c (create_breakpoint): Store condition for pending
4354 1.1 christos breakpoints.
4355 1.1 christos
4356 1.1 christos 2012-07-24 Andreas Schwab <schwab (a] linux-m68k.org>
4357 1.1 christos
4358 1.1 christos * m68k-tdep.c (m68k_reg_struct_return_p): Accept complex types.
4359 1.1 christos (m68k_return_value): Handle complex types like structures.
4360 1.1 christos (m68k_svr4_return_value): Likewise.
4361 1.1 christos
4362 1.1 christos 2012-07-24 Marcus Shawcroft <marcus.shawcroft (a] arm.com>
4363 1.1 christos
4364 1.1 christos * gdb_bfd.c (zlib_decompress_section) <!HAVE_ZLIB_H>: Adjust
4365 1.1 christos parameters to bfd_get_section_name.
4366 1.1 christos
4367 1.1 christos 2012-07-24 Yao Qi <yao (a] codesourcery.com>
4368 1.1 christos
4369 1.1 christos * cli/cli-setshow.c: Handle case 'var_uinteger'
4370 1.1 christos and 'var_zuninteger' together. Handle case 'var_integer' and
4371 1.1 christos 'var_zinteger' together.
4372 1.1 christos
4373 1.1 christos 2012-07-23 Keith Seitz <keiths (a] redhat.com>
4374 1.1 christos
4375 1.1 christos * linespec.c (convert_linespec_to_sal): Don't add
4376 1.1 christos any symbols to the result vector if symbol_to_sal
4377 1.1 christos returns zero.
4378 1.1 christos
4379 1.1 christos 2012-07-23 Keith Seitz <keiths (a] redhat.com>
4380 1.1 christos
4381 1.1 christos * linespec.c (decode_objc): Record the function name
4382 1.1 christos in the linespec.
4383 1.1 christos
4384 1.1 christos 2012-07-23 Tom Tromey <tromey (a] redhat.com>
4385 1.1 christos
4386 1.1 christos * rs6000-nat.c (add_vmap): Rewrite archive loop. Fix reference
4387 1.1 christos counting.
4388 1.1 christos * exec.c (exec_close_1): Unconditionally release vmap's BFD.
4389 1.1 christos (map_vmap): Acquire a reference to the BFD.
4390 1.1 christos
4391 1.1 christos 2012-07-23 Siddhesh Poyarekar <siddhesh (a] redhat.com>
4392 1.1 christos
4393 1.1 christos * p-valprint.c (pascal_object_print_value): Replace potentially
4394 1.1 christos unsafe alloca with xmalloc/xfree.
4395 1.1 christos * valops.c (search_struct_method): Likewise.
4396 1.1 christos
4397 1.1 christos 2012-07-23 Tom Tromey <tromey (a] redhat.com>
4398 1.1 christos
4399 1.1 christos * solib-svr4.c (enable_break): Update.
4400 1.1 christos * bfd-target.h (target_bfd_reopen): Update documentation.
4401 1.1 christos
4402 1.1 christos 2012-07-23 Tom Tromey <tromey (a] redhat.com>
4403 1.1 christos
4404 1.1 christos * symfile.c (separate_debug_file_exists): Update.
4405 1.1 christos (gdb_bfd_open_maybe_remote): Rename from bfd_open_maybe_remote.
4406 1.1 christos (reread_symbols): Update.
4407 1.1 christos * elfread.c (build_id_verify): Update.
4408 1.1 christos * symfile.h (gdb_bfd_open_maybe_remote): Rename from
4409 1.1 christos bfd_open_maybe_remote.
4410 1.1 christos
4411 1.1 christos 2012-07-23 Tom Tromey <tromey (a] redhat.com>
4412 1.1 christos
4413 1.1 christos * gdb_bfd.c (gdb_bfd_ref, gdb_bfd_unref): Fix comment.
4414 1.1 christos
4415 1.1 christos 2012-07-23 Tom Tromey <tromey (a] redhat.com>
4416 1.1 christos
4417 1.1 christos * coffread.c (coff_symfile_read): Make a cleanup for 'debugfile'
4418 1.1 christos and 'abfd'.
4419 1.1 christos * elfread.c (elf_symfile_read): Make a cleanup for 'debugfile'
4420 1.1 christos and 'abfd'.
4421 1.1 christos * jit.c (jit_bfd_try_read_symtab): Make a cleanup for 'nbfd'.
4422 1.1 christos * machoread.c (macho_add_oso_symfile): Make a cleanup for
4423 1.1 christos 'abfd'.
4424 1.1 christos (macho_symfile_read): Make a cleanup for 'dsym_bfd'.
4425 1.1 christos * objfiles.c (allocate_objfile): Acquire a new reference.
4426 1.1 christos * rs6000-nat.c (add_vmap): Don't acquire a BFD reference.
4427 1.1 christos * solib.c (solib_read_symbols): Don't acquire a BFD reference.
4428 1.1 christos * spu-linux-nat.c (spu_symbol_file_add_from_memory): Make
4429 1.1 christos a cleanup for 'nbfd'.
4430 1.1 christos * symfile-mem.c (symbol_file_add_from_memory): Make a cleanup
4431 1.1 christos for 'nbfd'.
4432 1.1 christos * symfile.c (symbol_file_add_with_addrs_or_offsets): Don't
4433 1.1 christos make a cleanup for 'abfd'.
4434 1.1 christos (symbol_file_add): Make a BFD cleanup.
4435 1.1 christos
4436 1.1 christos 2012-07-23 Tom Tromey <tromey (a] redhat.com>
4437 1.1 christos
4438 1.1 christos * cli/cli-dump.c (bfd_openr_with_cleanup): Use gdb_bfd_openr.
4439 1.1 christos (bfd_openw_with_cleanup): Use gdb_bfd_openw.
4440 1.1 christos * corelow.c (core_open): Use gdb_bfd_fopen.
4441 1.1 christos * dsrec.c (load_srec): Use gdb_bfd_openr.
4442 1.1 christos * exec.c (exec_file_attach): Use gdb_bfd_fopen.
4443 1.1 christos * gcore.c (gcore_memory_sections): Use gdb_bfd_openw.
4444 1.1 christos * gdb_bfd.c (gdb_bfd_fopen, gdb_bfd_openr, gdb_bfd_openw)
4445 1.1 christos (gdb_bfd_openr_iovec, gdb_bfd_openr_next_archived_file)
4446 1.1 christos (gdb_bfd_fdopenr): New functions.
4447 1.1 christos * gdb_bfd.h (gdb_bfd_fopen, gdb_bfd_openr, gdb_bfd_openw)
4448 1.1 christos (gdb_bfd_openr_iovec, gdb_bfd_openr_next_archived_file)
4449 1.1 christos (gdb_bfd_fdopenr): Declare.
4450 1.1 christos * jit.c (bfd_open_from_target_memory): Use gdb_bfd_openr_iovec.
4451 1.1 christos * m32-rom.c (m32r_load, m32r_upload_command): Use gdb_bfd_openr.
4452 1.1 christos * machoread.c (macho_symfile_read_all_oso): Use gdb_bfd_openr,
4453 1.1 christos gdb_bfd_openr_next_archived_file.
4454 1.1 christos (macho_check_dsym): Use gdb_bfd_openr.
4455 1.1 christos (macho_add_oso_symfile): Don't call gdb_bfd_stash_filename.
4456 1.1 christos * procfs.c (insert_dbx_link_bpt_in_file): Use gdb_bfd_fdopenr.
4457 1.1 christos * remote-m32r-sdi.c (m32r_load): Use gdb_bfd_openr.
4458 1.1 christos * remote-mips.c (mips_load_srec, pmon_load_fast): Use
4459 1.1 christos gdb_bfd_openr.
4460 1.1 christos * remote.c (remote_bfd_open): Use gdb_bfd_openr_iovec.
4461 1.1 christos * rs6000-nat.c (add_vmap): Use gdb_bfd_openr, gdb_bfd_fdopenr,
4462 1.1 christos gdb_bfd_openr_next_archived_file.
4463 1.1 christos * solib-darwin.c (darwin_solib_get_all_image_info_addr_at_init):
4464 1.1 christos Use gdb_bfd_openr.
4465 1.1 christos * solib-pa64.c (pa64_solib_create_inferior_hook): Use
4466 1.1 christos gdb_bfd_openr.
4467 1.1 christos * solib-spu.c (spu_bfd_fopen): Use gdb_bfd_openr_iovec.
4468 1.1 christos * solib.c (solib_bfd_fopen): Use gdb_bfd_fopen.
4469 1.1 christos * spu-linux-nat.c (spu_bfd_open): Use gdb_bfd_openr_iovec.
4470 1.1 christos * symfile.c (bfd_open_maybe_remote): Use gdb_bfd_openr.
4471 1.1 christos (symfile_bfd_open): Use gdb_bfd_fopen.
4472 1.1 christos (generic_load): Use gdb_bfd_openr.
4473 1.1 christos * windows-nat.c (windows_make_so): Use gdb_bfd_openr.
4474 1.1 christos
4475 1.1 christos 2012-07-23 Tom Tromey <tromey (a] redhat.com>
4476 1.1 christos
4477 1.1 christos * bfd-target.c (target_bfd_reopen): Update.
4478 1.1 christos * cli/cli-dump.c (bfd_openr_with_cleanup)
4479 1.1 christos (bfd_openw_with_cleanup): Update.
4480 1.1 christos * corelow.c (core_open): Update.
4481 1.1 christos * dsrec.c (load_srec): Update.
4482 1.1 christos * exec.c (exec_file_attach): Update.
4483 1.1 christos * gcore.c (create_gcore_bfd): Update.
4484 1.1 christos * gdb_bfd.c (gdb_bfd_ref): Return void.
4485 1.1 christos (gdb_bfd_open): Update.
4486 1.1 christos * gdb_bfd.h (gdb_bfd_ref): Return void.
4487 1.1 christos Update comments.
4488 1.1 christos * jit.c (jit_bfd_try_read_symtab): Update.
4489 1.1 christos * m32r-rom.c (m32r_load, m32r_upload_command): Update.
4490 1.1 christos * machoread.c (macho_symfile_read_all_oso): Update.
4491 1.1 christos (macho_check_dsym): Update.
4492 1.1 christos * procfs.c (insert_dbx_link_bpt_in_file): Update.
4493 1.1 christos * remote-m32r-sdi.c (m32r_load): Update.
4494 1.1 christos * remote-mips.c (mips_load_srec, pmon_load_fast): Update.
4495 1.1 christos * rs6000-nat.c (add_vmap): Update.
4496 1.1 christos * solib-darwin.c (darwin_solib_get_all_image_info_addr_at_init):
4497 1.1 christos Update.
4498 1.1 christos * solib-pa64.c (pa64_solib_create_inferior_hook): Update.
4499 1.1 christos * solib-spu.c (spu_bfd_open): Update.
4500 1.1 christos * solib.c (solib_bfd_fopen, solib_read_symbols): Update.
4501 1.1 christos * spu-linux-nat.c (spu_bfd_open): Update.
4502 1.1 christos * symfile.c (bfd_open_maybe_remote, symfile_bfd_open)
4503 1.1 christos (generic_load): Update.
4504 1.1 christos * windows-nat.c (windows_make_so): Update.
4505 1.1 christos
4506 1.1 christos 2012-07-22 Siddhesh Poyarekar <siddhesh (a] redhat.com>
4507 1.1 christos
4508 1.1 christos * sh-tdep.c (sh_treat_as_flt_p): Remove unused variable LEN.
4509 1.1 christos
4510 1.1 christos 2012-07-20 Jeff Kenton <jkenton (a] tilera.com>
4511 1.1 christos
4512 1.1 christos * tilegx-linux-tdep.c (tilegx_linux_sigframe_init): Fix
4513 1.1 christos SIGTRAMP_FRAME unwinding.
4514 1.1 christos
4515 1.1 christos 2012-07-20 Doug Evans <dje (a] google.com>
4516 1.1 christos
4517 1.1 christos * NEWS: Document new options "set/show use-deprecated-index-sections",
4518 1.1 christos and delete reference to --use-deprecated-index-sections.
4519 1.1 christos * symfile.h (use_deprecated_index_sections): Delete.
4520 1.1 christos * dwarf2read.c (use_deprecated_index_sections): Make static.
4521 1.1 christos (read_index_from_section): Update wording of how to load
4522 1.1 christos deprecated index sections.
4523 1.1 christos (_initialize_dwarf2_read): New options
4524 1.1 christos "set/show use-deprecated-index-sections".
4525 1.1 christos * main.c (captured_main): Delete --use-deprecated-index-sections.
4526 1.1 christos
4527 1.1 christos 2012-07-20 Pedro Alves <palves (a] redhat.com>
4528 1.1 christos
4529 1.1 christos PR threads/11692
4530 1.1 christos PR gdb/12203
4531 1.1 christos
4532 1.1 christos * infrun.c (handle_inferior_event) <new thread>: Don't special
4533 1.1 christos case minus_one_ptid.
4534 1.1 christos <TARGET_WAITKIND_SPURIOUS>: Ditto.
4535 1.1 christos * linux-thread-db.c (thread_get_info_callback): Don't return early
4536 1.1 christos if the thread is zombie.
4537 1.1 christos (thread_from_lwp): Change return type to void. Rewrite stale
4538 1.1 christos comment.
4539 1.1 christos (attach_thread): Don't return early if the thread is zombie,
4540 1.1 christos instead set its "dying" flag.
4541 1.1 christos (thread_db_wait): Don't return TARGET_WAITKIND_SPURIOUS anymore.
4542 1.1 christos (find_new_threads_callback): Don't return early if the thread is
4543 1.1 christos zombie.
4544 1.1 christos
4545 1.1 christos 2012-07-20 Pedro Alves <palves (a] redhat.com>
4546 1.1 christos
4547 1.1 christos * linux-nat.c (linux_nat_wait): Dump the passed in target options.
4548 1.1 christos * target.c (target_wait): Likewise.
4549 1.1 christos (str_comma_list_concat_elem, do_option, target_options_to_string):
4550 1.1 christos New functions.
4551 1.1 christos * target.h (target_options_to_string): Declare.
4552 1.1 christos
4553 1.1 christos 2012-07-20 Jan Kratochvil <jan.kratochvil (a] redhat.com>
4554 1.1 christos Tom Tromey <tromey (a] redhat.com>
4555 1.1 christos
4556 1.1 christos * dwarf2read.c (dwarf_decode_macros)
4557 1.1 christos <DW_MACRO_GNU_define_indirect_alt, DW_MACRO_GNU_undef_indirect_alt,
4558 1.1 christos DW_MACRO_GNU_transparent_include_alt>: New cases.
4559 1.1 christos (dwarf_decode_macro_bytes) <DW_MACRO_GNU_define_indirect,
4560 1.1 christos DW_MACRO_GNU_undef_indirect>: Examine 'section_is_dwz'.
4561 1.1 christos
4562 1.1 christos 2012-07-20 Tom Tromey <tromey (a] redhat.com>
4563 1.1 christos
4564 1.1 christos * dwarf2read.c (try_open_dwo_file): Don't call
4565 1.1 christos gdb_bfd_stash_filename.
4566 1.1 christos
4567 1.1 christos 2012-07-20 Pedro Alves <palves (a] redhat.com>
4568 1.1 christos
4569 1.1 christos * i386-tdep.c (i386_record_modrm, i386_record_lea_modrm_addr)
4570 1.1 christos (i386_record_lea_modrm, i386_record_push, i386_record_floats)
4571 1.1 christos (i386_process_record): Tweak description comments.
4572 1.1 christos
4573 1.1 christos 2012-07-20 Pedro Alves <palves (a] redhat.com>
4574 1.1 christos
4575 1.1 christos * i386-tdep.c (i386_record_modrm, i386_record_lea_modrm_addr)
4576 1.1 christos (i386_process_record): Use record_read_memory.
4577 1.1 christos * record.c (record_read_memory): New function.
4578 1.1 christos (record_arch_list_add_mem, record_exec_insn): Use
4579 1.1 christos record_read_memory.
4580 1.1 christos * record.h (record_read_memory): Declare.
4581 1.1 christos
4582 1.1 christos 2012-07-20 Yao Qi <yao (a] codesourcery.com>
4583 1.1 christos
4584 1.1 christos * cli/cli-setshow.c (do_setshow_command): Don't check pointer is
4585 1.1 christos NULL for xfree.
4586 1.1 christos
4587 1.1 christos 2012-07-19 Pedro Alves <palves (a] redhat.com>
4588 1.1 christos
4589 1.1 christos * record.c (record_resume): Ask the target beneath to report all
4590 1.1 christos signals.
4591 1.1 christos
4592 1.1 christos 2012-07-19 Doug Evans <dje (a] google.com>
4593 1.1 christos
4594 1.1 christos * dwarf2read.c (dwarf2_ranges_read): Ignore ranges starting at zero if
4595 1.1 christos there's no section at address zero.
4596 1.1 christos (dwarf2_record_block_ranges): Ditto.
4597 1.1 christos
4598 1.1 christos 2012-07-19 Yao Qi <yao (a] codesourcery.com>
4599 1.1 christos
4600 1.1 christos * command.h, remote.c: Fix a typo in comment.
4601 1.1 christos
4602 1.1 christos 2012-07-19 Tom Tromey <tromey (a] redhat.com>
4603 1.1 christos
4604 1.1 christos PR exp/13206:
4605 1.1 christos * ax-gdb.c (gen_expr) <OP_TYPEOF, OP_DECLTYPE>: New cases.
4606 1.1 christos * breakpoint.c (watchpoint_exp_is_const) <OP_TYPEOF,
4607 1.1 christos OP_DECLTYPE>: New cases.
4608 1.1 christos * c-exp.y (TYPEOF, DECLTYPE): New tokens.
4609 1.1 christos (type_exp): Add new productions.
4610 1.1 christos (ident_tokens): Add __typeof__, typeof, __typeof, __decltype,
4611 1.1 christos and decltype.
4612 1.1 christos * eval.c (evaluate_subexp_standard) <OP_TYPEOF, OP_DECLTYPE>:
4613 1.1 christos New case.
4614 1.1 christos * expprint.c (dump_subexp_body_standard) <OP_TYPEOF,
4615 1.1 christos OP_DECLTYPE>: New case.
4616 1.1 christos * parse.c (operator_length_standard) <OP_TYPEOF, OP_DECLTYPE>:
4617 1.1 christos New case.
4618 1.1 christos * std-operator.def (OP_TYPEOF, OP_DECLTYPE): New constants.
4619 1.1 christos * varobj.c (varobj_create): Handle OP_TYPEOF, OP_DECLTYPE.
4620 1.1 christos
4621 1.1 christos 2012-07-19 Tom Tromey <tromey (a] redhat.com>
4622 1.1 christos
4623 1.1 christos * c-exp.y (enum token_flags): New.
4624 1.1 christos (struct token) <cxx_only>: Remove.
4625 1.1 christos <flags>: New field.
4626 1.1 christos (tokentab3, tokentab2, ident_tokens): Update.
4627 1.1 christos (lex_one_token): Update. Handle FLAG_SHADOW.
4628 1.1 christos
4629 1.1 christos 2012-07-19 Tom Tromey <tromey (a] redhat.com>
4630 1.1 christos
4631 1.1 christos * ax-gdb.c (gen_expr): Handle UNOP_CAST_TYPE, UNOP_MEMVAL_TYPE.
4632 1.1 christos * breakpoint.c (watchpoint_exp_is_const): Handle UNOP_CAST_TYPE,
4633 1.1 christos UNOP_REINTERPRET_CAST, UNOP_DYNAMIC_CAST.
4634 1.1 christos * c-exp.y (exp): Emit UNOP_MEMVAL_TYPE, UNOP_CAST_TYPE. Update
4635 1.1 christos for changes to UNOP_REINTERPRET_CAST, UNOP_DYNAMIC_CAST. Use
4636 1.1 christos type_exp production where appropriate.
4637 1.1 christos * eval.c (evaluate_subexp_standard) <UNOP_CAST_TYPE>: New case.
4638 1.1 christos <UNOP_DYNAMIC_CAST, UNOP_REINTERPRET_CAST>: Update.
4639 1.1 christos <UNOP_MEMVAL_TYPE>: New case.
4640 1.1 christos (evaluate_subexp_for_address) <UNOP_MEMVAL_TYPE>: New case.
4641 1.1 christos (evaluate_subexp_for_sizeof) <UNOP_MEMVAL_TYPE>: New case.
4642 1.1 christos * expprint.c (print_subexp_standard) <UNOP_CAST_TYPE>: New case.
4643 1.1 christos <UNOP_MEMVAL_TYPE>: New case.
4644 1.1 christos (dump_subexp_body_standard) <UNOP_DYNAMIC_CAST,
4645 1.1 christos UNOP_REINTERPRET_CAST>: Update.
4646 1.1 christos <UNOP_CAST_TYPE, UNOP_MEMVAL_TYPE>: New cases.
4647 1.1 christos * parse.c (operator_length_standard) <UNOP_DYNAMIC_CAST,
4648 1.1 christos UNOP_REINTERPRET_CAST>: Update.
4649 1.1 christos <UNOP_CAST_TYPE, UNOP_MEMVAL_TYPE>: New cases.
4650 1.1 christos * stack.c (return_command): Also check for UNOP_CAST_TYPE.
4651 1.1 christos * std-operator.def (UNOP_CAST_TYPE, UNOP_MEMVAL_TYPE): New
4652 1.1 christos constants.
4653 1.1 christos
4654 1.1 christos 2012-07-19 Yao Qi <yao (a] codesourcery.com>
4655 1.1 christos Jan Kratochvil <jan.kratochvil (a] redhat.com>
4656 1.1 christos
4657 1.1 christos * cli/cli-setshow.c (do_setshow_command): Handle case 'var_filename'
4658 1.1 christos and case 'var_optional_filename' together.
4659 1.1 christos * infcmd.c (_initialize_infcmd): Call add_setshow_string_noescape_cmd
4660 1.1 christos instead of add_setshow_optional_filename_cmd for setshow command
4661 1.1 christos 'args'. Set completer for 'set args'.
4662 1.1 christos
4663 1.1 christos 2012-07-18 Doug Evans <dje (a] google.com>
4664 1.1 christos
4665 1.1 christos * common/gdb_vecs.h: Moved here from ./gdb_vecs.h.
4666 1.1 christos * common/gdb_vecs.c: New file, contents from utils.c.
4667 1.1 christos * common/host-defs.h: New file, contents from defs.h.
4668 1.1 christos * utils.h: New file, contents from defs.h.
4669 1.1 christos * defs.h: Move all declarations of objects defined in utils.c
4670 1.1 christos to utils.h (except QUIT() and related).
4671 1.1 christos #include "utils.h", "host-defs.h".
4672 1.1 christos * probe.h (probe_p): Move here from gdb_vecs.h.
4673 1.1 christos * symfile.c: #include "probe.h" instead of "gdb_vecs.h".
4674 1.1 christos * utils.c (free_char_ptr_vec): Moved to common/gdb_vecs.c.
4675 1.1 christos (dirnames_to_char_ptr_vec_append, dirnames_to_char_ptr_vec): Ditto.
4676 1.1 christos * Makefile.in (SFILES): Add common/gdb_vecs.c.
4677 1.1 christos (HFILES_NO_SRCDIR): Add common/gdb_vecs.h, common/host-defs.h, utils.h.
4678 1.1 christos (COMMON_OBS): Add gdb_vecs.o.
4679 1.1 christos (gdb_vecs.o): New rule.
4680 1.1 christos
4681 1.1 christos 2012-07-18 Keith Seitz <keiths (a] redhat.com>
4682 1.1 christos
4683 1.1 christos * linespec.c (add_sal_to_sals): Add LITERAL_CANONICAL
4684 1.1 christos parameter. If non-zero, use SYMNAME as the canonical name
4685 1.1 christos for the SaL.
4686 1.1 christos Update all callers.
4687 1.1 christos (convert_linespec_to_sals): Use add_sal_to_sals for
4688 1.1 christos expressions, too.
4689 1.1 christos (decode_line_full): No need to "fill in missing canonical names"
4690 1.1 christos anymore. Simply make cleanups for the allocated names.
4691 1.1 christos
4692 1.1 christos 2012-07-18 Keith Seitz <keiths (a] redhat.com>
4693 1.1 christos
4694 1.1 christos * linespec.c (struct linespec): Constify expression,
4695 1.1 christos source_filename, function_name, and label_name.
4696 1.1 christos (symbol_not_found_error): Make all parameters const.
4697 1.1 christos (linespec_parser_delete): No need to check for NULL
4698 1.1 christos when using xfree. Cast const char * to char * for xfree.
4699 1.1 christos
4700 1.1 christos 2012-07-18 Keith Seitz <keiths (a] redhat.com>
4701 1.1 christos
4702 1.1 christos * breakpoint.c (invalid_thread_id_error): New function.
4703 1.1 christos (find_condition_and_thread): Use invalid_thread_id_error.
4704 1.1 christos (watch_command_1): Likewise.
4705 1.1 christos
4706 1.1 christos 2012-07-18 Tom Tromey <tromey (a] redhat.com>
4707 1.1 christos
4708 1.1 christos * cc-with-index.sh, cc-with-dwz.sh: Remove.
4709 1.1 christos * contrib/cc-with-tweaks.sh: New file.
4710 1.1 christos
4711 1.1 christos 2012-07-18 Tom Tromey <tromey (a] redhat.com>
4712 1.1 christos
4713 1.1 christos * dwarf2read.c (struct dwz_file) <gdb_index>: New field.
4714 1.1 christos (locate_dwz_sections): Recognize .gdb_index.
4715 1.1 christos (create_cus_from_index_list): New function.
4716 1.1 christos (create_cus_from_index): Use it. Handle .dwz data.
4717 1.1 christos (read_index_from_section): New function, extracted from
4718 1.1 christos dwarf2_read_index.
4719 1.1 christos (dwarf2_read_index): Use it. Read .gdb_index from dwz file,
4720 1.1 christos if needed.
4721 1.1 christos
4722 1.1 christos 2012-07-18 Tom Tromey <tromey (a] redhat.com>
4723 1.1 christos
4724 1.1 christos * dwarf2read.c (struct dwarf2_per_objfile) <dwz_file>: New field.
4725 1.1 christos (struct dwarf2_per_cu_data) <length>: No longer bitfield.
4726 1.1 christos <is_dwz>: New field.
4727 1.1 christos (struct dwz_file): New.
4728 1.1 christos (struct partial_die_info) <is_dwz, spec_is_dwz>: New fields.
4729 1.1 christos (locate_dwz_sections, dwarf2_get_dwz_file)
4730 1.1 christos (get_abbrev_section_for_cu): New functions.
4731 1.1 christos (error_check_comp_unit_head, read_and_check_comp_unit_head)
4732 1.1 christos (read_and_check_type_unit_head): Add abbrev_section argument.
4733 1.1 christos (create_debug_types_hash_table): Update.
4734 1.1 christos (init_cutu_and_read_dies): Use proper abbrev section.
4735 1.1 christos (init_cutu_and_read_dies_no_follow): Likewise.
4736 1.1 christos (set_partial_user): Do nothing if PST==NULL.
4737 1.1 christos (read_comp_units_from_section): New function.
4738 1.1 christos (create_all_comp_units): Use it.
4739 1.1 christos (scan_partial_symbols, partial_die_parent_scope): Update.
4740 1.1 christos (skip_one_die): Handle DW_FORM_GNU_ref_alt, DW_FORM_GNU_strp_alt.
4741 1.1 christos (process_imported_unit_die, read_partial_die): Handle .dwz files.
4742 1.1 christos (find_partial_die): Add offset_in_dwz argument. Update.
4743 1.1 christos (guess_partial_die_structure_name, fixup_partial_die): Update.
4744 1.1 christos (read_attribute_value): Handle DW_FORM_GNU_ref_alt,
4745 1.1 christos DW_FORM_GNU_strp_alt.
4746 1.1 christos (read_indirect_string_from_dwz): New function.
4747 1.1 christos (dwarf2_const_value_attr): Handle DW_FORM_GNU_strp_alt.
4748 1.1 christos (dump_die_shallow): Handle DW_FORM_GNU_ref_alt, DW_FORM_GNU_strp_alt.
4749 1.1 christos (is_ref_attr): Handle DW_FORM_GNU_ref_alt.
4750 1.1 christos (follow_die_offset): Add offset_in_dwz argument.
4751 1.1 christos (follow_die_ref, dwarf2_fetch_die_location_block): Update.
4752 1.1 christos (skip_form_bytes): Handle DW_FORM_GNU_strp_alt.
4753 1.1 christos (dwarf_decode_macro_bytes): Add section_is_dwz argument.
4754 1.1 christos Handle new macro forms.
4755 1.1 christos (dwarf_decode_macros): Update.
4756 1.1 christos (dwarf2_find_containing_comp_unit): Add offset_in_dwz argument.
4757 1.1 christos (dwarf2_per_objfile_free): Unref dwz_bfd, if it exists
4758 1.1 christos (lookup_die_type): Handle DW_FORM_GNU_ref_alt.
4759 1.1 christos (create_debug_types_hash_table): Use correct abbrev section.
4760 1.1 christos (get_debug_line_section): New function.
4761 1.1 christos (dwarf_decode_line_header, dwarf_decode_lines_1): Use it.
4762 1.1 christos (process_full_comp_unit): Pass 'required' argument to
4763 1.1 christos end_symtab_get_static_block.
4764 1.1 christos * buildsym.h (end_symtab_get_static_block): Update.
4765 1.1 christos * buildsym.c (end_symtab_get_static_block): Add 'required'
4766 1.1 christos argument.
4767 1.1 christos (end_symtab, end_expandable_symtab): Update.
4768 1.1 christos
4769 1.1 christos 2012-07-18 Tom Tromey <tromey (a] redhat.com>
4770 1.1 christos
4771 1.1 christos * dwarf2read.c: Don't include zlib.h or sys/mman.h.
4772 1.1 christos (pagesize): Remove.
4773 1.1 christos (struct dwarf2_section_info) <map_addr, map_len>: Remove.
4774 1.1 christos (zlib_decompress_section): Remove.
4775 1.1 christos (dwarf2_read_section): Use gdb_bfd_map_section.
4776 1.1 christos (munmap_section_buffer): Remove.
4777 1.1 christos (free_dwo_file, dwarf2_per_objfile_free): Don't use
4778 1.1 christos munmap_section_buffer.
4779 1.1 christos * gdb_bfd.c: Include zlib.h, sys/mman.h.
4780 1.1 christos (struct gdb_bfd_section_data): New.
4781 1.1 christos (free_one_bfd_section): New function.
4782 1.1 christos (gdb_bfd_close_or_warn): Use free_one_bfd_section.
4783 1.1 christos (get_section_descriptor, zlib_decompress_section)
4784 1.1 christos (gdb_bfd_map_section): New functions.
4785 1.1 christos * gdb_bfd.h (gdb_bfd_map_section): Declare.
4786 1.1 christos
4787 1.1 christos 2012-07-18 Tom Tromey <tromey (a] redhat.com>
4788 1.1 christos
4789 1.1 christos * dwarf2read.c (try_open_dwo_file): use gdb_bfd_open.
4790 1.1 christos
4791 1.1 christos 2012-07-18 Tom Tromey <tromey (a] redhat.com>
4792 1.1 christos
4793 1.1 christos * gdb_bfd.c (struct gdb_bfd_data): New.
4794 1.1 christos (gdb_bfd_cache): New global.
4795 1.1 christos (struct gdb_bfd_cache_search): New.
4796 1.1 christos (hash_bfd, eq_bfd, gdb_bfd_open): New functions.
4797 1.1 christos (gdb_bfd_ref, gdb_bfd_unref): Use gdb_bfd_data.
4798 1.1 christos * gdb_bfd.h (gdb_bfd_open): Declare.
4799 1.1 christos
4800 1.1 christos 2012-07-18 Tom Tromey <tromey (a] redhat.com>
4801 1.1 christos
4802 1.1 christos * utils.c (make_cleanup_bfd_unref): Rename from
4803 1.1 christos make_cleanup_bfd_close.
4804 1.1 christos * defs.h (make_cleanup_bfd_unref): Rename from
4805 1.1 christos make_cleanup_bfd_close.
4806 1.1 christos * cli/cli-dump.c (bfd_openr_with_cleanup): Update.
4807 1.1 christos (bfd_openw_with_cleanup): Update.
4808 1.1 christos * corelow.c (core_open): Update.
4809 1.1 christos * dsrec.c (load_srec): Update.
4810 1.1 christos * m32r-rom.c (m32r_load, m32r_upload_command): Update.
4811 1.1 christos * remote-m32r-sdi.c (m32r_load): Update.
4812 1.1 christos * remote-mips.c (mips_load_srec): Update.
4813 1.1 christos (pmon_load_fast): Update.
4814 1.1 christos * solib-darwin.c (darwin_solib_get_all_image_info_addr_at_init):
4815 1.1 christos Update.
4816 1.1 christos (darwin_bfd_open): Update.
4817 1.1 christos * solib.c (solib_bfd_fopen): Update.
4818 1.1 christos * symfile-mem.c (symbol_file_add_from_memory): Update.
4819 1.1 christos * symfile.c (symbol_file_add_with_addrs_or_offsets): Update.
4820 1.1 christos (symfile_bfd_open): Update.
4821 1.1 christos (generic_load): Update.
4822 1.1 christos
4823 1.1 christos 2012-07-18 Tom Tromey <tromey (a] redhat.com>
4824 1.1 christos
4825 1.1 christos * remote-mips.c (mips_load_srec): Use make_cleanup_bfd_close.
4826 1.1 christos (pmon_load_fast): Likewise.
4827 1.1 christos * m32r-rom.c (m32r_load): Use make_cleanup_bfd_close.
4828 1.1 christos (m32r_upload_command): Likewise.
4829 1.1 christos * dsrec.c (load_srec): Use make_cleanup_bfd_close.
4830 1.1 christos * solib-darwin.c (darwin_solib_get_all_image_info_addr_at_init):
4831 1.1 christos Use make_cleanup_bfd_close.
4832 1.1 christos
4833 1.1 christos 2012-07-18 Tom Tromey <tromey (a] redhat.com>
4834 1.1 christos
4835 1.1 christos * symfile.c (symfile_bfd_open): Don't copy name. Call
4836 1.1 christos gdb_bfd_stash_filename.
4837 1.1 christos (load_command): Open the new BFD before freeing the old.
4838 1.1 christos (bfd_open_maybe_remote): Call gdb_bfd_stash_filename.
4839 1.1 christos * symfile-mem.c (symbol_file_add_from_memory): Don't copy name.
4840 1.1 christos Call gdb_bfd_stash_filename.
4841 1.1 christos * spu-linux-nat.c (spu_bfd_open): Don't copy name.
4842 1.1 christos * solib-spu.c (spu_bfd_fopen): Don't copy name. Call
4843 1.1 christos gdb_bfd_stash_filename.
4844 1.1 christos * solib-darwin.c (darwin_solib_get_all_image_info_addr_at_init):
4845 1.1 christos Free found_pathname.
4846 1.1 christos * rs6000-nat.c (add_vmap): Don't copy filename. Call
4847 1.1 christos gdb_bfd_stash_filename.
4848 1.1 christos * remote.c (remote_bfd_open): Call gdb_bfd_stash_filename.
4849 1.1 christos * machoread.c (macho_add_oso_symfile): Call
4850 1.1 christos gdb_bfd_stash_filename.
4851 1.1 christos (macho_symfile_read_all_oso): Arrange to free archive_name. Call
4852 1.1 christos gdb_bfd_stash_filename.
4853 1.1 christos (macho_check_dsym): Don't copy filename. Call
4854 1.1 christos gdb_bfd_stash_filename.
4855 1.1 christos * jit.c (bfd_open_from_target_memory): Don't copy the filename.
4856 1.1 christos * gdb_bfd.c (gdb_bfd_stash_filename): New function.
4857 1.1 christos * gdb_bfd.h (gdb_bfd_stash_filename): Declare.
4858 1.1 christos * gcore.c (create_gcore_bfd): Call gdb_bfd_stash_filename.
4859 1.1 christos * exec.c (exec_close): Don't free the BFD's filename.
4860 1.1 christos (exec_file_attach): Don't copy the filename. Call
4861 1.1 christos gdb_bfd_stash_filename.
4862 1.1 christos * corelow.c (core_close): Don't free the BFD's filename.
4863 1.1 christos (core_open): Call gdb_bfd_stash_filename.
4864 1.1 christos * corefile.c (reopen_exec_file): Remove #if 0 code.
4865 1.1 christos * solib.c (solib_bfd_fopen): Call gdb_bfd_stash_filename. Free
4866 1.1 christos pathname.
4867 1.1 christos * dwarf2read.c (try_open_dwo_file): Call gdb_bfd_stash_filename.
4868 1.1 christos
4869 1.1 christos 2012-07-18 Tom Tromey <tromey (a] redhat.com>
4870 1.1 christos
4871 1.1 christos * dwarf2read.c (try_open_dwo_file): Use gdb_bfd_ref and
4872 1.1 christos gdb_bfd_unref.
4873 1.1 christos (free_dwo_file): Use gdb_bfd_unref.
4874 1.1 christos * cli/cli-dump.c: Include gdb_bfd.h.
4875 1.1 christos (bfd_openw_with_cleanup): Use gdb_bfd_ref.
4876 1.1 christos (bfd_openr_with_cleanup): Likewise.
4877 1.1 christos * windows-nat.c (windows_make_so): Use gdb_bfd_ref,
4878 1.1 christos gdb_bfd_unref.
4879 1.1 christos * utils.c: Include gdb_bfd.h.
4880 1.1 christos (do_bfd_close_cleanup): Use gdb_bfd_unref.
4881 1.1 christos * symfile.c: Include gdb_bfd.h.
4882 1.1 christos (separate_debug_file_exists): Use gdb_bfd_unref.
4883 1.1 christos (bfd_open_maybe_remote): Use gdb_bfd_ref.
4884 1.1 christos (symfile_bfd_open): Use gdb_bfd_ref, gdb_bfd_unref.
4885 1.1 christos (generic_load): Use gdb_bfd_ref.
4886 1.1 christos (reread_symbols): Use gdb_bfd_unref.
4887 1.1 christos * symfile-mem.c: Include gdb_bfd.h.
4888 1.1 christos (symbol_file_add_from_memory): Use make_cleanup_bfd_close.
4889 1.1 christos * spu-linux-nat.c (spu_bfd_open): Use gdb_bfd_ref, gdb_bfd_unref.
4890 1.1 christos * solib.c: Include gdb_bfd.h.
4891 1.1 christos (solib_bfd_fopen): Use gdb_bfd_ref.
4892 1.1 christos (solib_bfd_open): Use gdb_bfd_unref.
4893 1.1 christos (free_so_symbols): Use gdb_bfd_unref.
4894 1.1 christos (reload_shared_libraries_1): Use gdb_bfd_unref.
4895 1.1 christos * solib-spu.c: Include gdb_bfd.h.
4896 1.1 christos (spu_bfd_fopen): Use gdb_bfd_ref, gdb_bfd_unref.
4897 1.1 christos * solib-pa64.c (pa64_solib_create_inferior_hook): Use gdb_bfd_ref,
4898 1.1 christos gdb_bfd_unref.
4899 1.1 christos * solib-frv.c: Include gdb_bfd.h.
4900 1.1 christos (enable_break2): Use gdb_bfd_unref.
4901 1.1 christos * solib-dsbt.c: Include gdb_bfd.h.
4902 1.1 christos (enable_break2): Use gdb_bfd_unref.
4903 1.1 christos * solib-darwin.c: Include gdb_bfd.h.
4904 1.1 christos (darwin_solib_get_all_image_info_addr_at_init): Use gdb_bfd_ref,
4905 1.1 christos gdb_bfd_unref.
4906 1.1 christos (darwin_bfd_open): Use gdb_bfd_unref.
4907 1.1 christos * rs6000-nat.c (add_vmap): Use gdb_bfd_ref, gdb_bfd_unref.
4908 1.1 christos * remote-mips.c: Include gdb_bfd.h.
4909 1.1 christos (mips_load_srec): Use gdb_bfd_ref.
4910 1.1 christos (pmon_load_fast): Use gdb_bfd_ref.
4911 1.1 christos * remote-m32r-sdi.c: Include gdb_bfd.h.
4912 1.1 christos (m32r_load): Use gdb_bfd_ref.
4913 1.1 christos * record.c: Include gdb_bfd.h.
4914 1.1 christos (record_save_cleanups): Use gdb_bfd_unref.
4915 1.1 christos (cmd_record_save): Use gdb_bfd_unref.
4916 1.1 christos * procfs.c (insert_dbx_link_bpt_in_file): Use gdb_bfd_ref,
4917 1.1 christos gdb_bfd_unref.
4918 1.1 christos * objfiles.h (gdb_bfd_close_or_warn): Remove.
4919 1.1 christos (gdb_bfd_ref, gdb_bfd_unref): Move to gdb_bfd.h.
4920 1.1 christos * objfiles.c: Include gdb_bfd.h.
4921 1.1 christos (free_objfile): Use gdb_bfd_unref.
4922 1.1 christos (gdb_bfd_close_or_warn, gdb_bfd_ref, gdb_bfd_unref): Move to
4923 1.1 christos gdb_bfd.c.
4924 1.1 christos * machoread.c (macho_add_oso_symfile): Use gdb_bfd_unref.
4925 1.1 christos (macho_symfile_read_all_oso): Use gdb_bfd_ref, gdb_bfd_unref.
4926 1.1 christos (macho_check_dsym): Likewise.
4927 1.1 christos * m32r-rom.c: Include gdb_bfd.h.
4928 1.1 christos (m32r_load): Use gdb_bfd_ref.
4929 1.1 christos (m32r_upload_command): Use gdb_bfd_ref.
4930 1.1 christos * jit.c: Include gdb_bfd.h.
4931 1.1 christos (jit_bfd_try_read_symtab): Use gdb_bfd_ref, gdb_bfd_unref.
4932 1.1 christos * gdb_bfd.h: New file.
4933 1.1 christos * gdb_bfd.c: New file.
4934 1.1 christos * gcore.c: Include gdb_bfd.h.
4935 1.1 christos (create_gcore_bfd): Use gdb_bfd_ref.
4936 1.1 christos (do_bfd_delete_cleanup): Use gdb_bfd_unref.
4937 1.1 christos (gcore_command): Use gdb_bfd_unref.
4938 1.1 christos * exec.c: Include gdb_bfd.h.
4939 1.1 christos (exec_close): Use gdb_bfd_unref.
4940 1.1 christos (exec_close_1): Use gdb_bfd_unref.
4941 1.1 christos (exec_file_attach): Use gdb_bfd_ref.
4942 1.1 christos * elfread.c: Include gdb_bfd.h.
4943 1.1 christos (build_id_verify): Use gdb_bfd_unref.
4944 1.1 christos * dsrec.c: Include gdb_bfd.h.
4945 1.1 christos (load_srec): Use gdb_bfd_ref.
4946 1.1 christos * corelow.c: Include gdb_bfd.h.
4947 1.1 christos (core_close): Use gdb_bfd_unref.
4948 1.1 christos (core_open): Use gdb_bfd_ref.
4949 1.1 christos * bfd-target.c: Include gdb_bfd.h.
4950 1.1 christos (target_bfd_xclose): Use gdb_bfd_unref.
4951 1.1 christos (target_bfd_reopen): Use gdb_bfd_ref.
4952 1.1 christos * Makefile.in (SFILES): Add gdb_bfd.c.
4953 1.1 christos (HFILES_NO_SRCDIR): Add gdb_bfd.h.
4954 1.1 christos (COMMON_OBS): Add gdb_bfd.o.
4955 1.1 christos
4956 1.1 christos 2012-07-18 Keith Seitz <keiths (a] redhat.com>
4957 1.1 christos
4958 1.1 christos * breakpoint.c (find_condition_and_thread): Initialize
4959 1.1 christos TASK and REST.
4960 1.1 christos (create_breakpiont): find_condition_and_thread will now
4961 1.1 christos initialize COND_STRING, THREAD, and REST (and TASK).
4962 1.1 christos (addr_string_to_sals): Likewise.
4963 1.1 christos
4964 1.1 christos 2012-07-18 Pedro Alves <palves (a] redhat.com>
4965 1.1 christos
4966 1.1 christos * infrun.c (handle_inferior_event) <TARGET_WAITKIND_NO_HISTORY>:
4967 1.1 christos Pull the single step breakpoints out of the target.
4968 1.1 christos
4969 1.1 christos 2012-07-18 Sergio Durigan Junior <sergiodj (a] redhat.com>
4970 1.1 christos
4971 1.1 christos * probe.c (probe_safe_evaluate_at_pc): Rename variable `n_probes'.
4972 1.1 christos * stap-probe.c (compile_probe_arg): Likewise.
4973 1.1 christos
4974 1.1 christos 2012-07-18 Sergio Durigan Junior <sergiodj (a] redhat.com>
4975 1.1 christos
4976 1.1 christos * elfread.c (elf_get_probe_argument_count): Remove `objfile' argument.
4977 1.1 christos (elf_compile_to_ax): Likewise.
4978 1.1 christos * infrun.c (insert_exception_resume_from_probe): Likewise.
4979 1.1 christos (check_exception_resume): Remove `objfile' variable.
4980 1.1 christos * probe.c (find_probe_by_pc): Remove `objfile' argument.
4981 1.1 christos (struct probe_and_objfile, probe_and_objfile_s): Delete.
4982 1.1 christos (collect_probes): Adjust return value to `VEC (probe_p) *'.
4983 1.1 christos (compare_entries): Rename to...
4984 1.1 christos (compare_probes): ...this. Adjust function to work with
4985 1.1 christos `struct probe *'. Rename variables `ea' and `eb' to `pa' and `pb'
4986 1.1 christos respectively.
4987 1.1 christos (gen_ui_out_table_header_info): Adjust `probes' argument to be
4988 1.1 christos `VEC (probe_p) *'.
4989 1.1 christos (print_ui_out_info): Adjust argument to be `struct probe *'.
4990 1.1 christos (info_probes_for_ops): Adjust internal computations to use
4991 1.1 christos `VEC (probe_p) *'.
4992 1.1 christos (probe_safe_evaluate_at_pc): Refactor to not pass `objfile' anymore.
4993 1.1 christos * probe.h (struct probe_ops) <get_probe_argument_count, compile_to_ax,
4994 1.1 christos gen_info_probes_table_values>: Remove `objfile' argument.
4995 1.1 christos (struct probe) <objfile>: New field.
4996 1.1 christos (find_probe_by_pc): Remove `objfile' argument.
4997 1.1 christos * stap-probe.c (stap_parse_probe_arguments): Likewise.
4998 1.1 christos (stap_get_probe_argument_count): Likewise.
4999 1.1 christos (stap_get_arg): Likewise.
5000 1.1 christos (stap_evaluate_probe_argument): Likewise.
5001 1.1 christos (stap_compile_to_ax): Likewise.
5002 1.1 christos (compile_probe_arg): Refactor not to pass `objfile' anymore.
5003 1.1 christos (handle_stap_probe): Fill `objfile' field from `struct probe'.
5004 1.1 christos (stap_gen_info_probes_table_header): Remove `objfile' argument.
5005 1.1 christos * symfile.h (struct sym_probe_fns) <sym_evaluate_probe_argument,
5006 1.1 christos sym_compile_to_ax>: Likewise.
5007 1.1 christos
5008 1.1 christos 2012-07-18 Terry Guo <terry.guo (a] arm.com>
5009 1.1 christos
5010 1.1 christos PR 14329
5011 1.1 christos * defs.h (GDB_MI_MSG_WIDTH): New.
5012 1.1 christos * ser_base (ser_base_read_error_fd): New function.
5013 1.1 christos (do_ser_base_readchar): Poll error file descriptor as well as
5014 1.1 christos standard output.
5015 1.1 christos (generic_readchar): Refactor error handling.
5016 1.1 christos
5017 1.1 christos 2012-07-18 Joel Brobecker <brobecker (a] adacore.com>
5018 1.1 christos
5019 1.1 christos * NEWS: Create a new section for the next release branch.
5020 1.1 christos Rename the section of the current branch, now that it has
5021 1.1 christos been cut.
5022 1.1 christos
5023 1.1 christos 2012-07-18 Joel Brobecker <brobecker (a] adacore.com>
5024 1.1 christos
5025 1.1 christos GDB 7.5 branch created (branch timestamp: 2012-07-18 03:22 UTC)
5026 1.1 christos * version.in: Bump version to 7.5.50.20120718-cvs.
5027 1.1 christos
5028 1.1 christos 2012-07-17 Keith Seitz <keiths (a] redhat.com>
5029 1.1 christos
5030 1.1 christos * linespec.c (linespec_parse_line_offset): Make parameter
5031 1.1 christos const.
5032 1.1 christos
5033 1.1 christos 2012-07-16 Jan Kratochvil <jan.kratochvil (a] redhat.com>
5034 1.1 christos
5035 1.1 christos PR 11914
5036 1.1 christos * f-valprint.c (info_common_command): New variable frame_id.
5037 1.1 christos Reinitialize FI form FRAME_ID after each print_variable_and_value.
5038 1.1 christos * printcmd.c (print_variable_and_value): Extend function comment.
5039 1.1 christos Add comment for invalidated FRAME.
5040 1.1 christos * stack.c (backtrace_command_1): New variable frame_id. Reinitialize
5041 1.1 christos FI form FRAME_ID after each print_frame_local_vars.
5042 1.1 christos (struct print_variable_and_value_data): Change frame to frame_id.
5043 1.1 christos (do_print_variable_and_value): New variable frame, initialize it from
5044 1.1 christos p->frame_id. Add comment for invalidated FRAME.
5045 1.1 christos (print_frame_local_vars, print_frame_arg_vars): New function comment.
5046 1.1 christos Update CB_DATA.FRAME to CB_DATA.FRAME_ID initialization. Add comment
5047 1.1 christos for invalidated FRAME.
5048 1.1 christos
5049 1.1 christos 2012-07-16 Marc Khouzam <marc.khouzam (a] ericsson.com>
5050 1.1 christos Pedro Alves <palves (a] redhat.com>
5051 1.1 christos
5052 1.1 christos * linux-nat.c (linux_nat_detach): Don't unregister from the event
5053 1.1 christos loop.
5054 1.1 christos
5055 1.1 christos 2012-07-16 Tom Tromey <tromey (a] redhat.com>
5056 1.1 christos
5057 1.1 christos * jv-typeprint.c (c_type_print_varspec_suffix): Don't declare.
5058 1.1 christos
5059 1.1 christos 2012-07-15 Doug Evans <dje (a] google.com>
5060 1.1 christos
5061 1.1 christos * dwarf2read.c (stmt_list_hash): New struct.
5062 1.1 christos (type_unit_group): Embed "per_cu" member, remove pointer.
5063 1.1 christos New union member "t", move member "tus" into it, all uses updated.
5064 1.1 christos New member "hash", replaces member "line_offset, all uses updated.
5065 1.1 christos (quick_file_names): Replace member "offset" with "hash", all uses
5066 1.1 christos updated.
5067 1.1 christos (hash_stmt_list_entry, eq_stmt_list_entry): New functions.
5068 1.1 christos (hash_file_name_entry, eq_file_name_entry): Call them.
5069 1.1 christos (hash_type_unit_group, eq_type_unit_group): Ditto.
5070 1.1 christos (dw2_get_cu, dw2_get_primary_cu): Replace assert with a better one.
5071 1.1 christos (dw2_get_file_names_reader): Fix file name table calculation for TUs.
5072 1.1 christos (dw2_get_file_names): Update.
5073 1.1 christos (create_type_unit_group): Replace "per_cu" arg with "cu".
5074 1.1 christos All callers updated. Fix "quick" (.gdb_index) handling.
5075 1.1 christos (get_type_unit_group): Replace "per_cu" arg with "cu".
5076 1.1 christos All callers updated.
5077 1.1 christos (build_type_unit_groups): Don't reset tu_stats.
5078 1.1 christos
5079 1.1 christos * symtab.c (filename_seen_cache): Delete members "tab_alloc_size",
5080 1.1 christos "tab_cur_size". Change member "tab" to be a htab_t.
5081 1.1 christos (create_filename_seen_cache): Update.
5082 1.1 christos (clear_filename_seen_cache, delete_filename_seen_cache): Update.
5083 1.1 christos (filename_seen): Update.
5084 1.1 christos
5085 1.1 christos 2012-07-13 Doug Evans <dje (a] google.com>
5086 1.1 christos
5087 1.1 christos * symtab.c (filename_seen): Update comment.
5088 1.1 christos
5089 1.1 christos 2012-07-13 Jan Kratochvil <jan.kratochvil (a] redhat.com>
5090 1.1 christos Doug Evans <dje (a] google.com>
5091 1.1 christos
5092 1.1 christos * buildsym.c (end_symtab_1): Split it to ...
5093 1.1 christos (end_symtab_get_static_block): ... this ...
5094 1.1 christos (end_symtab_from_static_block): ... and this function.
5095 1.1 christos (end_symtab, end_expandable_symtab): Call them.
5096 1.1 christos * buildsym.h (end_symtab_get_static_block)
5097 1.1 christos (end_symtab_from_static_block): New declarations.
5098 1.1 christos * dwarf2read.c (process_full_comp_unit): New variable static_block.
5099 1.1 christos Set its valid CU ranges.
5100 1.1 christos
5101 1.1 christos 2012-07-13 Jan Kratochvil <jan.kratochvil (a] redhat.com>
5102 1.1 christos
5103 1.1 christos * dwarf2loc.c (disassemble_dwarf_expression): Handle
5104 1.1 christos DW_OP_GNU_parameter_ref.
5105 1.1 christos
5106 1.1 christos 2012-07-13 Jan Kratochvil <jan.kratochvil (a] redhat.com>
5107 1.1 christos
5108 1.1 christos * dwarf2read.c (read_call_site_scope): Do not gdb_assert for invalid
5109 1.1 christos read-in CALL_SITE_PARAMETER_PARAM_OFFSET.
5110 1.1 christos
5111 1.1 christos 2012-07-13 Doug Evans <dje (a] google.com>
5112 1.1 christos
5113 1.1 christos * symtab.c (output_source_filename): Delete unnecessary forward decl.
5114 1.1 christos (filename_seen_cache): New struct.
5115 1.1 christos (INITIAL_FILENAME_SEEN_CACHE_SIZE): New macro.
5116 1.1 christos (create_filename_seen_cache): New function.
5117 1.1 christos (clear_filename_seen_cache, delete_filename_seen_cache): New functions.
5118 1.1 christos (filename_seen): Delete arg "first". New arg "cache". All callers
5119 1.1 christos updated.
5120 1.1 christos (output_source_filename_data): New struct.
5121 1.1 christos (output_source_filename): Delete arg "first". New arg "data".
5122 1.1 christos All callers updated.
5123 1.1 christos (sources_info): Delete local "first". New locals "data", "cleanups".
5124 1.1 christos Rewrite to use filename_seen_cache.
5125 1.1 christos (add_partial_filename_data): Delete member "first". New member
5126 1.1 christos "filename_seen_cache". All uses updated.
5127 1.1 christos (make_source_files_completion_list): Rewrite to use
5128 1.1 christos filename_seen_cache.
5129 1.1 christos
5130 1.1 christos 2012-07-12 Doug Evans <dje (a] google.com>
5131 1.1 christos
5132 1.1 christos * psymtab.c (map_symbol_filenames_psymtab): Skip shared psymtabs.
5133 1.1 christos
5134 1.1 christos 2012-07-10 Doug Evans <dje (a] google.com>
5135 1.1 christos
5136 1.1 christos PR gdb/13498
5137 1.1 christos * dwarf2read.c (dwarf2_per_objfile): New members n_type_unit_groups,
5138 1.1 christos all_type_unit_groups, type_unit_groups, tu_stats.
5139 1.1 christos (dwarf2_per_cu_data): Move "imported_symtabs" into new union "s".
5140 1.1 christos All uses updated. Add type_unit_group to union "s".
5141 1.1 christos (type_unit_group): New struct.
5142 1.1 christos (IS_TYPE_UNIT_GROUP): New macro.
5143 1.1 christos (abbrev_table): Delete unused member "section".
5144 1.1 christos (dw2_do_instantiate_symtab): Early exit if type_unit_group.
5145 1.1 christos (dw2_get_cu): Assert not used with type_unit_group.
5146 1.1 christos (dw2_get_primary_cu): New function.
5147 1.1 christos (dw2_build_type_unit_groups_reader): New function.
5148 1.1 christos (dw2_build_type_unit_groups): New function.
5149 1.1 christos (dw2_get_file_names): Assert not called on type units.
5150 1.1 christos (dw2_map_symtabs_matching_filename): Call dw2_build_type_unit_groups.
5151 1.1 christos Redo loop to iterate over type unit groups instead of type units.
5152 1.1 christos (dw2_expand_symtabs_matching, dw2_map_symbol_filenames): Ditto.
5153 1.1 christos (read_abbrev_offset): New function.
5154 1.1 christos (init_cutu_and_read_dies): New arg "abbrev_table". All callers
5155 1.1 christos updated.
5156 1.1 christos (create_partial_symtab): New function.
5157 1.1 christos (process_psymtab_comp_unit_reader): Assert not used with type units.
5158 1.1 christos Call create_partial_symtab.
5159 1.1 christos (process_psymtab_type_unit): Delete.
5160 1.1 christos (hash_type_unit_group, eq_type_unit_group): New functions.
5161 1.1 christos (allocate_type_unit_groups_table): New function.
5162 1.1 christos (NO_STMT_LIST_TYPE_UNIT_PSYMTAB): New macro.
5163 1.1 christos (NO_STMT_LIST_TYPE_UNIT_PSYMTAB_SIZE): New macro.
5164 1.1 christos (create_type_unit_group, get_type_unit_group): New functions.
5165 1.1 christos (tu_abbrev_offset): New struct.
5166 1.1 christos (sort_tu_by_abbrev_offset): New function.
5167 1.1 christos (add_type_unit_group_to_table): New function.
5168 1.1 christos (build_type_unit_groups): New function.
5169 1.1 christos (build_type_psymtabs_reader): New function.
5170 1.1 christos (build_type_psymtab_dependencies): New function.
5171 1.1 christos (build_type_psymtabs): Rewrite.
5172 1.1 christos (scan_partial_symbols): Flag an error if a DW_TAG_imported_unit
5173 1.1 christos is seen in a type unit.
5174 1.1 christos (process_queue): Move symtab expansion debugging printfs here.
5175 1.1 christos Call process_full_type_unit for type units.
5176 1.1 christos (compute_symtab_includes): Assert not called for type units.
5177 1.1 christos (process_cu_includes): Don't call compute_symtab_includes for
5178 1.1 christos type units.
5179 1.1 christos (process_full_type_unit): New function.
5180 1.1 christos (process_imported_unit_die): Flag an error if called for type units.
5181 1.1 christos (handle_DW_AT_stmt_list): Delete arg "want_line_info". All callers
5182 1.1 christos updated. Assert not called for type units.
5183 1.1 christos (read_file_scope): Call dwarf2_start_symtab.
5184 1.1 christos (setup_type_unit_groups): New function.
5185 1.1 christos (read_type_unit_scope): Rewrite.
5186 1.1 christos (abbrev_table_read_table): Initialize abbrev_table->offset.
5187 1.1 christos (abbrev_table_free_cleanup): New function.
5188 1.1 christos (dwarf2_start_symtab): New function.
5189 1.1 christos (load_full_type_unit): Assert not called for type unit groups.
5190 1.1 christos * buildsym.c (finish_block_internal): New arg "expandable".
5191 1.1 christos All callers updated.
5192 1.1 christos (start_symtab): Move most contents to ...
5193 1.1 christos (restart_symtab): ... here. New function.
5194 1.1 christos (reset_symtab_globals): New function.
5195 1.1 christos (end_symtab_1): Renamed from end_symtab. New arg "expandable".
5196 1.1 christos Call reset_symtab_globals.
5197 1.1 christos (end_symtab, end_expandable_symtab): New functions.
5198 1.1 christos (set_missing_symtab, augment_type_symtab): New functions.
5199 1.1 christos * buildsym.h (end_expandable_symtab): Declare.
5200 1.1 christos (augment_type_symtab, restart_symtab): Declare.
5201 1.1 christos * psympriv.h (struct partial_symtab): New member "anonymous".
5202 1.1 christos * psymtab.c (partial_map_symtabs_matching_filename): Ignore
5203 1.1 christos anonymous psymtabs.
5204 1.1 christos (read_psymtabs_with_filename): Ditto.
5205 1.1 christos (map_symbol_filenames_psymtab, psymtab_to_fullname): Ditto.
5206 1.1 christos (expand_symtabs_matching_via_partial): Ditto.
5207 1.1 christos (dump_psymtab): Update.
5208 1.1 christos * dictionary.c (dict_add_pending): New function.
5209 1.1 christos * dictionary.h (dict_add_pending): Declare.
5210 1.1 christos
5211 1.1 christos 2012-07-09 Doug Evans <dje (a] google.com>
5212 1.1 christos
5213 1.1 christos * buildsym.c (start_subfile): Remove unnecessary check for
5214 1.1 christos name == NULL.
5215 1.1 christos
5216 1.1 christos * psymtab.c (allocate_psymtab): Use host_address_to_string.
5217 1.1 christos
5218 1.1 christos * dwarf2read.c (load_full_type_unit): Simplify.
5219 1.1 christos
5220 1.1 christos * dwarf2read.c (dwarf2_per_objfile): Change type of all_type_units
5221 1.1 christos to struct signatured_type **. All uses updated.
5222 1.1 christos
5223 1.1 christos * dwarf2read.c (dwarf2_attr_no_follow): Delete unused arg "cu".
5224 1.1 christos All callers updated.
5225 1.1 christos
5226 1.1 christos 2012-07-09 Tom Tromey <tromey (a] redhat.com>
5227 1.1 christos
5228 1.1 christos * c-exp.y (check_parameter_typelist): New function.
5229 1.1 christos (parameter_typelist): Call it.
5230 1.1 christos * eval.c (make_params): Handle '(void)' case.
5231 1.1 christos * gdbtypes.c (lookup_function_type_with_arguments): Handle
5232 1.1 christos '(void)' case.
5233 1.1 christos
5234 1.1 christos 2012-07-07 Jan Kratochvil <jan.kratochvil (a] redhat.com>
5235 1.1 christos
5236 1.1 christos * common/linux-ptrace.c: Include gdb_assert.h.
5237 1.1 christos <__i386__> (linux_ptrace_test_ret_to_nx_instr): New declaration.
5238 1.1 christos <__i386__>: Include sys/reg.h, sys/mman.h, signal.h, sys/wait.h and
5239 1.1 christos stdint.h.
5240 1.1 christos (linux_ptrace_test_ret_to_nx, linux_ptrace_init_warnings): New
5241 1.1 christos functions.
5242 1.1 christos * common/linux-ptrace.h (linux_ptrace_init_warnings): New declarations.
5243 1.1 christos * linux-nat.c (linux_child_post_attach)
5244 1.1 christos (linux_child_post_startup_inferior): Call linux_ptrace_init_warnings.
5245 1.1 christos
5246 1.1 christos 2012-07-07 Jan Kratochvil <jan.kratochvil (a] redhat.com>
5247 1.1 christos
5248 1.1 christos * linux-thread-db.c (thread_db_find_new_threads_silently): Do not apply
5249 1.1 christos nptl <2.7 bug workaround for core files.
5250 1.1 christos
5251 1.1 christos 2012-07-06 Jan Kratochvil <jan.kratochvil (a] redhat.com>
5252 1.1 christos
5253 1.1 christos * linux-nat.c (resume_lwp, linux_nat_resume): Remove LP->SIGINFO
5254 1.1 christos clearing.
5255 1.1 christos (save_siginfo): Remove.
5256 1.1 christos (stop_wait_callback, linux_nat_filter_event): Remove the save_siginfo
5257 1.1 christos call.
5258 1.1 christos (resume_stopped_resumed_lwps): Remove LP->SIGINFO clearing.
5259 1.1 christos (linux_nat_get_siginfo): Use PTRACE_GETSIGINFO.
5260 1.1 christos * linux-nat.h (struct lwp_info): Remove field siginfo.
5261 1.1 christos
5262 1.1 christos 2012-07-06 Jan Kratochvil <jan.kratochvil (a] redhat.com>
5263 1.1 christos
5264 1.1 christos Code cleanup for the next patch.
5265 1.1 christos * arm-linux-nat.c (arm_linux_stopped_data_address): Change variable
5266 1.1 christos siginfo_p to siginfo, update its users incl. the linux_nat_get_siginfo
5267 1.1 christos call for it.
5268 1.1 christos * ia64-linux-nat.c (ia64_linux_stopped_data_address): Likewise.
5269 1.1 christos (ia64_linux_stopped_data_address):
5270 1.1 christos * linux-nat.c (linux_nat_get_siginfo): Add parameter siginfo, change
5271 1.1 christos the return value.
5272 1.1 christos * linux-nat.h (linux_nat_get_siginfo): Likewise.
5273 1.1 christos * ppc-linux-nat.c (ppc_linux_stopped_data_address): Change variable
5274 1.1 christos siginfo_p to siginfo, update its users incl. the linux_nat_get_siginfo
5275 1.1 christos call for it.
5276 1.1 christos
5277 1.1 christos 2012-07-06 Jan Kratochvil <jan.kratochvil (a] redhat.com>
5278 1.1 christos
5279 1.1 christos PR 14321
5280 1.1 christos * findcmd.c (parse_find_args): New variable pattern_buf_size_need.
5281 1.1 christos Increase buffer sizes to 2x we need, not just 2x of the previous size.
5282 1.1 christos
5283 1.1 christos 2012-07-06 Tom Tromey <tromey (a] redhat.com>
5284 1.1 christos
5285 1.1 christos * c-exp.y (DOTDOTDOT): New token.
5286 1.1 christos (func_mod, exp): Use parameter_typelist.
5287 1.1 christos (parameter_typelist): New production.
5288 1.1 christos (tokentab3): Add "..." token.
5289 1.1 christos * eval.c (make_params): Handle varargs.
5290 1.1 christos * gdbtypes.c (lookup_function_type_with_arguments): Handle
5291 1.1 christos varargs.
5292 1.1 christos
5293 1.1 christos 2012-07-06 Tom Tromey <tromey (a] redhat.com>
5294 1.1 christos
5295 1.1 christos PR exp/9608:
5296 1.1 christos * c-exp.y (%union) <tvec>: Change type.
5297 1.1 christos (func_mod): Now uses <tvec> type.
5298 1.1 christos (exp): Update for tvec change.
5299 1.1 christos (direct_abs_decl): Push the typelist.
5300 1.1 christos (func_mod): Return a typelist.
5301 1.1 christos (nonempty_typelist): Update for tvec change.
5302 1.1 christos * gdbtypes.c (lookup_function_type_with_arguments): New function.
5303 1.1 christos * gdbtypes.h (lookup_function_type_with_arguments): Declare.
5304 1.1 christos * parse.c (pop_type_list): New function.
5305 1.1 christos (push_typelist): New function.
5306 1.1 christos (follow_types): Handle tp_function_with_arguments.
5307 1.1 christos * parser-defs.h (type_ptr): New typedef. Define a VEC.
5308 1.1 christos (enum type_pieces) <tp_function_with_arguments>: New constant.
5309 1.1 christos (union type_stack_elt) <typelist_val>: New field.
5310 1.1 christos (push_typelist): Declare.
5311 1.1 christos
5312 1.1 christos 2012-07-06 Tom Tromey <tromey (a] redhat.com>
5313 1.1 christos
5314 1.1 christos * c-exp.y (%union) <type_stack>: New field.
5315 1.1 christos (abs_decl, direct_abs_decl): Use <type_stack> type. Update.
5316 1.1 christos (ptr_operator_ts): New production.
5317 1.1 christos (ptype): Update.
5318 1.1 christos * parse.c (type_stack_reserve): New function.
5319 1.1 christos (check_type_stack_depth): Use it.
5320 1.1 christos (pop_type_stack, append_type_stack, push_type_stack)
5321 1.1 christos (get_type_stack, type_stack_cleanup): New functions.
5322 1.1 christos (follow_types): Handle tp_type_stack.
5323 1.1 christos (_initialize_parse): Simplify initialization.
5324 1.1 christos * parser-defs.h (enum type_pieces) <tp_type_stack>: New
5325 1.1 christos constant.
5326 1.1 christos (union type_stack_elt) <stack_val>: New field.
5327 1.1 christos (get_type_stack, append_type_stack, push_type_stack)
5328 1.1 christos (type_stack_cleanup): Declare.
5329 1.1 christos
5330 1.1 christos 2012-07-06 Tom Tromey <tromey (a] redhat.com>
5331 1.1 christos
5332 1.1 christos * parser-defs.h (type_stack, type_stack_size, type_stack_depth):
5333 1.1 christos Remove.
5334 1.1 christos (struct type_stack): New.
5335 1.1 christos * parse.c (type_stack, type_stack_size, type_stack_depth):
5336 1.1 christos Remove.
5337 1.1 christos (type_stack): New global.
5338 1.1 christos (parse_exp_in_context, check_type_stack_depth)
5339 1.1 christos (insert_into_type_stack, insert_type, push_type, push_type_int)
5340 1.1 christos (insert_type_address_space, pop_type, pop_type_int)
5341 1.1 christos (_initialize_parse): Update.
5342 1.1 christos
5343 1.1 christos 2012-07-06 Tom Tromey <tromey (a] redhat.com>
5344 1.1 christos
5345 1.1 christos * c-exp.y (func_mod, direct_abs_decl, abs_decl, ptr_operator):
5346 1.1 christos Remove %type.
5347 1.1 christos
5348 1.1 christos 2012-07-06 Siddhesh Poyarekar <siddhesh (a] redhat.com>
5349 1.1 christos
5350 1.1 christos * c-lang.c (c_printstr): Remove ununsed variable WIDTH.
5351 1.1 christos
5352 1.1 christos 2012-07-06 Siddhesh Poyarekar <siddhesh (a] redhat.com>
5353 1.1 christos Jan Kratochvil <jan.kratochvil (a] redhat.com>
5354 1.1 christos
5355 1.1 christos * cp-valprint.c (cp_print_value): Replace potentially unsafe
5356 1.1 christos alloca with xmalloc/xfree.
5357 1.1 christos
5358 1.1 christos 2012-07-06 Siddhesh Poyarekar <siddhesh (a] redhat.com>
5359 1.1 christos
5360 1.1 christos * MAINTAINERS (Write After Approval): Add myself to the list.
5361 1.1 christos
5362 1.1 christos 2012-07-05 Doug Evans <dje (a] google.com>
5363 1.1 christos
5364 1.1 christos * dwarf2read.c (dw2_expand_symtabs_matching): Fix typo.
5365 1.1 christos
5366 1.1 christos 2012-07-05 Hui Zhu <hui_zhu (a] mentor.com>
5367 1.1 christos
5368 1.1 christos * ax-gdb.c (cli/cli-utils.h): New include.
5369 1.1 christos (linespec.h): Ditto.
5370 1.1 christos (agent_eval_command_one): New function.
5371 1.1 christos (agent_command_1): Ditto.
5372 1.1 christos (agent_command): Call function agent_command_1.
5373 1.1 christos (agent_eval_command): Ditto.
5374 1.1 christos (_initialize_ax_gdb): Change help for "maint agent"
5375 1.1 christos and "maint agent-eval".
5376 1.1 christos
5377 1.1 christos 2012-07-05 Hui Zhu <hui_zhu (a] mentor.com>
5378 1.1 christos
5379 1.1 christos * breakpoint.c (check_for_argument): Move to file cli/cli-utils.c.
5380 1.1 christos * cli/cli-utils.c (check_for_argument): New function.
5381 1.1 christos * cli/cli-utils.h (check_for_argument): Ditto.
5382 1.1 christos
5383 1.1 christos 2012-07-04 H.J. Lu <hongjiu.lu (a] intel.com>
5384 1.1 christos
5385 1.1 christos * NEWS: Mention x32 ABI support.
5386 1.1 christos
5387 1.1 christos 2012-07-04 H.J. Lu <hongjiu.lu (a] intel.com>
5388 1.1 christos
5389 1.1 christos * amd64-tdep.c (amd64_x32_init_abi): Set sp_regnum_from_eax to
5390 1.1 christos AMD64_RSP_REGNUM and pc_regnum_from_eax to AMD64_RIP_REGNUM.
5391 1.1 christos
5392 1.1 christos * i386-tdep.c (i386_gdbarch_init): Initialize sp_regnum_from_eax
5393 1.1 christos and pc_regnum_from_eax to -1. Update SP regnum from
5394 1.1 christos sp_regnum_from_eax and PC regnum from pc_regnum_from_eax if
5395 1.1 christos needed.
5396 1.1 christos
5397 1.1 christos * i386-tdep.h (gdbarch_tdep): Add sp_regnum_from_eax and
5398 1.1 christos pc_regnum_from_eax.
5399 1.1 christos
5400 1.1 christos 2012-07-03 Jan Kratochvil <jan.kratochvil (a] redhat.com>
5401 1.1 christos
5402 1.1 christos Fix 'warning: parameter has incomplete type' with gcc-3.4.6.
5403 1.1 christos * dwarf2expr.h: Include gdbtypes.h.
5404 1.1 christos (enum call_site_parameter_kind, union call_site_parameter_u): Remove
5405 1.1 christos these forward declarations.
5406 1.1 christos (cu_offset, sect_offset): Move these ...
5407 1.1 christos * gdbtypes.h: Remove include dwarf2expr.h.
5408 1.1 christos (cu_offset, sect_offset): ... here.
5409 1.1 christos
5410 1.1 christos 2012-07-03 H.J. Lu <hongjiu.lu (a] intel.com>
5411 1.1 christos
5412 1.1 christos * amd64-linux-tdep.c (linux_sigtramp_code): Renamed to ...
5413 1.1 christos (amd64_linux_sigtramp_code): This.
5414 1.1 christos (amd64_x32_linux_sigtramp_code): New.
5415 1.1 christos (LINUX_SIGTRAMP_LEN): Updated.
5416 1.1 christos (amd64_linux_sigtramp_start): Check x32 sigtramp.
5417 1.1 christos
5418 1.1 christos 2012-07-02 Jan Kratochvil <jan.kratochvil (a] redhat.com>
5419 1.1 christos
5420 1.1 christos * linux-thread-db.c (thread_db_new_objfile): Fix comment typos.
5421 1.1 christos
5422 1.1 christos 2012-07-02 Jan Kratochvil <jan.kratochvil (a] redhat.com>
5423 1.1 christos
5424 1.1 christos * config.in: Regenerate.
5425 1.1 christos * configure: Regenerate.
5426 1.1 christos * configure.ac: Remove check for gnu/libc-version.h.
5427 1.1 christos * linux-thread-db.c <HAVE_GNU_LIBC_VERSION_H>: Remove include of
5428 1.1 christos gnu/libc-version.h.
5429 1.1 christos (enable_thread_event_reporting) <HAVE_GNU_LIBC_VERSION_H>: Remove
5430 1.1 christos variables libc_version, libc_major and libc_minor. Replace sscanf by
5431 1.1 christos inferior_has_bug. Extend the comment.
5432 1.1 christos
5433 1.1 christos 2012-07-02 Jan Kratochvil <jan.kratochvil (a] redhat.com>
5434 1.1 christos
5435 1.1 christos * linux-thread-db.c (inferior_has_bug): New function.
5436 1.1 christos (thread_db_find_new_threads_silently): Return boolean as checked by
5437 1.1 christos inferior_has_bug, describe it in the comments.
5438 1.1 christos (try_thread_db_load_1): Move call to thread_db_find_new_threads_silently
5439 1.1 christos earlier. Abort the initialization if it returned non-zero.
5440 1.1 christos (thread_db_new_objfile): Exclude debug files.
5441 1.1 christos (thread_db_find_new_threads_2): Preinitialize ERR. Check errors also
5442 1.1 christos if UNTIL_NO_NEW,
5443 1.1 christos
5444 1.1 christos 2012-07-02 Doug Evans <dje (a] google.com>
5445 1.1 christos
5446 1.1 christos * dwarf2read.c (maybe_queue_comp_unit): Move definition next to others
5447 1.1 christos related to queue management.
5448 1.1 christos
5449 1.1 christos * dwarf2read.c (create_debug_types_hash_table): Use "debug dwarf2-read"
5450 1.1 christos instead of "debug dwarf2-die" in debugging printfs.
5451 1.1 christos (create_debug_info_hash_table_reader): Ditto.
5452 1.1 christos (create_debug_info_hash_table): Ditto.
5453 1.1 christos (init_dwo_file): Ditto.
5454 1.1 christos (init_cutu_and_read_dies): Add debugging printf.
5455 1.1 christos (init_cutu_and_read_dies_no_follow): Ditto.
5456 1.1 christos (process_psymtab_comp_unit_reader): Ditto.
5457 1.1 christos
5458 1.1 christos 2012-07-02 Stan Shebs <stan (a] codesourcery.com>
5459 1.1 christos
5460 1.1 christos Add target-side support for dynamic printf.
5461 1.1 christos * NEWS: Mention the additional style.
5462 1.1 christos * breakpoint.h (struct bp_target_info): New fields tcommands, persist.
5463 1.1 christos (struct bp_location): New field cmd_bytecode.
5464 1.1 christos * breakpoint.c: Include format.h.
5465 1.1 christos (disconnected_dprintf): New global.
5466 1.1 christos (parse_cmd_to_aexpr): New function.
5467 1.1 christos (build_target_command_list): New function.
5468 1.1 christos (insert_bp_location): Call it.
5469 1.1 christos (remove_breakpoints_pid): Skip dprintf breakpoints.
5470 1.1 christos (print_one_breakpoint_location): Ditto.
5471 1.1 christos (dprintf_style_agent): New global.
5472 1.1 christos (dprintf_style_enums): Add dprintf_style_agent.
5473 1.1 christos (update_dprintf_command_list): Add agent case.
5474 1.1 christos (agent_printf_command): New function.
5475 1.1 christos (_initialize_breakpoint): Add new commands.
5476 1.1 christos * common/ax.def (printf): New bytecode.
5477 1.1 christos * ax.h (ax_string): Declare.
5478 1.1 christos * ax-gdb.h (gen_printf): Declare.
5479 1.1 christos * ax-gdb.c: Include cli-utils.h, format.h.
5480 1.1 christos (gen_printf): New function.
5481 1.1 christos (maint_agent_print_command): New function.
5482 1.1 christos (_initialize_ax_gdb): Add maint agent-printf command.
5483 1.1 christos * ax-general.c (ax_string): New function.
5484 1.1 christos (ax_print): Add printf disassembly.
5485 1.1 christos * Makefile.in (SFILES): Add format.c
5486 1.1 christos (COMMON_OBS): Add format.o.
5487 1.1 christos * common/format.h: New file.
5488 1.1 christos * common/format.c: New file.
5489 1.1 christos * printcmd.c: Include format.h.
5490 1.1 christos (ui_printf): Call parse_format_string.
5491 1.1 christos * remote.c (remote_state): New field breakpoint_commands.
5492 1.1 christos (PACKET_BreakpointCommands): New enum.
5493 1.1 christos (remote_breakpoint_commands_feature): New function.
5494 1.1 christos (remote_protocol_features): Add new BreakpointCommands entry.
5495 1.1 christos (remote_can_run_breakpoint_commands): New function.
5496 1.1 christos (remote_add_target_side_commands): New function.
5497 1.1 christos (remote_insert_breakpoint): Call it.
5498 1.1 christos (remote_insert_hw_breakpoint): Ditto.
5499 1.1 christos (_initialize_remote): Add new packet configuration for
5500 1.1 christos target-side breakpoint commands.
5501 1.1 christos * target.h (struct target_ops): New field
5502 1.1 christos to_can_run_breakpoint_commands.
5503 1.1 christos (target_can_run_breakpoint_commands): New macro.
5504 1.1 christos * target.c (update_current_target): Handle
5505 1.1 christos to_can_run_breakpoint_commands.
5506 1.1 christos
5507 1.1 christos 2012-07-02 Jan Kratochvil <jan.kratochvil (a] redhat.com>
5508 1.1 christos
5509 1.1 christos Execute -ix and -iex only after system and user gdbinit files.
5510 1.1 christos * main.c (captured_main): Move CMDARG_INIT_FILE and CMDARG_INIT_COMMAND
5511 1.1 christos processing down after gdbinit files.
5512 1.1 christos
5513 1.1 christos 2012-07-02 Jan Kratochvil <jan.kratochvil (a] redhat.com>
5514 1.1 christos
5515 1.1 christos Add fnmatch-gnu module.
5516 1.1 christos * gnulib/Makefile.in (aclocal_m4_deps): Add new files and remove one.
5517 1.1 christos * gnulib/configure.ac (AC_INIT): Use now import/memmem.c.
5518 1.1 christos * gnulib/aclocal.m4: Regenerate.
5519 1.1 christos * gnulib/config.in: Regenerate.
5520 1.1 christos * gnulib/configure: Regenerate.
5521 1.1 christos * gnulib/import/dummy.c: Remove.
5522 1.1 christos * gnulib/import/Makefile.am: Regenerate.
5523 1.1 christos * gnulib/import/Makefile.in: Likewise.
5524 1.1 christos * gnulib/import/m4/gnulib-cache.m4: Likewise.
5525 1.1 christos * gnulib/import/m4/gnulib-comp.m4: Likewise.
5526 1.1 christos * gnulib/import/alloca.c: New file.
5527 1.1 christos * gnulib/import/alloca.in.h: Likewise.
5528 1.1 christos * gnulib/import/config.charset: Likewise.
5529 1.1 christos * gnulib/import/fnmatch.c: Likewise.
5530 1.1 christos * gnulib/import/fnmatch.in.h: Likewise.
5531 1.1 christos * gnulib/import/fnmatch_loop.c: Likewise.
5532 1.1 christos * gnulib/import/localcharset.c: Likewise.
5533 1.1 christos * gnulib/import/localcharset.h: Likewise.
5534 1.1 christos * gnulib/import/m4/alloca.m4: Likewise.
5535 1.1 christos * gnulib/import/m4/codeset.m4: Likewise.
5536 1.1 christos * gnulib/import/m4/configmake.m4: Likewise.
5537 1.1 christos * gnulib/import/m4/fcntl-o.m4: Likewise.
5538 1.1 christos * gnulib/import/m4/fnmatch.m4: Likewise.
5539 1.1 christos * gnulib/import/m4/glibc21.m4: Likewise.
5540 1.1 christos * gnulib/import/m4/localcharset.m4: Likewise.
5541 1.1 christos * gnulib/import/m4/locale-fr.m4: Likewise.
5542 1.1 christos * gnulib/import/m4/locale-ja.m4: Likewise.
5543 1.1 christos * gnulib/import/m4/locale-zh.m4: Likewise.
5544 1.1 christos * gnulib/import/m4/mbrtowc.m4: Likewise.
5545 1.1 christos * gnulib/import/m4/mbsinit.m4: Likewise.
5546 1.1 christos * gnulib/import/m4/mbsrtowcs.m4: Likewise.
5547 1.1 christos * gnulib/import/m4/mbstate_t.m4: Likewise.
5548 1.1 christos * gnulib/import/m4/stdbool.m4: Likewise.
5549 1.1 christos * gnulib/import/m4/wchar_h.m4: Likewise.
5550 1.1 christos * gnulib/import/m4/wctype_h.m4: Likewise.
5551 1.1 christos * gnulib/import/m4/wint_t.m4: Likewise.
5552 1.1 christos * gnulib/import/mbrtowc.c: Likewise.
5553 1.1 christos * gnulib/import/mbsinit.c: Likewise.
5554 1.1 christos * gnulib/import/mbsrtowcs-impl.h: Likewise.
5555 1.1 christos * gnulib/import/mbsrtowcs-state.c: Likewise.
5556 1.1 christos * gnulib/import/mbsrtowcs.c: Likewise.
5557 1.1 christos * gnulib/import/ref-add.sin: Likewise.
5558 1.1 christos * gnulib/import/ref-del.sin: Likewise.
5559 1.1 christos * gnulib/import/stdbool.in.h: Likewise.
5560 1.1 christos * gnulib/import/streq.h: Likewise.
5561 1.1 christos * gnulib/import/strnlen1.c: Likewise.
5562 1.1 christos * gnulib/import/strnlen1.h: Likewise.
5563 1.1 christos * gnulib/import/verify.h: Likewise.
5564 1.1 christos * gnulib/import/wchar.in.h: Likewise.
5565 1.1 christos * gnulib/import/wctype.in.h: Likewise.
5566 1.1 christos
5567 1.1 christos 2012-07-02 Jan Kratochvil <jan.kratochvil (a] redhat.com>
5568 1.1 christos
5569 1.1 christos Support shell wildcards for 'set auto-load safe-path'.
5570 1.1 christos * auto-load.c: Include fnmatch.h.
5571 1.1 christos (filename_is_in_dir): Rename to ...
5572 1.1 christos (filename_is_in_pattern_1, filename_is_in_pattern): ... here and split
5573 1.1 christos it. Update function comment. Rename dir_len to pattern_len. New
5574 1.1 christos variables filename_len, pattern and filename. Add more DEBUG_AUTO_LOAD
5575 1.1 christos messages. Use gdb_filename_fnmatch.
5576 1.1 christos (filename_is_in_auto_load_safe_path_vec): Rename variable dir to
5577 1.1 christos pattern.
5578 1.1 christos (_initialize_auto_load): Extend the "set auto-load safe-path" help text.
5579 1.1 christos * defs.h (gdb_filename_fnmatch): New declaration.
5580 1.1 christos * utils.c: Include fnmatch.h.
5581 1.1 christos (gdb_filename_fnmatch): New function.
5582 1.1 christos
5583 1.1 christos 2012-07-02 Sergio Durigan Junior <sergiodj (a] redhat.com>
5584 1.1 christos
5585 1.1 christos * breakpoint.c (BREAK_ARGS_HELP): Include help message for the new
5586 1.1 christos `-probe' and `-probe-stap' options.
5587 1.1 christos
5588 1.1 christos 2012-07-01 Yao Qi <yao (a] codesourcery.com>
5589 1.1 christos
5590 1.1 christos * breakpoint.c: Removed always_inserted_auto, always_inserted_on,
5591 1.1 christos always_inserted_off, and always_inserted_enums.
5592 1.1 christos Change always_inserted_mode's type to 'enum auto_boolean'.
5593 1.1 christos (show_always_inserted_mode, breakpoint_always_inserted_mode): Update
5594 1.1 christos callers.
5595 1.1 christos (_initialize_breakpoint): Call add_setshow_auto_boolean_cmd instead
5596 1.1 christos of add_setshow_enum_cmd.
5597 1.1 christos * infrun.c: Remove can_use_displaced_stepping_auto,
5598 1.1 christos can_use_displaced_stepping_on, can_use_displaced_stepping_off, and
5599 1.1 christos can_use_displaced_stepping_enum.
5600 1.1 christos Change can_use_displaced_stepping's type to 'enum auto_boolean'.
5601 1.1 christos (show_can_use_displaced_stepping, use_displaced_stepping): Update
5602 1.1 christos callers.
5603 1.1 christos (_initialize_infrun): Call add_setshow_auto_boolean_cmd instead of
5604 1.1 christos add_setshow_enum_cmd.
5605 1.1 christos
5606 1.1 christos 2012-06-30 Doug Evans <dje (a] google.com>
5607 1.1 christos
5608 1.1 christos * dwarf2read.c (signatured_type): Make "per_cu" member first.
5609 1.1 christos (init_cutu_and_read_dies): Handle rereading a DWO CU while it's
5610 1.1 christos currently being read. Propagate DW_AT_comp_dir to DWO DIE.
5611 1.1 christos
5612 1.1 christos 2012-06-29 Doug Evans <dje (a] google.com>
5613 1.1 christos
5614 1.1 christos * linespec.c: #include "stack.h".
5615 1.1 christos (decode_line_with_current_source): Moved here from symtab.c and
5616 1.1 christos renamed from decode_line_spec. All callers updated.
5617 1.1 christos (decode_line_with_last_displayed): Moved here from breakpoint.c and
5618 1.1 christos renamed from decode_line_spec_1. All callers updated.
5619 1.1 christos * linespec.h (decode_line_with_current_source): Move declaration here
5620 1.1 christos from symtab.h and renamed from decode_line_spec.
5621 1.1 christos (decode_line_with_last_displayed): Move declaration here from symtab.h
5622 1.1 christos and renamed from decode_line_spec_1.
5623 1.1 christos * macrocmd.c: #include "linespec.h".
5624 1.1 christos * symtab.c: Remove #include "linespec.h".
5625 1.1 christos
5626 1.1 christos 2012-06-28 Doug Evans <dje (a] google.com>
5627 1.1 christos
5628 1.1 christos * dwarf2read.c (get_cu_length): New function.
5629 1.1 christos (offset_in_cu_p, error_check_comp_unit_head): Call it.
5630 1.1 christos (create_debug_types_hash_table): Ditto.
5631 1.1 christos (init_cutu_and_read_dies): Ditto.
5632 1.1 christos (init_cutu_and_read_dies_no_follow): Ditto.
5633 1.1 christos
5634 1.1 christos * dwarf2read.c (dwarf2_find_base_address): Move definition.
5635 1.1 christos
5636 1.1 christos * dwarf2read.c (ABBREV_HASH_SIZE): Remove enclosing #ifndef/#endif.
5637 1.1 christos (struct abbrev_table): Define.
5638 1.1 christos (dwarf2_cu): Replace members dwarf2_abbrevs, abbrev_obstack with
5639 1.1 christos abbrev_table.
5640 1.1 christos (init_cutu_and_read_dies): Update.
5641 1.1 christos (abbrev_table_alloc_abbrev): New function. Replaces
5642 1.1 christos dwarf_alloc_abbrev. All callers updated.
5643 1.1 christos (abbrev_table_add_abbrev): New function.
5644 1.1 christos (abbrev_table_lookup_abbrev): New function. Replaces
5645 1.1 christos dwarf2_lookup_abbrev. All callers updated.
5646 1.1 christos (abbrev_table_read_table): New function. Contents moved here from
5647 1.1 christos dwarf2_read_abbrevs.
5648 1.1 christos (dwarf2_read_abbrevs): Call it.
5649 1.1 christos (abbrev_table_free): New function.
5650 1.1 christos (dwarf2_free_abbrev_table): Call it.
5651 1.1 christos
5652 1.1 christos 2012-06-28 Stan Shebs <stan (a] codesourcery.com>
5653 1.1 christos
5654 1.1 christos * osdata.c (info_osdata_command): Filter out "Title" columns
5655 1.1 christos from non-MI uses.
5656 1.1 christos * common/linux-osdata.c (struct osdata_type): Add title field.
5657 1.1 christos (osdata_table): Add titles to each entry.
5658 1.1 christos (linux_command_xfer_osdata): Add a column for title data.
5659 1.1 christos
5660 1.1 christos 2012-06-28 Stan Shebs <stan (a] codesourcery.com>
5661 1.1 christos
5662 1.1 christos Make logging work for MI.
5663 1.1 christos * NEWS: Mention it.
5664 1.1 christos * interps.h (interp_set_logging_ftype): New typedef.
5665 1.1 christos (struct interp_procs): New field set_logging_proc.
5666 1.1 christos (current_interp_set_logging): Declare.
5667 1.1 christos * interps.c (current_interp_set_logging): New function.
5668 1.1 christos * cli/cli-logging.c: Include interps.h.
5669 1.1 christos (set_logging_redirect): Call current_interp_set_logging.
5670 1.1 christos (pop_output_files): Ditto.
5671 1.1 christos (handle_redirections): Ditto, plus skip ui-out redirect if MI.
5672 1.1 christos * mi/mi-console.h (mi_console_set_raw): Declare.
5673 1.1 christos * mi/mi-console.c (mi_console_set_raw): New function.
5674 1.1 christos * mi/mi-interp.c (saved_raw_stdout): New global.
5675 1.1 christos (mi_set_logging): New function.
5676 1.1 christos (_initialize_mi_interp): Add it to interp procs.
5677 1.1 christos
5678 1.1 christos 2012-06-28 Doug Evans <dje (a] google.com>
5679 1.1 christos
5680 1.1 christos * symtab.c (lookup_symbol_aux_objfile): Use
5681 1.1 christos ALL_OBJFILE_PRIMARY_SYMTABS.
5682 1.1 christos
5683 1.1 christos * gdbtypes.c (lookup_typename): Rename local variable "tmp" to "type".
5684 1.1 christos
5685 1.1 christos 2012-06-28 Jan Kratochvil <jan.kratochvil (a] redhat.com>
5686 1.1 christos
5687 1.1 christos * common/buffer.c: Include inttypes.h and stdint.h.
5688 1.1 christos (buffer_xml_printf): Use PRId64, PRIu64, PRIx64 and PRIo64.
5689 1.1 christos
5690 1.1 christos 2012-06-28 Jan Kratochvil <jan.kratochvil (a] redhat.com>
5691 1.1 christos Pedro Alves <palves (a] redhat.com>
5692 1.1 christos
5693 1.1 christos * gdbthread.h (ALL_THREADS): New macro.
5694 1.1 christos (thread_list): Declare.
5695 1.1 christos * infrun.c (handle_inferior_event) <spurious signal>: Don't keep
5696 1.1 christos going, but instead fall through to the stepping handling.
5697 1.1 christos * linux-nat.c (resume_lwp): New parameter 'signo'. Resume with
5698 1.1 christos the passed in signal. Adjust debug output.
5699 1.1 christos (resume_callback): Rename to ...
5700 1.1 christos (linux_nat_resume_callback): ... this. Pass the thread's last
5701 1.1 christos stop signal, if in "pass" state.
5702 1.1 christos (linux_nat_resume): Adjust to rename.
5703 1.1 christos (stop_wait_callback): New assertion. Don't respawn signals;
5704 1.1 christos instead let the LWP remain with SIGNALLED set.
5705 1.1 christos (linux_nat_wait_1): Remove flushing of pending SIGSTOPs.
5706 1.1 christos * remote.c (append_pending_thread_resumptions): New.
5707 1.1 christos (remote_vcont_resume): Call it.
5708 1.1 christos * target.h (target_resume): Extend comment.
5709 1.1 christos
5710 1.1 christos 2012-06-28 Iain Sandoe <iain (a] codesourcery.com>
5711 1.1 christos
5712 1.1 christos * auxv.c (fprint_target_auxv): Handle extended cache data tags.
5713 1.1 christos
5714 1.1 christos 2012-06-27 Doug Evans <dje (a] google.com>
5715 1.1 christos
5716 1.1 christos * dwarf2read.c (dwarf2_cu): Add ranges_base.
5717 1.1 christos Delete have_addr_base, unused. All uses updated.
5718 1.1 christos (init_cutu_and_read_dies): Process DW_AT_GNU_ranges_base.
5719 1.1 christos (dwarf2_get_pc_bounds): Add ranges_base.
5720 1.1 christos (dwarf2_record_block_ranges): Ditto.
5721 1.1 christos
5722 1.1 christos 2012-06-27 Tom Tromey <tromey (a] redhat.com>
5723 1.1 christos
5724 1.1 christos PR macros/7961:
5725 1.1 christos * varobj.c (varobj_create): Update.
5726 1.1 christos (varobj_set_value): Update.
5727 1.1 christos * tracepoint.c (validate_actionline): Update.
5728 1.1 christos (encode_actions_1): Update.
5729 1.1 christos * parse.c (parse_exp_1): Add 'pc' argument.
5730 1.1 christos (parse_exp_in_context): Add 'pc' argument. Change how
5731 1.1 christos expression_context_pc is set.
5732 1.1 christos (parse_expression): Update.
5733 1.1 christos (parse_field_expression): Update.
5734 1.1 christos * expression.h (parse_exp_1): Update.
5735 1.1 christos * eval.c (parse_to_comma_and_eval): Update.
5736 1.1 christos * breakpoint.c (set_breakpoint_condition): Update.
5737 1.1 christos (update_watchpoint): Update.
5738 1.1 christos (init_breakpoint_sal): Update
5739 1.1 christos (find_condition_and_thread): Update.
5740 1.1 christos (watch_command_1): Update.
5741 1.1 christos (update_breakpoint_locations): Update.
5742 1.1 christos * ada-lang.c (ada_read_renaming_var_value): Update.
5743 1.1 christos (create_excep_cond_exprs): Update.
5744 1.1 christos
5745 1.1 christos 2012-06-27 Doug Evans <dje (a] google.com>
5746 1.1 christos
5747 1.1 christos * dwarf2read.c (per_cu_header_read_in): Simplify, and handle
5748 1.1 christos type units.
5749 1.1 christos
5750 1.1 christos 2012-06-26 Doug Evans <dje (a] google.com>
5751 1.1 christos
5752 1.1 christos * dwarf2read.c (read_and_check_comp_unit_head): Delete unnecessary
5753 1.1 christos prototype.
5754 1.1 christos (error_check_comp_unit_head): New arg abbrev_section. All callers
5755 1.1 christos updated.
5756 1.1 christos (read_and_check_comp_unit_head): Ditto.
5757 1.1 christos (read_and_check_type_unit_head): Ditto.
5758 1.1 christos
5759 1.1 christos 2012-06-26 Siva Chandra Reddy <sivachandra (a] google.com>
5760 1.1 christos
5761 1.1 christos New attribute 'last' for gdb.Symtab_and_line.
5762 1.1 christos * NEWS (Python Scripting): Add entry about the new attribute.
5763 1.1 christos * python/py-symtab.c (salpy_get_last): New function which
5764 1.1 christos implements the get method for the 'last' attribute of
5765 1.1 christos gdb.Symtab_and_line.
5766 1.1 christos (sal_object_getset): Add entry for the 'last' attribute.
5767 1.1 christos
5768 1.1 christos 2012-06-26 Doug Evans <dje (a] google.com>
5769 1.1 christos
5770 1.1 christos * dwarf2read.c (dwo_section_names): Add macinfo_dwo, macro_dwo.
5771 1.1 christos (dwo_sections): Add macinfo, macro.
5772 1.1 christos (dwarf2_locate_dwo_sections): Watch for macro sections.
5773 1.1 christos (dwarf_decode_macros): Remove args lh, abfd, section, section_name.
5774 1.1 christos All callers updated. Handle DWO files.
5775 1.1 christos
5776 1.1 christos * NEWS: Mention new options "set debug dwarf2-read" and
5777 1.1 christos "set debug symtab-create".
5778 1.1 christos * dwarf2read.c (dwarf2_read_debug): New static global.
5779 1.1 christos (dwarf2_build_psymtabs_hard): Add debugging printfs.
5780 1.1 christos (process_queue): Ditto.
5781 1.1 christos (process_full_comp_unit): Ditto.
5782 1.1 christos (_initialize_dwarf2_read): Add new option "set debug dwarf2-read".
5783 1.1 christos * elfread.c (elf_symfile_read): Add debugging printf.
5784 1.1 christos * minsyms.c (install_minimal_symbols): Ditto.
5785 1.1 christos * psymtab.c (allocate_psymtab): Ditto.
5786 1.1 christos * symfile.c (allocate_symtab): Ditto.
5787 1.1 christos * symtab.c (symtab_create_debug): New global.
5788 1.1 christos (_initialize_symtab): Add new option "set debug symtab-create".
5789 1.1 christos * symtab.h (symtab_create_debug): Declare.
5790 1.1 christos
5791 1.1 christos * dwarf2read.c (lookup_dwo_comp_unit): Enhance comment.
5792 1.1 christos (lookup_dwo_type_unit): Ditto.
5793 1.1 christos
5794 1.1 christos 2012-06-26 Roland McGrath <roland (a] hack.frob.com>
5795 1.1 christos H.J. Lu <hongjiu.lu (a] intel.com>
5796 1.1 christos
5797 1.1 christos * amd64-linux-nat.c: Include <sys/user.h>.
5798 1.1 christos (ps_get_thread_area): Use PTRACE_PEEKUSER to get fs_base/gs_base
5799 1.1 christos if HAVE_STRUCT_USER_REGS_STRUCT_FS_BASE or
5800 1.1 christos HAVE_STRUCT_USER_REGS_STRUCT_GS_BASE is defined.
5801 1.1 christos
5802 1.1 christos * configure.ac: Check if the fs_base and gs_base members of
5803 1.1 christos `struct user_regs_struct' exist.
5804 1.1 christos * config.in: Regenerated.
5805 1.1 christos * configure: Likewise.
5806 1.1 christos
5807 1.1 christos 2012-06-25 Michael Eager <eager (a] eagercon.com>
5808 1.1 christos
5809 1.1 christos PR python/14291
5810 1.1 christos * python/python.c (gdbpy_write): Check for interrupted output.
5811 1.1 christos
5812 1.1 christos 2012-06-25 Greta Yorsh <greta.yorsh (a] arm.com>
5813 1.1 christos
5814 1.1 christos * arm-tdep.c (arm_in_function_epilogue_p): Recognize POP with a single
5815 1.1 christos register as a stack alignment in ARM mode.
5816 1.1 christos
5817 1.1 christos 2012-06-24 Jan Kratochvil <jan.kratochvil (a] redhat.com>
5818 1.1 christos
5819 1.1 christos Update gnulib to GIT commit a39f53ccb70a613e647e1019fb4c63645220267e.
5820 1.1 christos * gnulib/config.in: Regenerate.
5821 1.1 christos * gnulib/configure: Likewise.
5822 1.1 christos * gnulib/import/m4/extensions.m4: Update it.
5823 1.1 christos * gnulib/import/m4/gnulib-common.m4: Likewise.
5824 1.1 christos * gnulib/import/m4/memmem.m4: Likewise.
5825 1.1 christos * gnulib/import/m4/mmap-anon.m4: Likewise.
5826 1.1 christos * gnulib/import/m4/multiarch.m4: Likewise.
5827 1.1 christos * gnulib/import/stdint.in.h: Likewise.
5828 1.1 christos
5829 1.1 christos 2012-06-24 Yao Qi <yao (a] codesourcery.com>
5830 1.1 christos
5831 1.1 christos * corefile.c (write_memory_with_notification): New.
5832 1.1 christos * gdbcore.h: Declare write_memory_with_notification.
5833 1.1 christos * ada-lang.c (ada_value_assign): Replace 'write_memory' and
5834 1.1 christos 'observer_notify_memory_changed' with 'write_memory_with_notification'.
5835 1.1 christos * valops.c (value_assign): Likewise.
5836 1.1 christos * python/py-inferior.c (infpy_write_memory): Call
5837 1.1 christos 'write_memory_with_notification'.
5838 1.1 christos
5839 1.1 christos 2012-06-24 Jan Kratochvil <jan.kratochvil (a] redhat.com>
5840 1.1 christos
5841 1.1 christos * cc-with-index.sh: Use also -ex "set auto-load no".
5842 1.1 christos
5843 1.1 christos 2012-06-23 Doug Evans <dje (a] google.com>
5844 1.1 christos
5845 1.1 christos PR 14125
5846 1.1 christos * NEWS: Document additions to .gdb_index.
5847 1.1 christos * dwarf2read.c: #include "gdb/gdb-index.h".
5848 1.1 christos (DW2_GDB_INDEX_SYMBOL_STATIC_SET_VALUE): New macro.
5849 1.1 christos (DW2_GDB_INDEX_SYMBOL_KIND_SET_VALUE): New macro.
5850 1.1 christos (DW2_GDB_INDEX_CU_SET_VALUE): New macro.
5851 1.1 christos (dwarf2_read_index): Recognize version 7.
5852 1.1 christos (dw2_do_expand_symtabs_matching): New args want_specific_block,
5853 1.1 christos block_kind, domain): All callers updated.
5854 1.1 christos (dw2_find_symbol_file): Handle new index CU values.
5855 1.1 christos (dw2_expand_symtabs_matching): Match symbol kind if requested.
5856 1.1 christos (add_index_entry): New args is_static, kind. All callers updated.
5857 1.1 christos (offset_type_compare, uniquify_cu_indices): New functions
5858 1.1 christos (symbol_kind): New function.
5859 1.1 christos (write_psymtabs_to_index): Remove duplicate CU values.
5860 1.1 christos (write_psymtabs_to_index): Write .gdb_index version 7.
5861 1.1 christos
5862 1.1 christos 2012-06-22 Joel Brobecker <brobecker (a] adacore.com>
5863 1.1 christos
5864 1.1 christos * configure.ac (build_warnings): Add -Wdeclaration-after-statement.
5865 1.1 christos * configure: Regenerate.
5866 1.1 christos
5867 1.1 christos 2012-06-20 Yao Qi <yao (a] codesourcery.com>
5868 1.1 christos
5869 1.1 christos * python/py-inferior.c: Update comments of infpy_read_memory
5870 1.1 christos and infpy_write_memory.
5871 1.1 christos
5872 1.1 christos 2012-06-19 Tom Tromey <tromey (a] redhat.com>
5873 1.1 christos
5874 1.1 christos PR exp/9514:
5875 1.1 christos * parser-defs.h (insert_type, insert_type_address_space): Declare.
5876 1.1 christos (push_type_address_space): Remove.
5877 1.1 christos * parse.c (insert_into_type_stack): New function.
5878 1.1 christos (insert_type): Likewise.
5879 1.1 christos (insert_type_address_space): Rename from push_type_address_space.
5880 1.1 christos Insert tp_space_identifier.
5881 1.1 christos * c-exp.y (ptr_operator): New production.
5882 1.1 christos (abs_decl): Use ptr_operator.
5883 1.1 christos (space_identifier): Call insert_type_address_space.
5884 1.1 christos (ptype): Don't use const_or_volatile_or_space_identifier.
5885 1.1 christos (const_or_volatile_noopt): Call insert_type.
5886 1.1 christos (conversion_type_id, conversion_declarator): New productions.
5887 1.1 christos (operator): Use conversion_type_id.
5888 1.1 christos
5889 1.1 christos 2012-06-18 Doug Evans <dje (a] google.com>
5890 1.1 christos
5891 1.1 christos * symtab.h (minimal_symbol): New member created_by_gdb.
5892 1.1 christos * elfread.c (elf_symtab_read): Set created_by_gdb for @plt minsym
5893 1.1 christos created by gdb.
5894 1.1 christos * symtab.c (lookup_symbol_in_objfile_from_linkage_name): New function.
5895 1.1 christos (search_symbols): Call it instead of lookup_symbol.
5896 1.1 christos Skip symbols created by gdb. Only scan minsyms if nfiles == 0.
5897 1.1 christos
5898 1.1 christos * dwarf2expr.c (execute_stack_op): Handle DW_OP_GNU_const_index.
5899 1.1 christos Adjust address for DW_OP_GNU_addr_index.
5900 1.1 christos * dwarf2expr.h (dwarf_expr_context): Update comment.
5901 1.1 christos * dwarf2loc.c (locexpr_describe_location_piece): New arg per_cu,
5902 1.1 christos all callers updated. Handle TLS vars described with
5903 1.1 christos DW_OP_GNU_const_index.
5904 1.1 christos (disassemble_dwarf_expression): Handle DW_OP_GNU_addr_index
5905 1.1 christos and DW_OP_GNU_const_index.
5906 1.1 christos * dwarf2read.c (decode_locdesc): Handle DW_OP_GNU_addr_index.
5907 1.1 christos
5908 1.1 christos * block.c (find_block_in_blockvector): Make explicit the fact that we
5909 1.1 christos ignore GLOBAL_BLOCK.
5910 1.1 christos
5911 1.1 christos 2012-06-18 Tom Tromey <tromey (a] redhat.com>
5912 1.1 christos
5913 1.1 christos * c-exp.y (operator): Remove trailing space after "delete" and
5914 1.1 christos "delete[]".
5915 1.1 christos
5916 1.1 christos 2012-06-18 Mark Kettenis <kettenis (a] gnu.org>
5917 1.1 christos Jan Kratochvil <jan.kratochvil (a] redhat.com>
5918 1.1 christos
5919 1.1 christos Switch i386 and derived targets to ON_STACK.
5920 1.1 christos * amd64-dicos-tdep.c (amd64_dicos_push_dummy_code): Remove.
5921 1.1 christos (amd64_dicos_init_abi): Remove its installment.
5922 1.1 christos * dicos-tdep.c (dicos_init_abi): Remove the
5923 1.1 christos set_gdbarch_call_dummy_location call. Update the comment here.
5924 1.1 christos * i386-dicos-tdep.c (i386_dicos_push_dummy_code): Remove.
5925 1.1 christos (i386_dicos_init_abi): Remove its installment.
5926 1.1 christos * i386-tdep.c (i386_push_dummy_code): New function.
5927 1.1 christos (i386_gdbarch_init): Call set_gdbarch_call_dummy_location, install
5928 1.1 christos i386_push_dummy_code.
5929 1.1 christos
5930 1.1 christos 2012-06-18 Jan Kratochvil <jan.kratochvil (a] redhat.com>
5931 1.1 christos
5932 1.1 christos Remove stale dummy frames.
5933 1.1 christos * breakpoint.c: Include dummy-frame.h.
5934 1.1 christos (longjmp_breakpoint_ops): New variable.
5935 1.1 christos (update_breakpoints_after_exec, breakpoint_init_inferior): Delete also
5936 1.1 christos bp_longjmp_call_dummy.
5937 1.1 christos (bpstat_what, bptype_string, print_one_breakpoint_location)
5938 1.1 christos (init_bp_location): Support bp_longjmp_call_dummy.
5939 1.1 christos (set_longjmp_breakpoint): Use longjmp_breakpoint_ops. Comment why.
5940 1.1 christos (set_longjmp_breakpoint_for_call_dummy)
5941 1.1 christos (check_longjmp_breakpoint_for_call_dummy, longjmp_bkpt_dtor): New
5942 1.1 christos functions.
5943 1.1 christos (initialize_breakpoint_ops): Initialize longjmp_breakpoint_ops.
5944 1.1 christos * breakpoint.h (enum bptype): New item bp_longjmp_call_dummy. Delete
5945 1.1 christos FIXME comment and extend the other comment for bp_call_dummy.
5946 1.1 christos (set_longjmp_breakpoint_for_call_dummy)
5947 1.1 christos (check_longjmp_breakpoint_for_call_dummy): New declarations.
5948 1.1 christos * dummy-frame.c: Include gdbthread.h.
5949 1.1 christos (pop_dummy_frame_bpt): New function.
5950 1.1 christos (pop_dummy_frame): Call pop_dummy_frame_bpt.
5951 1.1 christos (dummy_frame_discard): New function.
5952 1.1 christos (cleanup_dummy_frames): Update the comment about longjmps.
5953 1.1 christos * dummy-frame.h (dummy_frame_discard): New declaration.
5954 1.1 christos * gdbthread.h (struct thread_info): Extend initiating_frame comment.
5955 1.1 christos * infcall.c (call_function_by_hand): New variable longjmp_b. Call
5956 1.1 christos set_longjmp_breakpoint_for_call_dummy. Chain its breakpoints with BPT.
5957 1.1 christos * infrun.c (handle_inferior_event) <BPSTAT_WHAT_CLEAR_LONGJMP_RESUME>:
5958 1.1 christos Add case 4 comment. Call check_longjmp_breakpoint_for_call_dummy and
5959 1.1 christos keep_going if IS_LONGJMP and there is no other reason to stop.
5960 1.1 christos
5961 1.1 christos 2012-06-18 Greta Yorsh <Greta.Yorsh (a] arm.com>
5962 1.1 christos
5963 1.1 christos * remote-sim.c (sim_command_completer): Initialize
5964 1.1 christos variable 'result'.
5965 1.1 christos
5966 1.1 christos 2012-06-17 Jan Kratochvil <jan.kratochvil (a] redhat.com>
5967 1.1 christos
5968 1.1 christos * dwarf2expr.c (execute_stack_op): Support DW_OP_GNU_parameter_ref.
5969 1.1 christos * dwarf2loc.c (call_site_parameter_matches): Support
5970 1.1 christos CALL_SITE_PARAMETER_PARAM_OFFSET.
5971 1.1 christos (needs_dwarf_reg_entry_value): Push stub value.
5972 1.1 christos * dwarf2read.c (read_call_site_scope): New variable origin. Support
5973 1.1 christos CALL_SITE_PARAMETER_PARAM_OFFSET and its DW_AT_abstract_origin.
5974 1.1 christos * gdbtypes.h (enum call_site_parameter_kind): New item
5975 1.1 christos CALL_SITE_PARAMETER_PARAM_OFFSET.
5976 1.1 christos (struct call_site.parameter.u): New field param_offset.
5977 1.1 christos
5978 1.1 christos 2012-06-17 Jan Kratochvil <jan.kratochvil (a] redhat.com>
5979 1.1 christos
5980 1.1 christos Code cleanup: Generalize call_site.parameter key.
5981 1.1 christos * dwarf2expr.c (execute_stack_op) <DW_OP_GNU_entry_value>: Remove
5982 1.1 christos variable dwarf_reg. New variable kind_u. Update parameters to
5983 1.1 christos push_dwarf_reg_entry_value.
5984 1.1 christos (ctx_no_push_dwarf_reg_entry_value): Update parameters.
5985 1.1 christos * dwarf2expr.h (enum call_site_parameter_kind)
5986 1.1 christos (union call_site_parameter_u): Forward declarations.
5987 1.1 christos (struct dwarf_expr_context_funcs): Update parameters and their
5988 1.1 christos description for push_dwarf_reg_entry_value.
5989 1.1 christos (ctx_no_push_dwarf_reg_entry_value): Update parameters.
5990 1.1 christos * dwarf2loc.c (call_site_parameter_matches): New function.
5991 1.1 christos (dwarf_expr_reg_to_entry_parameter): Update parameters and their
5992 1.1 christos description. Use call_site_parameter_matches.
5993 1.1 christos (dwarf_expr_push_dwarf_reg_entry_value, value_of_dwarf_reg_entry):
5994 1.1 christos Update parameters and their description.
5995 1.1 christos (value_of_dwarf_block_entry): Remove variables dwarf_reg and fb_offset.
5996 1.1 christos New variable kind_u. Adjust the caller for updated parameters.
5997 1.1 christos (needs_dwarf_reg_entry_value): Update parameters.
5998 1.1 christos * dwarf2read.c (read_call_site_scope): New variable loc. Use it
5999 1.1 christos instead of attr. Update for the changed fields of struct
6000 1.1 christos call_site_parameter.
6001 1.1 christos * gdbtypes.h: Include dwarf2expr.h.
6002 1.1 christos (enum call_site_parameter_kind): New.
6003 1.1 christos (struct call_site.parameter): New field kind. Wrap dwarf_reg and
6004 1.1 christos fb_offset into new union u.
6005 1.1 christos
6006 1.1 christos 2012-06-16 H.J. Lu <hongjiu.lu (a] intel.com>
6007 1.1 christos
6008 1.1 christos * amd64-tdep.c (amd64_x32_analyze_stack_align): New function.
6009 1.1 christos (amd64_analyze_prologue): Call amd64_x32_analyze_stack_align
6010 1.1 christos for x32.
6011 1.1 christos
6012 1.1 christos 2012-06-16 H.J. Lu <hongjiu.lu (a] intel.com>
6013 1.1 christos
6014 1.1 christos * amd64-linux-nat.c (compat_x32_clock_t): New.
6015 1.1 christos (compat_x32_siginfo_t): Likewise.
6016 1.1 christos (compat_x32_siginfo_from_siginfo): Likewise.
6017 1.1 christos (siginfo_from_compat_x32_siginfo): Likewise.
6018 1.1 christos (amd64_linux_siginfo_fixup): Call compat_x32_siginfo_from_siginfo
6019 1.1 christos and siginfo_from_compat_x32_siginfo for x32.
6020 1.1 christos
6021 1.1 christos 2012-06-15 Hui Zhu <hui_zhu (a] mentor.com>
6022 1.1 christos
6023 1.1 christos * tracepoint.c (tfile_xfer_partial): Add a lseek.
6024 1.1 christos
6025 1.1 christos 2012-06-15 H.J. Lu <hongjiu.lu (a] intel.com>
6026 1.1 christos
6027 1.1 christos * amd64-linux-nat.c (ps_get_thread_area): Check bits_per_word
6028 1.1 christos instead of gdbarch_ptr_bit.
6029 1.1 christos * amd64-nat.c (amd64_native_gregset_reg_offset): Likewise.
6030 1.1 christos (amd64_supply_native_gregset): Likewise.
6031 1.1 christos (amd64_collect_native_gregset): Likewise.
6032 1.1 christos * amd64-tdep.c (amd64_supply_fxsave): Likewise.
6033 1.1 christos (amd64_supply_xsave): Likewise.
6034 1.1 christos (amd64_collect_fxsave): Likewise.
6035 1.1 christos (amd64_collect_xsave): Likewise.
6036 1.1 christos
6037 1.1 christos 2012-06-15 H.J. Lu <hongjiu.lu (a] intel.com>
6038 1.1 christos
6039 1.1 christos * amd64-linux-nat.c (AMD64_LINUX_X32_DS): New.
6040 1.1 christos (amd64_linux_read_description): Check DS segment register for
6041 1.1 christos x32 process.
6042 1.1 christos
6043 1.1 christos 2012-06-15 Tom Tromey <tromey (a] redhat.com>
6044 1.1 christos
6045 1.1 christos * dwarf2read.c (dw2_find_symbol_file): Unconditionally use
6046 1.1 christos init_cutu_and_read_dies.
6047 1.1 christos
6048 1.1 christos 2012-06-15 Iain Sandoe <iain (a] codesourcery.com>
6049 1.1 christos
6050 1.1 christos * MAINTAINERS (Write After Approval): Add myself to the list.
6051 1.1 christos
6052 1.1 christos 2012-06-15 Tom Tromey <tromey (a] redhat.com>
6053 1.1 christos
6054 1.1 christos * valops.c (value_find_oload_method_list): Now static.
6055 1.1 christos * value.h (value_find_oload_method_list): Don't declare.
6056 1.1 christos
6057 1.1 christos 2012-06-15 Tom Tromey <tromey (a] redhat.com>
6058 1.1 christos
6059 1.1 christos * valops.c (find_overload_match): Use value_ind.
6060 1.1 christos
6061 1.1 christos 2012-06-15 Maciej W. Rozycki <macro (a] codesourcery.com>
6062 1.1 christos
6063 1.1 christos * infrun.c (handle_inferior_event): Correct indentation.
6064 1.1 christos
6065 1.1 christos 2012-06-14 Doug Evans <dje (a] google.com>
6066 1.1 christos
6067 1.1 christos * dwarf2loc.c (debug_loc_kind): Add DEBUG_LOC_START_LENGTH.
6068 1.1 christos (DEBUG_LOC_START_END): Renamed from DEBUG_LOC_NORMAL.
6069 1.1 christos All uses updated.
6070 1.1 christos (decode_debug_loc_dwo_addresses): New arg "byte_order". All callers
6071 1.1 christos updated. Handle DEBUG_LOC_START_LENGTH.
6072 1.1 christos (dwarf2_find_location_expression): Handle DEBUG_LOC_START_LENGTH.
6073 1.1 christos (loclist_describe_location): Ditto.
6074 1.1 christos
6075 1.1 christos 2012-06-14 Maciej W. Rozycki <macro (a] codesourcery.com>
6076 1.1 christos
6077 1.1 christos PR backtrace/13866
6078 1.1 christos * infrun.c (handle_inferior_event): Re-fetch frame and gdbarch
6079 1.1 christos after hiding inline functions.
6080 1.1 christos
6081 1.1 christos 2012-06-13 Joel Brobecker <brobecker (a] adacore.com>
6082 1.1 christos
6083 1.1 christos * inf-ttrace.c (_initialize_hppa_hpux_nat): Rename into
6084 1.1 christos _initialize_inf_ttrace.
6085 1.1 christos
6086 1.1 christos 2012-06-13 Joel Brobecker <brobecker (a] adacore.com>
6087 1.1 christos
6088 1.1 christos * ia64-hpux-nat.c (_initialize_ia64_hpux_nat): Renames
6089 1.1 christos _initialize_hppa_hpux_nat.
6090 1.1 christos
6091 1.1 christos 2012-06-13 Joel Brobecker <brobecker (a] adacore.com>
6092 1.1 christos
6093 1.1 christos * remote-sim.c (sim_command_completer): Change type of return
6094 1.1 christos value to "VEC (char_ptr) *". Adjust implementation accordingly.
6095 1.1 christos
6096 1.1 christos 2012-06-13 Mark Kettenis <kettenis (a] gnu.org>
6097 1.1 christos Jan Kratochvil <jan.kratochvil (a] redhat.com>
6098 1.1 christos
6099 1.1 christos PR tdep/14222
6100 1.1 christos * i386-tdep.c (i386_push_dummy_call): Unconditionally align the
6101 1.1 christos stack on a 16-byte boundary.
6102 1.1 christos
6103 1.1 christos 2012-06-13 Kaushik Srenevasan <kaushik (a] twitter.com>
6104 1.1 christos
6105 1.1 christos * jit.c (finalize_symtab): Set function's return type to 'void' by
6106 1.1 christos default.
6107 1.1 christos
6108 1.1 christos 2012-06-13 Mark Kettenis <kettenis (a] gnu.org>
6109 1.1 christos H.J. Lu <hongjiu.lu (a] intel.com>
6110 1.1 christos
6111 1.1 christos * amd64-linux-tdep.c (amd64_linux_init_abi_common): New function.
6112 1.1 christos Move bits common to both the classic LP64 and the new x32 ILP32
6113 1.1 christos ABI here.
6114 1.1 christos (amd64_linux_init_abi): Call amd64_linux_init_abi_common.
6115 1.1 christos (amd64_x32_linux_init_abi): New function.
6116 1.1 christos (_initialize_amd64_linux_tdep): Register osabi for bfd_mach_x64_32
6117 1.1 christos subtype.
6118 1.1 christos
6119 1.1 christos * i386-tdep.h (i386_pseudo_register_name): New prototype.
6120 1.1 christos * i386-tdep.c (i386_pseudo_register_name): Make public.
6121 1.1 christos * amd64-tdep.h (amd64_x32_init_abi): New prototype.
6122 1.1 christos * amd64-tdep.c (amd64_dword_names): Add "eip".
6123 1.1 christos (amd64_x32_pseudo_register_type): New function
6124 1.1 christos (amd64_x32_init_abi): New function.
6125 1.1 christos
6126 1.1 christos 2012-06-13 Jan Kratochvil <jan.kratochvil (a] redhat.com>
6127 1.1 christos
6128 1.1 christos PR build/14003
6129 1.1 christos * inferior.h (struct inferior_suspend_state): Comment out.
6130 1.1 christos (struct inferior): Comment out the field suspend.
6131 1.1 christos * infrun.c (struct infcall_suspend_state): Comment out the field
6132 1.1 christos inferior_suspend.
6133 1.1 christos (save_infcall_suspend_state, restore_infcall_suspend_state): Comment
6134 1.1 christos out its assignment.
6135 1.1 christos
6136 1.1 christos 2012-06-13 Jan Kratochvil <jan.kratochvil (a] redhat.com>
6137 1.1 christos
6138 1.1 christos PR c++/14177 - Fix parsing TYPENAME:: in parentheses.
6139 1.1 christos * c-exp.y (classify_inner_name): Remove caller assumptions in the
6140 1.1 christos function comment. Return ERROR for unresolved cases. Implement
6141 1.1 christos returning proper NAME.
6142 1.1 christos (yylex): Accept also NAME from classify_inner_name.
6143 1.1 christos * cp-namespace.c (cp_lookup_nested_type): Rename to ...
6144 1.1 christos (cp_lookup_nested_symbol): ... here. Return any found symbol, not just
6145 1.1 christos LOC_TYPEDEF type.
6146 1.1 christos * cp-support.h (cp_lookup_nested_type): Update its declaration.
6147 1.1 christos
6148 1.1 christos 2012-06-13 Tom Tromey <tromey (a] redhat.com>
6149 1.1 christos
6150 1.1 christos * breakpoint.c (condition_completer): New function.
6151 1.1 christos (_initialize_breakpoint): Use it.
6152 1.1 christos * value.c (complete_internalvar): New function.
6153 1.1 christos * value.h (complete_internalvar): Declare.
6154 1.1 christos
6155 1.1 christos 2012-06-13 Tom Tromey <tromey (a] redhat.com>
6156 1.1 christos
6157 1.1 christos * ada-lang.c (ada_make_symbol_completion_list): Return a VEC.
6158 1.1 christos * breakpoint.c (catch_syscall_completer): Return a VEC.
6159 1.1 christos * cli/cli-cmds.c (complete_command): Update.
6160 1.1 christos * cli/cli-decode.c (complete_on_cmdlist): Return a VEC.
6161 1.1 christos (complete_on_enum): Likewise.
6162 1.1 christos * command.h: Include gdb_vecs.h.
6163 1.1 christos (completer_ftype): Change return type.
6164 1.1 christos (complete_on_cmdlist, complete_on_enum): Likewise.
6165 1.1 christos * completer.c (noop_completer, filename_completer)
6166 1.1 christos (location_completer): Return a VEC.
6167 1.1 christos (add_struct_fields): Remove 'nextp' argument. Change 'output'
6168 1.1 christos to a VEC.
6169 1.1 christos (expression_completer, complete_line_internal, complete_line)
6170 1.1 christos (command_completer): Return a VEC.
6171 1.1 christos (gdb_completion_word_break_characters, line_completion_function):
6172 1.1 christos Update.
6173 1.1 christos * completer.h: Include gdb_vecs.h.
6174 1.1 christos (complete_line, noop_completer, filename_completer)
6175 1.1 christos (expression_completer, location_completer, command_completer):
6176 1.1 christos Update.
6177 1.1 christos * f-lang.c (f_word_break_characters): Return a VEC.
6178 1.1 christos * interps.c (interpreter_completer): Return a VEC.
6179 1.1 christos * language.h (struct language_defn)
6180 1.1 christos <la_make_symbol_completion_list>: Return a VEC.
6181 1.1 christos * python/py-cmd.c (cmdpy_completer): Return a VEC.
6182 1.1 christos * symtab.c (free_completion_list): Take a VEC.
6183 1.1 christos (return_val_size, return_val_index): Remove.
6184 1.1 christos (return_val): Now a VEC.
6185 1.1 christos (completion_list_add_name): Update.
6186 1.1 christos (default_make_symbol_completion_list_break_on)
6187 1.1 christos (default_make_symbol_completion_list, make_symbol_completion_list)
6188 1.1 christos (make_symbol_completion_list_fn, make_file_symbol_completion_list):
6189 1.1 christos Return a VEC.
6190 1.1 christos (add_filename_to_list): Update.
6191 1.1 christos (struct add_partial_filename_data) <list_used, list_alloced>: Remove.
6192 1.1 christos <list>: Now a VEC.
6193 1.1 christos (maybe_add_partial_symtab_filename): Update.
6194 1.1 christos (make_source_files_completion_list): Return a VEC.
6195 1.1 christos * symtab.h (default_make_symbol_completion_list_break_on)
6196 1.1 christos (default_make_symbol_completion_list, make_symbol_completion_list)
6197 1.1 christos (make_symbol_completion_list_fn, make_file_symbol_completion_list)
6198 1.1 christos (make_source_files_completion_list): Update.
6199 1.1 christos
6200 1.1 christos 2012-06-13 Tom Tromey <tromey (a] redhat.com>
6201 1.1 christos
6202 1.1 christos * breakpoint.c (add_catch_command): Use completer_ftype.
6203 1.1 christos * breakpoint.h: Include command.h.
6204 1.1 christos (add_catch_command): Use completer_ftype.
6205 1.1 christos * cli/cli-decode.c (set_cmd_completer): Use completer_ftype.
6206 1.1 christos * cli/cli-decode.h (struct cmd_list_element) <completer>:
6207 1.1 christos Use completer_ftype.
6208 1.1 christos * command.h (completer_ftype): New typedef.
6209 1.1 christos (set_cmd_completer): Use it.
6210 1.1 christos * python/py-cmd.c (struct cmdpy_completer) <completer>: Use
6211 1.1 christos completer_ftype.
6212 1.1 christos
6213 1.1 christos 2012-06-13 Pedro Alves <palves (a] redhat.com>
6214 1.1 christos
6215 1.1 christos Partial revert of previous change.
6216 1.1 christos
6217 1.1 christos * serial.c (scb_base): New global.
6218 1.1 christos (serial_for_fd): New.
6219 1.1 christos (serial_open, serial_fdopen_ops): Link new serial in open serials
6220 1.1 christos chain.
6221 1.1 christos (do_serial_close): Unlink serial from the open serials chain.
6222 1.1 christos
6223 1.1 christos 2012-06-12 Pedro Alves <palves (a] redhat.com>
6224 1.1 christos
6225 1.1 christos * infrun.c (infrun_thread_stop_requested_callback): Don't switch
6226 1.1 christos threads here.
6227 1.1 christos (prepare_for_detach): No longer context switch here in non-stop
6228 1.1 christos mode.
6229 1.1 christos (fetch_inferior_event): Ditto.
6230 1.1 christos (handle_inferior_event) <STOP_QUIETLY || NO_STOP_QUIETLY>: Switch
6231 1.1 christos to the event thread before removing breakpoints. Switch to the
6232 1.1 christos event thread before inserting breakpoints and resuming.
6233 1.1 christos (handle_inferior_event) <TARGET_WAITKIND_SPURIOUS>: Switch to the
6234 1.1 christos event thread before resuming.
6235 1.1 christos (handle_inferior_event) <stepping_past_singlestep_breakpoint>:
6236 1.1 christos Switch to the event thread before removing breakpoints.
6237 1.1 christos
6238 1.1 christos 2012-06-12 Eli Zaretskii <eliz (a] gnu.org>
6239 1.1 christos
6240 1.1 christos * infcmd.c (construct_inferior_arguments) [__MINGW32__]: Quote
6241 1.1 christos special characters correctly for the Windows shells. See
6242 1.1 christos http://sourceware.org/ml/gdb/2012-06/msg00047.html for the bug
6243 1.1 christos report.
6244 1.1 christos [!__MINGW32__]: Remove extra double quote character from special
6245 1.1 christos characters.
6246 1.1 christos
6247 1.1 christos 2012-06-11 Stan Shebs <stan (a] codesourcery.com>
6248 1.1 christos
6249 1.1 christos * ui-out.h: Remove #if 0 declarations.
6250 1.1 christos * ui-out.c: Remove #if 0 functions.
6251 1.1 christos
6252 1.1 christos 2012-06-11 Pedro Alves <palves (a] redhat.com>
6253 1.1 christos
6254 1.1 christos * ser-base.c (run_async_handler_and_reschedule): New.
6255 1.1 christos (fd_event, push_event): Use it.
6256 1.1 christos * serial.c (serial_open, serial_fdopen_ops): Set the initial
6257 1.1 christos reference count to 1.
6258 1.1 christos (do_serial_close): Set the bufp field to NULL. Use serial_unref
6259 1.1 christos instead of xfree.
6260 1.1 christos (serial_is_open, serial_ref, serial_unref): New.
6261 1.1 christos * serial.h (serial_open): Adjust comment.
6262 1.1 christos (serial_is_open): Declare.
6263 1.1 christos (serial_close): Adjust comment.
6264 1.1 christos (serial_ref, serial_unref) Declare.
6265 1.1 christos (struct serial): New field 'refcnt'.
6266 1.1 christos
6267 1.1 christos 2012-06-11 Pedro Alves <palves (a] redhat.com>
6268 1.1 christos
6269 1.1 christos Remove #if 0'd "connect" command, and unnecessary associated
6270 1.1 christos refcounting and serial reuse bits.
6271 1.1 christos
6272 1.1 christos * serial.h (struct serial): Remove fields 'next' and 'refcnt'.
6273 1.1 christos * serial.c (last_serial_opened): Delete.
6274 1.1 christos (scb_base): Delete.
6275 1.1 christos (serial_open): Adjust.
6276 1.1 christos (serial_for_fd): Delete.
6277 1.1 christos (serial_fdopen_ops, do_serial_close): Adjust.
6278 1.1 christos (serial_fdopen_ops): Adjust.
6279 1.1 christos
6280 1.1 christos 2012-06-11 Pedro Alves <palves (a] redhat.com>
6281 1.1 christos
6282 1.1 christos * serial.c (do_serial_close): Remove early return when SCB is
6283 1.1 christos null.
6284 1.1 christos
6285 1.1 christos 2012-06-11 Tom Tromey <tromey (a] redhat.com>
6286 1.1 christos
6287 1.1 christos * dwarf2read.c (dw2_get_file_names_reader): Ignore partial units.
6288 1.1 christos
6289 1.1 christos 2012-06-11 Jan Kratochvil <jan.kratochvil (a] redhat.com>
6290 1.1 christos
6291 1.1 christos Fix regression by the "ambiguous linespec" series.
6292 1.1 christos * breakpoint.c (parse_breakpoint_sals): New variable cursal. Use
6293 1.1 christos get_last_displayed_symtab and get_last_displayed_line and depending
6294 1.1 christos on CURSAL.
6295 1.1 christos
6296 1.1 christos 2012-06-11 Tom Tromey <tromey (a] redhat.com>
6297 1.1 christos
6298 1.1 christos * dwarf2read.c (dw2_get_primary_filename_reader): New function.
6299 1.1 christos (dw2_find_symbol_file): Use it.
6300 1.1 christos
6301 1.1 christos 2012-06-11 Michael Eager <eager (a] eagercon.com>
6302 1.1 christos
6303 1.1 christos * mips-linux-tdep.c (mips_gdb_signal_from_target): New
6304 1.1 christos * mips-linux-tdep.h (mips_signals): New
6305 1.1 christos
6306 1.1 christos 2012-06-11 Tom Tromey <tromey (a] redhat.com>
6307 1.1 christos
6308 1.1 christos * infrun.c (handle_inferior_event)
6309 1.1 christos <BPSTAT_WHAT_SET_LONGJMP_RESUME>: Don't delete the step-resume
6310 1.1 christos breakpoint.
6311 1.1 christos <BPSTAT_WHAT_CLEAR_LONGJMP_RESUME>: Remove longjmp logic; use
6312 1.1 christos exception logic in all cases. Update comments.
6313 1.1 christos (insert_longjmp_resume_breakpoint): Set the exception resume
6314 1.1 christos breakpoint.
6315 1.1 christos
6316 1.1 christos 2012-06-11 Maciej W. Rozycki <macro (a] codesourcery.com>
6317 1.1 christos
6318 1.1 christos * mips-tdep.c (mips_push_dummy_code): Handle microMIPS code.
6319 1.1 christos
6320 1.1 christos 2012-06-09 Siva Chandra Reddy <sivachandra (a] google.com>
6321 1.1 christos
6322 1.1 christos * valarith.c (binop_types_user_defined_p): Fix a typo.
6323 1.1 christos
6324 1.1 christos 2012-06-08 Yao Qi <yao (a] codesourcery.com>
6325 1.1 christos Chung-Lin Tang <cltang (a] codesourcery.com>
6326 1.1 christos
6327 1.1 christos * arch-utils.c (default_return_in_first_hidden_param_p): New.
6328 1.1 christos * arch-utils.h: Declare.
6329 1.1 christos * gdbarch.sh: Add return_in_first_hidden_param_p.
6330 1.1 christos * gdbarch.c, gdbarch.h: Regenerated.
6331 1.1 christos * infcall.c (call_function_by_hand): Call
6332 1.1 christos gdbarch_return_in_first_hidden_param_p instead of
6333 1.1 christos language_pass_by_reference.
6334 1.1 christos
6335 1.1 christos * m68k-tdep.c (m68k_return_in_first_hidden_param_p): New.
6336 1.1 christos (m68k_gdbarch_init): Install m68k_return_in_first_hidden_param_p.
6337 1.1 christos * sh-tdep.c (sh_return_in_first_hidden_param_p): New.
6338 1.1 christos (sh_gdbarch_init): Install sh_return_in_first_hidden_param_p.
6339 1.1 christos * tic6x-tdep.c (tic6x_push_dummy_call): Remove local variable
6340 1.1 christos `cplus_return_struct_by_reference'.
6341 1.1 christos (tic6x_return_value): Handle language cplusplus.
6342 1.1 christos (tic6x_return_in_first_hidden_param_p): New.
6343 1.1 christos (tic6x_gdbarch_init): Install tic6x_return_in_first_hidden_param_p.
6344 1.1 christos
6345 1.1 christos 2012-06-07 Doug Evans <dje (a] google.com>
6346 1.1 christos
6347 1.1 christos * dwarf2read.c (dwarf2_cu): Add comment.
6348 1.1 christos
6349 1.1 christos 2012-06-06 Maciej W. Rozycki <macro (a] codesourcery.com>
6350 1.1 christos
6351 1.1 christos * mips-tdep.c (mips_pseudo_register_type): Remove tdep local
6352 1.1 christos variable.
6353 1.1 christos (mips_eabi_push_dummy_call): Likewise.
6354 1.1 christos (mips_n32n64_push_dummy_call): Likewise.
6355 1.1 christos (mips_o32_push_dummy_call): Likewise.
6356 1.1 christos (mips_o64_push_dummy_call): Likewise.
6357 1.1 christos
6358 1.1 christos 2012-06-06 Maciej W. Rozycki <macro (a] codesourcery.com>
6359 1.1 christos
6360 1.1 christos * mips-tdep.c (mips_convert_register_p): Correct coding style.
6361 1.1 christos
6362 1.1 christos 2012-06-06 Maciej W. Rozycki <macro (a] codesourcery.com>
6363 1.1 christos
6364 1.1 christos * mips-tdep.c (mips_pseudo_register_type): Use
6365 1.1 christos mips_float_register_p.
6366 1.1 christos
6367 1.1 christos 2012-06-06 Pedro Alves <palves (a] redhat.com>
6368 1.1 christos
6369 1.1 christos * infrun.c (handle_inferior_event): Remove calls to
6370 1.1 christos reinit_frame_cache that follow a context_switch call.
6371 1.1 christos
6372 1.1 christos 2012-06-06 Pedro Alves <palves (a] redhat.com>
6373 1.1 christos
6374 1.1 christos * infrun.c (handle_inferior_event) <deferred_step_ptid>: Use
6375 1.1 christos context_switch and remove stale comment.
6376 1.1 christos
6377 1.1 christos 2012-06-06 Pedro Alves <palves (a] redhat.com>
6378 1.1 christos
6379 1.1 christos * infrun.c (struct execution_control_state): Remove
6380 1.1 christos `new_thread_event' field.
6381 1.1 christos (handle_inferior_event): Simplify new threads handling; don't
6382 1.1 christos resume the inferior if we find a new thread.
6383 1.1 christos
6384 1.1 christos 2012-06-06 Thomas Schwinge <thomas (a] codesourcery.com>
6385 1.1 christos
6386 1.1 christos * NEWS: Document the deprecation of SH's 'regs' command.
6387 1.1 christos * inferior.h (all_registers_info): Add function declaration.
6388 1.1 christos * sh-tdep.c (sh_show_regs): Remove variable.
6389 1.1 christos (sh_generic_show_regs, sh3_show_regs, sh2e_show_regs, sh2a_show_regs)
6390 1.1 christos (sh2a_nofpu_show_regs, sh3e_show_regs, sh3_dsp_show_regs)
6391 1.1 christos (sh4_show_regs, sh4_nofpu_show_regs, sh_dsp_show_regs)
6392 1.1 christos (sh_show_regs_command): Remove functions.
6393 1.1 christos (sh_gdbarch_init): Don't set sh_show_regs.
6394 1.1 christos (_initialize_sh_tdep): Make the 'regs' command an deprecated alias to
6395 1.1 christos 'info all-registers'.
6396 1.1 christos * sh64-tdep.c (sh64_show_media_regs, sh64_show_compact_regs)
6397 1.1 christos (sh64_show_regs): Remove functions.
6398 1.1 christos * sh64-tdep.h (sh64_show_regs): Remove function declaration.
6399 1.1 christos
6400 1.1 christos 2012-06-06 Jan Kratochvil <jan.kratochvil (a] redhat.com>
6401 1.1 christos
6402 1.1 christos * configure.ac: Move development=true below AC_INIT.
6403 1.1 christos * configure: Regenerate.
6404 1.1 christos
6405 1.1 christos 2012-06-05 Stan Shebs <stan (a] codesourcery.com>
6406 1.1 christos
6407 1.1 christos * mi/mi-interp.c (mi_interpreter_init): Set raw_stdout from
6408 1.1 christos gdb_stdout.
6409 1.1 christos
6410 1.1 christos 2012-06-05 Siddhesh Poyarekar <siddhesh (a] redhat.com>
6411 1.1 christos
6412 1.1 christos * corefile.c (read_memory, read_stack, write_memory): Accept LEN
6413 1.1 christos argument as ssize_t.
6414 1.1 christos * gdbcore.h (read_memory, read_stack, write_memory): Likewise.
6415 1.1 christos * remote.c (remote_write_bytes_aux, remote_write_bytes): Likewise.
6416 1.1 christos * target.c (target_read_stack, target_write_memory)
6417 1.1 christos (target_write_raw_memory): Likewise.
6418 1.1 christos * target.h (target_read_stack, target_write_memory)
6419 1.1 christos (target_write_raw_memory): Likewise.
6420 1.1 christos
6421 1.1 christos 2012-06-05 Jan Kratochvil <jan.kratochvil (a] redhat.com>
6422 1.1 christos
6423 1.1 christos * symfile-mem.c: Change gdb_static_assert to ssize_t.
6424 1.1 christos (target_read_memory_bfd): Cast gdb_assert LEN to ssize_t.
6425 1.1 christos * target.c (target_read_memory): Change LEN to ssize_t.
6426 1.1 christos * target.h (target_read_memory): Change LEN to ssize_t.
6427 1.1 christos
6428 1.1 christos 2012-06-05 Pedro Alves <palves (a] redhat.com>
6429 1.1 christos
6430 1.1 christos PR backtrace/13866
6431 1.1 christos
6432 1.1 christos * breakpoint.c (until_break_command): Only fetch the selected
6433 1.1 christos frame after decode_line_1.
6434 1.1 christos
6435 1.1 christos 2012-06-05 Joakim Tjernlund <Joakim.Tjernlund (a] transmode.se>
6436 1.1 christos
6437 1.1 christos * solib-svr4.c (enable_break): Don't fallback to setting the solib
6438 1.1 christos event breakpoint at _start, __start or main if a program
6439 1.1 christos interpreter is not found.
6440 1.1 christos
6441 1.1 christos 2012-06-05 Joel Brobecker <brobecker (a] adacore.com>
6442 1.1 christos
6443 1.1 christos * windows-tdep.h (windows_iterate_over_objfiles_in_search_order):
6444 1.1 christos Add declaration.
6445 1.1 christos * windows-tdep.c: #include "objfiles.h".
6446 1.1 christos (windows_iterate_over_objfiles_in_search_order): New function.
6447 1.1 christos * amd64-windows-tdep.c (amd64_windows_init_abi): Set
6448 1.1 christos iterate_over_objfiles_in_search_order gdbarch method to
6449 1.1 christos windows_iterate_over_objfiles_in_search_order.
6450 1.1 christos * i386-cygwin-tdep.c (i386_cygwin_init_abi): Likewise.
6451 1.1 christos
6452 1.1 christos 2012-06-05 Joel Brobecker <brobecker (a] adacore.com>
6453 1.1 christos
6454 1.1 christos * gdbarch.sh: Add generation of
6455 1.1 christos "iterate_over_objfiles_in_search_order_cb_ftype" typedef in
6456 1.1 christos gdbarch.h. Add include of "objfiles.h" in gdbarch.c.
6457 1.1 christos (iterate_over_objfiles_in_search_order): New gdbarch method.
6458 1.1 christos * gdbarch.h, gdbarch.c: Regenerate.
6459 1.1 christos * objfiles.h (default_iterate_over_objfiles_in_search_order):
6460 1.1 christos Add declaration.
6461 1.1 christos * objfiles.c (default_iterate_over_objfiles_in_search_order):
6462 1.1 christos New function.
6463 1.1 christos * symtab.c (lookup_symbol_aux_objfile): New function, extracted
6464 1.1 christos out of lookup_symbol_aux_symtabs.
6465 1.1 christos (lookup_symbol_aux_symtabs): Replace extracted-out code by
6466 1.1 christos call to lookup_symbol_aux_objfile.
6467 1.1 christos (struct global_sym_lookup_data): New type.
6468 1.1 christos (lookup_symbol_global_iterator_cb): New function.
6469 1.1 christos (lookup_symbol_global): Search for symbol using
6470 1.1 christos gdbarch_iterate_over_objfiles_in_search_order and
6471 1.1 christos lookup_symbol_global_iterator_cb.
6472 1.1 christos * findvar.c (struct minsym_lookup_data): New type.
6473 1.1 christos (minsym_lookup_iterator_cb): New function.
6474 1.1 christos (default_read_var_value) [case LOC_UNRESOLVED]: Resolve the
6475 1.1 christos symbol's address via gdbarch_iterate_over_objfiles_in_search_order
6476 1.1 christos and minsym_lookup_iterator_cb.
6477 1.1 christos
6478 1.1 christos 2012-06-05 Joel Brobecker <brobecker (a] adacore.com>
6479 1.1 christos
6480 1.1 christos Revert the following patch:
6481 1.1 christos * findvar.c (default_read_var_value): For LOC_UNRESOLVED symbols,
6482 1.1 christos try locating the symbol in the symbol's own objfile first, before
6483 1.1 christos extending the search to all objfiles.
6484 1.1 christos * symtab.c (lookup_symbol_aux_objfile): New function, extracted
6485 1.1 christos out of lookup_symbol_aux_symtabs.
6486 1.1 christos (lookup_symbol_aux_symtabs): Add new parameter "exclude_objfile".
6487 1.1 christos Replace extracted-out code by call to lookup_symbol_aux_objfile.
6488 1.1 christos Do not search EXCLUDE_OBJFILE.
6489 1.1 christos (lookup_static_symbol_aux): Update call to lookup_symbol_aux_symtabs.
6490 1.1 christos (lookup_symbol_global): Search for matches in the block's objfile
6491 1.1 christos first, before searching all other objfiles.
6492 1.1 christos
6493 1.1 christos 2012-06-05 Joel Brobecker <brobecker (a] adacore.com>
6494 1.1 christos
6495 1.1 christos * breakpoint.c (find_condition_and_thread): Stop parsing
6496 1.1 christos as soon as the first invalid keyword is found.
6497 1.1 christos
6498 1.1 christos 2012-06-05 Joel Brobecker <brobecker (a] adacore.com>
6499 1.1 christos
6500 1.1 christos * copyright.py (EXCLUDE_LIST): Add 'gdb/CONTRIBUTE' to list.
6501 1.1 christos
6502 1.1 christos 2012-06-05 Joel Brobecker <brobecker (a] adacore.com>
6503 1.1 christos
6504 1.1 christos * config/djgpp/djcheck.sh: Add copyright header.
6505 1.1 christos
6506 1.1 christos 2012-06-05 Joel Brobecker <brobecker (a] adacore.com>
6507 1.1 christos
6508 1.1 christos * copyright.py (update_files, main): Fix path to update-copyright
6509 1.1 christos script.
6510 1.1 christos
6511 1.1 christos 2012-06-05 Joel Brobecker <brobecker (a] adacore.com>
6512 1.1 christos
6513 1.1 christos * copyright.py (MULTIPLE_COPYRIGHT_HEADERS): New constant.
6514 1.1 christos (main): Add MULTIPLE_COPYRIGHT_HEADERS to the list of files
6515 1.1 christos for which a reminder to update by hand is printed.
6516 1.1 christos
6517 1.1 christos 2012-06-04 Doug Evans <dje (a] google.com>
6518 1.1 christos
6519 1.1 christos * buildsym.c (make_blockvector): Add comment.
6520 1.1 christos
6521 1.1 christos 2012-06-04 Pedro Alves <palves (a] redhat.com>
6522 1.1 christos
6523 1.1 christos * arch-utils.c (default_gdb_signal_from_target): Delete.
6524 1.1 christos * arch-utils.h (default_gdb_signal_from_target): Delete.
6525 1.1 christos * corelow.c (core_open) <signal mapping>: Extended comment. Check
6526 1.1 christos gdbarch_gdb_signal_from_target_p.
6527 1.1 christos * gdbarch.sh (gdb_signal_from_target): Make it an M method (with
6528 1.1 christos predicate).
6529 1.1 christos * gdbarch.h: Regenerate.
6530 1.1 christos * gdbarch.c: Regenerate.
6531 1.1 christos
6532 1.1 christos 2012-06-04 Pedro Alves <palves (a] redhat.com>
6533 1.1 christos
6534 1.1 christos * gdbarch.sh (gdb_signal_from_target): Mention that the
6535 1.1 christos implementation of the method must be host independent.
6536 1.1 christos * gdbarch.h: Regenerate.
6537 1.1 christos
6538 1.1 christos 2012-06-04 Jan Kratochvil <jan.kratochvil (a] redhat.com>
6539 1.1 christos
6540 1.1 christos * symfile-mem.c: 3 new gdb_static_assert for target_read_memory_bfd
6541 1.1 christos parameters.
6542 1.1 christos (target_read_memory_bfd): New function.
6543 1.1 christos (symbol_file_add_from_memory): Use it.
6544 1.1 christos
6545 1.1 christos 2012-06-03 Doug Evans <dje (a] google.com>
6546 1.1 christos
6547 1.1 christos * symtab.c (lookup_global_symbol_from_objfile): Only scan blockvector
6548 1.1 christos of primary symtab.
6549 1.1 christos (basic_lookup_transparent_type): Ditto.
6550 1.1 christos
6551 1.1 christos * objfiles.h (ALL_OBJFILE_PRIMARY_SYMTABS): New macro.
6552 1.1 christos (ALL_PRIMARY_SYMTABS): Use it.
6553 1.1 christos (ALL_PSPACE_PRIMARY_SYMTABS): Ditto.
6554 1.1 christos * dwarf2read.c (dw2_find_symbol_file): Ditto.
6555 1.1 christos * linespec.c (iterate_over_all_matching_symtabs): Ditto.
6556 1.1 christos * symtab.c (lookup_symbol_aux_objfile): Ditto.
6557 1.1 christos (basic_lookup_transparent_type): Ditto.
6558 1.1 christos
6559 1.1 christos 2012-06-02 Sergio Durigan Junior <sergiodj (a] redhat.com>
6560 1.1 christos
6561 1.1 christos * symtab.c (symbol_demangled_name): New variable `dem_name'. Use
6562 1.1 christos it to optimize resolution of demangled name.
6563 1.1 christos
6564 1.1 christos 2012-06-01 Jan Kratochvil <jan.kratochvil (a] redhat.com>
6565 1.1 christos
6566 1.1 christos * configure.ac (development): Define new variable.
6567 1.1 christos Call AC_CHECK_LIB for mcheck if $development.
6568 1.1 christos (ERROR_ON_WARNING): Enable it by default only if $development.
6569 1.1 christos * config.in: Regenerate.
6570 1.1 christos * configure: Regenerate.
6571 1.1 christos
6572 1.1 christos 2012-06-01 Siddhesh Poyarekar <siddhesh (a] redhat.com>
6573 1.1 christos
6574 1.1 christos * target.c (target_read_memory): Make LEN argument as size_t.
6575 1.1 christos * target.h (target_read_memory): Likewise.
6576 1.1 christos
6577 1.1 christos 2012-06-01 Jan Kratochvil <jan.kratochvil (a] redhat.com>
6578 1.1 christos
6579 1.1 christos * tilegx-linux-tdep.c (tilegx_l): Use ULL for 64-bit values.
6580 1.1 christos
6581 1.1 christos 2012-05-31 Edjunior Machado <emachado (a] linux.vnet.ibm.com>
6582 1.1 christos
6583 1.1 christos * ppc-linux-nat.c (have_ptrace_booke_interface): Disable ptrace
6584 1.1 christos BookE interface for PowerPC server processors if not available
6585 1.1 christos in the Linux Kernel.
6586 1.1 christos
6587 1.1 christos 2012-05-31 Keith Seitz <keiths (a] redhat.com>
6588 1.1 christos
6589 1.1 christos * linespec.c (decode_objc): Add cleanup to free
6590 1.1 christos INFO.FILE_SYMTABS.
6591 1.1 christos (find_linespec_symbols): Add cleanup to free CLASSES.
6592 1.1 christos * symfile.c (find_separate_debug_file_by_debuglink): Add
6593 1.1 christos cleanup to free DEBUGLINK.
6594 1.1 christos * ui-out.c (clear_header_list): No need to check if
6595 1.1 christos HEADER_NEXT.COLHDR is NULL.
6596 1.1 christos Free HEADER_NEXT.COL_NAME.
6597 1.1 christos
6598 1.1 christos 2012-05-31 Matthew Gretton-Dann <matthew.gretton-dann (a] arm.com>
6599 1.1 christos
6600 1.1 christos * ada-lang.c (standard_lookup): Prevent uninitialized variable
6601 1.1 christos warning.
6602 1.1 christos
6603 1.1 christos 2012-05-30 Jeff Kenton <jkenton (a] tilera.com>
6604 1.1 christos
6605 1.1 christos * configure.host (gdb_host_cpu): Handle tilegx*.
6606 1.1 christos (gdb_host): Handle tilegx-*-linux*.
6607 1.1 christos * tilegx-linux-nat.c: New file.
6608 1.1 christos * config/tilegx/linux.mh: New file.
6609 1.1 christos
6610 1.1 christos 2012-05-30 Jeff Kenton <jkenton (a] tilera.com>
6611 1.1 christos
6612 1.1 christos * Makefile.in (ALL_TARGET_OBJS): Add tilegx-tdep.o and
6613 1.1 christos tilegx-linux-tdep.o.
6614 1.1 christos (ALLDEPFILES): Add tilegx-linux-nat.c, tilegx-tdep.c and
6615 1.1 christos tilegx-linux-tdep.c.
6616 1.1 christos * configure.tgt: Handle tilegx-*-linux*.
6617 1.1 christos * tilegx-tdep.h: New file.
6618 1.1 christos * tilegx-tdep.c: New file.
6619 1.1 christos * tilegx-linux-tdep.c: New file.
6620 1.1 christos * regformats/reg-tilegx.dat: New file.
6621 1.1 christos
6622 1.1 christos 2012-05-30 Edjunior Machado <emachado (a] linux.vnet.ibm.com>
6623 1.1 christos
6624 1.1 christos * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): fix
6625 1.1 christos accounting of hw watchpoints on ppc.
6626 1.1 christos
6627 1.1 christos 2012-05-30 Thiago Jung Bauermann <thiago.bauermann (a] linaro.org>
6628 1.1 christos
6629 1.1 christos * source.c (openp): Expand tilde in path entries.
6630 1.1 christos
6631 1.1 christos 2012-05-29 Doug Evans <dje (a] google.com>
6632 1.1 christos
6633 1.1 christos * buildsym.c (block_compar): Fix comment.
6634 1.1 christos (end_symtab): Fix and clarify some comments.
6635 1.1 christos
6636 1.1 christos * stabsread.h (cleanup_undefined_stabs_types): Renamed from
6637 1.1 christos cleanup_undefined_types.
6638 1.1 christos * stabsread.c (cleanup_undefined_stabs_types): Ditto.
6639 1.1 christos All callers updated.
6640 1.1 christos
6641 1.1 christos 2012-05-29 Tom Tromey <tromey (a] redhat.com>
6642 1.1 christos
6643 1.1 christos * symfile.c (symfile_bfd_open): Don't close desc if bfd_fopen
6644 1.1 christos fails.
6645 1.1 christos * solib.c (solib_bfd_fopen): Don't close fd if bfd_fopen fails.
6646 1.1 christos * exec.c (exec_file_attach): Don't close scratch_chan if bfd_fopen
6647 1.1 christos fails.
6648 1.1 christos * dwarf2read.c (try_open_dwo_file): Don't close fd if bfd_fopen
6649 1.1 christos fails.
6650 1.1 christos
6651 1.1 christos 2012-05-29 Tristan Gingold <gingold (a] adacore.com>
6652 1.1 christos
6653 1.1 christos * solib-darwin.c (dyld_all_image_addr, dyld_all_image): Move into...
6654 1.1 christos (struct darwin_info): ... New struct.
6655 1.1 christos (solib_darwin_pspace_data): New variable.
6656 1.1 christos (darwin_pspace_data_cleanup): New function.
6657 1.1 christos (get_darwin_info): Likewise.
6658 1.1 christos (darwin_dyld_version_ok, darwin_load_image_infos)
6659 1.1 christos (darwin_solib_get_all_image_info_addr_at_init)
6660 1.1 christos (darwin_solib_read_all_image_info_addr): Add info argument.
6661 1.1 christos Adjust code.
6662 1.1 christos (darwin_current_sos): Use per pspace structure.
6663 1.1 christos (darwin_solib_create_inferior_hook): Likewise.
6664 1.1 christos (darwin_clear_solib): Likewise.
6665 1.1 christos (_initialize_darwin_solib): Initialize solib_darwin_pspace_data.
6666 1.1 christos
6667 1.1 christos 2012-05-28 Pedro Alves <palves (a] redhat.com>
6668 1.1 christos
6669 1.1 christos * infrun.c (wait_for_inferior): Move ecss and ecs locals to the
6670 1.1 christos block that uses them. Clear ecss before handling each event.
6671 1.1 christos
6672 1.1 christos 2012-05-28 Jan Kratochvil <jan.kratochvil (a] redhat.com>
6673 1.1 christos
6674 1.1 christos * solib-svr4.c (svr4_current_sos): New comment on
6675 1.1 christos svr4_current_sos_via_xfer_libraries fall back.
6676 1.1 christos
6677 1.1 christos 2012-05-24 Jan Kratochvil <jan.kratochvil (a] redhat.com>
6678 1.1 christos
6679 1.1 christos * psymtab.c (lookup_symbol_aux_psymtabs): New variable stab_best. Use
6680 1.1 christos it as a fallback for TYPE_IS_OPAQUE.
6681 1.1 christos * symfile.h (struct quick_symbol_functions): Mention TYPE_OPAQUE
6682 1.1 christos symbols for lookup_symbol.
6683 1.1 christos
6684 1.1 christos 2012-05-24 John Steele Scott <toojays (a] toojays.net>
6685 1.1 christos
6686 1.1 christos PR symtab/13277: Resolving opaque structures in ICC generated binaries.
6687 1.1 christos * dwarf2read.c (struct dwarf2_cu) <producer_is_icc>: New field.
6688 1.1 christos (producer_is_gxx_lt_4_6): Move the checking and caching to...
6689 1.1 christos (check_producer): ... this new function, which also checks for ICC
6690 1.1 christos and caches the result.
6691 1.1 christos (producer_is_icc): New function.
6692 1.1 christos (read_structure_type): Don't set TYPE_STUB_SUPPORTED if the
6693 1.1 christos producer was ICC.
6694 1.1 christos
6695 1.1 christos 2012-05-24 Pedro Alves <palves (a] redhat.com>
6696 1.1 christos
6697 1.1 christos PR gdb/7205
6698 1.1 christos
6699 1.1 christos * arch-utils.c (default_gdb_signal_to_host): Rename to ...
6700 1.1 christos (default_gdb_signal_to_target): ... this. Add comment.
6701 1.1 christos (default_gdb_signal_from_host): Rename to ...
6702 1.1 christos (default_gdb_signal_from_target): ... this. Add comment.
6703 1.1 christos * arch-utils.h (default_gdb_signal_to_host): Rename to ...
6704 1.1 christos (default_gdb_signal_to_target): ... this.
6705 1.1 christos (default_gdb_signal_from_host): Rename to ...
6706 1.1 christos (default_gdb_signal_from_target): ... this.
6707 1.1 christos * corelow.c (core_open): Adjust to naming change. Replace comment.
6708 1.1 christos * gdbarch.sh (gdb_signal_from_host): Rename to ...
6709 1.1 christos (gdb_signal_from_target): ... this. Adjust to
6710 1.1 christos default_gdb_signal_from_host naming change. Extend comment.
6711 1.1 christos (gdb_signal_to_host): Rename to ...
6712 1.1 christos (gdb_signal_to_target): ... this. Adjust to
6713 1.1 christos default_gdb_signal_to_host naming change.
6714 1.1 christos * gdbarch.h, gdbarch.c: Renegerate.
6715 1.1 christos
6716 1.1 christos 2012-05-24 Pedro Alves <palves (a] redhat.com>
6717 1.1 christos
6718 1.1 christos PR gdb/7205
6719 1.1 christos
6720 1.1 christos Replace TARGET_SIGNAL_ with GDB_SIGNAL_ throughout.
6721 1.1 christos
6722 1.1 christos 2012-05-24 Pedro Alves <palves (a] redhat.com>
6723 1.1 christos
6724 1.1 christos PR gdb/7205
6725 1.1 christos
6726 1.1 christos Replace target_signal with gdb_signal throughout.
6727 1.1 christos
6728 1.1 christos 2012-05-24 Pedro Alves <palves (a] redhat.com>
6729 1.1 christos
6730 1.1 christos PR tui/14159
6731 1.1 christos
6732 1.1 christos * tui/tui-hooks.c (tui_query_hook): Pre-compute the question
6733 1.1 christos string, instead of reusing the va_list argument.
6734 1.1 christos
6735 1.1 christos 2012-05-24 Tom Tromey <tromey (a] redhat.com>
6736 1.1 christos
6737 1.1 christos * cp-support.h (cp_finalize_namespace, cp_initialize_namespace):
6738 1.1 christos Remove.
6739 1.1 christos
6740 1.1 christos 2012-05-23 Doug Evans <dje (a] google.com>
6741 1.1 christos
6742 1.1 christos * symtab.c (search_symbols): Formatting fixes.
6743 1.1 christos (print_symbol_info): Formatting fixes.
6744 1.1 christos
6745 1.1 christos * dwarf2-frame.c (execute_cfa_program): Update to handle long long ->
6746 1.1 christos int64_t change to leb128 API.
6747 1.1 christos (read_encoded_value, decode_frame_entry_1): Ditto.
6748 1.1 christos * dwarf2expr.c (safe_read_uleb128, safe_read_sleb128): Ditto.
6749 1.1 christos (dwarf_block_to_dwarf_reg, dwarf_block_to_dwarf_reg_deref): Ditto.
6750 1.1 christos (dwarf_block_to_fb_offset, dwarf_block_to_sp_offset): Ditto.
6751 1.1 christos (execute_stack_op): Ditto.
6752 1.1 christos * dwarf2expr.h (gdb_read_uleb128, gdb_read_sleb128): Ditto.
6753 1.1 christos (safe_read_uleb128, safe_read_sleb128): Ditto.
6754 1.1 christos * dwarf2loc.c (decode_debug_loc_dwo_addresses): Ditto.
6755 1.1 christos (dwarf2_compile_expr_to_ax): Ditto.
6756 1.1 christos (locexpr_describe_location_piece): Ditto.
6757 1.1 christos (disassemble_dwarf_expression): Ditto.
6758 1.1 christos (locexpr_describe_location_1): Ditto.
6759 1.1 christos
6760 1.1 christos 2012-05-23 Stan Shebs <stan (a] codesourcery.com>
6761 1.1 christos Kwok Cheung Yeung <kcy (a] codesourcery.com>
6762 1.1 christos
6763 1.1 christos * Makefile.in (SUBDIR_MI_OBS): Add mi-cmd-info.o.
6764 1.1 christos (SUBDIR_MI_SRCS): Add mi-cmd-info.c.
6765 1.1 christos (mi-cmd-info.o): New rule.
6766 1.1 christos * osdata.h (info_osdata_command): New declaration.
6767 1.1 christos * osdata.c (info_osdata_command): Change to non-static.
6768 1.1 christos * mi/mi-cmds.h (mi_cmd_info_os): New declaration.
6769 1.1 christos * mi/mi-cmds.c (mi_cmds): Add -info-os MI command.
6770 1.1 christos * mi/mi-cmd-info.c: New file.
6771 1.1 christos
6772 1.1 christos 2012-05-23 Doug Evans <dje (a] google.com>
6773 1.1 christos
6774 1.1 christos * symtab.c (search_symbols): Pass NULL for file_matcher to
6775 1.1 christos expand_symtabs_matching if there are no files to match.
6776 1.1 christos
6777 1.1 christos * gdbtypes.c (lookup_typename): Simplify.
6778 1.1 christos
6779 1.1 christos 2012-05-23 Pedro Alves <palves (a] redhat.com>
6780 1.1 christos
6781 1.1 christos * arch-utils.h (default_target_signal_to_host): Delete.
6782 1.1 christos * arch-utils.c (default_target_signal_to_host): Delete.
6783 1.1 christos * gdbarch.sh (target_signal_to_host): Remove.
6784 1.1 christos * gdbarch.h, gdbarch.c: Regenerate.
6785 1.1 christos
6786 1.1 christos 2012-05-22 Doug Evans <dje (a] google.com>
6787 1.1 christos
6788 1.1 christos * dwarf2-frame.c (struct dwarf2_cie): Make initial_instructions, end
6789 1.1 christos "const gdb_byte *".
6790 1.1 christos (struct dwarf2_fde): Make instructions, end "const gdb_byte *".
6791 1.1 christos (execute_cfa_program): Update to match API of leb128 functions.
6792 1.1 christos (read_1_byte, read_4_bytes, read_8_bytes): Make buf parameter
6793 1.1 christos "const gdb_byte *".
6794 1.1 christos (read_unsigned_leb128, read_signed_leb128): Delete.
6795 1.1 christos (read_initial_length): Change type of buf argument to
6796 1.1 christos "const gdb_byte *".
6797 1.1 christos (read_encoded_value): Update to match API of leb128 functions.
6798 1.1 christos (decode_frame_entry): Change result to "const gdb_byte *", and
6799 1.1 christos similarly for "start" parameter.
6800 1.1 christos (decode_frame_entry_1): Ditto. Use new leb128 reader functions.
6801 1.1 christos (dwarf2_build_frame_info): Change local frame_ptr to
6802 1.1 christos "const gdb_byte *".
6803 1.1 christos * dwarf2expr.c (safe_read_uleb128, safe_read_sleb128): Replaces
6804 1.1 christos read_uleb128, read_sleb128. All callers updated.
6805 1.1 christos (safe_skip_leb128): New function.
6806 1.1 christos (dwarf_block_to_dwarf_reg): Update to match API of leb128 functions.
6807 1.1 christos Call gdb_read_uleb128, gdb_skip_leb128 instead of read_uleb128.
6808 1.1 christos (dwarf_block_to_dwarf_reg_deref): Update to match API of leb128
6809 1.1 christos functions. Call gdb_read_uleb128, gdb_read_sleb128 instead of
6810 1.1 christos read_uleb128, read_sleb128.
6811 1.1 christos (dwarf_block_to_fb_offset, dwarf_block_to_sp_offset): Ditto.
6812 1.1 christos (execute_stack_op): Update to match API of leb128 functions.
6813 1.1 christos * dwarf2expr.h: #include "leb128.h".
6814 1.1 christos (read_uleb128, read_sleb128): Delete.
6815 1.1 christos (gdb_read_uleb128, gdb_read_sleb128, gdb_skip_leb128): New functions.
6816 1.1 christos (safe_read_uleb128, safe_read_sleb128, safe_skip_leb128): Declare.
6817 1.1 christos * dwarf2loc.c (debug_loc_kind): New enum.
6818 1.1 christos (decode_debug_loc_addresses): New function.
6819 1.1 christos (decode_debug_loc_dwo_addresses): New function.
6820 1.1 christos (dwarf2_find_location_expression): Rewrite.
6821 1.1 christos (dwarf2_compile_expr_to_ax): Update to match API of leb128 functions.
6822 1.1 christos (locexpr_describe_location_piece): Ditto.
6823 1.1 christos (disassemble_dwarf_expression): Ditto.
6824 1.1 christos (locexpr_describe_location_1): Ditto.
6825 1.1 christos (loclist_describe_location): Rewrite.
6826 1.1 christos * dwarf2loc.h (dwarf2_loclist_baton): New member "from_dwo".
6827 1.1 christos * dwarf2read.c (die_reader_specs): New member "buffer_end".
6828 1.1 christos (dwarf2_section_buffer_overflow_complaint): Renamed from
6829 1.1 christos dwarf2_macros_too_long_complaint. All callers updated.
6830 1.1 christos (skip_leb128): Delete.
6831 1.1 christos (init_cu_die_reader): Initialize reader->buffer_end.
6832 1.1 christos (skip_one_die): Replace call to skip_leb128 with safe_skip_leb128.
6833 1.1 christos (skip_form_bytes): New arg buffer_end. All callers updated.
6834 1.1 christos Replace call to skip_leb128 with gdb_skip_leb128.
6835 1.1 christos (skip_unknown_opcode): New arg mac_end. All callers updated.
6836 1.1 christos (fill_in_loclist_baton): Initialize baton->from_dwo.
6837 1.1 christos
6838 1.1 christos 2012-05-22 Maciej W. Rozycki <macro (a] codesourcery.com>
6839 1.1 christos
6840 1.1 christos * mips-linux-nat.c (mips_linux_read_description): Use a more
6841 1.1 christos verbose error message.
6842 1.1 christos
6843 1.1 christos 2012-05-22 Maciej W. Rozycki <macro (a] codesourcery.com>
6844 1.1 christos
6845 1.1 christos * NEWS: Add MIPS/Linux DSP support.
6846 1.1 christos * mips-linux-tdep.c: Document post-2.6.12 o32 sigcontext layout.
6847 1.1 christos (SIGCONTEXT_DSPCTL): New macro.
6848 1.1 christos (SIGCONTEXT_HI1, SIGCONTEXT_LO1): Likewise.
6849 1.1 christos (SIGCONTEXT_HI2, SIGCONTEXT_LO2): Likewise.
6850 1.1 christos (SIGCONTEXT_HI3, SIGCONTEXT_LO3): Likewise.
6851 1.1 christos (N64_SIGCONTEXT_HI1, N64_SIGCONTEXT_HI2): Likewise.
6852 1.1 christos (N64_SIGCONTEXT_HI3): Likewise.
6853 1.1 christos (N64_SIGCONTEXT_LO1, N64_SIGCONTEXT_LO2): Likewise.
6854 1.1 christos (N64_SIGCONTEXT_LO3): Likewise.
6855 1.1 christos (N64_SIGCONTEXT_DSPCTL): Likewise.
6856 1.1 christos (N64_SIGCONTEXT_FPCSR): Clarify definition.
6857 1.1 christos (mips_linux_o32_sigframe_init): Handle DSP registers.
6858 1.1 christos (mips_linux_n32n64_sigframe_init): Likewise.
6859 1.1 christos
6860 1.1 christos 2012-05-22 Pierre Muller <muller (a] ics.u-strasbg.fr>
6861 1.1 christos
6862 1.1 christos * common/buffer.c (buffer_grow): ARI fix: Remove unneeded
6863 1.1 christos call to abort.
6864 1.1 christos
6865 1.1 christos 2012-05-22 Pedro Alves <palves (a] redhat.com>
6866 1.1 christos
6867 1.1 christos * target.h (store_waitstatus): Move declaration ...
6868 1.1 christos * inf-child.h (store_waitstatus): ... here.
6869 1.1 christos * target.c: Move inclusion of gdb_wait.h, and ...
6870 1.1 christos (store_waitstatus): ... this ...
6871 1.1 christos * inf-child.c: ... here.
6872 1.1 christos * linux-nat.c: Include inf-child.h.
6873 1.1 christos * rs6000-nat.c: Include inf-child.h.
6874 1.1 christos * spu-linux-nat.c: Include inf-child.h.
6875 1.1 christos
6876 1.1 christos 2012-05-22 Pierre Muller <muller (a] ics.u-strasbg.fr>
6877 1.1 christos
6878 1.1 christos * tracepoint.c (start_tracing): Add missing i18n markup.
6879 1.1 christos (stop_tracing, set_trace_user): Ditto.
6880 1.1 christos (set_trace_notes, set_trace_stop_notes): Ditto.
6881 1.1 christos
6882 1.1 christos 2012-05-21 Tom Tromey <tromey (a] redhat.com>
6883 1.1 christos
6884 1.1 christos PR c++/7173:
6885 1.1 christos * gnu-v3-abi.c (gnuv3_baseclass_offset): Return early for Java
6886 1.1 christos types.
6887 1.1 christos * value.h (value_cast_pointers): Update.
6888 1.1 christos * valops.c (value_cast_pointers): Add 'subclass_check' argument.
6889 1.1 christos (value_cast): Update.
6890 1.1 christos (update_search_result): New function.
6891 1.1 christos (do_search_struct_field): New, from search_struct_field. Check
6892 1.1 christos for ambiguous results.
6893 1.1 christos (search_struct_field): Rewrite.
6894 1.1 christos * infcall.c (value_arg_coerce): Update.
6895 1.1 christos * eval.c (evaluate_subexp_standard) <STRUCTOP_MEMBER>: Use
6896 1.1 christos value_cast_pointers.
6897 1.1 christos * ada-lang.c (ada_convert_actual): Update.
6898 1.1 christos
6899 1.1 christos 2012-05-21 Tom Tromey <tromey (a] redhat.com>
6900 1.1 christos
6901 1.1 christos * macroexp.c (macro_stringify): Terminate the string.
6902 1.1 christos
6903 1.1 christos 2012-05-20 Jan Kratochvil <jan.kratochvil (a] redhat.com>
6904 1.1 christos
6905 1.1 christos * NEWS (--with-auto-load-dir): Prepend $debugdir to the default path.
6906 1.1 christos Describe it.
6907 1.1 christos * auto-load.c (auto_load_expand_dir_vars): New function.
6908 1.1 christos (auto_load_safe_path_vec_update): Use it, remove the
6909 1.1 christos substitute_path_component call thanks to it.
6910 1.1 christos (auto_load_objfile_script): Remove the debug_file_directory processing.
6911 1.1 christos Use auto_load_expand_dir_vars, remove the substitute_path_component
6912 1.1 christos call thanks to it.
6913 1.1 christos * configure: Regenerate.
6914 1.1 christos * configure.ac (--with-auto-load-dir): Prepend $debugdir to the default
6915 1.1 christos path. Escape $ also for $debugdir.
6916 1.1 christos (--with_auto_load_safe_path): Escape $ also for $debugdir.
6917 1.1 christos * utils.c (substitute_path_component): Accept also DIRNAME_SEPARATOR.
6918 1.1 christos
6919 1.1 christos 2012-05-20 Doug Evans <dje (a] google.com>
6920 1.1 christos
6921 1.1 christos * dwarf2read.c (recursively_find_pc_sect_symtab): Initialize "s"
6922 1.1 christos before use. Check for symtab->includes == NULL before scanning it.
6923 1.1 christos
6924 1.1 christos 2012-05-18 Maciej W. Rozycki <macro (a] codesourcery.com>
6925 1.1 christos
6926 1.1 christos * mips-tdep.c (mips_reg3_to_reg): Optimize storage.
6927 1.1 christos
6928 1.1 christos 2012-05-18 Maciej W. Rozycki <macro (a] codesourcery.com>
6929 1.1 christos
6930 1.1 christos * NEWS: Add microMIPS support and "set mips compression",
6931 1.1 christos "show mips compression" commands.
6932 1.1 christos * mips-tdep.h (mips_isa): New enum.
6933 1.1 christos (gdbarch_tdep): Add mips_isa.
6934 1.1 christos (mips_pc_is_mips16): Update prototype.
6935 1.1 christos (mips_pc_is_mips, mips_pc_is_micromips): New prototypes.
6936 1.1 christos * mips-tdep.c (mips_compression_mips16): New variable.
6937 1.1 christos (mips_compression_micromips): Likewise.
6938 1.1 christos (mips_compression_strings): Likewise.
6939 1.1 christos (mips_compression_string): Likewise.
6940 1.1 christos (is_mips16_isa, is_micromips_isa): New functions.
6941 1.1 christos (is_mips16_addr): Rename to...
6942 1.1 christos (is_compact_addr): ... this.
6943 1.1 christos (unmake_mips16_addr): Likewise to...
6944 1.1 christos (unmake_compact_addr): ... this.
6945 1.1 christos (make_mips16_addr): Likewise to...
6946 1.1 christos (make_compact_addr): ... this.
6947 1.1 christos (is_mips_addr, is_mips16_addr, is_micromips_addr): New
6948 1.1 christos functions.
6949 1.1 christos (mips_elf_make_msymbol_special): Handle microMIPS code.
6950 1.1 christos (msymbol_is_special): Rename to...
6951 1.1 christos (msymbol_is_mips16): ... this.
6952 1.1 christos (mips_make_symbol_special, mips_pc_is_mips16): Update
6953 1.1 christos accordingly.
6954 1.1 christos (msymbol_is_mips, msymbol_is_micromips): New functions.
6955 1.1 christos (mips16_to_32_reg): Rename to...
6956 1.1 christos (mips_reg3_to_reg): ... this.
6957 1.1 christos (mips_pc_is_mips, mips_pc_is_micromips): New functions.
6958 1.1 christos (mips_pc_isa): Likewise.
6959 1.1 christos (mips_read_pc, mips_unwind_pc, mips_write_pc): Handle microMIPS
6960 1.1 christos code.
6961 1.1 christos (mips_fetch_instruction): Pass return status instead of printing
6962 1.1 christos an error message if requested. Handle microMIPS code. Bail out
6963 1.1 christos on an invalid ISA.
6964 1.1 christos (micromips_op): New macro.
6965 1.1 christos (b0s4_imm, b0s5_imm, b0s5_reg, b0s7_imm, b0s10_imm): Likewise.
6966 1.1 christos (b1s9_imm, b2s3_cc, b4s2_regl, b5s5_op, b5s5_reg): Likewise.
6967 1.1 christos (b6s4_op, b7s3_reg): Likewise.
6968 1.1 christos (b0s6_op, b0s11_op, b0s12_imm, b0s16_imm, b0s26_imm): Likewise.
6969 1.1 christos (b6s10_ext, b11s5_reg, b12s4_op): Likewise.
6970 1.1 christos (mips_insn_size): New function.
6971 1.1 christos (mips32_next_pc): Update mips_fetch_instruction call.
6972 1.1 christos (micromips_relative_offset7): New function.
6973 1.1 christos (micromips_relative_offset10): Likewise.
6974 1.1 christos (micromips_relative_offset16): Likewise.
6975 1.1 christos (micromips_pc_insn_size): Likewise.
6976 1.1 christos (micromips_bc1_pc): Likewise.
6977 1.1 christos (micromips_next_pc): Likewise.
6978 1.1 christos (unpack_mips16): Update mips_fetch_instruction call.
6979 1.1 christos (extended_mips16_next_pc): Update according to change to
6980 1.1 christos mips16_to_32_reg.
6981 1.1 christos (mips_next_pc): Update mips_pc_is_mips16 call. Handle microMIPS
6982 1.1 christos code.
6983 1.1 christos (mips16_scan_prologue): Update mips_fetch_instruction call.
6984 1.1 christos Update according to change to mips16_to_32_reg.
6985 1.1 christos (mips_insn16_frame_sniffer): Update mips_pc_is_mips16 call.
6986 1.1 christos (mips_insn16_frame_base_sniffer): Likewise.
6987 1.1 christos (micromips_decode_imm9): New function.
6988 1.1 christos (micromips_scan_prologue): Likewise.
6989 1.1 christos (mips_micro_frame_cache): Likewise.
6990 1.1 christos (mips_micro_frame_this_id): Likewise.
6991 1.1 christos (mips_micro_frame_prev_register): Likewise.
6992 1.1 christos (mips_micro_frame_sniffer): Likewise.
6993 1.1 christos (mips_micro_frame_unwind): New variable.
6994 1.1 christos (mips_micro_frame_base_address): New function.
6995 1.1 christos (mips_micro_frame_base): New variable.
6996 1.1 christos (mips_micro_frame_base_sniffer): New function.
6997 1.1 christos (mips32_scan_prologue): Update mips_fetch_instruction call.
6998 1.1 christos (mips_insn32_frame_sniffer): Check for the standard MIPS ISA
6999 1.1 christos rather than for MIPS16.
7000 1.1 christos (mips_insn32_frame_base_sniffer): Likewise.
7001 1.1 christos (mips_addr_bits_remove): Handle microMIPS code.
7002 1.1 christos (deal_with_atomic_sequence): Rename to...
7003 1.1 christos (mips_deal_with_atomic_sequence): ... this. Update the type
7004 1.1 christos of the variable used to hold an instruction. Remove the ISA bit
7005 1.1 christos check. Update mips_fetch_instruction call.
7006 1.1 christos (micromips_deal_with_atomic_sequence): New function.
7007 1.1 christos (deal_with_atomic_sequence): Likewise.
7008 1.1 christos (mips_about_to_return): Handle microMIPS code. Update
7009 1.1 christos mips_fetch_instruction call.
7010 1.1 christos (heuristic_proc_start): Check for the standard MIPS ISA rather
7011 1.1 christos than for MIPS16. Update mips_pc_is_mips16 and
7012 1.1 christos mips_fetch_instruction calls. Handle microMIPS code.
7013 1.1 christos (mips_push_dummy_code): Handle microMIPS code.
7014 1.1 christos (mips_eabi_push_dummy_call): Likewise.
7015 1.1 christos (mips_o32_return_value): Update mips_pc_is_mips16 call.
7016 1.1 christos (mips_o64_push_dummy_call): Handle microMIPS code.
7017 1.1 christos (mips_o64_return_value): Update mips_pc_is_mips16 call.
7018 1.1 christos (is_delayed): Remove function.
7019 1.1 christos (mips_single_step_through_delay): Replace the call to is_delayed
7020 1.1 christos with mips32_instruction_has_delay_slot. Correct MIPS16 handling.
7021 1.1 christos Handle microMIPS code.
7022 1.1 christos (mips_skip_prologue): Update mips_pc_is_mips16 call. Handle
7023 1.1 christos microMIPS code.
7024 1.1 christos (mips32_in_function_epilogue_p): Update mips_fetch_instruction
7025 1.1 christos call.
7026 1.1 christos (micromips_in_function_epilogue_p): New function.
7027 1.1 christos (mips16_in_function_epilogue_p): Update mips_fetch_instruction
7028 1.1 christos call.
7029 1.1 christos (mips_in_function_epilogue_p): Update mips_pc_is_mips16 call.
7030 1.1 christos Handle microMIPS.
7031 1.1 christos (gdb_print_insn_mips): Likewise.
7032 1.1 christos (mips_breakpoint_from_pc): Likewise.
7033 1.1 christos (mips_remote_breakpoint_from_pc): New function.
7034 1.1 christos (mips32_instruction_has_delay_slot): Simplify making use of the
7035 1.1 christos updated mips_fetch_instruction interface.
7036 1.1 christos (micromips_instruction_has_delay_slot): New function.
7037 1.1 christos (mips16_instruction_has_delay_slot): Simplify making use of the
7038 1.1 christos updated mips_fetch_instruction interface.
7039 1.1 christos (mips_adjust_breakpoint_address): Check for the standard MIPS
7040 1.1 christos ISA rather than for MIPS16 ISA. Update for unmake_compact_addr
7041 1.1 christos calls. Handle microMIPS code.
7042 1.1 christos (mips_get_mips16_fn_stub_pc): Update mips_fetch_instruction call.
7043 1.1 christos (mips_skip_trampoline_code): Handle microMIPS code.
7044 1.1 christos (global_mips_compression): New function.
7045 1.1 christos (mips_gdbarch_init): Handle the compressed ISA setting from ELF
7046 1.1 christos file flags. Register the microMIPS remote breakpoint handler
7047 1.1 christos and heuristic frame unwinder.
7048 1.1 christos (show_mips_compression): New function.
7049 1.1 christos (_initialize_mips_tdep): Add the "set mips compression" and
7050 1.1 christos "show mips compression" commands.
7051 1.1 christos
7052 1.1 christos 2012-05-18 Sergio Durigan Junior <sergiodj (a] redhat.com>
7053 1.1 christos
7054 1.1 christos * ada-lang.c:
7055 1.1 christos * ada-tasks.c:
7056 1.1 christos * ada-varobj.c:
7057 1.1 christos * amd64-darwin-tdep.c:
7058 1.1 christos * arm-symbian-tdep.c:
7059 1.1 christos * arm-tdep.c:
7060 1.1 christos * avr-tdep.c:
7061 1.1 christos * ax-gdb.c:
7062 1.1 christos * bfin-linux-tdep.c:
7063 1.1 christos * breakpoint.c:
7064 1.1 christos * c-valprint.c:
7065 1.1 christos * cli/cli-cmds.c:
7066 1.1 christos * coffread.c:
7067 1.1 christos * cp-support.c:
7068 1.1 christos * cris-tdep.c:
7069 1.1 christos * dwarf2-frame-tailcall.c:
7070 1.1 christos * dwarf2-frame.c:
7071 1.1 christos * dwarf2expr.c:
7072 1.1 christos * dwarf2loc.c:
7073 1.1 christos * dwarf2read.c:
7074 1.1 christos * elfread.c:
7075 1.1 christos * eval.c:
7076 1.1 christos * expprint.c:
7077 1.1 christos * f-valprint.c:
7078 1.1 christos * frv-tdep.c:
7079 1.1 christos * h8300-tdep.c:
7080 1.1 christos * hppa-hpux-tdep.c:
7081 1.1 christos * hppa-tdep.c:
7082 1.1 christos * hppanbsd-tdep.c:
7083 1.1 christos * i386-nto-tdep.c:
7084 1.1 christos * i386-tdep.c:
7085 1.1 christos * i387-tdep.c:
7086 1.1 christos * ia64-tdep.c:
7087 1.1 christos * jit.c:
7088 1.1 christos * linespec.c:
7089 1.1 christos * linux-tdep.c:
7090 1.1 christos * lm32-tdep.c:
7091 1.1 christos * m2-valprint.c:
7092 1.1 christos * m32c-tdep.c:
7093 1.1 christos * m32r-rom.c:
7094 1.1 christos * m32r-tdep.c:
7095 1.1 christos * m68k-tdep.c:
7096 1.1 christos * m68klinux-tdep.c:
7097 1.1 christos * mi/mi-main.c:
7098 1.1 christos * microblaze-tdep.c:
7099 1.1 christos * mips-linux-tdep.c:
7100 1.1 christos * mips-tdep.c:
7101 1.1 christos * mn10300-tdep.c:
7102 1.1 christos * p-valprint.c:
7103 1.1 christos * parse.c:
7104 1.1 christos * ppc-linux-tdep.c:
7105 1.1 christos * ppc-sysv-tdep.c:
7106 1.1 christos * printcmd.c:
7107 1.1 christos * python/py-finishbreakpoint.c:
7108 1.1 christos * python/py-inferior.c:
7109 1.1 christos * python/py-infthread.c:
7110 1.1 christos * python/py-type.c:
7111 1.1 christos * python/python.c:
7112 1.1 christos * remote-fileio.c:
7113 1.1 christos * remote-m32r-sdi.c:
7114 1.1 christos * remote-mips.c:
7115 1.1 christos * reverse.c:
7116 1.1 christos * rl78-tdep.c:
7117 1.1 christos * rs6000-aix-tdep.c:
7118 1.1 christos * rs6000-tdep.c:
7119 1.1 christos * s390-tdep.c:
7120 1.1 christos * score-tdep.c:
7121 1.1 christos * sh64-tdep.c:
7122 1.1 christos * skip.c:
7123 1.1 christos * solib-darwin.c:
7124 1.1 christos * solib-dsbt.c:
7125 1.1 christos * solib-frv.c:
7126 1.1 christos * sparc-tdep.c:
7127 1.1 christos * spu-multiarch.c:
7128 1.1 christos * spu-tdep.c:
7129 1.1 christos * stack.c:
7130 1.1 christos * symfile.c:
7131 1.1 christos * symtab.c:
7132 1.1 christos * tic6x-tdep.c:
7133 1.1 christos * tracepoint.c:
7134 1.1 christos * v850-tdep.c:
7135 1.1 christos * valarith.c:
7136 1.1 christos * valprint.c:
7137 1.1 christos * value.c:
7138 1.1 christos * xcoffread.c:
7139 1.1 christos * xtensa-tdep.c:
7140 1.1 christos * ada-lang.c:
7141 1.1 christos * ada-tasks.c:
7142 1.1 christos * ada-varobj.c:
7143 1.1 christos * amd64-darwin-tdep.c:
7144 1.1 christos * arm-symbian-tdep.c:
7145 1.1 christos * arm-tdep.c: Delete unused variables.
7146 1.1 christos
7147 1.1 christos 2012-05-18 Jan Kratochvil <jan.kratochvil (a] redhat.com>
7148 1.1 christos
7149 1.1 christos Rename $ddir to $datadir.
7150 1.1 christos * NEWS (--with-auto-load-dir): Rename $ddir to $datadir.
7151 1.1 christos * auto-load.c (auto_load_safe_path_vec_update)
7152 1.1 christos (auto_load_gdb_datadir_changed, auto_load_objfile_script): Likewise.
7153 1.1 christos * configure: Regenerate.
7154 1.1 christos * configure.ac (--with-auto-load-dir, --with-auto-load-safe-path):
7155 1.1 christos Likewise. Remove the 'use $ddir' help string.
7156 1.1 christos
7157 1.1 christos 2012-05-18 Jan Kratochvil <jan.kratochvil (a] redhat.com>
7158 1.1 christos
7159 1.1 christos * auto-load.c (show_auto_load_safe_path): Accept any combination of
7160 1.1 christos DIRNAME_SEPARATOR and IS_DIR_SEPARATOR for wild-match.
7161 1.1 christos
7162 1.1 christos 2012-05-18 Tom Tromey <tromey (a] redhat.com>
7163 1.1 christos
7164 1.1 christos PR exp/13907:
7165 1.1 christos * valprint.h (struct value_print_options) <symbol_print>: New
7166 1.1 christos field.
7167 1.1 christos * valprint.c (user_print_options): Add default for symbol_print.
7168 1.1 christos (show_symbol_print): New function.
7169 1.1 christos (generic_val_print): Respect symbol_print.
7170 1.1 christos (_initialize_valprint): Add "print symbol" setting.
7171 1.1 christos * f-valprint.c (f_val_print): Respect symbol_print.
7172 1.1 christos * c-valprint.c (c_val_print): Respect symbol_print.
7173 1.1 christos * NEWS: Update.
7174 1.1 christos * printcmd.c (print_address_symbolic): Return int. Ignore some
7175 1.1 christos zero-size symbols.
7176 1.1 christos (print_address_demangle): Return int.
7177 1.1 christos * defs.h: (print_address_symbolic): Return int.
7178 1.1 christos * value.h (print_address_demangle): Return int.
7179 1.1 christos
7180 1.1 christos 2012-05-18 Tom Tromey <tromey (a] redhat.com>
7181 1.1 christos
7182 1.1 christos * valprint.c (val_print_string): Don't print leading space.
7183 1.1 christos * p-valprint.c (pascal_val_print) <TYPE_CODE_PTR>: Optionally
7184 1.1 christos print space before string or vtbl.
7185 1.1 christos * m2-valprint.c (print_unpacked_pointer): Optionally print space
7186 1.1 christos before string.
7187 1.1 christos * jv-valprint.c (java_value_print): Print space before string.
7188 1.1 christos * go-valprint.c (print_go_string): Print space before string.
7189 1.1 christos * f-valprint.c (f_val_print) <TYPE_CODE_PTR>: Optionally print
7190 1.1 christos space before string.
7191 1.1 christos * c-valprint.c (c_val_print) <TYPE_CODE_PTR>: Optionally print
7192 1.1 christos space before string or vtbl.
7193 1.1 christos * auxv.c (fprint_target_auxv): Print space after address.
7194 1.1 christos
7195 1.1 christos 2012-05-18 Tom Tromey <tromey (a] redhat.com>
7196 1.1 christos
7197 1.1 christos * printcmd.c (print_address_demangle): Remove special case for 0.
7198 1.1 christos
7199 1.1 christos 2012-05-18 Tom Tromey <tromey (a] redhat.com>
7200 1.1 christos
7201 1.1 christos * printcmd.c (print_address_demangle): Add 'opts' argument.
7202 1.1 christos * p-valprint.c (pascal_val_print): Update.
7203 1.1 christos * jv-valprint.c (java_val_print): Update.
7204 1.1 christos * value.h: Update.
7205 1.1 christos * valprint.c (generic_val_print): Update.
7206 1.1 christos (print_function_pointer_address): Add 'options' argument. Remove
7207 1.1 christos 'addressprint' argument. Update.
7208 1.1 christos * m2-valprint.c (print_unpacked_pointer): Update.
7209 1.1 christos * gnu-v3-abi.c (print_one_vtable): Update.
7210 1.1 christos (gnuv3_print_method_ptr): Update.
7211 1.1 christos * f-valprint.c (f_val_print): Update.
7212 1.1 christos * cp-valprint.c (cp_print_value_fields): Update.
7213 1.1 christos * valprint.h (print_function_pointer_address): Update.
7214 1.1 christos * c-valprint.c (c_val_print): Update.
7215 1.1 christos
7216 1.1 christos 2012-05-18 Tom Tromey <tromey (a] redhat.com>
7217 1.1 christos
7218 1.1 christos * psymtab.c (find_pc_sect_symtab_from_partial): Return the symtab
7219 1.1 christos directly corresponding to the found psymtab.
7220 1.1 christos * dwarf2read.c (recursively_find_pc_sect_symtab): New function.
7221 1.1 christos (dw2_find_pc_sect_symtab): Use it.
7222 1.1 christos * block.h (blockvector_contains_pc): Declare.
7223 1.1 christos * block.c (find_block_in_blockvector): New function.
7224 1.1 christos (blockvector_for_pc_sect): Use it.
7225 1.1 christos (blockvector_contains_pc): New function.
7226 1.1 christos
7227 1.1 christos 2012-05-18 Maciej W. Rozycki <macro (a] codesourcery.com>
7228 1.1 christos
7229 1.1 christos * mips-tdep.h (mips_write_pc): New prototype.
7230 1.1 christos * mips-tdep.c (mips_write_pc): Make external, add description.
7231 1.1 christos * mips-linux-tdep.c (mips_linux_write_pc): Use mips_write_pc,
7232 1.1 christos add description.
7233 1.1 christos
7234 1.1 christos 2012-05-18 Maciej W. Rozycki <macro (a] codesourcery.com>
7235 1.1 christos
7236 1.1 christos * mips-tdep.c (mips_read_pc): Use gdbarch_pc_regnum instead of
7237 1.1 christos mips_regnum->pc.
7238 1.1 christos (mips_unwind_pc, mips_write_pc): Likewise.
7239 1.1 christos (mips_gdbarch_init): Remove a comment on gdbarch_pc_regnum and
7240 1.1 christos gdbarch_read_pc.
7241 1.1 christos
7242 1.1 christos 2012-05-17 Joel Brobecker <brobecker (a] adacore.com>
7243 1.1 christos
7244 1.1 christos * procfs.c (procfs_find_new_threads, procfs_pid_to_str,
7245 1.1 christos proc_warn, proc_error, proc_get_status, proc_flags,
7246 1.1 christos proc_why, proc_what, proc_nsysarg, proc_sysargs,
7247 1.1 christos proc_set_run_on_last_close, proc_unset_run_on_last_close,
7248 1.1 christos proc_unset_inherit_on_fork, proc_set_async, proc_unset_async,
7249 1.1 christos proc_stop_process, proc_wait_for_stop, proc_run_process,
7250 1.1 christos proc_set_traced_signals, proc_set_traced_faults,
7251 1.1 christos proc_set_traced_sysentry, proc_set_traced_sysexit,
7252 1.1 christos proc_set_held_signals, proc_get_held_signals,
7253 1.1 christos proc_get_traced_signals, proc_get_traced_faults,
7254 1.1 christos proc_get_traced_sysentry, proc_get_traced_sysexit,
7255 1.1 christos proc_clear_current_fault, proc_set_current_signal,
7256 1.1 christos proc_clear_current_signal, proc_get_gregs, proc_get_fpregs,
7257 1.1 christos proc_set_gregs, proc_set_fpregs, proc_kill, proc_parent_pid,
7258 1.1 christos proc_get_nthreads, proc_get_nthreads, proc_get_nthreads,
7259 1.1 christos proc_get_current_thread, proc_get_current_thread,
7260 1.1 christos proc_get_current_thread, proc_update_threads,
7261 1.1 christos proc_update_threads, proc_update_threads, proc_update_threads,
7262 1.1 christos proc_iterate_over_threads, procfs_find_new_threads,
7263 1.1 christos procfs_pid_to_str): Make static. Remove advance declaration.
7264 1.1 christos (proc_cursig): Make static. Conditionalized defintion on
7265 1.1 christos PROCFS_DONT_PIOCSSIG_CURSIG being defined.
7266 1.1 christos (proc_syscall, proc_set_kill_on_last_close,
7267 1.1 christos proc_unset_kill_on_last_close, proc_set_inherit_on_fork,
7268 1.1 christos proc_get_pending_signals, proc_get_signal_actions,
7269 1.1 christos proc_trace_signal, proc_ignore_signal): Delete.
7270 1.1 christos
7271 1.1 christos 2012-05-16 Sergio Durigan Junior <sergiodj (a] redhat.com>
7272 1.1 christos
7273 1.1 christos * coffread.c (cs_section_address): Passing proper argument for
7274 1.1 christos `bfd_get_section_vma'.
7275 1.1 christos * dwarf2read.c (dwarf2_locate_sections): Likewise, for
7276 1.1 christos `bfd_get_section_flags'.
7277 1.1 christos * remote.c (remote_trace_set_readonly_regions): Likewise, for
7278 1.1 christos `bfd_get_section_vma'.
7279 1.1 christos
7280 1.1 christos 2012-05-16 Tom Tromey <tromey (a] redhat.com>
7281 1.1 christos
7282 1.1 christos PR macros/13205:
7283 1.1 christos * macrotab.h: (macro_define_special): Declare.
7284 1.1 christos (enum macro_special_kind): New.
7285 1.1 christos (struct macro_definition) <argc, replacement>: Update comments.
7286 1.1 christos * macrotab.c (new_macro_definition): Unconditionally set 'argc'.
7287 1.1 christos (macro_define_object_internal): New function.
7288 1.1 christos (macro_define_object): Use it.
7289 1.1 christos (macro_define_special): New function.
7290 1.1 christos (fixup_definition): New function.
7291 1.1 christos (macro_lookup_definition, foreach_macro_in_scope)
7292 1.1 christos (foreach_macro): Use fixup_definition.
7293 1.1 christos * macroexp.h (macro_stringify): Declare.
7294 1.1 christos * macroexp.c (free_buffer_return_text): New function.
7295 1.1 christos (stringify): Constify "arg".
7296 1.1 christos (macro_stringify): New function.
7297 1.1 christos * dwarf2read.c (macro_start_file): Call macro_define_special.
7298 1.1 christos
7299 1.1 christos 2012-05-16 Maciej W. Rozycki <macro (a] codesourcery.com>
7300 1.1 christos Maciej W. Rozycki <macro (a] mips.com>
7301 1.1 christos
7302 1.1 christos * breakpoint.h (bp_location): Add related_address member.
7303 1.1 christos * inferior.h (get_return_value): Take a pointer to struct value
7304 1.1 christos instead of struct type for the function requested.
7305 1.1 christos * value.h (using_struct_return): Likewise.
7306 1.1 christos * gdbarch.sh (return_value): Take a pointer to struct value
7307 1.1 christos instead of struct type for the function requested.
7308 1.1 christos * breakpoint.c (set_breakpoint_location_function): Initialize
7309 1.1 christos related_address for bp_gnu_ifunc_resolver breakpoints.
7310 1.1 christos * elfread.c (elf_gnu_ifunc_resolver_return_stop): Pass the
7311 1.1 christos requested function's address to gdbarch_return_value.
7312 1.1 christos * eval.c (evaluate_subexp_standard): Pass the requested
7313 1.1 christos function's address to using_struct_return.
7314 1.1 christos * infcall.c (call_function_by_hand): Pass the requested
7315 1.1 christos function's address to using_struct_return and
7316 1.1 christos gdbarch_return_value.
7317 1.1 christos * infcmd.c (get_return_value): Take a pointer to struct value
7318 1.1 christos instead of struct type for the function requested.
7319 1.1 christos (print_return_value): Update accordingly.
7320 1.1 christos (finish_command_continuation): Likewise.
7321 1.1 christos * stack.c (return_command): Pass the requested function's
7322 1.1 christos address to using_struct_return and gdbarch_return_value.
7323 1.1 christos * value.c (using_struct_return): Take a pointer to struct value
7324 1.1 christos instead of struct type for the function requested. Pass the
7325 1.1 christos requested function's address to gdbarch_return_value.
7326 1.1 christos * python/py-finishbreakpoint.c (finish_breakpoint_object):
7327 1.1 christos New function_value member, replacing function_type.
7328 1.1 christos (bpfinishpy_dealloc): Update accordingly.
7329 1.1 christos (bpfinishpy_pre_stop_hook): Likewise.
7330 1.1 christos (bpfinishpy_init): Likewise. Record the requested function's
7331 1.1 christos address.
7332 1.1 christos * mips-tdep.c (mips_fval_reg): New enum.
7333 1.1 christos (mips_o32_push_dummy_call): For MIPS16 FP doubles do not swap
7334 1.1 christos words put in GP registers.
7335 1.1 christos (mips_o64_push_dummy_call): Update a comment.
7336 1.1 christos (mips_o32_return_value): Take a pointer to struct value instead
7337 1.1 christos of struct type for the function requested and use it to check if
7338 1.1 christos using the MIPS16 calling convention. Return the designated
7339 1.1 christos general purpose registers for floating-point values returned in
7340 1.1 christos MIPS16 mode.
7341 1.1 christos (mips_o64_return_value): Likewise.
7342 1.1 christos * ppc-tdep.h (ppc_sysv_abi_return_value): Update prototype.
7343 1.1 christos (ppc_sysv_abi_broken_return_value): Likewise.
7344 1.1 christos (ppc64_sysv_abi_return_value): Likewise.
7345 1.1 christos * alpha-tdep.c (alpha_return_value): Take a pointer to struct
7346 1.1 christos value instead of struct type for the function requested.
7347 1.1 christos * amd64-tdep.c (amd64_return_value): Likewise.
7348 1.1 christos * amd64-windows-tdep.c (amd64_windows_return_value): Likewise.
7349 1.1 christos * arm-tdep.c (arm_return_value): Likewise.
7350 1.1 christos * avr-tdep.c (avr_return_value): Likewise.
7351 1.1 christos * bfin-tdep.c (bfin_return_value): Likewise.
7352 1.1 christos * cris-tdep.c (cris_return_value): Likewise.
7353 1.1 christos * frv-tdep.c (frv_return_value): Likewise.
7354 1.1 christos * h8300-tdep.c (h8300_return_value): Likewise.
7355 1.1 christos (h8300h_return_value): Likewise.
7356 1.1 christos * hppa-tdep.c (hppa32_return_value): Likewise.
7357 1.1 christos (hppa64_return_value): Likewise.
7358 1.1 christos * i386-tdep.c (i386_return_value): Likewise.
7359 1.1 christos * ia64-tdep.c (ia64_return_value): Likewise.
7360 1.1 christos * iq2000-tdep.c (iq2000_return_value): Likewise.
7361 1.1 christos * lm32-tdep.c (lm32_return_value): Likewise.
7362 1.1 christos * m32c-tdep.c (m32c_return_value): Likewise.
7363 1.1 christos * m32r-tdep.c (m32r_return_value): Likewise.
7364 1.1 christos * m68hc11-tdep.c (m68hc11_return_value): Likewise.
7365 1.1 christos * m68k-tdep.c (m68k_return_value): Likewise.
7366 1.1 christos (m68k_svr4_return_value): Likewise.
7367 1.1 christos * m88k-tdep.c (m88k_return_value): Likewise.
7368 1.1 christos * mep-tdep.c (mep_return_value): Likewise.
7369 1.1 christos * microblaze-tdep.c (microblaze_return_value): Likewise.
7370 1.1 christos * mn10300-tdep.c (mn10300_return_value): Likewise.
7371 1.1 christos * moxie-tdep.c (moxie_return_value): Likewise.
7372 1.1 christos * mt-tdep.c (mt_return_value): Likewise.
7373 1.1 christos * ppc-linux-tdep.c (ppc_linux_return_value): Likewise.
7374 1.1 christos * ppc-sysv-tdep.c (ppc_sysv_abi_return_value): Likewise.
7375 1.1 christos (ppc_sysv_abi_broken_return_value): Likewise.
7376 1.1 christos (ppc64_sysv_abi_return_value): Likewise.
7377 1.1 christos * ppcnbsd-tdep.c (ppcnbsd_return_value): Likewise.
7378 1.1 christos * rl78-tdep.c (rl78_return_value): Likewise.
7379 1.1 christos * rs6000-aix-tdep.c (rs6000_return_value): Likewise.
7380 1.1 christos * rx-tdep.c (rx_return_value): Likewise.
7381 1.1 christos * s390-tdep.c (s390_return_value): Likewise.
7382 1.1 christos * score-tdep.c (score_return_value): Likewise.
7383 1.1 christos * sh-tdep.c (sh_return_value_nofpu): Likewise.
7384 1.1 christos (sh_return_value_fpu): Likewise.
7385 1.1 christos * sh64-tdep.c (sh64_return_value): Likewise.
7386 1.1 christos * sparc-tdep.c (sparc32_return_value): Likewise.
7387 1.1 christos * sparc64-tdep.c (sparc64_return_value): Likewise.
7388 1.1 christos * spu-tdep.c (spu_return_value): Likewise.
7389 1.1 christos * tic6x-tdep.c (tic6x_return_value): Likewise.
7390 1.1 christos * v850-tdep.c (v850_return_value): Likewise.
7391 1.1 christos * vax-tdep.c (vax_return_value): Likewise.
7392 1.1 christos * xstormy16-tdep.c (xstormy16_return_value): Likewise.
7393 1.1 christos * xtensa-tdep.c (xtensa_return_value): Likewise.
7394 1.1 christos * gdbarch.c: Regenerate.
7395 1.1 christos * gdbarch.h: Regenerate.
7396 1.1 christos
7397 1.1 christos 2012-05-15 Tom Tromey <tromey (a] redhat.com>
7398 1.1 christos
7399 1.1 christos * python/python.c (gdbpy_find_pc_line): Use gdb_py_ulongest.
7400 1.1 christos
7401 1.1 christos 2012-05-15 Joel Brobecker <brobecker (a] adacore.com>
7402 1.1 christos
7403 1.1 christos * breakpoint.c (init_breakpoint_sal): Add quotes around part
7404 1.1 christos of command in two error message.
7405 1.1 christos
7406 1.1 christos 2012-05-15 Joel Brobecker <brobecker (a] adacore.com>
7407 1.1 christos
7408 1.1 christos * breakpoint.c (init_breakpoint_sal): Remove trailing spaces.
7409 1.1 christos
7410 1.1 christos 2012-05-15 Joel Brobecker <brobecker (a] adacore.com>
7411 1.1 christos
7412 1.1 christos * breakpoint.c (find_condition_and_thread): Minor reformatting.
7413 1.1 christos
7414 1.1 christos 2012-05-15 Jan Kratochvil <jan.kratochvil (a] redhat.com>
7415 1.1 christos
7416 1.1 christos * NEWS (show auto-load scripts-directory): Add forgotten command.
7417 1.1 christos
7418 1.1 christos 2012-05-15 Jan Kratochvil <jan.kratochvil (a] redhat.com>
7419 1.1 christos
7420 1.1 christos * spu-tdep.c (spu_catch_start): Update create_breakpoint caller
7421 1.1 christos parameters.
7422 1.1 christos
7423 1.1 christos 2012-05-14 H.J. Lu <hongjiu.lu (a] intel.com>
7424 1.1 christos
7425 1.1 christos * amd64-tdep.c: Include features/i386/x32.c and
7426 1.1 christos features/i386/x32-avx.c.
7427 1.1 christos (_initialize_amd64_tdep): Call initialize_tdesc_x32 and
7428 1.1 christos initialize_tdesc_x32_avx.
7429 1.1 christos
7430 1.1 christos 2012-05-14 Stan Shebs <stan (a] codesourcery.com>
7431 1.1 christos
7432 1.1 christos Add dynamic printf.
7433 1.1 christos * breakpoint.h (enum bptype): New type bp_dprintf.
7434 1.1 christos (struct breakpoint): New field extra_string.
7435 1.1 christos (struct breakpoint_ops): Add arg to create_breakpoints_sal.
7436 1.1 christos (create_breakpoint): Add extra_string arg.
7437 1.1 christos * breakpoint.c (dprintf_breakpoint_ops): New.
7438 1.1 christos (is_breakpoint): Add bp_dprintf.
7439 1.1 christos (bpstat_what): Add dprintf case.
7440 1.1 christos (bptype_string): Ditto.
7441 1.1 christos (print_one_breakpoint_location): Ditto.
7442 1.1 christos (init_bp_location): Ditto.
7443 1.1 christos (bkpt_print_mention): Ditto.
7444 1.1 christos (dprintf_style_enums): New array.
7445 1.1 christos (dprintf_style): New global.
7446 1.1 christos (dprintf_function): New global.
7447 1.1 christos (dprintf_channel): New global.
7448 1.1 christos (update_dprintf_command_list): New function.
7449 1.1 christos (update_dprintf_commands): New function.
7450 1.1 christos (init_breakpoint_sal): Add extra_string argument, handle it.
7451 1.1 christos (create_breakpoint_sal): Add extra_string argument.
7452 1.1 christos (create_breakpoints_sal): Add extra_string argument, update callers.
7453 1.1 christos (find_condition_and_thread): Add extra argument.
7454 1.1 christos (create_breakpoint): Add extra_string argument, record it.
7455 1.1 christos (dprintf_command): New function.
7456 1.1 christos (break_command_1): Add arg to create_breakpoint call.
7457 1.1 christos (handle_gnu_v3_exceptions): Ditto.
7458 1.1 christos (trace_command): Ditto.
7459 1.1 christos (ftrace_command): Ditto.
7460 1.1 christos (strace_command): Ditto.
7461 1.1 christos (bkpt_print_mention): Add dprintf case.
7462 1.1 christos (create_breakpoint_sal_default): Add extra_string argument.
7463 1.1 christos (_initialize_breakpoint): Add new commands.
7464 1.1 christos * mi/mi-cmd-break.c (mi_cmd_break_insert): Add arg to call.
7465 1.1 christos * python/py-breakpoint.c (bppy_init): Ditto.
7466 1.1 christos * python/py-finishbreakpoint.c (bpfinishpy_init): Ditto.
7467 1.1 christos
7468 1.1 christos 2012-05-14 Maciej W. Rozycki <macro (a] codesourcery.com>
7469 1.1 christos
7470 1.1 christos * mips-tdep.c (mips_push_dummy_code): Correct description typo.
7471 1.1 christos
7472 1.1 christos 2012-05-14 Siva Chandra Reddy <sivachandra (a] google.com>
7473 1.1 christos
7474 1.1 christos * python/python.c (gdbpy_find_pc_line): Use ULONGEST instead of
7475 1.1 christos unsigned long long.
7476 1.1 christos
7477 1.1 christos 2012-05-13 Siva Chandra Reddy <sivachandra (a] google.com>
7478 1.1 christos
7479 1.1 christos Add a new function gdb.find_pc_line to the Python API.
7480 1.1 christos * NEWS (Python Scripting): Add entry about the new function.
7481 1.1 christos * python/python.c (gdbpy_find_pc_line): New function which
7482 1.1 christos implements gdb.find_pc_line.
7483 1.1 christos (GdbMethods): Add entry for the new function.
7484 1.1 christos
7485 1.1 christos 2012-05-12 Pedro Alves <palves (a] redhat.com>
7486 1.1 christos
7487 1.1 christos * amd64-linux-tdep.c (_initialize_amd64_linux_tdep): Call
7488 1.1 christos initialize_tdesc_x32_linux and initialize_tdesc_x32_avx_linux.
7489 1.1 christos
7490 1.1 christos 2012-05-12 Eli Zaretskii <eliz (a] gnu.org>
7491 1.1 christos
7492 1.1 christos * inferior.c: Include completer.h
7493 1.1 christos (initialize_inferiors): Set completer of add-inferior to
7494 1.1 christos filename_completer.
7495 1.1 christos
7496 1.1 christos 2012-05-11 H.J. Lu <hongjiu.lu (a] intel.com>
7497 1.1 christos
7498 1.1 christos * amd64-linux-tdep.c (amd64_linux_core_read_description): Check
7499 1.1 christos gdbarch_ptr_bit for x32 core dump.
7500 1.1 christos
7501 1.1 christos 2012-05-11 H.J. Lu <hongjiu.lu (a] intel.com>
7502 1.1 christos
7503 1.1 christos * amd64-linux-tdep.c: Include features/i386/x32-linux.c
7504 1.1 christos and features/i386/x32-avx-linux.c.
7505 1.1 christos
7506 1.1 christos 2012-05-11 Stan Shebs <stan (a] codesourcery.com>
7507 1.1 christos Kwok Cheung Yeung <kcy (a] codesourcery.com>
7508 1.1 christos
7509 1.1 christos * NEWS: Describe new info os commands.
7510 1.1 christos * common/linux-osdata.c (PID_T, TIME_T): Define.
7511 1.1 christos (MAX_PID_T_STRLEN): New.
7512 1.1 christos (linux_common_core_of_thread): Add comment. Change to use PID_T and
7513 1.1 christos MAX_PID_T_STRLEN.
7514 1.1 christos (command_from_pid): Add comment. Change to use PID_T.
7515 1.1 christos (commandline_from_pid): Change to use PID_T.
7516 1.1 christos (user_from_pid): Add comment.
7517 1.1 christos (get_process_owner): Add comment. Change to use PID_T and
7518 1.1 christos MAX_PID_T_STRLEN.
7519 1.1 christos (get_number_of_cpu_cores): Add comment.
7520 1.1 christos (get_cores_used_by_process): Add comment. Change to use PID_T and
7521 1.1 christos MAX_PID_T_STRLEN.
7522 1.1 christos (linux_xfer_osdata_processes): Change to use PID_T and
7523 1.1 christos MAX_PID_T_STRLEN.
7524 1.1 christos (compare_processes): New function.
7525 1.1 christos (linux_xfer_osdata_processgroups): New function.
7526 1.1 christos (linux_xfer_osdata_threads): Change to use PID_T.
7527 1.1 christos (linux_xfer_osdata_fds): New function.
7528 1.1 christos (format_socket_state, print_sockets): New functions.
7529 1.1 christos (union socket_addr): New union.
7530 1.1 christos (linux_xfer_osdata_isockets): New function.
7531 1.1 christos (time_from_time_t, group_from_gid): New functions.
7532 1.1 christos (linux_xfer_osdata_shm): New function.
7533 1.1 christos (linux_xfer_osdata_sem): New function.
7534 1.1 christos (linux_xfer_osdata_msg): New function.
7535 1.1 christos (linux_xfer_osdata_modules): New function.
7536 1.1 christos (osdata_table): Add new entries.
7537 1.1 christos * common/buffer.c (buffer_xml_printf): Add support for long and
7538 1.1 christos long long format specifiers.
7539 1.1 christos
7540 1.1 christos 2012-05-11 H.J. Lu <hongjiu.lu (a] intel.com>
7541 1.1 christos
7542 1.1 christos * amd64-linux-tdep.h (tdesc_x32_linux): New.
7543 1.1 christos (tdesc_x32_avx_linux): Likewise.
7544 1.1 christos
7545 1.1 christos 2012-05-11 Jan Kratochvil <jan.kratochvil (a] redhat.com>
7546 1.1 christos
7547 1.1 christos Implement multi-component --with-auto-load-dir.
7548 1.1 christos * NEWS (set auto-load scripts-directory, --with-auto-load-dir): New
7549 1.1 christos entries.
7550 1.1 christos (--with-auto-load-safe-path): Update the default value description.
7551 1.1 christos * auto-load.c (auto_load_dir, set_auto_load_dir, show_auto_load_dir):
7552 1.1 christos New.
7553 1.1 christos (auto_load_objfile_script): Add DEBUG_AUTO_LOAD output. Remove
7554 1.1 christos GDB_DATADIR NULL check. Replace GDB_DATADIR/auto-load by
7555 1.1 christos AUTO_LOAD_DIR. Support $ddir and multiple components in it.
7556 1.1 christos (_initialize_auto_load): Initialize also auto_load_dir. Install new
7557 1.1 christos "set auto-load scripts-directory".
7558 1.1 christos * config.in: Regenerate.
7559 1.1 christos * configure: Regenerate.
7560 1.1 christos * configure.ac (--with-auto-load-dir): New configure option.
7561 1.1 christos (--auto-load-safe-path): Change the default to --with-auto-load-dir.
7562 1.1 christos
7563 1.1 christos 2012-05-11 Jan Kratochvil <jan.kratochvil (a] redhat.com>
7564 1.1 christos
7565 1.1 christos Provide $ddir substitution for --with-auto-load-safe-path.
7566 1.1 christos * NEWS (--with-auto-load-safe-path, --without-auto-load-safe-path): New
7567 1.1 christos entries.
7568 1.1 christos * auto-load.c: Include observer.h.
7569 1.1 christos (auto_load_safe_path_vec_update): Call substitute_path_component for
7570 1.1 christos each component. New variable ddir_subst.
7571 1.1 christos (auto_load_gdb_datadir_changed): New function.
7572 1.1 christos (set_auto_load_safe_path): Rename DEFAULT_AUTO_LOAD_SAFE_PATH to
7573 1.1 christos AUTO_LOAD_SAFE_PATH. New comment.
7574 1.1 christos (_initialize_auto_load): Rename DEFAULT_AUTO_LOAD_SAFE_PATH to
7575 1.1 christos AUTO_LOAD_SAFE_PATH. Install auto_load_gdb_datadir_changed.
7576 1.1 christos * config.in: Regenerate.
7577 1.1 christos * configure: Regenerate.
7578 1.1 christos * configure.ac (--auto-load-safe-path): Rename
7579 1.1 christos DEFAULT_AUTO_LOAD_SAFE_PATH to AUTO_LOAD_SAFE_PATH. Default to
7580 1.1 christos GDB_DATADIR/auto-load.
7581 1.1 christos * defs.h (substitute_path_component): New declaration.
7582 1.1 christos * top.c: Include observer.h.
7583 1.1 christos (set_gdb_datadir): New function.
7584 1.1 christos (init_main): Install it for "set data-directory".
7585 1.1 christos * utils.c (substitute_path_component): New function.
7586 1.1 christos
7587 1.1 christos 2012-05-11 Jan Kratochvil <jan.kratochvil (a] redhat.com>
7588 1.1 christos
7589 1.1 christos Make auto-load handle multiple components of DEBUG_FILE_DIRECTORY.
7590 1.1 christos * auto-load.c (auto_load_objfile_script): Remove check for NULL
7591 1.1 christos DEBUG_FILE_DIRECTORY. Handle multiple components of
7592 1.1 christos DEBUG_FILE_DIRECTORY.
7593 1.1 christos
7594 1.1 christos 2012-05-10 Tom Tromey <tromey (a] redhat.com>
7595 1.1 christos
7596 1.1 christos * dwarf2read.c (recursively_write_psymbols): New function.
7597 1.1 christos (write_psymtabs_to_index): Use it.
7598 1.1 christos
7599 1.1 christos * dwarf2read.c (struct dwarf2_queue_item) <pretend_language>: New
7600 1.1 christos field.
7601 1.1 christos (load_cu, dw2_do_instantiate_symtab, process_psymtab_comp_unit)
7602 1.1 christos (load_partial_comp_unit): Update.
7603 1.1 christos (queue_comp_unit): Add argument 'pretend_language'.
7604 1.1 christos (process_queue): Update.
7605 1.1 christos (psymtab_to_symtab_1): Skip dependencies that have a user.
7606 1.1 christos (load_partial_comp_unit_reader): Give meaning to the 'data'
7607 1.1 christos argument.
7608 1.1 christos (load_full_comp_unit): Add 'pretend_language' argument.
7609 1.1 christos (process_full_comp_unit): Add 'pretend_language' argument. Set
7610 1.1 christos language on CU.
7611 1.1 christos (process_imported_unit_die, read_file_scope, read_type_unit_scope):
7612 1.1 christos Update.
7613 1.1 christos (maybe_queue_comp_unit): Add 'pretend_language' argument.
7614 1.1 christos (follow_die_offset, follow_die_sig, read_signatured_type_reader):
7615 1.1 christos Update.
7616 1.1 christos (prepare_one_comp_unit): Add 'pretend_language' argument.
7617 1.1 christos
7618 1.1 christos * dwarf2read.c: (dwarf2_per_cu_ptr): New typedef.
7619 1.1 christos (struct dwarf2_per_objfile) <just_read_cus>: New field.
7620 1.1 christos (struct dwarf2_per_cu_data) <imported_symtabs>: New field.
7621 1.1 christos (dw2_do_instantiate_symtab): Check whether symtab was read in
7622 1.1 christos before queueing.
7623 1.1 christos (dw2_instantiate_symtab): Add assertion. Call
7624 1.1 christos process_cu_includes.
7625 1.1 christos (process_psymtab_comp_unit): Compute 'dependencies' for psymtab.
7626 1.1 christos (partial_symtab_p): New typedef.
7627 1.1 christos (set_partial_user): New function.
7628 1.1 christos (dwarf2_build_psymtabs_hard): Use set_partial_user.
7629 1.1 christos (scan_partial_symbols): Add imported CU to imported_symtabs.
7630 1.1 christos (dwarf2_psymtab_to_symtab): Call process_cu_includes.
7631 1.1 christos (psymtab_to_symtab_1): Do nothing if psymtab is readin.
7632 1.1 christos (get_symtab, recursively_compute_inclusions)
7633 1.1 christos (compute_symtab_includes, process_cu_includes)
7634 1.1 christos (process_imported_unit_die): New functions.
7635 1.1 christos (process_die) <DW_TAG_imported_unit>: New case.
7636 1.1 christos (dwarf2_per_objfile_free): Free 'imported_symtabs'.
7637 1.1 christos
7638 1.1 christos * dwarf2read.c (struct dwarf2_per_cu_data) <psymtab>: Update
7639 1.1 christos comment.
7640 1.1 christos (struct partial_die_info) <locdesc>: Remove.
7641 1.1 christos <d>: New field.
7642 1.1 christos (process_psymtab_comp_unit): Add 'read_partial' argument.
7643 1.1 christos Update.
7644 1.1 christos (process_type_comp_unit, dwarf2_build_psymtabs_hard): Update.
7645 1.1 christos (scan_partial_symbols): Handle DW_TAG_imported_unit.
7646 1.1 christos (add_partial_symbol): Update.
7647 1.1 christos (process_die): Handle DW_TAG_partial_unit.
7648 1.1 christos (read_file_scope): Update comment.
7649 1.1 christos (load_partial_dies): Handle DW_TAG_imported_unit.
7650 1.1 christos (read_partial_die): Handle DW_TAG_partial_unit, DW_AT_import.
7651 1.1 christos (determine_prefix, dwarf2_name): Handle DW_TAG_partial_unit.
7652 1.1 christos
7653 1.1 christos 2012-05-10 Tom Tromey <tromey (a] redhat.com>
7654 1.1 christos
7655 1.1 christos * cc-with-dwz.sh: New file.
7656 1.1 christos
7657 1.1 christos 2012-05-10 Tom Tromey <tromey (a] redhat.com>
7658 1.1 christos
7659 1.1 christos * symtab.h (struct symtab) <includes, user>: New fields.
7660 1.1 christos * block.h (struct block_iterator) <d, idx, which>: New fields.
7661 1.1 christos * block.c (initialize_block_iterator, find_iterator_symtab)
7662 1.1 christos (block_iterator_step, block_iter_name_step)
7663 1.1 christos (block_iter_match_step): New functions.
7664 1.1 christos (block_iterator_first, block_iterator_next)
7665 1.1 christos (block_iter_name_first, block_iter_name_next)
7666 1.1 christos (block_iter_match_first, block_iter_match_next): Rewrite.
7667 1.1 christos (get_block_symtab): New function.
7668 1.1 christos
7669 1.1 christos 2012-05-10 Tom Tromey <tromey (a] redhat.com>
7670 1.1 christos
7671 1.1 christos * jv-lang.c (get_java_class_symtab): Use allocate_global_block,
7672 1.1 christos set_block_symtab.
7673 1.1 christos * jit.c (finalize_symtab): Use allocate_global_block,
7674 1.1 christos set_block_symtab.
7675 1.1 christos * buildsym.c (finish_block_internal): New function, from old
7676 1.1 christos finish_block.
7677 1.1 christos (finish_block): Rewrite.
7678 1.1 christos (end_symtab): Use finish_block_internal, set_block_symtab.
7679 1.1 christos * block.h (struct global_block): New.
7680 1.1 christos (allocate_global_block, set_block_symtab): Declare.
7681 1.1 christos * block.c (allocate_global_block, set_block_symtab): New
7682 1.1 christos functions.
7683 1.1 christos
7684 1.1 christos 2012-05-10 Tom Tromey <tromey (a] redhat.com>
7685 1.1 christos
7686 1.1 christos * psymtab.c (partial_map_expand_apply): Add assertion.
7687 1.1 christos (partial_map_symtabs_matching_filename): Skip included psymtabs.
7688 1.1 christos (psymtab_to_symtab): Find unshared psymtab.
7689 1.1 christos (dump_psymtab): Print including psymtabs.
7690 1.1 christos (recursively_search_psymtabs): New function.
7691 1.1 christos (expand_symtabs_matching_via_partial): Use it.
7692 1.1 christos * psympriv.h (struct partial_symtab) <user, searched_flag>: New
7693 1.1 christos fields.
7694 1.1 christos (enum psymtab_search_status): New.
7695 1.1 christos
7696 1.1 christos 2012-05-10 Tom Tromey <tromey (a] redhat.com>
7697 1.1 christos
7698 1.1 christos * tracepoint.c (scope_info): Update.
7699 1.1 christos * symtab.c (lookup_block_symbol, iterate_over_symbols)
7700 1.1 christos (find_pc_sect_symtab, search_symbols)
7701 1.1 christos (default_make_symbol_completion_list_break_on)
7702 1.1 christos (make_file_symbol_completion_list): Update.
7703 1.1 christos * symmisc.c (dump_symtab_1): Update.
7704 1.1 christos * stack.c (print_frame_args, iterate_over_block_locals)
7705 1.1 christos (print_frame_labels, iterate_over_block_arg_vars): Update.
7706 1.1 christos * python/py-block.c (block_object) <dict>: Remove.
7707 1.1 christos <block>: New field.
7708 1.1 christos <iter>: Change type.
7709 1.1 christos (blpy_iter): Update.
7710 1.1 christos (blpy_block_syms_iternext): Update.
7711 1.1 christos * psymtab.c (map_block): Use block iterators.
7712 1.1 christos * objfiles.c (objfile_relocate1): Use ALL_DICT_SYMBOLS.
7713 1.1 christos * mi/mi-cmd-stack.c (list_args_or_locals): Update.
7714 1.1 christos * mdebugread.c (parse_symbol, mylookup_symbol): Update.
7715 1.1 christos * infrun.c (check_exception_resume): Update.
7716 1.1 christos * cp-support.c (make_symbol_overload_list_block): Update.
7717 1.1 christos * coffread.c (patch_opaque_types): Update.
7718 1.1 christos * buildsym.c (finish_block, end_symtab): Use ALL_DICT_SYMBOLS.
7719 1.1 christos * block.h (struct block_iterator): New.
7720 1.1 christos (block_iterator_first, block_iterator_next, block_iter_name_first)
7721 1.1 christos (block_iter_name_next, block_iter_match_first)
7722 1.1 christos (block_iter_match_next): Declare.
7723 1.1 christos (ALL_BLOCK_SYMBOLS): Redefine.
7724 1.1 christos * block.c (block_iterator_first, block_iterator_next)
7725 1.1 christos (block_iter_name_first, block_iter_name_next)
7726 1.1 christos (block_iter_match_first, block_iter_match_next): New functions.
7727 1.1 christos * ada-lang.c (ada_add_block_symbols)
7728 1.1 christos (ada_make_symbol_completion_list): Use block iterator.
7729 1.1 christos
7730 1.1 christos 2012-05-10 Tom Tromey <tromey (a] redhat.com>
7731 1.1 christos
7732 1.1 christos * psymtab.c (PSYMTAB_TO_SYMTAB): Remove.
7733 1.1 christos (find_pc_sect_symtab_from_partial, lookup_symbol_aux_psymtabs)
7734 1.1 christos (lookup_partial_symbol, find_last_source_symtab_from_partial)
7735 1.1 christos (read_psymtabs_with_filename, map_matching_symbols_psymtab)
7736 1.1 christos (expand_symtabs_matching_via_partial, maintenance_check_symtabs):
7737 1.1 christos Update.
7738 1.1 christos
7739 1.1 christos 2012-05-10 Joel Brobecker <brobecker (a] adacore.com>
7740 1.1 christos
7741 1.1 christos * config/djgpp/fnchange.lst: Add entries for print-file-var-lib1.c,
7742 1.1 christos print-file-var-lib2.c, print-file-var-main.c and
7743 1.1 christos print-file-var.exp (located in gdb/testsuite/gdb.base).
7744 1.1 christos
7745 1.1 christos 2012-05-10 Joel Brobecker <brobecker (a] adacore.com>
7746 1.1 christos
7747 1.1 christos * findvar.c (default_read_var_value): For LOC_UNRESOLVED symbols,
7748 1.1 christos try locating the symbol in the symbol's own objfile first, before
7749 1.1 christos extending the search to all objfiles.
7750 1.1 christos * symtab.c (lookup_symbol_aux_objfile): New function, extracted
7751 1.1 christos out of lookup_symbol_aux_symtabs.
7752 1.1 christos (lookup_symbol_aux_symtabs): Add new parameter "exclude_objfile".
7753 1.1 christos Replace extracted-out code by call to lookup_symbol_aux_objfile.
7754 1.1 christos Do not search EXCLUDE_OBJFILE.
7755 1.1 christos (lookup_static_symbol_aux): Update call to lookup_symbol_aux_symtabs.
7756 1.1 christos (lookup_symbol_global): Search for matches in the block's objfile
7757 1.1 christos first, before searching all other objfiles.
7758 1.1 christos
7759 1.1 christos 2012-05-10 Tristan Gingold <gingold (a] adacore.com>
7760 1.1 christos
7761 1.1 christos * printcmd.c (set_command): Add pre/post inc/dec.
7762 1.1 christos
7763 1.1 christos 2012-05-09 Frank Ch. Eigler <fche (a] redhat.com>
7764 1.1 christos
7765 1.1 christos * gdb.1: Document -ex option.
7766 1.1 christos
7767 1.1 christos 2012-05-09 Joel Brobecker <brobecker (a] adacore.com>
7768 1.1 christos
7769 1.1 christos * infcall.c (call_function_by_hand): Remove AT_SYMBOL handling.
7770 1.1 christos * inferior.h (AT_SYMBOL): Delete.
7771 1.1 christos
7772 1.1 christos 2012-05-09 Joel Brobecker <brobecker (a] adacore.com>
7773 1.1 christos
7774 1.1 christos * mips-tdep.c (mips_push_dummy_code): New function.
7775 1.1 christos (mips_gdbarch_init): Set the gdbarch call_dummy_location to
7776 1.1 christos ON_STACK and install mips_push_dummy_code as our gdbarch
7777 1.1 christos push_dummy_code routine.
7778 1.1 christos
7779 1.1 christos 2012-05-09 Pedro Alves <palves (a] redhat.com>
7780 1.1 christos
7781 1.1 christos * target.c (set_maintenance_target_async_permitted): Rename to ...
7782 1.1 christos (set_target_async_command): ... this.
7783 1.1 christos (show_maintenance_target_async_permitted): Rename to ...
7784 1.1 christos (show_target_async_command): ... this.
7785 1.1 christos (initialize_targets): Adjust.
7786 1.1 christos
7787 1.1 christos 2012-05-08 Doug Evans <dje (a] google.com>
7788 1.1 christos
7789 1.1 christos * go-exp.y (classify_name): Add missing assignment of fields of
7790 1.1 christos yylval.ssym.
7791 1.1 christos
7792 1.1 christos 2012-05-08 Eli Zaretskii <eliz (a] gnu.org>
7793 1.1 christos
7794 1.1 christos Display the ">" prompt in interactive mode while reading canned
7795 1.1 christos commands, even when the current interpreter is MI.
7796 1.1 christos
7797 1.1 christos * interps.c (interp_set_temp): New function.
7798 1.1 christos
7799 1.1 christos * interps.h (interp_set_temp): Add prototype.
7800 1.1 christos
7801 1.1 christos * cli/cli-script.c (restore_interp): New cleanup function.
7802 1.1 christos (read_command_lines): Temporarily override the current interpreter
7803 1.1 christos with CLI and arrange for restoring the original one.
7804 1.1 christos
7805 1.1 christos 2012-05-12 Joel Sherrill <joel.sherrill (a] oarcorp.com>
7806 1.1 christos
7807 1.1 christos * microblaze-rom.c (_initialize_picobug_rom): Add prototype.
7808 1.1 christos
7809 1.1 christos 2012-05-07 Sergio Durigan Junior <sergiodj (a] redhat.com>
7810 1.1 christos
7811 1.1 christos * probe.c (parse_probes): Move conditional to check for
7812 1.1 christos debuginfo files from here...
7813 1.1 christos * stap-probe.c (stap_get_probes): ... to here.
7814 1.1 christos
7815 1.1 christos 2012-05-07 Mark Kettenis <kettenis (a] gnu.org>
7816 1.1 christos H.J. Lu <hongjiu.lu (a] intel.com>
7817 1.1 christos
7818 1.1 christos * amd64-tdep.c (amd64_analyze_prologue): Additionally check for
7819 1.1 christos `movl %esp, %ebp' for the X32 ABI.
7820 1.1 christos
7821 1.1 christos 2012-05-07 Tom Tromey <tromey (a] redhat.com>
7822 1.1 christos
7823 1.1 christos * dwarf2read.c (dwarf_tag_name): Return const char *. Use
7824 1.1 christos get_DW_TAG_name.
7825 1.1 christos (dwarf_attr_name): Return const char *. Use get_DW_AT_name.
7826 1.1 christos (dwarf_form_name): Return const char *. Use get_DW_FORM_name.
7827 1.1 christos (dwarf_stack_op_name): Remove.
7828 1.1 christos (dwarf_cfi_name): Return const char *. Use get_DW_ATE_name.
7829 1.1 christos (decode_locdesc): Use get_DW_OP_name.
7830 1.1 christos * dwarf2loc.c (unimplemented): Use get_DW_OP_name.
7831 1.1 christos (dwarf2_compile_expr_to_ax): Likewise.
7832 1.1 christos (disassemble_dwarf_expression): Likewise.
7833 1.1 christos * dwarf2expr.h: (dwarf_stack_op_name): Remove.
7834 1.1 christos
7835 1.1 christos 2012-05-07 Chung-Lin Tang <cltang (a] codesourcery.com>
7836 1.1 christos
7837 1.1 christos * sh-linux-tdep.c: Include trad-frame.h and tramp-frame.h.
7838 1.1 christos (sh_linux_sigtramp_cache): New function.
7839 1.1 christos (sh_linux_sigreturn_init): New function.
7840 1.1 christos (sh_linux_rt_sigreturn_init): New function.
7841 1.1 christos (SH_MOVW,SH_TRAP,SH_OR_R0_R0): New symbols for instruction
7842 1.1 christos patterns.
7843 1.1 christos (SH_NR_SIGRETURN,SH_NR_RT_SIGRETURN): New symbols for sigreturn
7844 1.1 christos syscall codes.
7845 1.1 christos (sh_linux_sigreturn_tramp_frame): New tramp_frame definition.
7846 1.1 christos (sh_linux_rt_sigreturn_tramp_frame): Likewise.
7847 1.1 christos (sh_linux_init_abi): Add init calls to register new tramp_frame
7848 1.1 christos definitions under 32-bit SH, update comments.
7849 1.1 christos
7850 1.1 christos 2012-05-07 Pedro Alves <palves (a] redhat.com>
7851 1.1 christos
7852 1.1 christos PR gdb/10952
7853 1.1 christos
7854 1.1 christos * amd64-linux-tdep.c: Include glibc-tdep.h.
7855 1.1 christos (amd64_linux_init_abi): Install glibc_skip_solib_resolver as
7856 1.1 christos gdbarch_skip_solib_resolver callback.
7857 1.1 christos
7858 1.1 christos 2012-05-06 Jan Kratochvil <jan.kratochvil (a] redhat.com>
7859 1.1 christos
7860 1.1 christos * auto-load.c (set_auto_load_safe_path): Reset AUTO_LOAD_SAFE_PATH
7861 1.1 christos back to DEFAULT_AUTO_LOAD_SAFE_PATH if it is being set to "".
7862 1.1 christos (show_auto_load_safe_path): Check any-directory by comparison with "/".
7863 1.1 christos (add_auto_load_safe_path): Change the error message.
7864 1.1 christos (_initialize_auto_load): Change the "safe-path" help text.
7865 1.1 christos * configure: Regenerate
7866 1.1 christos * configure.ac (--without-auto-load-safe-path): Set
7867 1.1 christos WITH_AUTO_LOAD_SAFE_PATH to /.
7868 1.1 christos
7869 1.1 christos 2012-05-05 Sergio Durigan Junior <sergiodj (a] redhat.com>
7870 1.1 christos
7871 1.1 christos * stap-probe.h: Do not include unecessary `probe.h'.
7872 1.1 christos
7873 1.1 christos 2012-05-05 Alan Modra <amodra (a] gmail.com>
7874 1.1 christos
7875 1.1 christos * elfread.c (elf_symtab_read): Use bfd_abs_section_ptr and
7876 1.1 christos bfd_und_section_ptr.
7877 1.1 christos * machoread.c (macho_symtab_add_minsym): Use bfd_abs_section_ptr
7878 1.1 christos and bfd_com_section_ptr.
7879 1.1 christos
7880 1.1 christos 2012-05-04 Joel Brobecker <brobecker (a] adacore.com>
7881 1.1 christos
7882 1.1 christos * MAINTAINERS (Past Maintainers): Add Chris Faylor.
7883 1.1 christos
7884 1.1 christos 2012-05-04 Joel Brobecker <brobecker (a] adacore.com>
7885 1.1 christos
7886 1.1 christos * windows-nat.h (segment_register_p_ftype): New typedef.
7887 1.1 christos (windows_set_segment_register_p): Add declaration.
7888 1.1 christos * windows-nat.c (segment_register_p): New static global.
7889 1.1 christos (windows_set_segment_register_p): New function.
7890 1.1 christos (do_windows_fetch_inferior_registers): Add special handling
7891 1.1 christos for segment registers.
7892 1.1 christos * amd64-windows-nat.c: #include "amd64-tdep.h".
7893 1.1 christos (amd64_windows_segment_register_p): New function.
7894 1.1 christos (_initialize_amd64_windows_nat): Call windows_set_segment_register_p.
7895 1.1 christos * i386-windows-nat.c: #include "i386-tdep.h".
7896 1.1 christos (i386_windows_segment_register_p): New function.
7897 1.1 christos (_initialize_i386_windows_nat): Call windows_set_segment_register_p.
7898 1.1 christos
7899 1.1 christos 2012-05-04 Tristan Gingold <gingold (a] adacore.com>
7900 1.1 christos
7901 1.1 christos * printcmd.c (set_command): Emit a warning if the expression is not
7902 1.1 christos an assignment.
7903 1.1 christos
7904 1.1 christos 2012-05-03 Joel Brobecker <brobecker (a] adacore.com>
7905 1.1 christos
7906 1.1 christos * nto-procfs.c (procfs_find_new_threads, procfs_pid_to_str):
7907 1.1 christos Make static.
7908 1.1 christos
7909 1.1 christos 2012-05-03 Sergio Durigan Junior <sergiodj (a] redhat.com>
7910 1.1 christos
7911 1.1 christos * stap-probe.c (stap_is_operator): Change declaration.
7912 1.1 christos (stap_get_opcode): Change return value.
7913 1.1 christos (stap_parse_argument_1): Update calls to `stap_get_opcode' and
7914 1.1 christos `stap_parse_argument_1'.
7915 1.1 christos
7916 1.1 christos 2012-05-03 Pedro Alves <pedro (a] codesourcery.com>
7917 1.1 christos
7918 1.1 christos * infrun.c (displaced_step_fixup): Add "displaced:" prefix to
7919 1.1 christos debug log.
7920 1.1 christos
7921 1.1 christos 2012-05-03 Siva Chandra Reddy <sivachandra (a] google.com>
7922 1.1 christos
7923 1.1 christos Add two new methods global_block and static_block to gdb.Symtab
7924 1.1 christos objects.
7925 1.1 christos * NEWS (Python scripting): Add entry about the new methods.
7926 1.1 christos * python/py-symtab.c (stpy_global_block): New function which
7927 1.1 christos implements the gdb.Symtab.global_block() method.
7928 1.1 christos (stpy_static_block): New function which implements the
7929 1.1 christos gdb.Symtab.static_block() method.
7930 1.1 christos (symtab_object_methods): Add entries for the two new methods.
7931 1.1 christos
7932 1.1 christos 2012-05-03 Doug Evans <dje (a] google.com>
7933 1.1 christos
7934 1.1 christos * dwarf2read.c (dw2_find_symbol_file): Don't crash if there are no
7935 1.1 christos files.
7936 1.1 christos
7937 1.1 christos 2012-05-03 Yao Qi <yao (a] codesourcery.com>
7938 1.1 christos
7939 1.1 christos * i386-tdep.c (i386_fetch_pointer_argument): Remove extra
7940 1.1 christos space.
7941 1.1 christos (i386_process_record): Ditto.
7942 1.1 christos
7943 1.1 christos 2012-05-02 Joel Brobecker <brobecker (a] adacore.com>
7944 1.1 christos
7945 1.1 christos * infcall.c (unwind_on_signal_p): Make static.
7946 1.1 christos
7947 1.1 christos 2012-05-02 Joel Brobecker <brobecker (a] adacore.com>
7948 1.1 christos
7949 1.1 christos * sol-thread.c (solaris_pid_to_str): Make static.
7950 1.1 christos (_initialize_sol_thread): Add prototype.
7951 1.1 christos
7952 1.1 christos 2012-05-02 Joel Brobecker <brobecker (a] adacore.com>
7953 1.1 christos
7954 1.1 christos * sol-thread.c (procfs_pid_to_str): Delete extern declaration.
7955 1.1 christos
7956 1.1 christos 2012-05-02 Christopher Faylor <me.cygwin2012 (a] cgf.cx>
7957 1.1 christos
7958 1.1 christos * MAINTAINERS: Remove myself.
7959 1.1 christos
7960 1.1 christos 2012-05-02 Jan Kratochvil <jan.kratochvil (a] redhat.com>
7961 1.1 christos
7962 1.1 christos Fix --without-auto-load-safe-path for MS-Windows host platform.
7963 1.1 christos * auto-load.c (filename_is_in_dir): Return 1 for DIR_LEN 0.
7964 1.1 christos
7965 1.1 christos 2012-05-02 Eli Zaretskii <eliz (a] gnu.org>
7966 1.1 christos
7967 1.1 christos * gdb_curses.h: Undefine KEY_EVENT before including curses
7968 1.1 christos headers. Move "#undef MOUSE_MOVED" before any curses header
7969 1.1 christos inclusion.
7970 1.1 christos
7971 1.1 christos 2012-05-02 Sergio Durigan Junior <sergiodj (a] gmail.com>
7972 1.1 christos
7973 1.1 christos * features/i386/i386-mmx-linux.c: Regenerate.
7974 1.1 christos * features/rs6000/powerpc-32.c: Likewise.
7975 1.1 christos * features/rs6000/powerpc-32l.c: Likewise.
7976 1.1 christos * features/rs6000/powerpc-403.c: Likewise.
7977 1.1 christos * features/rs6000/powerpc-403gc.c: Likewise.
7978 1.1 christos * features/rs6000/powerpc-405.c: Likewise.
7979 1.1 christos * features/rs6000/powerpc-505.c: Likewise.
7980 1.1 christos * features/rs6000/powerpc-601.c: Likewise.
7981 1.1 christos * features/rs6000/powerpc-602.c: Likewise.
7982 1.1 christos * features/rs6000/powerpc-603.c: Likewise.
7983 1.1 christos * features/rs6000/powerpc-604.c: Likewise.
7984 1.1 christos * features/rs6000/powerpc-64.c: Likewise.
7985 1.1 christos * features/rs6000/powerpc-64l.c: Likewise.
7986 1.1 christos * features/rs6000/powerpc-750.c: Likewise.
7987 1.1 christos * features/rs6000/powerpc-860.c: Likewise.
7988 1.1 christos * features/rs6000/powerpc-e500.c: Likewise.
7989 1.1 christos * features/rs6000/powerpc-e500l.c: Likewise.
7990 1.1 christos * features/rs6000/powerpc-isa205-32l.c: Likewise.
7991 1.1 christos * features/rs6000/powerpc-isa205-64l.c: Likewise.
7992 1.1 christos * features/rs6000/rs6000.c: Likewise.
7993 1.1 christos
7994 1.1 christos 2012-05-02 Sergio Durigan Junior <sergiodj (a] gmail.com>
7995 1.1 christos
7996 1.1 christos * i386-tdep.c (i386_stap_parse_special_token) <s>: Remove unused
7997 1.1 christos variable.
7998 1.1 christos * stap-probe.c (stap_parse_single_operand) <reg_suffix,
7999 1.1 christos reg_ind_suffix, reg_suffix_len, reg_ind_suffix_len>: Likewise.
8000 1.1 christos (stap_parse_argument) <e>: Likewise.
8001 1.1 christos (handle_stap_probe) <byte_order>: Likewise.
8002 1.1 christos
8003 1.1 christos 2012-04-30 Doug Evans <dje (a] google.com>
8004 1.1 christos
8005 1.1 christos * dwarf2read.c (init_cutu_and_read_dies): Renamed from
8006 1.1 christos init_and_read_dies_worker. All callers updated.
8007 1.1 christos (init_cu_and_read_dies, init_tu_and_read_dies): Delete. All calls
8008 1.1 christos replaced with init_cutu_and_read_dies.
8009 1.1 christos (load_partial_comp_unit): Pass 1 for use_existing_cu.
8010 1.1 christos (find_partial_die): Remove FIXME. Don't free current CU.
8011 1.1 christos
8012 1.1 christos 2012-04-30 Sterling Augustine <saugustine (a] google.com>
8013 1.1 christos
8014 1.1 christos * contrib: New directory.
8015 1.1 christos * contrib/test_pubnames_and_indexes.py: New file.
8016 1.1 christos
8017 1.1 christos 2012-04-30 Doug Evans <dje (a] google.com>
8018 1.1 christos
8019 1.1 christos * dwarf2read.c (dwarf_decode_macros): New arg section_name.
8020 1.1 christos All callers updated.
8021 1.1 christos (init_cu_die_reader): Verify the section is non-empty.
8022 1.1 christos (dwarf_decode_line_header): Don't dereference section->asection
8023 1.1 christos until we know the section is present.
8024 1.1 christos
8025 1.1 christos 2012-04-29 Sergio Durigan Junior <sergiodj (a] redhat.com>
8026 1.1 christos
8027 1.1 christos * tracepoint.c (start_tracing, stop_tracing): Checking for NULL
8028 1.1 christos probes.
8029 1.1 christos
8030 1.1 christos 2012-04-29 Yao Qi <yao (a] codesourcery.com>
8031 1.1 christos
8032 1.1 christos * gdb-code-style.el: New hook gdb-markup-hook
8033 1.1 christos and gdb-comment-hook.
8034 1.1 christos
8035 1.1 christos 2012-04-28 Doug Evans <dje (a] google.com>
8036 1.1 christos
8037 1.1 christos Initial support for Fission. http://gcc.gnu.org/wiki/DebugFission
8038 1.1 christos * symfile.c (default_symfile_relocate): Use sectp->owner instead of
8039 1.1 christos objfile->obfd.
8040 1.1 christos * symfile.h (dwarf2_debug_sections): New member addr.
8041 1.1 christos * dwarf2expr.c (execute_stack_op): New case DW_OP_GNU_addr_index.
8042 1.1 christos (ctx_no_get_addr_index): New function.
8043 1.1 christos * dwarf2expr.h (dwarf_expr_context_funcs): New member get_addr_index.
8044 1.1 christos (ctx_no_get_addr_index): Declare.
8045 1.1 christos * dwarf2-frame.c (dwarf2_frame_ctx_funcs): Update.
8046 1.1 christos * dwarf2loc.c (dwarf_expr_get_addr_index): New function.
8047 1.1 christos (dwarf_expr_ctx_funcs): Update.
8048 1.1 christos (needs_get_addr_index): New function.
8049 1.1 christos (needs_frame_ctx_funcs): Update.
8050 1.1 christos * dwarf2loc.h (dwarf2_read_addr_index): Declare.
8051 1.1 christos * dwarf2read.c: #include "gdbcore.h".
8052 1.1 christos (dwarf2_per_objfile): New members addr, dwo_files.
8053 1.1 christos (dwarf2_elf_names): Add entry for addr.
8054 1.1 christos (struct dwo_section_names): New type.
8055 1.1 christos (dwo_section_names): New static global.
8056 1.1 christos (dwarf2_cu): New members dwo_unit, addr_base, have_addr_base.
8057 1.1 christos (dwarf2_per_cu_data): New member is_debug_types, all boolean uses of
8058 1.1 christos old debug_types_section member updated to use this.
8059 1.1 christos Rename member debug_types_section to info_or_types_section,
8060 1.1 christos all uses updated.
8061 1.1 christos (signatured_type): Rename member type_offset to type_offset_in_tu,
8062 1.1 christos all uses updated. New member type_offset_in_section.
8063 1.1 christos (struct dwo_sections): New type.
8064 1.1 christos (struct dwo_unit): New type.
8065 1.1 christos (struct dwo_file): New type.
8066 1.1 christos (die_reader_specs): New member dwo_file.
8067 1.1 christos (dwarf2_locate_sections): Watch for .debug_addr.
8068 1.1 christos (zlib_decompress_section): Use sectp->owner instead of objfile->obfd.
8069 1.1 christos (dwarf2_read_section): Get bfd of section from bfd's asection,
8070 1.1 christos instead of objfile.
8071 1.1 christos (create_cus_from_index): Initialize the_cu->info_or_types_section.
8072 1.1 christos (create_signatured_type_table_from_index): Initialize
8073 1.1 christos sig_type->info_or_types_section.
8074 1.1 christos (dw2_get_file_names): Statement lists for type units with DWO files
8075 1.1 christos live in the DWO file.
8076 1.1 christos (create_debug_types_hash_table): New function.
8077 1.1 christos (create_all_type_units): Rewrite.
8078 1.1 christos (init_cu_die_reader): New arg dwo_file, all callers updated.
8079 1.1 christos (init_and_read_dies_worker): Get section from
8080 1.1 christos this_cu->info_or_types_section. Set sig_type->type_offset_in_section.
8081 1.1 christos Watch for DW_AT_GNU_dwo_name and if present lookup the file and
8082 1.1 christos continue reading the CU/TU from there.
8083 1.1 christos (init_cutu_and_read_dies_no_follow): New arg dwo_file, all callers
8084 1.1 christos updated. Get section from this_cu->info_or_types_section.
8085 1.1 christos (create_all_comp_units): Initialize this_cu->info_or_types_section.
8086 1.1 christos (skip_one_die): New cases DW_FORM_GNU_addr_index,
8087 1.1 christos DW_FORM_GNU_str_index.
8088 1.1 christos (hash_dwo_file, eq_dwo_file): New functions.
8089 1.1 christos (allocate_dwo_file_hash_table): New function.
8090 1.1 christos (hash_dwo_unit, eq_dwo_unit): New functions.
8091 1.1 christos (allocate_dwo_unit_table): New function.
8092 1.1 christos (dwarf2_locate_dwo_sections): New function.
8093 1.1 christos (struct create_dwo_info_table_data): New type.
8094 1.1 christos (create_debug_info_hash_table_reader): New function.
8095 1.1 christos (create_debug_info_hash_table): New function.
8096 1.1 christos (try_open_dwo_file, open_dwo_file, init_dwo_file): New function.
8097 1.1 christos (lookup_dwo_file): New function.
8098 1.1 christos (lookup_dwo_comp_unit, lookup_dwo_type_unit): New functions.
8099 1.1 christos (free_dwo_file, free_dwo_file_cleanup): New functions.
8100 1.1 christos (free_dwo_file_from_slot, free_dwo_files): New functions.
8101 1.1 christos (dwarf2_get_pc_bounds): Handle DW_FORM_GNU_addr_index.
8102 1.1 christos (dwarf2_record_block_ranges): Ditto.
8103 1.1 christos (read_partial_die): Ditto.
8104 1.1 christos (process_enumeration_scope): Update to use type_offset_in_section.
8105 1.1 christos (read_full_die_1): New function.
8106 1.1 christos (read_full_die): Rewrite.
8107 1.1 christos (read_attribute_value): New cases DW_FORM_GNU_addr_index,
8108 1.1 christos DW_FORM_GNU_str_index.
8109 1.1 christos (read_addr_index_1, read_addr_index): New functions.
8110 1.1 christos (read_addr_index_from_leb128): New function.
8111 1.1 christos (struct dwarf2_read_addr_index_data): New type.
8112 1.1 christos (dwarf2_read_addr_index_reader): New function.
8113 1.1 christos (dwarf2_read_addr_index): New function.
8114 1.1 christos (read_str_index): New function.
8115 1.1 christos (leb128_size): New function.
8116 1.1 christos (dwarf_decode_line_header): Delete arg abfd, all callers updated.
8117 1.1 christos If processing a type unit from a DWO file, get the line section
8118 1.1 christos from the DWO file.
8119 1.1 christos (var_decode_location): Watch for DW_OP_GNU_addr_index.
8120 1.1 christos (dwarf2_const_value_attr): New cases DW_FORM_GNU_addr_index,
8121 1.1 christos DW_FORM_GNU_str_index.
8122 1.1 christos (lookup_die_type): Check whether section offset of type's die is
8123 1.1 christos known before looking it up. Remove assert. Condition can
8124 1.1 christos legimately happen for inter-cu type references.
8125 1.1 christos (dwarf_attr_name): Handle Fission attributes.
8126 1.1 christos (dwarf_form_name): Handle Fission forms.
8127 1.1 christos (dump_die_shallow): New cases DW_FORM_GNU_addr_index,
8128 1.1 christos DW_FORM_GNU_str_index.
8129 1.1 christos (follow_die_sig): Update to use type_offset_in_section.
8130 1.1 christos (decode_locdesc): New case DW_OP_GNU_addr_index.
8131 1.1 christos (skip_form_bytes): New cases DW_FORM_GNU_addr_index,
8132 1.1 christos DW_FORM_GNU_str_index.
8133 1.1 christos (cu_debug_loc_section): New function.
8134 1.1 christos (fill_in_loclist_baton, dwarf2_symbol_mark_computed): Call it.
8135 1.1 christos (dwarf2_per_objfile_free): Unmap .debug_addr section.
8136 1.1 christos Free DWO files if present.
8137 1.1 christos * xcoffread.c (dwarf2_xcoff_names): Add .debug_addr.
8138 1.1 christos
8139 1.1 christos Refactor DIE reading.
8140 1.1 christos * dwarf2read.c (dwarf2_per_objfile): Replace members
8141 1.1 christos debug_info_type_hash and debug_types_type_hash with die_type_hash.
8142 1.1 christos (die_reader_specs): New member "die_section". Temporarily make
8143 1.1 christos member "buffer" non-const, pending constifying all info_ptr uses.
8144 1.1 christos (die_reader_func_ftype): New typedef.
8145 1.1 christos (dw2_get_file_names_reader): New function.
8146 1.1 christos (dw2_get_file_names): Rewrite.
8147 1.1 christos (read_and_check_type_unit_head): Rename arg type_offset to
8148 1.1 christos type_offset_in_tu.
8149 1.1 christos (create_all_type_units): Improve debugging message.
8150 1.1 christos Improve dummy type unit check.
8151 1.1 christos (init_cu_die_reader): New arg "section". All callers updated.
8152 1.1 christos (init_and_read_dies_worker): New function.
8153 1.1 christos (init_cu_and_read_dies, init_tu_and_read_dies): New functions.
8154 1.1 christos (init_cutu_and_read_dies_no_follow): New function.
8155 1.1 christos (init_cutu_and_read_dies_simple): New function.
8156 1.1 christos (process_psymtab_comp_unit_reader): New function.
8157 1.1 christos (process_psymtab_comp_unit): Delete args section,
8158 1.1 christos is_debug_types_section. Rewrite. All callers updated.
8159 1.1 christos (process_psymtab_type_unit): Renamed from process_type_comp_unit.
8160 1.1 christos All callers updated. Rewrite.
8161 1.1 christos (load_partial_comp_unit_reader): New function.
8162 1.1 christos (load_partial_comp_unit): Rewrite.
8163 1.1 christos (skip_children): New arg reader. Delete args buffer, cu.
8164 1.1 christos All callers updated.
8165 1.1 christos (skip_one_die): New arg reader. Delete args buffer, cu.
8166 1.1 christos All callers updated.
8167 1.1 christos (locate_pdi_sibling): New arg reader. Delete args buffer, abfd, cu.
8168 1.1 christos All callers updated.
8169 1.1 christos (load_full_comp_unit_reader): New function.
8170 1.1 christos (load_full_comp_unit): Rewrite.
8171 1.1 christos (read_comp_unit): Delete.
8172 1.1 christos (read_die_and_children_1): Delete, contents moved ...
8173 1.1 christos (read_die_and_children): ... here.
8174 1.1 christos (dwarf2_read_abbrevs): New arg abbrev_section. All callers updated.
8175 1.1 christos (load_partial_dies): New arg reader. Delete args abfd, buffer, cu.
8176 1.1 christos All callers updated.
8177 1.1 christos (read_partial_die): New arg reader. Delete args abfd, buffer, cu.
8178 1.1 christos All callers updated.
8179 1.1 christos (find_partial_die): Rewrite load_all_dies support.
8180 1.1 christos (read_attribute_value): New arg reader. Delete args abfd, cu.
8181 1.1 christos All callers updated.
8182 1.1 christos (read_attribute): New arg reader. Delete args abfd, cu.
8183 1.1 christos All callers updated.
8184 1.1 christos (load_full_type_unit): Add assert.
8185 1.1 christos (read_signatured_type_reader): New function.
8186 1.1 christos (read_signatured_type): Rewrite.
8187 1.1 christos (free_stack_comp_unit): Remove call to age_cached_comp_units.
8188 1.1 christos (free_one_cached_comp_unit): Change target_cu arg to target_per_cu.
8189 1.1 christos All callers updated. Set per_cu->cu = NULL after freeing it.
8190 1.1 christos (dwarf2_per_cu_offset_and_type): Renamed from dwarf2_offset_and_type.
8191 1.1 christos (per_cu_offset_and_type_hash): Renamed from offset_and_type_hash.
8192 1.1 christos (per_cu_offset_and_type_eq): Renamed from offset_and_type_eq.
8193 1.1 christos (set_die_type): Update.
8194 1.1 christos (get_die_type_at_offset): Update.
8195 1.1 christos (read_file_scope): Call prepare_one_comp_unit.
8196 1.1 christos (read_type_unit_scope): Ditto.
8197 1.1 christos (prepare_one_comp_unit): Set producer if present.
8198 1.1 christos
8199 1.1 christos 2012-04-28 Sergio Durigan Junior <sergiodj (a] redhat.com>
8200 1.1 christos
8201 1.1 christos * probe.c (compile_rx_or_error): Silence ARI warning about missing
8202 1.1 christos gettext function on `error'.
8203 1.1 christos
8204 1.1 christos 2012-04-27 Doug Evans <dje (a] google.com>
8205 1.1 christos
8206 1.1 christos * dwarf2read.c (dwarf2_read_index): Don't use index if symbol table
8207 1.1 christos is empty.
8208 1.1 christos
8209 1.1 christos 2012-04-27 Sergio Durigan Junior <sergiodj (a] redhat.com>
8210 1.1 christos Tom Tromey <tromey (a] redhat.com>
8211 1.1 christos
8212 1.1 christos * breakpoint.c (struct breakpoint_objfile_data)
8213 1.1 christos <longjmp_searched>,<longjmp_probes>,<exception_searched>,
8214 1.1 christos <exception_probes>: New fields.
8215 1.1 christos (free_breakpoint_probes): New function.
8216 1.1 christos (create_longjmp_master_breakpoint): Prefer SystemTap probe over
8217 1.1 christos `_Unwind_DebugHook'.
8218 1.1 christos (create_exception_master_breakpoint): Likewise.
8219 1.1 christos (_initialize_breakpoint): Registering cleanup for SystemTap probes.
8220 1.1 christos * infrun.c: Including necessary header files for handling SystemTap
8221 1.1 christos probes.
8222 1.1 christos (handle_inferior_event): Handling longjmp breakpoint and exceptions
8223 1.1 christos via SystemTap probes.
8224 1.1 christos (check_exception_resume): Remove `func' argument. Handle exception
8225 1.1 christos unwinding breakpoint set via a SystemTap probe.
8226 1.1 christos (insert_exception_resume_from_probe): New function.
8227 1.1 christos
8228 1.1 christos 2012-04-27 Sergio Durigan Junior <sergiodj (a] redhat.com>
8229 1.1 christos Tom Tromey <tromey (a] redhat.com>
8230 1.1 christos Jan Kratochvil <jan.kratochvil (a] redhat.com>
8231 1.1 christos
8232 1.1 christos * Makefile.in (SFILES): Add `probe' and `stap-probe'.
8233 1.1 christos (COMMON_OBS): Likewise.
8234 1.1 christos (HFILES_NO_SRCDIR): Add `probe'.
8235 1.1 christos * NEWS: Mention support for static and SystemTap probes.
8236 1.1 christos * amd64-tdep.c (amd64_init_abi): Initializing proper fields used by
8237 1.1 christos SystemTap probes' arguments parser.
8238 1.1 christos * arm-linux-tdep.c: Including headers needed to perform the parsing
8239 1.1 christos of SystemTap probes' arguments.
8240 1.1 christos (arm_stap_is_single_operand): New function.
8241 1.1 christos (arm_stap_parse_special_token): Likewise.
8242 1.1 christos (arm_linux_init_abi): Initializing proper fields used by SystemTap
8243 1.1 christos probes' arguments parser.
8244 1.1 christos * ax-gdb.c (require_rvalue): Removing static declaration.
8245 1.1 christos (gen_expr): Likewise.
8246 1.1 christos * ax-gdb.h (gen_expr): Declaring function.
8247 1.1 christos (require_rvalue): Likewise.
8248 1.1 christos * breakpoint.c: Include `gdb_regex.h' and `probe.h'.
8249 1.1 christos (bkpt_probe_breakpoint_ops): New variable.
8250 1.1 christos (momentary_breakpoint_from_master): Set the `probe' value.
8251 1.1 christos (add_location_to_breakpoint): Likewise.
8252 1.1 christos (break_command_1): Using proper breakpoint_ops according to the
8253 1.1 christos argument passed by the user in the command line.
8254 1.1 christos (bkpt_probe_insert_location): New function.
8255 1.1 christos (bkpt_probe_remove_location): Likewise.
8256 1.1 christos (bkpt_probe_create_sals_from_address): Likewise.
8257 1.1 christos (bkpt_probe_decode_linespec): Likewise.
8258 1.1 christos (tracepoint_probe_create_sals_from_address): Likewise.
8259 1.1 christos (tracepoint_probe_decode_linespec): Likewise.
8260 1.1 christos (tracepoint_probe_breakpoint_ops): New variable.
8261 1.1 christos (trace_command): Using proper breakpoint_ops according to the
8262 1.1 christos argument passed by the user in the command line.
8263 1.1 christos (initialize_breakpoint_ops): Initializing breakpoint_ops for
8264 1.1 christos static probes on breakpoints and tracepoints.
8265 1.1 christos * breakpoint.h (struct bp_location) <probe>: New field.
8266 1.1 christos * cli-utils.c (skip_spaces_const): New function.
8267 1.1 christos (extract_arg): Likewise.
8268 1.1 christos * cli-utils.h (skip_spaces_const): Likewise.
8269 1.1 christos (extract_arg): Likewise.
8270 1.1 christos * coffread.c (coff_sym_fns): Add `sym_probe_fns' value.
8271 1.1 christos * configure.ac: Append `stap-probe.o' to be generated when ELF
8272 1.1 christos support is present.
8273 1.1 christos * configure: Regenerate.
8274 1.1 christos * dbxread.c (aout_sym_fns): Add `sym_probe_fns' value.
8275 1.1 christos * elfread.c: Include `probe.h' and `arch-utils.h'.
8276 1.1 christos (probe_key): New variable.
8277 1.1 christos (elf_get_probes): New function.
8278 1.1 christos (elf_get_probe_argument_count): Likewise.
8279 1.1 christos (elf_evaluate_probe_argument): Likewise.
8280 1.1 christos (elf_compile_to_ax): Likewise.
8281 1.1 christos (elf_symfile_relocate_probe): Likewise.
8282 1.1 christos (stap_probe_key_free): Likewise.
8283 1.1 christos (elf_probe_fns): New variable.
8284 1.1 christos (elf_sym_fns): Add `sym_probe_fns' value.
8285 1.1 christos (elf_sym_fns_lazy_psyms): Likewise.
8286 1.1 christos (elf_sym_fns_gdb_index): Likewise.
8287 1.1 christos (_initialize_elfread): Initialize objfile cache for static
8288 1.1 christos probes.
8289 1.1 christos * gdb_vecs.h (struct probe): New forward declaration.
8290 1.1 christos (probe_p): New VEC declaration.
8291 1.1 christos * gdbarch.c: Regenerate.
8292 1.1 christos * gdbarch.h: Regenerate.
8293 1.1 christos * gdbarch.sh (stap_integer_prefix): New variable.
8294 1.1 christos (stap_integer_suffix): Likewise.
8295 1.1 christos (stap_register_prefix): Likewise.
8296 1.1 christos (stap_register_suffix): Likewise.
8297 1.1 christos (stap_register_indirection_prefix): Likewise.
8298 1.1 christos (stap_register_indirection_suffix): Likewise.
8299 1.1 christos (stap_gdb_register_prefix): Likewise.
8300 1.1 christos (stap_gdb_register_suffix): Likewise.
8301 1.1 christos (stap_is_single_operand): New function.
8302 1.1 christos (stap_parse_special_token): Likewise.
8303 1.1 christos (struct stap_parse_info): Forward declaration.
8304 1.1 christos * i386-tdep.c: Including headers needed to perform the parsing
8305 1.1 christos of SystemTap probes' arguments.
8306 1.1 christos (i386_stap_is_single_operand): New function.
8307 1.1 christos (i386_stap_parse_special_token): Likewise.
8308 1.1 christos (i386_elf_init_abi): Initializing proper fields used by SystemTap
8309 1.1 christos probes' arguments parser.
8310 1.1 christos * i386-tdep.h (i386_stap_is_single_operand): New function.
8311 1.1 christos (i386_stap_parse_special_token): Likewise.
8312 1.1 christos * machoread.c (macho_sym_fns): Add `sym_probe_fns' value.
8313 1.1 christos * mipsread.c (ecoff_sym_fns): Likewise.
8314 1.1 christos * objfiles.c (objfile_relocate1): Support relocation for static
8315 1.1 christos probes.
8316 1.1 christos * parse.c (prefixify_expression): Remove static declaration.
8317 1.1 christos (initialize_expout): Likewise.
8318 1.1 christos (reallocate_expout): Likewise.
8319 1.1 christos * parser-defs.h (initialize_expout): Declare function.
8320 1.1 christos (reallocate_expout): Likewise.
8321 1.1 christos (prefixify_expression): Likewise.
8322 1.1 christos * ppc-linux-tdep.c: Including headers needed to perform the parsing
8323 1.1 christos of SystemTap probes' arguments.
8324 1.1 christos (ppc_stap_is_single_operand): New function.
8325 1.1 christos (ppc_stap_parse_special_token): Likewise.
8326 1.1 christos (ppc_linux_init_abi): Initializing proper fields used by SystemTap
8327 1.1 christos probes' arguments parser.
8328 1.1 christos * probe.c: New file, for generic statically defined probe support.
8329 1.1 christos * probe.h: Likewise.
8330 1.1 christos * s390-tdep.c: Including headers needed to perform the parsing of
8331 1.1 christos SystemTap probes' arguments.
8332 1.1 christos (s390_stap_is_single_operand): New function.
8333 1.1 christos (s390_gdbarch_init): Initializing proper fields used by SystemTap
8334 1.1 christos probes' arguments parser.
8335 1.1 christos * somread.c (som_sym_fns): Add `sym_probe_fns' value.
8336 1.1 christos * stap-probe.c: New file, for SystemTap probe support.
8337 1.1 christos * stap-probe.h: Likewise.
8338 1.1 christos * symfile.h: Include `gdb_vecs.h'.
8339 1.1 christos (struct sym_probe_fns): New struct.
8340 1.1 christos (struct sym_fns) <sym_probe_fns>: New field.
8341 1.1 christos * symtab.c (init_sal): Initialize `probe' field.
8342 1.1 christos * symtab.h (struct probe): Forward declaration.
8343 1.1 christos (struct symtab_and_line) <probe>: New field.
8344 1.1 christos * tracepoint.c (start_tracing): Adjust semaphore on breakpoints
8345 1.1 christos locations.
8346 1.1 christos (stop_tracing): Likewise.
8347 1.1 christos * xcoffread.c (xcoff_sym_fns): Add `sym_probe_fns' value.
8348 1.1 christos
8349 1.1 christos 2012-04-27 Sergio Durigan Junior <sergiodj (a] redhat.com>
8350 1.1 christos Tom Tromey <tromey (a] redhat.com>
8351 1.1 christos
8352 1.1 christos * ax-gdb.c (gen_expr): Clean up code to handle internal variables
8353 1.1 christos and to compile agent expressions.
8354 1.1 christos * infrun.c (siginfo_make_value): New argument `ignore'.
8355 1.1 christos (siginfo_funcs): New struct.
8356 1.1 christos (_initialize_infrun): New argument when calling
8357 1.1 christos `create_internalvar_type_lazy'.
8358 1.1 christos * thread.c (thread_id_make_value): New argument `ignore'.
8359 1.1 christos (thread_funcs): New struct.
8360 1.1 christos (_initialize_thread): New argument when calling
8361 1.1 christos `create_internalvar_type_lazy'.
8362 1.1 christos * tracepoint.c (sdata_make_value): New argument `ignore'.
8363 1.1 christos (sdata_funcs): New struct.
8364 1.1 christos (_initialize_tracepoint): New argument when calling
8365 1.1 christos `create_internalvar_type_lazy'.
8366 1.1 christos * value.c (make_value): New struct.
8367 1.1 christos (create_internalvar_type_lazy): New argument `data'.
8368 1.1 christos (compile_internalvar_to_ax): New function.
8369 1.1 christos (value_of_internalvar): Properly handling `make_value' case.
8370 1.1 christos (clear_internalvar): Likewise.
8371 1.1 christos (show_convenience): Adding `TRY_CATCH' block.
8372 1.1 christos * value.h (internalvar_make_value): Delete, replace by...
8373 1.1 christos (struct internalvar_funcs): ... this.
8374 1.1 christos (create_internalvar_type_lazy) <fun>: Delete argument.
8375 1.1 christos (create_internalvar_type_lazy) <funcs>, <data>: New arguments.
8376 1.1 christos (compile_internalvar_to_ax): New function.
8377 1.1 christos * windows-tdep.c (tlb_make_value): New argument `ignore'.
8378 1.1 christos (tlb_funcs): New struct.
8379 1.1 christos (_initialize_windows_tdep): New argument when calling
8380 1.1 christos `create_internalvar_type_lazy'.
8381 1.1 christos
8382 1.1 christos 2012-04-27 Mark Wielaard <mjw (a] redhat.com>
8383 1.1 christos
8384 1.1 christos * dwarf2read.c (dwarf2_get_pc_bounds): Check DW_AT_high_pc form to
8385 1.1 christos see whether it is an address or a constant offset from DW_AT_low_pc.
8386 1.1 christos (dwarf2_record_block_ranges): Likewise.
8387 1.1 christos (read_partial_die): Likewise.
8388 1.1 christos
8389 1.1 christos 2012-04-26 Mark Wielaard <mjw (a] redhat.com>
8390 1.1 christos
8391 1.1 christos * MAINTAINERS (Write After Approval): Add myself to the list.
8392 1.1 christos
8393 1.1 christos 2012-04-26 Maciej W. Rozycki <macro (a] codesourcery.com>
8394 1.1 christos
8395 1.1 christos * proc-utils.h (proc_prettyprint_signalset): New prototype.
8396 1.1 christos (proc_prettyprint_signal): Likewise.
8397 1.1 christos (proc_prettyprint_faultset): Likewise.
8398 1.1 christos (proc_prettyprint_fault): Likewise.
8399 1.1 christos (proc_prettyprint_actionset): Likewise.
8400 1.1 christos (proc_prettyprint_flags): Move to new proc-flags.c section.
8401 1.1 christos (proc_prettyfprint_flags): New prototype.
8402 1.1 christos * procfs.c (proc_nsysarg, proc_sysargs): Add prototypes.
8403 1.1 christos (proc_syscall, proc_cursig): Likewise.
8404 1.1 christos (proc_set_kill_on_last_close): Likewise.
8405 1.1 christos (proc_unset_kill_on_last_close): Likewise.
8406 1.1 christos (proc_set_watchpoint): Make static.
8407 1.1 christos (proc_delete_dead_threads): Likewise.
8408 1.1 christos (procfs_set_watchpoint): Likewise.
8409 1.1 christos (_initialize_procfs): Add prototype.
8410 1.1 christos * proc-events.c: Include proc-utils.h.
8411 1.1 christos (init_syscall_table): Make static.
8412 1.1 christos * proc-api.c (_initialize_proc_api): Add prototype.
8413 1.1 christos * proc-flags.c: Include proc-utils.h.
8414 1.1 christos
8415 1.1 christos 2012-04-26 Maciej W. Rozycki <macro (a] codesourcery.com>
8416 1.1 christos
8417 1.1 christos * configure.ac: Add AC_ARG_PROGRAM.
8418 1.1 christos * configure: Regenerate.
8419 1.1 christos
8420 1.1 christos 2012-04-26 Jan Kratochvil <jan.kratochvil (a] redhat.com>
8421 1.1 christos
8422 1.1 christos Fix DW_AT_lower_bound defaults for DWARF-4+.
8423 1.1 christos * dwarf2read.c (read_subrange_type): Remove initialization of low and
8424 1.1 christos high. New variable low_default_is_valid. Implement DWARF-4+
8425 1.1 christos DW_AT_lower_bound defaults. Print complaint for DW_AT_lower_bound with
8426 1.1 christos no default by the DWARF standard.
8427 1.1 christos
8428 1.1 christos 2012-04-26 Maciej W. Rozycki <macro (a] mips.com>
8429 1.1 christos Maciej W. Rozycki <macro (a] codesourcery.com>
8430 1.1 christos
8431 1.1 christos * infrun.c (handle_inferior_event): Move the check for return
8432 1.1 christos trampolines ahead of the check for function trampolines.
8433 1.1 christos * mips-tdep.h (MIPS_S2_REGNUM, MIPS_GP_REGNUM): New macros.
8434 1.1 christos * mips-tdep.c (mips_str_mips16_call_stub): New variable.
8435 1.1 christos (mips_str_mips16_ret_stub): Likewise.
8436 1.1 christos (mips_str_call_fp_stub): Likewise.
8437 1.1 christos (mips_str_call_stub): Likewise.
8438 1.1 christos (mips_str_fn_stub): Likewise.
8439 1.1 christos (mips_str_pic): Likewise.
8440 1.1 christos (mips_in_frame_stub): New function.
8441 1.1 christos (mips_unwind_pc): Return the return address rather than the PC
8442 1.1 christos if the PC of an intermediate frame is inside a call thunk.
8443 1.1 christos (mips_is_stub_suffix): New function.
8444 1.1 christos (mips_is_stub_mode): Likewise.
8445 1.1 christos (mips_get_mips16_fn_stub_pc): Likewise.
8446 1.1 christos (mips_skip_mips16_trampoline_code): Update to handle all the
8447 1.1 christos currently generated stub types. Don't recurse into __fn_stub
8448 1.1 christos thunks. Remove heuristics to handle stubs beyond etext/_etext.
8449 1.1 christos Use cooked register accesses.
8450 1.1 christos (mips_in_return_stub): Reintroduce function.
8451 1.1 christos (mips_skip_trampoline_code): Traverse trampolines recursively.
8452 1.1 christos (mips_gdbarch_init): Handle MIPS16 return trampolines.
8453 1.1 christos
8454 1.1 christos 2012-04-26 Joel Brobecker <brobecker (a] adacore.com>
8455 1.1 christos
8456 1.1 christos GDB 7.4.1 released.
8457 1.1 christos
8458 1.1 christos 2012-04-26 Jonathan Larmour <jifl (a] eCosCentric.com>
8459 1.1 christos
8460 1.1 christos * arm-tdep.h (VFP_REGISTER_SIZE): Define.
8461 1.1 christos * features/arm-with-m-vfp-d16.xml: New file. Describes
8462 1.1 christos Cortex-M with VFPv4-sp-d16 FPU register layout.
8463 1.1 christos * features/Makefile (WHICH): Add arm-with-m-vfp-d16.
8464 1.1 christos * features/arm-with-m-vfp-d16.c: New. Generated from above.
8465 1.1 christos * arm-tdep.c: Include arm-with-m-vfp-d16.c.
8466 1.1 christos (arm-register_g_packet_guesses): Add vfp-d16 guess.
8467 1.1 christos (_initialise_arm_tdep): Initialize arm-with-m-vfp-d16 tdesc.
8468 1.1 christos
8469 1.1 christos 2012-04-25 Doug Evans <dje (a] google.com>
8470 1.1 christos
8471 1.1 christos * cli/cli-decode.c (print_doc_line): Use stream instead of
8472 1.1 christos current_uiout.
8473 1.1 christos
8474 1.1 christos 2012-04-25 Sergio Durigan Junior <sergiodj (a] redhat.com>
8475 1.1 christos
8476 1.1 christos * features/arm-with-iwmmxt.c: Regenerate.
8477 1.1 christos * features/arm-with-m-fpa-layout.c: Likewise.
8478 1.1 christos * features/arm-with-m.c: Likewise.
8479 1.1 christos * features/arm-with-neon.c: Likewise.
8480 1.1 christos * features/arm-with-vfpv2.c: Likewise.
8481 1.1 christos * features/arm-with-vfpv3.c: Likewise.
8482 1.1 christos * features/mips-dsp-linux.c: Likewise.
8483 1.1 christos * features/mips-linux.c: Likewise.
8484 1.1 christos * features/mips64-dsp-linux.c: Likewise.
8485 1.1 christos * features/mips64-linux.c: Likewise.
8486 1.1 christos * features/s390-linux32.c: Likewise.
8487 1.1 christos * features/s390-linux32v1.c: Likewise.
8488 1.1 christos * features/s390-linux32v2.c: Likewise.
8489 1.1 christos * features/s390-linux64.c: Likewise.
8490 1.1 christos * features/s390-linux64v1.c: Likewise.
8491 1.1 christos * features/s390-linux64v2.c: Likewise.
8492 1.1 christos * features/s390x-linux64.c: Likewise.
8493 1.1 christos * features/s390x-linux64v1.c: Likewise.
8494 1.1 christos * features/s390x-linux64v2.c: Likewise.
8495 1.1 christos * features/tic6x-c62x-linux.c: Likewise.
8496 1.1 christos * features/tic6x-c62x.c: Likewise.
8497 1.1 christos * features/tic6x-c64x-linux.c: Likewise.
8498 1.1 christos * features/tic6x-c64x.c: Likewise.
8499 1.1 christos * features/tic6x-c64xp-linux.c: Likewise.
8500 1.1 christos * features/tic6x-c64xp.c: Likewise.
8501 1.1 christos * target-descriptions.c: Only generate `field_type' and `type'
8502 1.1 christos variables when needed.
8503 1.1 christos
8504 1.1 christos 2012-04-25 Fredrik Hederstierna <fredrikh.hederstierna (a] securitas-direct.com>
8505 1.1 christos
8506 1.1 christos * cli/cli-cmds.c (cd_command): Use memmove instead of strcpy.
8507 1.1 christos
8508 1.1 christos 2012-04-25 Doug Evans <dje (a] google.com>
8509 1.1 christos
8510 1.1 christos Initial pass at Go language support.
8511 1.1 christos * NEWS: Mention Go.
8512 1.1 christos * Makefile.in (SFILES): Add go-exp.y, go-lang.c, go-typeprint.c,
8513 1.1 christos go-valprint.c.
8514 1.1 christos (COMMON_OBS): Add go-lang.o, go-val.print.o, go-typeprint.o.
8515 1.1 christos (YYFILES): Add go-exp.c.
8516 1.1 christos (YYOBJ): Add go-exp.o.
8517 1.1 christos (local-maintainer-clean): Delete go-exp.c.
8518 1.1 christos * defs.h (enum language): Add language_go.
8519 1.1 christos * dwarf2read.c: #include "go-lang.h".
8520 1.1 christos (fixup_go_packaging): New function.
8521 1.1 christos (process_full_comp_unit): Call it when processing Go CUs.
8522 1.1 christos (dwarf2_physname): Add Go support.
8523 1.1 christos (read_file_scope): Handle missing language spec for GNU Go.
8524 1.1 christos (set_cu_language): Handle DW_LANG_Go.
8525 1.1 christos * go-exp.y: New file.
8526 1.1 christos * go-lang.h: New file.
8527 1.1 christos * go-lang.c: New file.
8528 1.1 christos * go-typeprint.c: New file.
8529 1.1 christos * go-valprint.c: New file.
8530 1.1 christos * symtab.c: #include "go-lang.h".
8531 1.1 christos (symbol_set_language): Handle language_go.
8532 1.1 christos (symbol_find_demangled_name, symbol_set_names): Ditto.
8533 1.1 christos (symbol_natural_name, demangle_for_lookup, find_main_name): Ditto.
8534 1.1 christos
8535 1.1 christos 2012-04-24 Jim Meyering <meyering (a] redhat.com>
8536 1.1 christos
8537 1.1 christos avoid a few strncpy-induced buffer overruns
8538 1.1 christos * procfs.c (procfs_make_note_section): Be sure to NUL-terminate
8539 1.1 christos fname and psargs before trying to concatenate.
8540 1.1 christos * tui/tui-stack.c (tui_get_function_from_frame): NUL-terminate
8541 1.1 christos "name" before applying strchr.
8542 1.1 christos
8543 1.1 christos 2012-04-25 Siva Chandra Reddy <sivachandra (a] google.com>
8544 1.1 christos
8545 1.1 christos * CONTRIBUTE: Use unified diff instead of context diff when
8546 1.1 christos generating patches.
8547 1.1 christos
8548 1.1 christos 2012-04-24 Maciej W. Rozycki <macro (a] codesourcery.com>
8549 1.1 christos
8550 1.1 christos * mips-tdep.c (mips_about_to_return): Remove dead MIPS16 support
8551 1.1 christos code. Handle JR.HB correctly.
8552 1.1 christos
8553 1.1 christos 2012-04-24 Maciej W. Rozycki <macro (a] codesourcery.com>
8554 1.1 christos
8555 1.1 christos * mips-tdep.c
8556 1.1 christos (is_mips16_addr, unmake_mips16_addr, make_mips16_addr): Group
8557 1.1 christos with the other MIPS16 helpers.
8558 1.1 christos
8559 1.1 christos 2012-04-24 Sergio Durigan Junior <sergiodj (a] redhat.com>
8560 1.1 christos
8561 1.1 christos * observer.sh: Conditionally declare `args', thus cleaning up
8562 1.1 christos unused instances of this variable.
8563 1.1 christos
8564 1.1 christos 2012-04-24 Yao Qi <yao (a] codesourcery.com>
8565 1.1 christos
8566 1.1 christos Revert this patch to allow breakpoint always-inserted
8567 1.1 christos in record target.
8568 1.1 christos 2011-12-05 Pedro Alves <pedro (a] codesourcery.com>
8569 1.1 christos * breakpoint.c: Include record.h.
8570 1.1 christos (breakpoints_always_inserted_mode): Return false when the record
8571 1.1 christos target is in use.
8572 1.1 christos
8573 1.1 christos * breakpoint.c (iterate_over_bp_locations): New.
8574 1.1 christos * breakpoint.h: Declare.
8575 1.1 christos New typedef walk_bp_location_callback.
8576 1.1 christos * record.c (record_open): Call record_init_record_breakpoints.
8577 1.1 christos (record_sync_record_breakpoints): New.
8578 1.1 christos (record_init_record_breakpoints): New.
8579 1.1 christos * NEWS: Mention supporting breakpoint always-inserted mode in
8580 1.1 christos record target.
8581 1.1 christos
8582 1.1 christos 2012-04-24 Marc Khouzam <marc.khouzam (a] ericsson.com>
8583 1.1 christos
8584 1.1 christos * mi/mi-main.c (mi_cmd_execute): Choose a live thread not just
8585 1.1 christos any thread.
8586 1.1 christos
8587 1.1 christos 2012-04-24 Yao Qi <yao (a] codesourcery.com>
8588 1.1 christos
8589 1.1 christos * breakpoint.c (ep_is_catchpoint): Renamed to ...
8590 1.1 christos (is_catchpoint): ... it.
8591 1.1 christos (print_one_breakpoint_location): Caller update.
8592 1.1 christos * breakpoint.h: Update declaration.
8593 1.1 christos
8594 1.1 christos 2012-04-23 David S. Miller <davem (a] davemloft.net>
8595 1.1 christos
8596 1.1 christos * configure.tgt (sparc-*-linux*): Set build_gdbserver to yes.
8597 1.1 christos
8598 1.1 christos 2012-04-23 Tom Tromey <tromey (a] redhat.com>
8599 1.1 christos
8600 1.1 christos * buildsym.c (add_free_pendings): Remove.
8601 1.1 christos * buildsym.h (add_free_pendings): Remove.
8602 1.1 christos
8603 1.1 christos 2012-04-23 Doug Evans <dje (a] google.com>
8604 1.1 christos
8605 1.1 christos * dwarf2read.c (partial_die_full_name): Record DW_FORM_ref_addr in
8606 1.1 christos attr.u.unsnd instead of attr.u.addr.
8607 1.1 christos (read_attribute_value) Ditto for cases DW_FORM_ref_addr,
8608 1.1 christos DW_FORM_ref1, DW_FORM_ref2, DW_FORM_ref4, DW_FORM_reg8,
8609 1.1 christos DW_FORM_ref_udata.
8610 1.1 christos (dump_die_shallow): Update cases DW_FORM_ref_addr,
8611 1.1 christos DW_FORM_ref1, DW_FORM_ref2, DW_FORM_ref4. Add cases DW_FORM_ref8,
8612 1.1 christos DW_FORM_ref_udata.
8613 1.1 christos (dwarf2_get_ref_die_offset): Use DW_UNSND for reference attributes.
8614 1.1 christos
8615 1.1 christos 2012-04-23 Maciej W. Rozycki <macro (a] codesourcery.com>
8616 1.1 christos
8617 1.1 christos * mips-tdep.c (mips_n32n64_return_value): Fix coding style.
8618 1.1 christos (mips_o32_return_value): Likewise.
8619 1.1 christos (mips_o64_return_value): Likewise.
8620 1.1 christos
8621 1.1 christos 2012-04-21 Paul Hilfinger <hilfinger (a] adacore.com>
8622 1.1 christos
8623 1.1 christos * ada-lang.c (ada_evaluate_subexp): Add cases for
8624 1.1 christos TYPE_CODE_INTERNAL_FUNCTION and for TYPE_GNU_IFUNC, following
8625 1.1 christos their treatment in eval.c.
8626 1.1 christos
8627 1.1 christos 2012-04-21 David S. Miller <davem (a] davemloft.net>
8628 1.1 christos
8629 1.1 christos * sparc-tdep.c (X_DISP10): Define.
8630 1.1 christos (sparc_analyze_control_transfer): Handle compare-and-branch.
8631 1.1 christos
8632 1.1 christos 2012-04-21 Jonathan Larmour <jifl (a] eCosCentric.com>
8633 1.1 christos
8634 1.1 christos * features/Makefile (WHICH): Add arm-with-m and arm-with-m-fpa-layout.
8635 1.1 christos * arm-tdep.c (arm_register_g_packet_guesses): Fix comment.
8636 1.1 christos
8637 1.1 christos 2012-04-20 Nigel Stephens <nigel (a] mips.com>
8638 1.1 christos Maciej W. Rozycki <macro (a] codesourcery.com>
8639 1.1 christos
8640 1.1 christos * mips-tdep.c (mips_float_register_p): New function.
8641 1.1 christos (mips_convert_register_float_case_p): Use mips_float_register_p.
8642 1.1 christos (mips_register_type): Likewise.
8643 1.1 christos (mips_print_register): Likewise.
8644 1.1 christos (print_gp_register_row): Likewise.
8645 1.1 christos (mips_print_registers_info): Likewise.
8646 1.1 christos
8647 1.1 christos 2012-04-20 Shun-Yen Lu <dark.asparagus (a] gmail.com>
8648 1.1 christos
8649 1.1 christos * mips-tdep.c (mips_elf_make_msymbol_special): Fix identification
8650 1.1 christos of mips16 symbols.
8651 1.1 christos
8652 1.1 christos 2012-04-20 Andrew Pinski <apinski (a] cavium.com>
8653 1.1 christos
8654 1.1 christos * MAINTAINERS (Write After Approval): Add myself to the list.
8655 1.1 christos
8656 1.1 christos 2012-04-20 Sergio Durigan Junior <sergiodj (a] redhat.com>
8657 1.1 christos
8658 1.1 christos * MAINTAINERS: Update my e-mail address.
8659 1.1 christos
8660 1.1 christos 2012-04-20 Pedro Alves <palves (a] redhat.com>
8661 1.1 christos
8662 1.1 christos * acx_configure_dir.m4 (ACX_CONFIGURE_DIR): Handle absolute
8663 1.1 christos $srcdir.
8664 1.1 christos * configure: Regenerate.
8665 1.1 christos
8666 1.1 christos 2012-04-20 Sergio Durigan Junior <sergiodj (a] redhat.com>
8667 1.1 christos
8668 1.1 christos * cp-support.h: Include `gdb_vecs.h'. Delete `const_char_ptr' VEC
8669 1.1 christos declaration.
8670 1.1 christos * gdb_vecs.h: Declare `const_char_ptr' VEC.
8671 1.1 christos
8672 1.1 christos 2012-04-20 Jan Kratochvil <jan.kratochvil (a] redhat.com>
8673 1.1 christos
8674 1.1 christos Fix compilation compatibility with python-2.4
8675 1.1 christos * python/py-type.c (convert_field): Cast ADDRSTRING for
8676 1.1 christos PyObject_SetAttrString as non-const. New comment.
8677 1.1 christos
8678 1.1 christos 2012-04-19 Tom Tromey <tromey (a] redhat.com>
8679 1.1 christos
8680 1.1 christos * top.c (quit_target): Use all_cleanups.
8681 1.1 christos * main.c (captured_command_loop): Use all_cleanups.
8682 1.1 christos * exceptions.c (throw_exception): Use all_cleanups.
8683 1.1 christos
8684 1.1 christos 2012-04-19 Pedro Alves <palves (a] redhat.com>
8685 1.1 christos
8686 1.1 christos * Makefile.in (GNULIB_BUILDDIR): New.
8687 1.1 christos (LIBGNU, INCGNU, GNULIB_H): Adjust.
8688 1.1 christos (SUBDIRS): Add $(GNULIB_BUILDDIR).
8689 1.1 christos (CLEANDIRS). Remove gnulib/import.
8690 1.1 christos (REQUIRED_SUBDIRS): Replace gnulib/import with $(GNULIB_BUILDDIR).
8691 1.1 christos (all-lib): Ditto.
8692 1.1 christos (distclean): Remove the $(GNULIB_BUILDDIR) directory.
8693 1.1 christos (gnulib/import/Makefile): Replace gnulib/import with
8694 1.1 christos $(GNULIB_BUILDDIR). Set CONFIG_FILES to just Makefile.
8695 1.1 christos (ACLOCAL_AMFLAGS): Remove '-I gnulib/import/m4'.
8696 1.1 christos (aclocal_m4_deps): Remove the gnulib dependencies. Add
8697 1.1 christos acx_configure_dir.m4.
8698 1.1 christos * acinclude.m4: Include acx_configure_dir.m4.
8699 1.1 christos * acx_configure_dir.m4: New file.
8700 1.1 christos * aclocal.m4: Regenerate.
8701 1.1 christos * configure.ac: Remove gl_EARLY, gl_INIT and AM_INIT_AUTOMAKE
8702 1.1 christos calls. Configure gnulib using ACX_CONFIGURE_DIR.
8703 1.1 christos (GNULIB): New variable.
8704 1.1 christos (GNULIB_STDINT_H): Adjust.
8705 1.1 christos (AC_OUTPUT): Don't output gnulib/Makefile.
8706 1.1 christos * gdb/defs.h: Include build-gnulib/config.h.
8707 1.1 christos * aclocal.m4: Regenerate.
8708 1.1 christos * config.in: Regenerate.
8709 1.1 christos * configure: Regenerate.
8710 1.1 christos
8711 1.1 christos * gnulib/Makefile.in: New file.
8712 1.1 christos * gnulib/configure.ac: New file.
8713 1.1 christos * gnulib/aclocal.m4: New file.
8714 1.1 christos * gnulib/config.in: New file.
8715 1.1 christos * gnulib/configure: New file.
8716 1.1 christos * gnulib/: Re-run gnulib-tool to adjust.
8717 1.1 christos
8718 1.1 christos 2012-04-19 Doug Evans <dje (a] google.com>
8719 1.1 christos
8720 1.1 christos * cleanups.h (struct cleanup): Move to cleanups.c.
8721 1.1 christos (make_cleanup_dtor_ftype): New typedef.
8722 1.1 christos (make_cleanup_dtor): Use it.
8723 1.1 christos (ALL_CLEANUPS): Replace with ...
8724 1.1 christos (all_cleanups): ... this. Declare. All uses updated.
8725 1.1 christos * cleanups.c: #include "gdb_assert.h".
8726 1.1 christos (sentinel_cleanup): New static global.
8727 1.1 christos (SENTINEL_CLEANUP): Define.
8728 1.1 christos (cleanup_chain, final_cleanup_chain): Initialize to SENTINEL_CLEANUP.
8729 1.1 christos (make_my_cleanup2): Assert result is non-NULL.
8730 1.1 christos (all_cleanups): New function.
8731 1.1 christos (save_my_cleanups): Initialize new chain to SENTINEL_CLEANUP instead
8732 1.1 christos of NULL.
8733 1.1 christos
8734 1.1 christos 2012-04-19 Pedro Alves <palves (a] redhat.com>
8735 1.1 christos
8736 1.1 christos * Makefile.in (HFILES_NO_SRCDIR): Remove gnulib/wchar.in.h.
8737 1.1 christos Adjust paths to gnulib imported files.
8738 1.1 christos
8739 1.1 christos 2012-04-19 Pedro Alves <palves (a] redhat.com>
8740 1.1 christos
8741 1.1 christos * gnulib/: Move whole directory ...
8742 1.1 christos * gnulib/import/: ... here, and re-rerun gnulib-tool to adjust.
8743 1.1 christos * Makefile.in (LIBGNU, INCGNU, GNULIB_H, CLEANDIRS)
8744 1.1 christos (REQUIRED_SUBDIRS, all-lib, gnulib/Makefile, ACLOCAL_AMFLAGS)
8745 1.1 christos (aclocal_m4_deps): Adjust.
8746 1.1 christos * aclocal.m4: Regenerate.
8747 1.1 christos * configure: Regenerate.
8748 1.1 christos * configure.ac: Adjust AC_OUTPUT output.
8749 1.1 christos
8750 1.1 christos 2012-04-19 Yao Qi <yao (a] codesourcery.com>
8751 1.1 christos
8752 1.1 christos * Makefile.in (SFILES): Add common/vec.c and remove vec.c.
8753 1.1 christos (vec.o): New rule.
8754 1.1 christos * vec.c: Move it ...
8755 1.1 christos * common/vec.c: ... here.
8756 1.1 christos * vec.h: Move it ...
8757 1.1 christos * common/vec.h: ... here.
8758 1.1 christos
8759 1.1 christos 2012-04-19 Yao Qi <yao (a] codesourcery.com>
8760 1.1 christos
8761 1.1 christos * gdb-code-style.el: New.
8762 1.1 christos
8763 1.1 christos 2012-04-18 Pedro Alves <palves (a] redhat.com>
8764 1.1 christos
8765 1.1 christos Update gnulib from latest git.
8766 1.1 christos (639ea5ae15e39fe48d43e04864b2997301e4b969)
8767 1.1 christos
8768 1.1 christos * gnulib/Makefile.am: Update.
8769 1.1 christos * gnulib/dummy.c: Update.
8770 1.1 christos * gnulib/extra/arg-nonnull.h: Update.
8771 1.1 christos * gnulib/extra/c++defs.h: Update.
8772 1.1 christos * gnulib/extra/update-copyright: Update.
8773 1.1 christos * gnulib/extra/warn-on-use.h: Update.
8774 1.1 christos * gnulib/inttypes.in.h: Update.
8775 1.1 christos * gnulib/m4/00gnulib.m4: Update.
8776 1.1 christos * gnulib/m4/extensions.m4: Update.
8777 1.1 christos * gnulib/m4/gnulib-cache.m4: Update.
8778 1.1 christos * gnulib/m4/gnulib-common.m4: Update.
8779 1.1 christos * gnulib/m4/gnulib-comp.m4: Update.
8780 1.1 christos * gnulib/m4/gnulib-tool.m4: Update.
8781 1.1 christos * gnulib/m4/include_next.m4: Update.
8782 1.1 christos * gnulib/m4/inttypes-pri.m4: Update.
8783 1.1 christos * gnulib/m4/inttypes.m4: Update.
8784 1.1 christos * gnulib/m4/longlong.m4: Update.
8785 1.1 christos * gnulib/m4/memchr.m4: Update.
8786 1.1 christos * gnulib/m4/memmem.m4: Update.
8787 1.1 christos * gnulib/m4/mmap-anon.m4: Update.
8788 1.1 christos * gnulib/m4/multiarch.m4: Update.
8789 1.1 christos * gnulib/m4/onceonly.m4: Update.
8790 1.1 christos * gnulib/m4/stddef_h.m4: Update.
8791 1.1 christos * gnulib/m4/stdint.m4: Update.
8792 1.1 christos * gnulib/m4/string_h.m4: Update.
8793 1.1 christos * gnulib/m4/warn-on-use.m4: Update.
8794 1.1 christos * gnulib/m4/wchar_h.m4: Update.
8795 1.1 christos * gnulib/m4/wchar_t.m4: Update.
8796 1.1 christos * gnulib/m4/wint_t.m4: Update.
8797 1.1 christos * gnulib/memchr.c: Update.
8798 1.1 christos * gnulib/memmem.c: Update.
8799 1.1 christos * gnulib/stddef.in.h: Update.
8800 1.1 christos * gnulib/stdint.in.h: Update.
8801 1.1 christos * gnulib/str-two-way.h: Update.
8802 1.1 christos * gnulib/string.in.h: Update.
8803 1.1 christos * gnulib/wchar.in.h: Update.
8804 1.1 christos
8805 1.1 christos * gnulib/extra/arg-nonnull.h: Delete.
8806 1.1 christos * gnulib/extra/c++defs.h: Delete.
8807 1.1 christos * gnulib/extra/warn-on-use.h: Delete.
8808 1.1 christos * gnulib/m4/wchar_h.m4: Delete.
8809 1.1 christos * gnulib/m4/wint_t.m4: Delete.
8810 1.1 christos * gnulib/wchar.in.h: Delete.
8811 1.1 christos
8812 1.1 christos * gnulib/extra/snippets/arg-nonnull.h: New.
8813 1.1 christos * gnulib/extra/snippets/c++defs.h: New.
8814 1.1 christos * gnulib/extra/snippets/warn-on-use.h: New.
8815 1.1 christos
8816 1.1 christos * aclocal.m4: Regenerate.
8817 1.1 christos * config.in: Regenerate.
8818 1.1 christos * configure: Regenerate.
8819 1.1 christos * gnulib/Makefile.in: Regenerate.
8820 1.1 christos
8821 1.1 christos 2012-04-18 Pedro Alves <palves (a] redhat.com>
8822 1.1 christos
8823 1.1 christos Reimport the update-copyright module from gnulib
8824 1.1 christos (250b80067c1e1d8faa0c42fb572f721975b929c5).
8825 1.1 christos
8826 1.1 christos * configure: Regenerate.
8827 1.1 christos * gnulib/Makefile.am: Update.
8828 1.1 christos * gnulib/Makefile.in: Regenerate.
8829 1.1 christos * gnulib/extra/update-copyright: Update.
8830 1.1 christos * gnulib/m4/gnulib-cache.m4: Update.
8831 1.1 christos * gnulib/m4/gnulib-comp.m4: Update.
8832 1.1 christos
8833 1.1 christos 2012-04-18 Tristan Gingold <gingold (a] adacore.com>
8834 1.1 christos
8835 1.1 christos * configure.ac (aix): Put -lpthread into libs.
8836 1.1 christos * configure: Regenerate.
8837 1.1 christos
8838 1.1 christos 2012-04-18 Tom Tromey <tromey (a] redhat.com>
8839 1.1 christos
8840 1.1 christos * linespec.c (convert_linespec_to_sals): Don't use
8841 1.1 christos SYMBOL_OBJ_SECTION.
8842 1.1 christos (compare_msymbols): Arguments are minsym_and_objfile, not
8843 1.1 christos minimal_symbol*. Don't use SYMBOL_OBJ_SECTION.
8844 1.1 christos
8845 1.1 christos 2012-04-18 Pedro Alves <palves (a] redhat.com>
8846 1.1 christos
8847 1.1 christos Revert gnulib/ part of:
8848 1.1 christos 2011-01-01 Joel Brobecker <brobecker (a] adacore.com>
8849 1.1 christos Copyright year update in most files (performed by copyright.sh).
8850 1.1 christos
8851 1.1 christos 2012-04-18 Jan Kratochvil <jan.kratochvil (a] redhat.com>
8852 1.1 christos
8853 1.1 christos Fix 64-bit constants on 32-bit hosts.
8854 1.1 christos * dwarf2read.c (read_unsigned_leb128): Change declaration return type
8855 1.1 christos from unsigned long to ULONGEST.
8856 1.1 christos (read_signed_leb128): Change declaration return type from long to
8857 1.1 christos LONGEST.
8858 1.1 christos (dwarf2_const_value_attr): Change declaration parameter value from long
8859 1.1 christos to LONGEST.
8860 1.1 christos (dwarf2_compute_name): Change variable value from long to LONGEST.
8861 1.1 christos (read_unsigned_leb128): Change return type, variable result and some
8862 1.1 christos casts from unsigned long to ULONGEST.
8863 1.1 christos (read_signed_leb128): Change return type, variable result and some
8864 1.1 christos casts from long to LONGEST.
8865 1.1 christos (dwarf2_const_value_data, dwarf2_const_value_attr): Change parameter
8866 1.1 christos value from long to LONGEST.
8867 1.1 christos (dwarf2_const_value): Change variable value from long to LONGEST.
8868 1.1 christos * symmisc.c (print_symbol): Change SYMBOL_VALUE format strings to use
8869 1.1 christos plongest and hex_string.
8870 1.1 christos * symtab.h (struct general_symbol_info): Change ivalue from long to
8871 1.1 christos LONGEST, remove the comment.
8872 1.1 christos * tracepoint.c (validate_actionline, collect_symbol, scope_info):
8873 1.1 christos Change SYMBOL_VALUE format strings to use plongest and hex_string.
8874 1.1 christos
8875 1.1 christos 2012-04-18 Siddhesh Poyarekar <siddhesh (a] redhat.com>
8876 1.1 christos
8877 1.1 christos PR symtab/7259:
8878 1.1 christos * ada-exp.y (convert_char_literal): Use TYPE_FIELD_ENUMVAL.
8879 1.1 christos * ada-lang.c (ada_discrete_type_high_bound)
8880 1.1 christos (ada_discrete_type_low_bound): Fix function comment. Use
8881 1.1 christos TYPE_FIELD_ENUMVAL for TYPE_CODE_ENUM.
8882 1.1 christos (ada_identical_enum_types_p): Use TYPE_FIELD_ENUMVAL.
8883 1.1 christos (pos_atr, value_val_atr): Use TYPE_FIELD_ENUMVAL for TYPE_CODE_ENUM.
8884 1.1 christos * ada-typeprint.c (print_enum_type): Change variable lastval to LONGEST.
8885 1.1 christos Use TYPE_FIELD_ENUMVAL.
8886 1.1 christos * ada-valprint.c (print_optional_low_bound, ada_print_scalar)
8887 1.1 christos (ada_val_print_1): Use TYPE_FIELD_ENUMVAL for TYPE_CODE_ENUM.
8888 1.1 christos * c-typeprint.c (c_type_print_base): Move variable lastval to inner
8889 1.1 christos block, change it to LONGEST. Use TYPE_FIELD_ENUMVAL for
8890 1.1 christos TYPE_CODE_ENUM.
8891 1.1 christos * coffread.c (coff_read_enum_type): Use SET_FIELD_ENUMVAL.
8892 1.1 christos * dwarf2read.c (process_enumeration_scope): Likewise.
8893 1.1 christos * gdb-gdb.py (TypeFlagsPrinter): Use field.enumval instead of
8894 1.1 christos field.bitpos.
8895 1.1 christos (class StructMainTypePrettyPrinter): Support also
8896 1.1 christos FIELD_LOC_KIND_ENUMVAL.
8897 1.1 christos * gdbtypes.c (get_discrete_bounds): Use TYPE_FIELD_ENUMVAL for
8898 1.1 christos TYPE_CODE_ENUM.
8899 1.1 christos (recursive_dump_type): Use TYPE_FIELD_ENUMVAL for TYPE_CODE_ENUM.
8900 1.1 christos (copy_type_recursive): Support also FIELD_LOC_KIND_ENUMVAL.
8901 1.1 christos * gdbtypes.h (enum field_loc_kind): New FIELD_LOC_KIND_ENUMVAL.
8902 1.1 christos (struct main_type.flds_bnds.fields.loc): Adjust bitpos comment. New
8903 1.1 christos field enumval.
8904 1.1 christos (struct main_type.flds_bnds.bields): Adjust loc_kind and bitsize to
8905 1.1 christos accommodate enumval.
8906 1.1 christos (struct call_site): Adjust loc_kind to accommodate enumval.
8907 1.1 christos (FIELD_ENUMVAL, FIELD_ENUMVAL_LVAL, SET_FIELD_ENUMVAL)
8908 1.1 christos (TYPE_FIELD_ENUMVAL): New macros.
8909 1.1 christos * m2-typeprint.c (m2_enum): Use TYPE_FIELD_ENUMVAL.
8910 1.1 christos * mdebugread.c (parse_symbol): Use TYPE_FIELD_ENUMVAL for
8911 1.1 christos TYPE_CODE_ENUM.
8912 1.1 christos * p-typeprint.c (pascal_type_print_base): Likewise.
8913 1.1 christos * python/lib/gdb/printing.py (class FlagEnumerationPrinter): Use
8914 1.1 christos enumval.
8915 1.1 christos * python/lib/gdb/types.py (make_enum_dict): Likewise.
8916 1.1 christos * python/py-type.c (convert_field): New variable addrstring. Use
8917 1.1 christos TYPE_FIELD_ENUMVAL for TYPE_CODE_ENUM.
8918 1.1 christos (check_types_equal): Support also FIELD_LOC_KIND_ENUMVAL.
8919 1.1 christos * stabsread.c (read_enum_type): Use SET_FIELD_ENUMVAL.
8920 1.1 christos * typepint.c (print_type_scalar): Use TYPE_FIELD_ENUMVAL for
8921 1.1 christos TYPE_CODE_ENUM.
8922 1.1 christos * valprint.c (generic_val_print): Likewise.
8923 1.1 christos
8924 1.1 christos 2012-04-17 Doug Evans <dje (a] google.com>
8925 1.1 christos
8926 1.1 christos * dwarf2read.c (lookup_signatured_type): Return NULL instead of 0.
8927 1.1 christos
8928 1.1 christos * dwarf2read.c: Whitespace fixes.
8929 1.1 christos (lookup_signatured_type): Tweak comment.
8930 1.1 christos (get_die_type_at_offset): Fix comment.
8931 1.1 christos
8932 1.1 christos 2012-04-17 Joel Brobecker <brobecker (a] adacore.com>
8933 1.1 christos
8934 1.1 christos * xcoffread.c (xcoff_secnum_to_sections): New function.
8935 1.1 christos (secnum_to_section, secnum_to_bfd_section): Reimplement
8936 1.1 christos using xcoff_secnum_to_sections. Rename "secnum" parameter
8937 1.1 christos into "n_scnum".
8938 1.1 christos (RECORD_MINIMAL_SYMBOL): Delete.
8939 1.1 christos (record_minimal_symbol): New function.
8940 1.1 christos (scan_xcoff_symtab): Replace uses of RECORD_MINIMAL_SYMBOL
8941 1.1 christos by call to record_minimal_symbol and set misc_func_recorded
8942 1.1 christos to 1. Set last_csect_sec to the XCOFF section index instead
8943 1.1 christos of GDB's section_offset index. Update calls to
8944 1.1 christos prim_record_minimal_symbol_and_info to pass the BFD section
8945 1.1 christos as well.
8946 1.1 christos
8947 1.1 christos 2012-04-17 Joel Brobecker <brobecker (a] adacore.com>
8948 1.1 christos
8949 1.1 christos * xcoffread.c (read_xcoff_symtab): Delete variables
8950 1.1 christos last_csect_val and last_csect_sec and associated code.
8951 1.1 christos
8952 1.1 christos 2012-04-17 Doug Evans <dje (a] google.com>
8953 1.1 christos
8954 1.1 christos * cleanups.c (make_my_cleanup,make_my_cleanup2): Make static.
8955 1.1 christos (discard_my_cleanups,save_my_cleanups,restore_my_cleanups): Ditto.
8956 1.1 christos * cleanups.h (make_my_cleanup,make_my_cleanup2): Delete
8957 1.1 christos (discard_my_cleanups,save_my_cleanups,restore_my_cleanups): Delete.
8958 1.1 christos
8959 1.1 christos * cleanups.h: New file.
8960 1.1 christos * cleanups.c: New file.
8961 1.1 christos * Makefile.in (SFILES): Add cleanups.c.
8962 1.1 christos (HFILES_NO_SRCDIR): Add cleanups.h.
8963 1.1 christos (COMMON_OBS): Add cleanups.o.
8964 1.1 christos * defs.h (struct cleanup): Moved to cleanups.h.
8965 1.1 christos (do_cleanups,do_final_cleanups): Ditto.
8966 1.1 christos (discard_cleanups,discard_final_cleanups): Ditto
8967 1.1 christos (make_cleanup,make_cleanup_dtor,make_final_cleanup): Ditto.
8968 1.1 christos (save_cleanups,save_final_cleanups): Ditto.
8969 1.1 christos (restore_cleanups,restore_final_cleanups): Ditto.
8970 1.1 christos (null_cleanup): Ditto.
8971 1.1 christos (make_my_cleanup,make_my_cleanup2): Ditto.
8972 1.1 christos (discard_my_cleanups,save_my_cleanups,restore_my_cleanups): Ditto.
8973 1.1 christos * utils.c (cleanup_chain,final_cleanup_chain): Moved to cleanups.c.
8974 1.1 christos (do_cleanups,do_final_cleanups): Ditto.
8975 1.1 christos (discard_cleanups,discard_final_cleanups): Ditto
8976 1.1 christos (make_cleanup,make_cleanup_dtor,make_final_cleanup): Ditto.
8977 1.1 christos (save_cleanups,save_final_cleanups): Ditto.
8978 1.1 christos (restore_cleanups,restore_final_cleanups): Ditto.
8979 1.1 christos (null_cleanup): Ditto.
8980 1.1 christos (make_my_cleanup,make_my_cleanup2): Ditto.
8981 1.1 christos (discard_my_cleanups,save_my_cleanups,restore_my_cleanups): Ditto.
8982 1.1 christos
8983 1.1 christos * utils.c (make_cleanup_freeargv): Use make_cleanup instead of
8984 1.1 christos make_my_cleanup.
8985 1.1 christos (make_cleanup_dyn_string_delete): Ditto.
8986 1.1 christos (make_cleanup_ui_file_delete): Ditto.
8987 1.1 christos (make_cleanup_ui_out_redirect_pop): Ditto.
8988 1.1 christos (make_cleanup_free_section_addr_info): Ditto.
8989 1.1 christos (make_cleanup_restore_integer): Ditto.
8990 1.1 christos (make_cleanup_unpush_target): Ditto.
8991 1.1 christos (make_cleanup_value_free_to_mark): Ditto.
8992 1.1 christos (make_cleanup_value_free): Ditto.
8993 1.1 christos (make_cleanup_free_so): Ditto.
8994 1.1 christos
8995 1.1 christos 2012-04-17 Jan Kratochvil <jan.kratochvil (a] redhat.com>
8996 1.1 christos
8997 1.1 christos New option "set debug auto-load".
8998 1.1 christos * NEWS: New commands "set debug auto-load" and "show debug auto-load".
8999 1.1 christos * auto-load.c (debug_auto_load, show_debug_auto_load: New.
9000 1.1 christos (auto_load_safe_path_vec_update)
9001 1.1 christos (filename_is_in_auto_load_safe_path_vec): Call fprintf_unfiltered
9002 1.1 christos if DEBUG_AUTO_LOAD.
9003 1.1 christos (file_is_auto_load_safe): New parameters debug_fmt and ....
9004 1.1 christos Call fprintf_unfiltered if DEBUG_AUTO_LOAD.
9005 1.1 christos (source_gdb_script_for_objfile): Extend the file_is_auto_load_safe
9006 1.1 christos caller by explanatory string.
9007 1.1 christos (_initialize_auto_load): Register "set debug auto-load".
9008 1.1 christos * auto-load.h (file_is_auto_load_safe): New parameters debug_fmt
9009 1.1 christos and ....
9010 1.1 christos * linux-thread-db.c (try_thread_db_load_from_pdir_1)
9011 1.1 christos (try_thread_db_load_from_dir): Extend the file_is_auto_load_safe caller
9012 1.1 christos by explanatory string.
9013 1.1 christos * main.c (captured_main): Likewise.
9014 1.1 christos * python/py-auto-load.c (gdbpy_load_auto_script_for_objfile)
9015 1.1 christos (source_section_scripts): Likewise.
9016 1.1 christos
9017 1.1 christos 2012-04-17 Jan Kratochvil <jan.kratochvil (a] redhat.com>
9018 1.1 christos
9019 1.1 christos New option "set auto-load safe-path".
9020 1.1 christos * NEWS: New commands "set auto-load safe-path"
9021 1.1 christos and "show auto-load safe-path".
9022 1.1 christos * auto-load.c: Include gdb_vecs.h, readline/tilde.h and completer.h.
9023 1.1 christos (auto_load_safe_path, auto_load_safe_path_vec)
9024 1.1 christos (auto_load_safe_path_vec_update, set_auto_load_safe_path)
9025 1.1 christos (show_auto_load_safe_path, add_auto_load_safe_path, filename_is_in_dir)
9026 1.1 christos (filename_is_in_auto_load_safe_path_vec, file_is_auto_load_safe): New.
9027 1.1 christos (source_gdb_script_for_objfile): New variable is_safe. Call
9028 1.1 christos file_is_auto_load_safe. Return if it is not.
9029 1.1 christos (struct loaded_script): New field loaded.
9030 1.1 christos (maybe_add_script): Add parameter loaded. Initialize SLOT with it.
9031 1.1 christos (print_script): Use LOADED indicator instead of FULL_PATH. Change
9032 1.1 christos output "Missing" to "No".
9033 1.1 christos (_initialize_auto_load): New variable cmd. Initialize
9034 1.1 christos auto_load_safe_path. Register "set auto-load safe-path",
9035 1.1 christos "show auto-load safe-path" and "add-auto-load-safe-path".
9036 1.1 christos * auto-load.h (maybe_add_script): Add parameter loaded.
9037 1.1 christos (file_is_auto_load_safe): New declaration.
9038 1.1 christos * config.in: Regenerate.
9039 1.1 christos * configure: Regenerate.
9040 1.1 christos * configure.ac: New parameters --with-auto-load-safe-path
9041 1.1 christos and --without-auto-load-safe-path.
9042 1.1 christos * linux-thread-db.c (try_thread_db_load_from_pdir_1)
9043 1.1 christos (try_thread_db_load_from_dir): Check file_is_auto_load_safe first.
9044 1.1 christos * main.c (captured_main): Check file_is_auto_load_safe for
9045 1.1 christos LOCAL_GDBINIT.
9046 1.1 christos * python/py-auto-load.c (gdbpy_load_auto_script_for_objfile): New
9047 1.1 christos variable is_safe. Call file_is_auto_load_safe. Return if it is not.
9048 1.1 christos (source_section_scripts): Call file_is_auto_load_safe. Return if it is
9049 1.1 christos not.
9050 1.1 christos
9051 1.1 christos 2012-04-17 Jan Kratochvil <jan.kratochvil (a] redhat.com>
9052 1.1 christos
9053 1.1 christos auto-load: Implementation.
9054 1.1 christos * NEWS: New descriptions for "info auto-load",
9055 1.1 christos "info auto-load gdb-scripts", "info auto-load python-scripts",
9056 1.1 christos "info auto-load local-gdbinit" and "info auto-load libthread-db".
9057 1.1 christos Deprecate "info auto-load-scripts", "set auto-load-scripts on|off"
9058 1.1 christos and "show auto-load-scripts". New description for "set auto-load",
9059 1.1 christos "show auto-load", "set auto-load gdb-scripts",
9060 1.1 christos "show auto-load gdb-scripts", "set auto-load python-scripts",
9061 1.1 christos "show auto-load python-scripts", "set auto-load local-gdbinit",
9062 1.1 christos "show auto-load local-gdbinit", "set auto-load libthread-db" and
9063 1.1 christos "show auto-load libthread-db".
9064 1.1 christos * auto-load.c: Remove include python/python-internal.h. Add includes
9065 1.1 christos exceptions.h, cli/cli-script.h, gdbcmd.h, cli/cli-decode.h and
9066 1.1 christos cli/cli-setshow.h.
9067 1.1 christos (GDB_AUTO_FILE_NAME, source_gdb_script_for_objfile)
9068 1.1 christos (auto_load_gdb_scripts, show_auto_load_gdb_scripts): New.
9069 1.1 christos (gdbpy_global_auto_load): Rename to ...
9070 1.1 christos (global_auto_load): ... here.
9071 1.1 christos (auto_load_local_gdbinit, auto_load_local_gdbinit_pathname)
9072 1.1 christos (auto_load_local_gdbinit_loaded, show_auto_load_local_gdbinit)
9073 1.1 christos (script_language_gdb, source_gdb_script_for_objfile): New.
9074 1.1 christos (struct loaded_script): New field language.
9075 1.1 christos (hash_loaded_script_entry, eq_loaded_script_entry): Calculate also
9076 1.1 christos LANGUAGE.
9077 1.1 christos (maybe_add_script): Add parameter language. Drop redundant
9078 1.1 christos entry.full_path initialization. Initialize entry.language and
9079 1.1 christos (*slot)->language.
9080 1.1 christos (auto_load_objfile_script): Change parameter suffix to language.
9081 1.1 christos Remove the call of maybe_add_script.
9082 1.1 christos Call language->source_script_for_objfile.
9083 1.1 christos (load_auto_scripts_for_objfile, struct collect_matching_scripts_data):
9084 1.1 christos New.
9085 1.1 christos (collect_matching_scripts): Adjust it for
9086 1.1 christos struct collect_matching_scripts_data.
9087 1.1 christos (auto_load_info_scripts_pattern_nl): New variable.
9088 1.1 christos (info_auto_load_scripts): Rename to ...
9089 1.1 christos (auto_load_info_scripts): ... here, add parameter language. Adjust it
9090 1.1 christos for struct collect_matching_scripts_data.
9091 1.1 christos (info_auto_load_gdb_scripts, info_auto_load_local_gdbinit)
9092 1.1 christos (set_auto_load_cmd, auto_load_set_cmdlist_get, show_auto_load_cmd)
9093 1.1 christos (auto_load_show_cmdlist_get, info_auto_load_cmd)
9094 1.1 christos (auto_load_info_cmdlist_get): New.
9095 1.1 christos (_initialize_auto_load): Move add_info of "auto-load-scripts" to
9096 1.1 christos python/py-auto-load.c. New installment for "set auto-load gdb-scripts",
9097 1.1 christos "info auto-load gdb-scripts", "set auto-load local-gdbinit" and
9098 1.1 christos "info auto-load local-gdbinit".
9099 1.1 christos * auto-load.h (struct script_language): New.
9100 1.1 christos (gdbpy_global_auto_load): Rename to ...
9101 1.1 christos (global_auto_load): ... here.
9102 1.1 christos (auto_load_local_gdbinit, auto_load_local_gdbinit_pathname)
9103 1.1 christos (auto_load_local_gdbinit_loaded): New declarations.
9104 1.1 christos (maybe_add_script): New parameter language.
9105 1.1 christos (auto_load_objfile_script): Change parameter suffix to language.
9106 1.1 christos (load_auto_scripts_for_objfile, auto_load_info_scripts_pattern_nl)
9107 1.1 christos (auto_load_info_scripts, auto_load_set_cmdlist_get)
9108 1.1 christos (auto_load_show_cmdlist_get, auto_load_info_cmdlist_get): New
9109 1.1 christos declarations.
9110 1.1 christos * linux-thread-db.c: Include auto-load.h and ctype.h.
9111 1.1 christos (auto_load_thread_db, show_auto_load_thread_db): New.
9112 1.1 christos (struct thread_db_info): New field filename.
9113 1.1 christos (delete_thread_db_info): Call xfree for FILENAME.
9114 1.1 christos (try_thread_db_load): Initialize FILENAME.
9115 1.1 christos (try_thread_db_load_from_pdir, try_thread_db_load_from_dir): Return
9116 1.1 christos if !AUTO_LOAD_THREAD_DB.
9117 1.1 christos (info_auto_load_libthread_db_compare, info_auto_load_libthread_db): New.
9118 1.1 christos (_initialize_thread_db): Install auto_load_thread_db
9119 1.1 christos as "set auto-load libthread-db" and install info_auto_load_libthread_db
9120 1.1 christos as "info auto-load libthread-db".
9121 1.1 christos * main.c (captured_main): Rename gdbpy_global_auto_load to
9122 1.1 christos global_auto_load. Initialize AUTO_LOAD_LOCAL_GDBINIT_PATHNAME and
9123 1.1 christos AUTO_LOAD_LOCAL_GDBINIT_LOADED.
9124 1.1 christos (print_gdb_help): Extend the help for 'local init file'.
9125 1.1 christos * python/py-auto-load.c: Remove a comment about gdb scripts extension.
9126 1.1 christos (GDBPY_AUTO_SECTION_NAME): Extend the comment it is Python specific.
9127 1.1 christos (auto_load_scripts): Rename to ...
9128 1.1 christos (auto_load_python_scripts): ... here, update the comment.
9129 1.1 christos (gdbpy_load_auto_script_for_objfile): New declaration.
9130 1.1 christos (show_auto_load_python_scripts, script_language_python)
9131 1.1 christos (gdbpy_load_auto_script_for_objfile): New.
9132 1.1 christos (source_section_scripts): Refactor the code.
9133 1.1 christos (load_auto_scripts_for_objfile): Rename to ...
9134 1.1 christos (gdbpy_load_auto_scripts_for_objfile): ... here, update the
9135 1.1 christos auto_load_objfile_script caller, drop GDBPY_GLOBAL_AUTO_LOAD checking.
9136 1.1 christos (info_auto_load_python_scripts): New.
9137 1.1 christos (gdbpy_initialize_auto_load): New variables cmd and cmd_name.
9138 1.1 christos Rename "set auto-load-scripts" to "set auto-load python-scripts".
9139 1.1 christos Register "set auto-load-scripts" as its deprecated alias. Register
9140 1.1 christos "info auto-load python-scripts". Register "info auto-load-scripts" as
9141 1.1 christos its deprecated alias.
9142 1.1 christos (load_auto_scripts_for_objfile): Rename to ...
9143 1.1 christos (gdbpy_load_auto_scripts_for_objfile): ... here.
9144 1.1 christos * python/python.h (load_auto_scripts_for_objfile): Rename to ...
9145 1.1 christos (gdbpy_load_auto_scripts_for_objfile): ... here.
9146 1.1 christos
9147 1.1 christos 2012-04-17 Jan Kratochvil <jan.kratochvil (a] redhat.com>
9148 1.1 christos
9149 1.1 christos auto-load: Move files.
9150 1.1 christos * Makefile.in (SFILES): Add auto-load.c.
9151 1.1 christos (HFILES_NO_SRCDIR): Add auto-load.h.
9152 1.1 christos (COMMON_OBS): Add auto-load.o.
9153 1.1 christos (distclean): Change .gdbinit for gdb-gdb.gdb.
9154 1.1 christos * auto-load.c: New file, with parts from python/py-auto-load.c.
9155 1.1 christos * auto-load.h: New file, with parts from python/python.h.
9156 1.1 christos * configure: Regenerate.
9157 1.1 christos * configure.ac (AC_OUTPUT): Change .gdbinit for gdb-gdb.gdb.
9158 1.1 christos * gdb-gdb.gdb.in: New file, renamed from gdbinit.in.
9159 1.1 christos * gdbinit.in: Remove file, rename it to gdb-gdb.gdb.in.
9160 1.1 christos * main.c: Include auto-load.h.
9161 1.1 christos * python/py-auto-load.c: Move include filenames.h, gdb_regex.h,
9162 1.1 christos command.h, observer.h and progspace.h to auto-load.c. Add include
9163 1.1 christos auto-load.h.
9164 1.1 christos (gdbpy_global_auto_load, struct auto_load_pspace_info)
9165 1.1 christos (struct loaded_script, auto_load_pspace_data)
9166 1.1 christos (auto_load_pspace_data_cleanup, get_auto_load_pspace_data)
9167 1.1 christos (hash_loaded_script_entry, eq_loaded_script_entry)
9168 1.1 christos (init_loaded_scripts_info, get_auto_load_pspace_data_for_loading)
9169 1.1 christos (maybe_add_script): Move to auto-load.c.
9170 1.1 christos (source_section_scripts): Change maybe_add_script parameters passing,
9171 1.1 christos use script_not_found_warning_print.
9172 1.1 christos (clear_section_scripts, auto_load_objfile_script)
9173 1.1 christos (auto_load_new_objfile, loaded_script_ptr)
9174 1.1 christos (DEF_VEC_P (loaded_script_ptr), collect_matching_scripts, print_script)
9175 1.1 christos (sort_scripts_by_name, info_auto_load_scripts): Move to auto-load.c.
9176 1.1 christos (gdbpy_initialize_auto_load): Move auto_load_pspace_data,
9177 1.1 christos auto_load_new_objfile and info_auto_load_scripts initizations to
9178 1.1 christos auto-load.c.
9179 1.1 christos * python/python.h (gdbpy_global_auto_load): Move to auto-load.h.
9180 1.1 christos
9181 1.1 christos 2012-04-17 Jan Kratochvil <jan.kratochvil (a] redhat.com>
9182 1.1 christos
9183 1.1 christos Code cleanup.
9184 1.1 christos * charset.c (find_charset_names): Remove variables ix and elt.
9185 1.1 christos Use free_char_ptr_vec.
9186 1.1 christos * elfread.c (build_id_to_debug_filename): New variables debugdir_vec,
9187 1.1 christos back_to and ix. Use dirnames_to_char_ptr_vec. Remove variable
9188 1.1 christos debugdir_end. New variable debugdir_len.
9189 1.1 christos * gdb_vecs.h (free_char_ptr_vec, make_cleanup_free_char_ptr_vec)
9190 1.1 christos (dirnames_to_char_ptr_vec_append, dirnames_to_char_ptr_vec): New
9191 1.1 christos declarations.
9192 1.1 christos * progspace.c (clear_program_space_solib_cache): Remove variables ix
9193 1.1 christos and elt. Use free_char_ptr_vec.
9194 1.1 christos * source.c (add_path): Remove variables argv, arg and argv_index.
9195 1.1 christos New variables dir_vec, back_to, ix and name.
9196 1.1 christos Use dirnames_to_char_ptr_vec_append. Use freeargv instead of
9197 1.1 christos make_cleanup_freeargv. Remove variable separator. Simplify the code
9198 1.1 christos no longer expecting DIRNAME_SEPARATOR.
9199 1.1 christos (openp): Remove variable p, p1 and len. New variables dir_vec,
9200 1.1 christos back_to, ix and dir. Use dirnames_to_char_ptr_vec. Simplify the code
9201 1.1 christos no longer expecting DIRNAME_SEPARATOR.
9202 1.1 christos * symfile.c (find_separate_debug_file): New variables debugdir_vec,
9203 1.1 christos back_to and ix. Use dirnames_to_char_ptr_vec. Remove variable
9204 1.1 christos debugdir_end.
9205 1.1 christos * utils.c (free_char_ptr_vec, do_free_char_ptr_vec)
9206 1.1 christos (make_cleanup_free_char_ptr_vec, dirnames_to_char_ptr_vec_append)
9207 1.1 christos (dirnames_to_char_ptr_vec): New functions.
9208 1.1 christos
9209 1.1 christos 2012-04-17 Jan Kratochvil <jan.kratochvil (a] redhat.com>
9210 1.1 christos
9211 1.1 christos Code cleanup.
9212 1.1 christos * source.c (add_path): Remove always true conditional 'p == 0' and
9213 1.1 christos unindent its code block.
9214 1.1 christos
9215 1.1 christos 2012-04-17 Pedro Alves <palves (a] redhat.com>
9216 1.1 christos
9217 1.1 christos * gdbtypes.h (FIELD_BITPOS): Rename to ...
9218 1.1 christos (FIELD_BITPOS_LVAL): ... this.
9219 1.1 christos (FIELD_BITPOS): New.
9220 1.1 christos (SET_FIELD_BITPOS): Adjust to use FIELD_BITPOS_LVAL.
9221 1.1 christos * dwarf2read.c (dwarf2_add_field): Use SET_FIELD_BITPOS.
9222 1.1 christos * gdbtypes.c (append_composite_type_field_aligned): Adjust to use
9223 1.1 christos SET_FIELD_BITPOS.
9224 1.1 christos * gnu-v3-abi.c (build_gdb_vtable_type): Adjust to use
9225 1.1 christos SET_FIELD_BITPOS.
9226 1.1 christos * stabsread.c (read_cpp_abbrev, read_one_struct_field)
9227 1.1 christos (read_baseclasses): Adjust to use SET_FIELD_BITPOS.
9228 1.1 christos * target-descriptions.c (tdesc_gdb_type): Adjust to use
9229 1.1 christos SET_FIELD_BITPOS.
9230 1.1 christos
9231 1.1 christos 2012-04-17 Jan Kratochvil <jan.kratochvil (a] redhat.com>
9232 1.1 christos
9233 1.1 christos Do not rely on FIELD_LOC_KIND_BITPOS being zero.
9234 1.1 christos * ada-lang.c (ada_template_to_fixed_record_type_1): Replace
9235 1.1 christos TYPE_FIELD_BITPOS used as lvalue by SET_FIELD_BITPOS.
9236 1.1 christos * gdbtypes.c (append_flags_type_flag): Likewise, twice.
9237 1.1 christos * jv-lang.c (java_link_class_type): Likewise, once.
9238 1.1 christos * stabsread.c (read_enum_type): Likewise.
9239 1.1 christos
9240 1.1 christos 2012-04-16 Yao Qi <yao (a] codesourcery.com>
9241 1.1 christos
9242 1.1 christos * common/agent.c (agent_run_command): Add one more parameter `len'.
9243 1.1 christos Update callers.
9244 1.1 christos * common/agent.h: Update declaration.
9245 1.1 christos * linux-nat.c (linux_child_static_tracepoint_markers_by_strid):
9246 1.1 christos Update.
9247 1.1 christos (linux_child_static_tracepoint_markers_by_strid): Ditto.
9248 1.1 christos
9249 1.1 christos 2012-04-14 Anton Gorenkov <xgsa (a] yandex.ru>
9250 1.1 christos
9251 1.1 christos PR mi/13393
9252 1.1 christos * value.c (value_actual_type): New function.
9253 1.1 christos * value.h (value_actual_type): New declaration.
9254 1.1 christos * varobj.c (update_type_if_necessary): New function.
9255 1.1 christos (varobj_create): Call value_actual_type instead of
9256 1.1 christos value_type.
9257 1.1 christos (install_dynamic_child): distinct changed and type changed MI variable
9258 1.1 christos objects.
9259 1.1 christos (update_dynamic_varobj_children): Updated for install_dynamic_child
9260 1.1 christos change. All callers updated.
9261 1.1 christos (varobj_update): Support for MI variable object type change if
9262 1.1 christos the value changed and RTTI is used to determine the type.
9263 1.1 christos (create_child_with_value): Call value_actual_type instead of
9264 1.1 christos value_type.
9265 1.1 christos (adjust_value_for_child_access): Extended with a new parameter which
9266 1.1 christos specify whether the given value should be casted to enclosing type.
9267 1.1 christos All callers updated.
9268 1.1 christos
9269 1.1 christos 2012-04-14 Yao Qi <yao (a] codesourcery.com>
9270 1.1 christos
9271 1.1 christos Import gnulib module inttypes from git
9272 1.1 christos (250b80067c1e1d8faa0c42fb572f721975b929c5)
9273 1.1 christos * Makefile.in (HFILES_NO_SRCDIR): Add gnulib/inttypes.in.h.
9274 1.1 christos (aclocal_m4_deps): Add gnulib/m4/inttypes.m4 and
9275 1.1 christos gnulib/m4/inttypes-pri.m4
9276 1.1 christos * aclocal.m4, config.in, configure: Regenerated.
9277 1.1 christos * gnulib/Makefile.am: Update.
9278 1.1 christos * gnulib/Makefile.in: Update.
9279 1.1 christos * gnulib/m4/gnulib-cache.m4: Update.
9280 1.1 christos * gnulib/m4/gnulib-comp.m4: Update.
9281 1.1 christos * gnulib/inttypes.in.h: New.
9282 1.1 christos * gnulib/m4/inttypes-pri.m4: New.
9283 1.1 christos * gnulib/m4/inttypes.m4: New.
9284 1.1 christos
9285 1.1 christos 2012-04-13 Luis Machado <lgustavo (a] codesourcery.com>
9286 1.1 christos
9287 1.1 christos * infrun.c (resume): Update PC address to the real PC after
9288 1.1 christos preparing to do displaced stepping.
9289 1.1 christos
9290 1.1 christos 2012-04-12 Doug Evans <dje (a] google.com>
9291 1.1 christos
9292 1.1 christos * dwarf2read.c (lookup_signatured_type): Remove arg "objfile", unused.
9293 1.1 christos All callers updated.
9294 1.1 christos
9295 1.1 christos 2012-04-12 Mark Kettenis <kettenis (a] gnu.org>
9296 1.1 christos
9297 1.1 christos * i386bsd-nat.c (_initialize_i386bsd_nat): Add missing prototype.
9298 1.1 christos
9299 1.1 christos 2012-04-12 Doug Evans <dje (a] google.com>
9300 1.1 christos
9301 1.1 christos * dwarf2read.c (create_all_type_units): Renamed from
9302 1.1 christos create_debug_types_hash_table. All callers updated.
9303 1.1 christos
9304 1.1 christos * dwarf2read.c (create_signatured_type_table_from_index): Rename
9305 1.1 christos local type_sig to sig_type, type_offset to type_offset_in_tu.
9306 1.1 christos (hash_signatured_type): Renamed from hash_type_signature,
9307 1.1 christos all callers updated.
9308 1.1 christos (eq_signatured_type): Renamed from eq_type_signature,
9309 1.1 christos all callers updated.
9310 1.1 christos (create_debug_types_hash_table): Rename local type_sig to sig_type.
9311 1.1 christos (process_enumeration_scope): Ditto.
9312 1.1 christos (lookup_signatured_type_at_offset): Ditto.
9313 1.1 christos (load_full_type_unit, read_signatured_type): Ditto.
9314 1.1 christos
9315 1.1 christos 2012-04-12 Yao Qi <yao (a] codesourcery.com>
9316 1.1 christos
9317 1.1 christos * remote.c (async_remote_interrupt): Correct function name in
9318 1.1 christos debug message.
9319 1.1 christos (async_remote_interrupt_twice): Ditto.
9320 1.1 christos
9321 1.1 christos 2012-04-11 Yuanhui Zhang <asmwarrior (a] gmail.com>
9322 1.1 christos
9323 1.1 christos * source.c (find_and_open_source): Consistently pass resulting
9324 1.1 christos full path through xfullpath.
9325 1.1 christos
9326 1.1 christos 2012-04-11 Jan Kratochvil <jan.kratochvil (a] redhat.com>
9327 1.1 christos
9328 1.1 christos Provide more specific displaced-stepping memory error message.
9329 1.1 christos * infrun.c (displaced_step_prepare): New variable status. Call
9330 1.1 christos target_read_memory instead of read_memory, provide more specific
9331 1.1 christos error message.
9332 1.1 christos
9333 1.1 christos 2012-04-11 Tristan Gingold <gingold (a] adacore.com>
9334 1.1 christos
9335 1.1 christos PR gdb/13901
9336 1.1 christos * darwin-nat.c (darwin_execvp): Revert previous patch.
9337 1.1 christos
9338 1.1 christos 2012-04-11 Tristan Gingold <gingold (a] adacore.com>
9339 1.1 christos
9340 1.1 christos PR gdb/13901
9341 1.1 christos * darwin-nat.c (darwin_resume_thread): Call darwin_set_sstep only
9342 1.1 christos in case of change.
9343 1.1 christos
9344 1.1 christos 2012-04-11 Tristan Gingold <gingold (a] adacore.com>
9345 1.1 christos
9346 1.1 christos * i386-darwin-nat.c (i386_darwin_fetch_inferior_registers): Fix
9347 1.1 christos warning.
9348 1.1 christos
9349 1.1 christos 2012-04-11 Siva Chandra Reddy <sivachandra (a] google.com>
9350 1.1 christos
9351 1.1 christos New command 'explore' which helps explore values and types in
9352 1.1 christos scope.
9353 1.1 christos * NEWS: Add an entry about the new 'explore' command.
9354 1.1 christos * data-directory/Makefile.in: Add gdb/command/explore.py
9355 1.1 christos * python/lib/gdb/command/explore.py: Implemention of the 'explore'
9356 1.1 christos command using the GDB Python API.
9357 1.1 christos
9358 1.1 christos 2012-04-10 Maciej W. Rozycki <macro (a] codesourcery.com>
9359 1.1 christos
9360 1.1 christos * mips-tdep.c (mips_skip_pic_trampoline_code): Correct sign
9361 1.1 christos extension in jump target calculation.
9362 1.1 christos
9363 1.1 christos 2012-04-10 Maciej W. Rozycki <macro (a] codesourcery.com>
9364 1.1 christos
9365 1.1 christos * mips-tdep.c (mips32_next_pc): Handle JALX.
9366 1.1 christos
9367 1.1 christos 2012-04-10 Yao Qi <yao (a] codesourcery.com>
9368 1.1 christos
9369 1.1 christos * Makefile.in (gnulib/Makefile): Remove duplicated dependency.
9370 1.1 christos
9371 1.1 christos 2012-04-10 Yao Qi <yao (a] codesourcery.com>
9372 1.1 christos
9373 1.1 christos * Makefile.in (aclocal_m4_deps): Add gnulib/m4/gnulib-cache.m4
9374 1.1 christos and gnulib/m4/gnulib-tool.m4.
9375 1.1 christos
9376 1.1 christos 2012-04-10 Doug Evans <dje (a] google.com>
9377 1.1 christos
9378 1.1 christos * dwarf2read.c (dwarf2_per_cu_data). Clarify comment.
9379 1.1 christos (load_partial_dies): Clarify comment.
9380 1.1 christos (find_partial_die): Support rereading type units.
9381 1.1 christos Clarify CU handling, if we know offset is in CU, don't search for the
9382 1.1 christos containing CU. Add comment regarding memory waste.
9383 1.1 christos
9384 1.1 christos 2012-04-10 H.J. Lu <hongjiu.lu (a] intel.com>
9385 1.1 christos
9386 1.1 christos * features/Makefile (WHICH): Add i386/x32, i386/x32-linux,
9387 1.1 christos i386/x32-avx and i386/x32-avx-linux.
9388 1.1 christos (i386/x32-expedite): New.
9389 1.1 christos (i386/x32-linux-expedite): Likewise.
9390 1.1 christos (i386/x32-avx-expedite): Likewise.
9391 1.1 christos (i386/x32-avx-linux-expedite): Likewise.
9392 1.1 christos ($(outdir)/i386/x32.dat): Likewise.
9393 1.1 christos ($(outdir)/i386/x32-linux.dat): Likewise.
9394 1.1 christos ($(outdir)/i386/x32-avx.dat): Likewise.
9395 1.1 christos ($(outdir)/i386/x32-avx-linux.dat): Likewise.
9396 1.1 christos
9397 1.1 christos * features/i386/x32-avx-linux.xml: New file.
9398 1.1 christos * features/i386/x32-avx.xml: Likewise.
9399 1.1 christos * features/i386/x32-core.xml: Likewise.
9400 1.1 christos * features/i386/x32-linux.xml: Likewise.
9401 1.1 christos * features/i386/x32.xml: Likewise.
9402 1.1 christos
9403 1.1 christos * features/i386/x32-avx-linux.c: New. Generated.
9404 1.1 christos * features/i386/x32-avx.c: Likewise.
9405 1.1 christos * features/i386/x32-linux.c: Likewise.
9406 1.1 christos * features/i386/x32.c: Likewise.
9407 1.1 christos * regformats/i386/x32-avx-linux.dat: Likewise.
9408 1.1 christos * regformats/i386/x32-avx.dat: Likewise.
9409 1.1 christos * regformats/i386/x32-linux.dat: Likewise.
9410 1.1 christos * regformats/i386/x32.dat: Likewise.
9411 1.1 christos
9412 1.1 christos 2012-04-10 Tristan Gingold <gingold (a] adacore.com>
9413 1.1 christos
9414 1.1 christos * darwin-nat.c (darwin_kill_inferior): Always use the no ptrace
9415 1.1 christos code to kill the inferior.
9416 1.1 christos
9417 1.1 christos 2012-04-09 Mark Kettenis <kettenis (a] gnu.org>
9418 1.1 christos
9419 1.1 christos * ada-exp.y (yyss, yysslim, yyssp, yystacksize, yyvs, yyvsp): New
9420 1.1 christos defines.
9421 1.1 christos * c-exp.y (yyss, yysslim, yyssp, yystacksize, yyvs, yyvsp): New
9422 1.1 christos defines.
9423 1.1 christos * cp-name-parser.y (yyss, yysslim, yyssp, yystacksize, yyvs)
9424 1.1 christos (yyvsp): New defines.
9425 1.1 christos * f-exp.y (yyss, yysslim, yyssp, yystacksize, yyvs, yyvsp): New
9426 1.1 christos defines.
9427 1.1 christos * jv-exp.y (yyss, yysslim, yyssp, yystacksize, yyvs, yyvsp): New
9428 1.1 christos defines.
9429 1.1 christos * m2-exp.y (yyss, yysslim, yyssp, yystacksize, yyvs, yyvsp): New
9430 1.1 christos defines.
9431 1.1 christos * objc-exp.y (yyss, yysslim, yyssp, yystacksize, yyvs, yyvsp): New
9432 1.1 christos defines.
9433 1.1 christos * p-exp.y (yyss, yysslim, yyssp, yystacksize, yyvs, yyvsp): New
9434 1.1 christos defines.
9435 1.1 christos
9436 1.1 christos 2012-04-09 Mark Kettenis <kettenis (a] gnu.org>
9437 1.1 christos
9438 1.1 christos * sparc64-tdep.c (sparc64_store_arguments)
9439 1.1 christos (sparc64_store_arguments): Fix coding style.
9440 1.1 christos
9441 1.1 christos 2012-04-07 Mark Kettenis <kettenis (a] gnu.org>
9442 1.1 christos
9443 1.1 christos * sparc64-tdep.c (sparc64_store_arguments): Fix handling of
9444 1.1 christos complex floats, adjust some related comments and tighten a related
9445 1.1 christos assertion.
9446 1.1 christos (sparc64_extract_return_value): Handle complex floats.
9447 1.1 christos
9448 1.1 christos 2012-04-07 Doug Evans <dje (a] google.com>
9449 1.1 christos
9450 1.1 christos * dwarf2read.c (load_partial_dies): Change condition to assert.
9451 1.1 christos
9452 1.1 christos 2012-04-06 Doug Evans <dje (a] google.com>
9453 1.1 christos
9454 1.1 christos * amd64-tdep.c (amd64_analyze_prologue): Recognize both variations of
9455 1.1 christos "mov %rsp,%rbp".
9456 1.1 christos
9457 1.1 christos 2012-04-05 Kevin Buettner <kevinb (a] redhat.com>
9458 1.1 christos
9459 1.1 christos * v850-tdep.c (E_NUM_OF_V850_REGS, E_NUM_OF_V850E_REGS): Fix
9460 1.1 christos fencepost error.
9461 1.1 christos (v850_frame_cache): Use gdbarch_num_regs() instead of E_NUM_REGS.
9462 1.1 christos (v850_gdbarch_init): Set `num_regs' as appropriate for the
9463 1.1 christos architecture.
9464 1.1 christos
9465 1.1 christos 2012-04-05 Keith Seitz <keiths (a] redhat.com>
9466 1.1 christos
9467 1.1 christos * linespec.c (decode_compound): Remove.
9468 1.1 christos (enum offset_relative_sign): New enum.
9469 1.1 christos (struct line_offset): New struct.
9470 1.1 christos (struct linespec): New struct.
9471 1.1 christos (struct linespec_state): Move file_symtabs,
9472 1.1 christos user_filename, and user_function into struct linespec.
9473 1.1 christos Make result an anonymous struct holding vectors of
9474 1.1 christos symbolp and minsym_and_objfile_d.
9475 1.1 christos Add language member.
9476 1.1 christos (enum ls_token_type): New enum.
9477 1.1 christos (linespec_keywords): New array.
9478 1.1 christos (struct ls_token): New struct.
9479 1.1 christos (struct ls_parser): New struct.
9480 1.1 christos (linespec_lexer_lex_number): New function.
9481 1.1 christos (linespec_lexer_lex_keyword): New function.
9482 1.1 christos (is_ada_operator): New function.
9483 1.1 christos (skip_quote_char): New function.
9484 1.1 christos (copy_token_string): New function.
9485 1.1 christos (is_closing_quote_enclosed): New function.
9486 1.1 christos (find_parameter_list_end): New function.
9487 1.1 christos (linespec_lexer_lex_string): New function.
9488 1.1 christos (linespec_lexer_lex_one): New function.
9489 1.1 christos (linespec_lexer_consume_token): New function.
9490 1.1 christos (linespec_lexer_peek_token): New function.
9491 1.1 christos (cplusplus_error): Remove unused function.
9492 1.1 christos (find_methods): Update comment.
9493 1.1 christos (find_toplevel_char): Return const.
9494 1.1 christos (is_objc_method_format): Remove unused function.
9495 1.1 christos (find_toplevel_string): New function.
9496 1.1 christos (is_linespec_boundary): Remove.
9497 1.1 christos (symbol_not_found_error): New function.
9498 1.1 christos (find_method_overload_end): Remove function.
9499 1.1 christos (unexpected_linespec_error): New function.
9500 1.1 christos (keep_name_info): Remove.
9501 1.1 christos (linespec_parse_line_offset): New function.
9502 1.1 christos (linespec_parse_basic): New function.
9503 1.1 christos (canonicalize_linespec): New function.
9504 1.1 christos (decode_line_internal): Remove.
9505 1.1 christos (create_sals_line_offset): New function adapted from
9506 1.1 christos decode_all_digits.
9507 1.1 christos (convert_linespec_to_sals): New function.
9508 1.1 christos (parse_linespec): New function.
9509 1.1 christos (linespec_parser_new): New function.
9510 1.1 christos (linespec_state_destructor): Change parameter type to
9511 1.1 christos struct linespec_state *.
9512 1.1 christos Add language parameter.
9513 1.1 christos Remove freeing of moved members.
9514 1.1 christos (linespec_parser_delete): New function.
9515 1.1 christos (decode_line_full): Use parse_linespec and linespec_parser_new.
9516 1.1 christos (decode_line_1): Likewise.
9517 1.1 christos (decode_indirect): Rename to ...
9518 1.1 christos (linespec_expression_to_pc): ... this and rewrite
9519 1.1 christos to simply find CORE_ADDR, storing this result for later
9520 1.1 christos conversion to SALs.
9521 1.1 christos (locate_first_half): Remove.
9522 1.1 christos (deocde_objc): Add parameter LS.
9523 1.1 christos Initialize new struct collect_info members.
9524 1.1 christos Handle minimal symbols, too.
9525 1.1 christos (decode_compound): Delete.
9526 1.1 christos (lookup_prefix_sym): Rewrite.
9527 1.1 christos (compare_msymbols): New function.
9528 1.1 christos (find_method): Rewrite.
9529 1.1 christos Do not call cplusplus_error.
9530 1.1 christos (symtabs_from_filename): Rewrite.
9531 1.1 christos (collect_function_symbols): Delete.
9532 1.1 christos (find_function_symbols): Rewrite without ARGPTR-style
9533 1.1 christos processing.
9534 1.1 christos (decode_all_digits): Delete. (Rewritten as create_sals_line_offset.)
9535 1.1 christos (decode_dollar): Adapted and renamed to ...
9536 1.1 christos (linespec_parse_variable): ... this.
9537 1.1 christos (find_linespec_symbols): New function.
9538 1.1 christos (decode_label): Adapted and renamed to ...
9539 1.1 christos (find_label_symbols): ... this.
9540 1.1 christos (decode_digits_list_mode): Add and use LS argument.
9541 1.1 christos (decode_digits_ordinary): Likewise.
9542 1.1 christos (collect_symbols): Do not collect SALs, just symbols and msymbols.
9543 1.1 christos If in list mode, allow any symbol class. Otherwise, only
9544 1.1 christos permit LOC_BLOCK symbols.
9545 1.1 christos (minsym_found): Update comments.
9546 1.1 christos (search_minsyms_for_name): Do not convert the matching symbol
9547 1.1 christos into a SAL. Simply push the symbol and objfile into the
9548 1.1 christos result vector.
9549 1.1 christos (decode_variable): Delete. Contents adapted into
9550 1.1 christos find_linespec_symbols.
9551 1.1 christos
9552 1.1 christos * cp-support.c (SKIP_SPACE): Remove.
9553 1.1 christos (operator_tokens): Remove unused global.
9554 1.1 christos (cp_validate_operator): Remove.
9555 1.1 christos * cp-support.h (cp_validate_operator): Remove declaration.
9556 1.1 christos
9557 1.1 christos 2012-04-03 Jan Kratochvil <jan.kratochvil (a] redhat.com>
9558 1.1 christos
9559 1.1 christos * cp-valprint.c (cp_print_value_fields): Check valprint_check_validity
9560 1.1 christos for TYPE_VPTR_FIELDNO.
9561 1.1 christos * valprint.c (valprint_check_validity): Make it global, move the
9562 1.1 christos function comment ...
9563 1.1 christos * value.h (valprint_check_validity): ... to this new declaration.
9564 1.1 christos
9565 1.1 christos 2012-04-02 Tristan Gingold <gingold (a] adacore.com>
9566 1.1 christos
9567 1.1 christos * i386-darwin-nat.c (i386_darwin_fetch_inferior_registers): Use
9568 1.1 christos the STATE32 api for i386 state.
9569 1.1 christos (i386_darwin_store_inferior_registers): Likewise.
9570 1.1 christos
9571 1.1 christos 2012-04-02 Tristan Gingold <gingold (a] adacore.com>
9572 1.1 christos
9573 1.1 christos * i386-darwin-tdep.c (i386_darwin_thread_state_reg_offset): Fix
9574 1.1 christos SS offset.
9575 1.1 christos * i386-darwin-nat.c (i386_darwin_fetch_inferior_registers): Fix
9576 1.1 christos format_string.
9577 1.1 christos
9578 1.1 christos 2012-04-02 Tristan Gingold <gingold (a] adacore.com>
9579 1.1 christos
9580 1.1 christos PR gdb/13901
9581 1.1 christos * darwin-nat.c (darwin_execvp): Set binary preference.
9582 1.1 christos
9583 1.1 christos 2012-04-02 Jan Kratochvil <jan.kratochvil (a] redhat.com>
9584 1.1 christos
9585 1.1 christos * NEWS (set breakpoint condition-evaluation): Use imperative mood.
9586 1.1 christos
9587 1.1 christos 2012-03-30 Tom Tromey <tromey (a] redhat.com>
9588 1.1 christos
9589 1.1 christos * python/python.c (gdbpy_decode_line): Move cleanup creation out
9590 1.1 christos of TRY_CATCH. Fix error handling.
9591 1.1 christos * python/py-value.c (convert_value_from_python): Move 'old'
9592 1.1 christos declaration to innermost scope.
9593 1.1 christos
9594 1.1 christos 2012-03-29 Joel Brobecker <brobecker (a] adacore.com>
9595 1.1 christos Andrey Smirnov <andrew.smirnov (a] gmail.com>
9596 1.1 christos
9597 1.1 christos -Wshadow warning fix.
9598 1.1 christos * ada-lang.c (ada_make_symbol_completion_list): Rename parameters
9599 1.1 christos "wild_match" and "encoded" into "wild_match_p" and "encoded_p".
9600 1.1 christos Adjust code accordingly.
9601 1.1 christos
9602 1.1 christos 2012-03-29 Joel Brobecker <brobecker (a] adacore.com>
9603 1.1 christos
9604 1.1 christos * ada-lang.c (symbol_completion_add): Rename parameter
9605 1.1 christos "encoded" into "encoded_p". Ajust code and documentation
9606 1.1 christos accordingly.
9607 1.1 christos
9608 1.1 christos 2012-03-29 Joel Brobecker <brobecker (a] adacore.com>
9609 1.1 christos Andrey Smirnov <andrew.smirnov (a] gmail.com>
9610 1.1 christos
9611 1.1 christos -Wshadow warning fix.
9612 1.1 christos * ada-lang.c (symbol_completion_add): Rename parameter
9613 1.1 christos "wild_match" into wild_match_p. Update code and documentation
9614 1.1 christos accordingly.
9615 1.1 christos
9616 1.1 christos 2012-03-29 Joel Brobecker <brobecker (a] adacore.com>
9617 1.1 christos
9618 1.1 christos * ada-lang.c (symbol_completion_match): Rename parameter
9619 1.1 christos "encoded" into "encoded_p". Ajust code and documentation
9620 1.1 christos accordingly.
9621 1.1 christos
9622 1.1 christos 2012-03-29 Joel Brobecker <brobecker (a] adacore.com>
9623 1.1 christos Andrey Smirnov <andrew.smirnov (a] gmail.com>
9624 1.1 christos
9625 1.1 christos -Wshadow warning fix.
9626 1.1 christos * ada-lang.c (symbol_completion_match): Rename parameter
9627 1.1 christos "wild_match" into "wild_match_p". Adjust code and function
9628 1.1 christos documentation accordingly.
9629 1.1 christos
9630 1.1 christos 2012-03-29 Joel Brobecker <brobecker (a] adacore.com>
9631 1.1 christos Andrey Smirnov <andrew.smirnov (a] gmail.com>
9632 1.1 christos
9633 1.1 christos -Wshadow warning fix.
9634 1.1 christos * ada-lang.c (ada_lookup_encoded_symbol): Rename parameter
9635 1.1 christos "symbol_info" into "info". Adjust code accordingly.
9636 1.1 christos (ada_lookup_symbol): Likewise.
9637 1.1 christos
9638 1.1 christos 2012-03-29 Joel Brobecker <brobecker (a] adacore.com>
9639 1.1 christos
9640 1.1 christos * ada-lang.c (ada_lookup_symbol_list): Minor reformatting
9641 1.1 christos of this function's documentation.
9642 1.1 christos
9643 1.1 christos 2012-03-29 Joel Brobecker <brobecker (a] adacore.com>
9644 1.1 christos Andrey Smirnov <andrew.smirnov (a] gmail.com>
9645 1.1 christos
9646 1.1 christos -Wshadow warning fix.
9647 1.1 christos * ada-lang.c (ada_lookup_symbol_list): Rename "wild_match"
9648 1.1 christos variable into "wild_match_p". Adjust code accordingly.
9649 1.1 christos
9650 1.1 christos 2012-03-29 Joel Brobecker <brobecker (a] adacore.com>
9651 1.1 christos Andrey Smirnov <andrew.smirnov (a] gmail.com>
9652 1.1 christos
9653 1.1 christos -Wshadow warning fix.
9654 1.1 christos * ada-lang.c (ada_add_local_symbols): Rename "wild_match"
9655 1.1 christos parameter into "wild_match_p". Adjust code accordingly.
9656 1.1 christos Document this parameter in the function description.
9657 1.1 christos
9658 1.1 christos 2012-03-29 Joel Brobecker <brobecker (a] adacore.com>
9659 1.1 christos Andrey Smirnov <andrew.smirnov (a] gmail.com>
9660 1.1 christos
9661 1.1 christos -Wshadow warning fix.
9662 1.1 christos * ada-lang.c (add_symbols_from_enclosing_procs): Rename
9663 1.1 christos "wild_match" parameter to "wild_match_p" (-Wshadow).
9664 1.1 christos
9665 1.1 christos 2012-03-29 Joel Brobecker <brobecker (a] adacore.com>
9666 1.1 christos
9667 1.1 christos * ada-lang.c (ada_lookup_simple_minsym): Remove trailing spaces
9668 1.1 christos in function documentation.
9669 1.1 christos
9670 1.1 christos 2012-03-29 Joel Brobecker <brobecker (a] adacore.com>
9671 1.1 christos Andrey Smirnov <andrew.smirnov (a] gmail.com>
9672 1.1 christos
9673 1.1 christos -Wshadow warning fix.
9674 1.1 christos * ada-lang.c (ada_lookup_simple_minsym): Rename wild_match local
9675 1.1 christos variable into wild_match_p. Adjust code accordingly.
9676 1.1 christos
9677 1.1 christos 2012-03-29 Joel Brobecker <brobecker (a] adacore.com>
9678 1.1 christos Andrey Smirnov <andrew.smirnov (a] gmail.com>
9679 1.1 christos
9680 1.1 christos * ada-valprint.c (ada_val_print_1): Move the code handling
9681 1.1 christos TYPE_CODE_ENUM inside its own lexical block. Declare
9682 1.1 christos variables len and val there, instead of in the function's
9683 1.1 christos top level block. Avoid declaring deref_val again in a way
9684 1.1 christos that shadows another variable of the same name declared
9685 1.1 christos in one of the up-level blocks. Just re-use the up-level
9686 1.1 christos variable instead.
9687 1.1 christos
9688 1.1 christos 2012-03-29 Joel Brobecker <brobecker (a] adacore.com>
9689 1.1 christos
9690 1.1 christos * ada-lang.c (ada_lookup_encoded_symbol): Now returns void.
9691 1.1 christos Replace block_found argument by symbol_info. Adjust
9692 1.1 christos implementation accordingly. Add function documentation.
9693 1.1 christos (ada_lookup_symbol): Adjust to new ada_lookup_encoded_symbol.
9694 1.1 christos Fix documentation.
9695 1.1 christos * ada-lang.h (ada_lookup_encoded_symbol): Update declaration.
9696 1.1 christos * ada-exp.y (write_object_renaming): Adjust to new
9697 1.1 christos ada_lookup_encoded_symbol API.
9698 1.1 christos
9699 1.1 christos 2012-03-29 Joel Brobecker <brobecker (a] adacore.com>
9700 1.1 christos
9701 1.1 christos * ada-lang.h (struct ada_symbol_info): Reformat. Improve
9702 1.1 christos documentation.
9703 1.1 christos
9704 1.1 christos 2012-03-28 Rathish C <rathish.c (a] kpitcummins.com>
9705 1.1 christos
9706 1.1 christos * v850-tdep.c: Add the enum values for mpu and fpu registers.
9707 1.1 christos (v850_register_name): Add the mpu and fpu register names.
9708 1.1 christos (v850e_register_name): Add the mpu and fpu register names.
9709 1.1 christos (v850e2_register_name): New function.
9710 1.1 christos (v850_gdbarch_init): Add case for bfd_mach_v850e2 and
9711 1.1 christos bfd_mach_v850e2v3.
9712 1.1 christos
9713 1.1 christos 2012-03-28 Joel Brobecker <brobecker (a] adacore.com>
9714 1.1 christos
9715 1.1 christos * NEWS: Add entry for Ada varobj support.
9716 1.1 christos
9717 1.1 christos 2012-03-28 Joel Brobecker <brobecker (a] adacore.com>
9718 1.1 christos
9719 1.1 christos * varobj.c (default_value_is_changeable_p): New function,
9720 1.1 christos extracted from varobj_value_is_changeable_p. Add declaration.
9721 1.1 christos (ada_value_is_changeable_p): New function, extracted from
9722 1.1 christos varobj_value_is_changeable_p. Add declaration.
9723 1.1 christos (struct language_specific): New field "value_is_changeable_p".
9724 1.1 christos (languages): Add entries for new field.
9725 1.1 christos (varobj_create): Set language before calling install_new_value.
9726 1.1 christos (varobj_value_is_changeable_p): Reimplement to call the varobj's
9727 1.1 christos "value_is_changeable_p" language callback.
9728 1.1 christos
9729 1.1 christos 2012-03-28 Joel Brobecker <brobecker (a] adacore.com>
9730 1.1 christos
9731 1.1 christos * ada-varobj.h, ada-varobj.c: New files.
9732 1.1 christos * Makefile.in (SFILES): Add ada-varobj.c.
9733 1.1 christos (HFILES_NO_SRCDIR): Add ada-varobj.h.
9734 1.1 christos (COMMON_OBS): Add ada-varobj.o.
9735 1.1 christos
9736 1.1 christos 2012-03-28 Joel Brobecker <brobecker (a] adacore.com>
9737 1.1 christos
9738 1.1 christos * varobj.c (ada_value_has_mutated): Add declaration. New function.
9739 1.1 christos (struct language_specific): New field "value_has_mutated".
9740 1.1 christos (languages): Set field "value_has_mutated" in each entry of array.
9741 1.1 christos (varobj_value_has_mutated): New function.
9742 1.1 christos (varobj_udpdate): Add handling of type mutation.
9743 1.1 christos (value_of_root): Add handling of type mutation.
9744 1.1 christos (ada_value_has_mutated): New function.
9745 1.1 christos
9746 1.1 christos 2012-03-28 Pedro Alves <palves (a] redhat.com>
9747 1.1 christos
9748 1.1 christos * ia64-linux-nat.c (supply_fpregset, ia64_linux_fetch_register):
9749 1.1 christos Always supply $fr0 as 0.0 and $fr1 as 1.0.
9750 1.1 christos
9751 1.1 christos 2012-03-28 Tom Tromey <tromey (a] redhat.com>
9752 1.1 christos
9753 1.1 christos * python/py-inferior.c (infpy_read_memory): Remove cleanups and
9754 1.1 christos explicitly free 'buffer' on exit paths. Decref 'membuf_object'
9755 1.1 christos before returning.
9756 1.1 christos
9757 1.1 christos 2012-03-28 Tom Tromey <tromey (a] redhat.com>
9758 1.1 christos
9759 1.1 christos * .dir-locals.el: New file.
9760 1.1 christos
9761 1.1 christos 2012-03-28 Pedro Alves <palves (a] redhat.com>
9762 1.1 christos
9763 1.1 christos * ia64-linux-nat.c (u_offsets): Map IA64_EC_REGNUM to PT_AR_EC.
9764 1.1 christos
9765 1.1 christos 2012-03-28 Joel Brobecker <brobecker (a] adacore.com>
9766 1.1 christos
9767 1.1 christos * ia64-linux-nat.c (ia64_linux_fetch_register): Add special
9768 1.1 christos handling for r0.
9769 1.1 christos
9770 1.1 christos 2012-03-27 Pedro Alves <palves (a] redhat.com>
9771 1.1 christos
9772 1.1 christos Eliminate struct ui_stream.
9773 1.1 christos
9774 1.1 christos * ui-out.h (struct ui_stream): Delete.
9775 1.1 christos (ui_out_field_stream): Adjust prototype.
9776 1.1 christos (ui_out_stream_new, ui_out_stream_delete)
9777 1.1 christos (make_cleanup_ui_out_stream_delete): Delete declarations.
9778 1.1 christos * ui-out.c (ui_out_field_stream): Change prototype to take a
9779 1.1 christos ui_file instead of a ui_stream. Adjust.
9780 1.1 christos (ui_out_stream_new, ui_out_stream_delete, do_stream_delete)
9781 1.1 christos (make_cleanup_ui_out_stream_delete): Delete.
9782 1.1 christos * breakpoint.c (print_breakpoint_location)
9783 1.1 christos (print_one_detail_ranged_breakpoint, print_it_watchpoint): Use
9784 1.1 christos ui_file/mem_fileopen instead of ui_stream/ui_out_stream_new.
9785 1.1 christos * disasm.c (dump_insns): Ditto.
9786 1.1 christos (do_mixed_source_and_assembly, do_assembly_only): Adjust
9787 1.1 christos prototype.
9788 1.1 christos (gdb_disassembly): Use ui_file/mem_fileopen instead of
9789 1.1 christos ui_stream/ui_out_stream_new.
9790 1.1 christos * infcmd.c (print_return_value): Ditto.
9791 1.1 christos * osdata.c (info_osdata_command): Don't allocate a local
9792 1.1 christos ui_stream.
9793 1.1 christos * stack.c (print_frame_arg, print_frame_args, print_frame): Use
9794 1.1 christos ui_file/mem_fileopen instead of ui_stream/ui_out_stream_new.
9795 1.1 christos * tracepoint.c (print_one_static_tracepoint_marker): Don't
9796 1.1 christos allocate a local ui_stream.
9797 1.1 christos * mi/mi-cmd-stack.c (list_arg_or_local): Use ui_file/mem_fileopen
9798 1.1 christos instead of ui_stream/ui_out_stream_new.
9799 1.1 christos (list_args_or_locals): Don't allocate a local ui_stream.
9800 1.1 christos * mi/mi-main.c (get_register, mi_cmd_data_evaluate_expression)
9801 1.1 christos (mi_cmd_data_read_memory): Use ui_file/mem_fileopen instead of
9802 1.1 christos ui_stream/ui_out_stream_new.
9803 1.1 christos * cli/cli-setshow.c (do_setshow_command): Ditto.
9804 1.1 christos
9805 1.1 christos 2012-03-27 Oza Pawandeep <oza.pawandeep (a] gmail.com>
9806 1.1 christos
9807 1.1 christos * arm-linux-tdep.c (arm_linux_init_abi): Call
9808 1.1 christos set_gdbarch_process_record. Initialize `arm_swi_record' field.
9809 1.1 christos * arm-tdep.c (arm_process_record): New function.
9810 1.1 christos (deallocate_reg_mem): New function.
9811 1.1 christos (decode_insn): New function.
9812 1.1 christos (thumb_record_branch): New function.
9813 1.1 christos (thumb_record_ldm_stm_swi(): New function.
9814 1.1 christos (thumb_record_misc): New function.
9815 1.1 christos (thumb_record_ld_st_stack): New function.
9816 1.1 christos (thumb_record_ld_st_imm_offset): New function.
9817 1.1 christos (thumb_record_ld_st_reg_offset(): New function.
9818 1.1 christos (thumb_record_add_sub_cmp_mov): New function.
9819 1.1 christos (thumb_record_shift_add_sub): New function.
9820 1.1 christos (arm_record_coproc_data_proc): New function.
9821 1.1 christos (arm_record_coproc): New function.
9822 1.1 christos (arm_record_b_bl): New function.
9823 1.1 christos (arm_record_ld_st_multiple): New function.
9824 1.1 christos (arm_record_ld_st_reg_offset): New function.
9825 1.1 christos (arm_record_ld_st_imm_offset): New function.
9826 1.1 christos (arm_record_data_proc_imm): New function.
9827 1.1 christos (arm_record_data_proc_misc_ld_str): New function.
9828 1.1 christos (arm_record_extension_space): New function.
9829 1.1 christos (arm_record_strx): New function.
9830 1.1 christos (sbo_sbz): New function.
9831 1.1 christos (struct insn_decode_record): New structure for arm insn record.
9832 1.1 christos (REG_ALLOC): New macro for reg allocations.
9833 1.1 christos (MEM_ALLOC): New macro for memory allocations.
9834 1.1 christos * arm-tdep.h (struct gdbarch_tdep): New field 'arm_swi_record'.
9835 1.1 christos
9836 1.1 christos 2012-03-27 Andreas Schwab <schwab (a] linux-m68k.org>
9837 1.1 christos
9838 1.1 christos * m68klinux-nat.c (fetch_register): Fix strict-aliasing violation.
9839 1.1 christos (store_register): Likewise.
9840 1.1 christos
9841 1.1 christos 2012-03-26 Oza Pawandeep <oza.pawandeep (a] gmail.com>
9842 1.1 christos
9843 1.1 christos * MAINTAINERS (Write After Approval): Add myself to the list.
9844 1.1 christos
9845 1.1 christos 2012-03-25 Jan Kratochvil <jan.kratochvil (a] redhat.com>
9846 1.1 christos
9847 1.1 christos * NEWS (set breakpoint condition-evaluation): Change "gdb" to "host".
9848 1.1 christos Describe also the option "auto".
9849 1.1 christos
9850 1.1 christos 2012-03-22 Richard Henderson <rth (a] redhat.com>
9851 1.1 christos
9852 1.1 christos * sparc-linux-nat.c (_initialize_sparc_linux_nat): Fix prototype.
9853 1.1 christos * sparc-nat.c (sparc_xfer_wcookie): Make static.
9854 1.1 christos
9855 1.1 christos 2012-03-22 Richard Henderson <rth (a] redhat.com>
9856 1.1 christos
9857 1.1 christos * jit.c (jit_read_code_entry): Compute alignment and offset of
9858 1.1 christos int64_t member before computing entry_size.
9859 1.1 christos
9860 1.1 christos 2012-03-22 Siva Chandra Reddy <sivachandra (a] google.com>
9861 1.1 christos
9862 1.1 christos Python scripting: Add new method Value.referenced_value to
9863 1.1 christos gdb.Value which can dereference pointer as well as reference
9864 1.1 christos values.
9865 1.1 christos * NEWS: Add entry under 'Python scripting' about the new method
9866 1.1 christos Value.referenced_value on gdb.Value objects.
9867 1.1 christos * python/py-value.c (valpy_referenced_value): New function
9868 1.1 christos defining a new method on gdb.Value objects which can dereference
9869 1.1 christos pointer and reference values.
9870 1.1 christos
9871 1.1 christos 2012-03-22 Siva Chandra Reddy <sivachandra (a] google.com>
9872 1.1 christos
9873 1.1 christos * MAINTAINERS (Write After Approval): Add myself to the list.
9874 1.1 christos
9875 1.1 christos 2012-03-21 Kevin Buettner <kevinb (a] redhat.com>
9876 1.1 christos
9877 1.1 christos * symtab.c (skip_prologue_sal): Change test to check for "main()"
9878 1.1 christos in addition to "main".
9879 1.1 christos
9880 1.1 christos 2012-03-21 Joel Brobecker <brobecker (a] adacore.com>
9881 1.1 christos
9882 1.1 christos * expression.h (op_name): Add declaration.
9883 1.1 christos * expprint.c (op_name): Remove declaration. Make non-static.
9884 1.1 christos * ax-gdb.c (gen_expr): Use op_name instead of op_string.
9885 1.1 christos
9886 1.1 christos 2012-03-21 Thomas Schwinge <thomas (a] codesourcery.com>
9887 1.1 christos
9888 1.1 christos * amd64-linux-nat.c (amd64_linux_siginfo_fixup): Use siginfo_t instead
9889 1.1 christos of struct siginfo.
9890 1.1 christos * arm-linux-nat.c (arm_linux_stopped_data_address): Likewise.
9891 1.1 christos * ia64-linux-nat.c (ia64_linux_stopped_data_address): Likewise.
9892 1.1 christos * linux-nat.c (linux_nat_siginfo_fixup, siginfo_fixup)
9893 1.1 christos (linux_xfer_siginfo, linux_nat_set_siginfo_fixup)
9894 1.1 christos (linux_nat_get_siginfo): Likewise.
9895 1.1 christos * linux-nat.h (struct lwp_info, linux_nat_set_siginfo_fixup)
9896 1.1 christos (linux_nat_get_siginfo): Likewise.
9897 1.1 christos * linux-tdep.c (linux_get_siginfo_type): Likewise.
9898 1.1 christos * ppc-linux-nat.c (ppc_linux_stopped_data_address): Likewise.
9899 1.1 christos * procfs.c (gdb_siginfo_t): Likewise.
9900 1.1 christos
9901 1.1 christos 2012-03-21 Mike Frysinger <vapier (a] gentoo.org>
9902 1.1 christos
9903 1.1 christos * .gitignore: Ignore more files.
9904 1.1 christos
9905 1.1 christos 2012-03-20 Pedro Alves <palves (a] redhat.com>
9906 1.1 christos
9907 1.1 christos * remote.c (remote_start_remote): Clear `rs->starting_up' on early
9908 1.1 christos returns.
9909 1.1 christos
9910 1.1 christos 2012-03-20 Yao Qi <yao (a] codesourcery.com>
9911 1.1 christos
9912 1.1 christos * amd64-tdep.c (amd64_displaced_step_copy_insn): Complete missing "}" in
9913 1.1 christos comment.
9914 1.1 christos
9915 1.1 christos 2012-03-19 Jan Kratochvil <jan.kratochvil (a] redhat.com>
9916 1.1 christos
9917 1.1 christos Code cleanupp: Use cu_offset and sect_offset compile time type checking.
9918 1.1 christos * dwarf2expr.c (add_piece, dwarf_get_base_type, execute_stack_op)
9919 1.1 christos (ctx_no_dwarf_call, ctx_no_get_base_type): Use cu_offset and
9920 1.1 christos sect_offset.
9921 1.1 christos * dwarf2expr.h (cu_offset, sect_offset): New types.
9922 1.1 christos (struct dwarf_expr_context_funcs) <dwarf_call>
9923 1.1 christos (struct dwarf_expr_context_funcs) <get_base_type>: Use cu_offset and
9924 1.1 christos sect_offset.
9925 1.1 christos (struct dwarf_expr_context) <len>: Improve the comment.
9926 1.1 christos (struct dwarf_expr_piece, ctx_no_dwarf_call, ctx_no_get_base_type): Use
9927 1.1 christos cu_offset and sect_offset.
9928 1.1 christos * dwarf2loc.c (per_cu_dwarf_call, dwarf_expr_dwarf_call)
9929 1.1 christos (dwarf_expr_get_base_type, needs_frame_dwarf_call)
9930 1.1 christos (dwarf2_compile_expr_to_ax, disassemble_dwarf_expression): Likewise.
9931 1.1 christos * dwarf2loc.h: Include dwarf2expr.h.
9932 1.1 christos (dwarf2_fetch_die_location_block, dwarf2_get_die_type): Use cu_offset
9933 1.1 christos and sect_offset.
9934 1.1 christos * dwarf2read.c (struct dwarf2_per_objfile) <debug_types_type_hash>:
9935 1.1 christos Improve the comment.
9936 1.1 christos (struct comp_unit_head, struct dwarf2_cu, struct dwarf2_per_cu_data)
9937 1.1 christos (struct signatured_type, struct line_header, struct partial_die_info)
9938 1.1 christos (struct die_info, find_partial_die, dwarf2_get_ref_die_offset)
9939 1.1 christos (lookup_signatured_type_at_offset, dwarf2_find_containing_comp_unit)
9940 1.1 christos (get_die_type_at_offset, create_cus_from_index)
9941 1.1 christos (create_signatured_type_table_from_index, dw2_get_file_names)
9942 1.1 christos (offset_in_cu_p, read_comp_unit_head, error_check_comp_unit_head)
9943 1.1 christos (read_and_check_comp_unit_head, read_and_check_type_unit_head)
9944 1.1 christos (create_debug_types_hash_table, process_psymtab_comp_unit)
9945 1.1 christos (load_partial_comp_unit, create_all_comp_units)
9946 1.1 christos (partial_die_parent_scope, partial_die_full_name, skip_one_die)
9947 1.1 christos (load_full_comp_unit, dwarf2_physname, read_import_statement)
9948 1.1 christos (inherit_abstract_dies, read_func_scope, read_call_site_scope)
9949 1.1 christos (dwarf2_add_member_fn, process_enumeration_scope, read_module_type)
9950 1.1 christos (read_typedef, die_hash, die_eq, read_full_die, dwarf2_read_abbrevs)
9951 1.1 christos (load_partial_dies, read_partial_die, find_partial_die_in_comp_unit)
9952 1.1 christos (find_partial_die, read_attribute_value, lookup_die_type)
9953 1.1 christos (dump_die_shallow, store_in_ref_table): Use cu_offset and sect_offset.
9954 1.1 christos (is_ref_attr): New function comment.
9955 1.1 christos (dwarf2_get_ref_die_offset): New function comment, new variable retval.
9956 1.1 christos Use cu_offset and sect_offset.
9957 1.1 christos (follow_die_offset, follow_die_ref, dwarf2_fetch_die_location_block)
9958 1.1 christos (dwarf2_get_die_type, follow_die_sig, lookup_signatured_type_at_offset)
9959 1.1 christos (load_full_type_unit, read_signatured_type, per_cu_header_read_in)
9960 1.1 christos (dwarf2_find_containing_comp_unit, struct dwarf2_offset_and_type)
9961 1.1 christos (offset_and_type_hash, offset_and_type_eq, set_die_type)
9962 1.1 christos (get_die_type_at_offset, partial_die_hash, partial_die_eq)
9963 1.1 christos (write_one_signatured_type, write_psymtabs_to_index): Use cu_offset and
9964 1.1 christos sect_offset.
9965 1.1 christos
9966 1.1 christos 2012-03-19 Jan Kratochvil <jan.kratochvil (a] redhat.com>
9967 1.1 christos
9968 1.1 christos Code cleanup.
9969 1.1 christos * python/py-auto-load.c (source_section_scripts): New variable back_to.
9970 1.1 christos Turn fclose and xfree calls into make_cleanup_fclose and make_cleanup
9971 1.1 christos with xfree.
9972 1.1 christos (auto_load_objfile_script): Turn fclose into make_cleanup_fclose.
9973 1.1 christos
9974 1.1 christos 2012-03-19 Jan Kratochvil <jan.kratochvil (a] redhat.com>
9975 1.1 christos
9976 1.1 christos * NEWS: Describe new options --init-command=FILE, -ix and
9977 1.1 christos --init-eval-command=COMMAND, -iex.
9978 1.1 christos * main.c (struct cmdarg): New enum items CMDARG_INIT_FILE and
9979 1.1 christos CMDARG_INIT_COMMAND.
9980 1.1 christos (captured_main): New enum items OPT_IX and OPT_IEX. Add
9981 1.1 christos "init-command", "init-eval-command", "ix" and "iex" to the variable
9982 1.1 christos long_options. Handle OPT_IX and OPT_IEX. Process them from CMDARG_VEC.
9983 1.1 christos New comment for CMDARG_FILE and CMDARG_COMMAND processing.
9984 1.1 christos (print_gdb_help): Describe --init-command=FILE, -ix and
9985 1.1 christos --init-eval-command=COMMAND, -iex.
9986 1.1 christos
9987 1.1 christos 2012-03-19 Jan Kratochvil <jan.kratochvil (a] redhat.com>
9988 1.1 christos
9989 1.1 christos Code cleanup.
9990 1.1 christos * main.c (struct cmdarg): Move it here from main. Add more comments.
9991 1.1 christos (cmdarg_s, VEC (cmdarg_s)): New.
9992 1.1 christos (main): Move struct cmdarg from here. New variables cmdarg_vec and
9993 1.1 christos cmdarg_p. Remove variables cmdsize and ncmd and their initialization.
9994 1.1 christos Install cleanup for cmdarg_vec. Update filling for options 'x' and
9995 1.1 christos 'X'. Replace cmdarg processing by cmdarg_vec processing. Remove xfree
9996 1.1 christos of CMDARG.
9997 1.1 christos
9998 1.1 christos 2012-03-19 Tom Tromey <tromey (a] redhat.com>
9999 1.1 christos
10000 1.1 christos * gnu-v3-abi.c (gnuv3_print_vtable): Initialize 'result_vec'.
10001 1.1 christos
10002 1.1 christos 2012-03-16 Jan Kratochvil <jan.kratochvil (a] redhat.com>
10003 1.1 christos
10004 1.1 christos PR symtab/13777
10005 1.1 christos * dwarf2read.c (process_full_comp_unit): Set LOCATIONS_VALID only for
10006 1.1 christos GCC >=4.5.
10007 1.1 christos
10008 1.1 christos 2012-03-16 Chris January <chris.january (a] allinea.com>
10009 1.1 christos
10010 1.1 christos * tui-tui.win.c (tui_resize_all): Use erase and clearok instead
10011 1.1 christos of clear.
10012 1.1 christos
10013 1.1 christos 2012-03-16 Chris January <chris.january (a] allinea.com>
10014 1.1 christos
10015 1.1 christos * source.c (add_path): Use memmove instead of strcpy because the
10016 1.1 christos strings overlap.
10017 1.1 christos
10018 1.1 christos 2012-03-16 Joel Brobecker <brobecker (a] adacore.com>
10019 1.1 christos
10020 1.1 christos * value.h (set_value_parent): Add declaration.
10021 1.1 christos * value.c (set_value_parent): New function.
10022 1.1 christos (value_address): If VALUE->PARENT is not NULL, then use it as
10023 1.1 christos the base address instead of VALUE->LOCATION.address.
10024 1.1 christos * ada-lang.c (ada_value_primitive_packed_val): Keep V's address
10025 1.1 christos the same as OBJ's address. Adjust V's offset accordingly.
10026 1.1 christos Set V's parent.
10027 1.1 christos
10028 1.1 christos 2012-03-16 Gary Benson <gbenson (a] redhat.com>
10029 1.1 christos
10030 1.1 christos PR breakpoints/10738
10031 1.1 christos * dwarf2read.c (use_deprecated_index_sections): New global.
10032 1.1 christos (struct partial_die_info): New member may_be_inlined.
10033 1.1 christos (read_partial_die): Set may_be_inlined where appropriate.
10034 1.1 christos (add_partial_subprogram): Add partial symbols for partial
10035 1.1 christos DIEs that may be inlined.
10036 1.1 christos (new_symbol_full): Add inlined subroutines to the current
10037 1.1 christos scope.
10038 1.1 christos (write_psymtabs_to_index): Bump version number.
10039 1.1 christos (dwarf2_read_index): Read only version 6 indices unless
10040 1.1 christos use_deprecated_index_sections is set.
10041 1.1 christos * linespec.c (symbol_and_data_callback): New structure.
10042 1.1 christos (iterate_inline_only): New function.
10043 1.1 christos (iterate_over_all_matching_symtabs): New argument
10044 1.1 christos "include_inline". If nonzero, also call the callback for
10045 1.1 christos symbols representing inlined subroutines.
10046 1.1 christos (lookup_prefix_sym): Pass extra argument to the above.
10047 1.1 christos (find_function_symbols): Likewise.
10048 1.1 christos (add_matching_symbols_to_info): Likewise.
10049 1.1 christos * NEWS: Mention that GDB can now set breakpoints on inlined
10050 1.1 christos functions.
10051 1.1 christos
10052 1.1 christos 2012-03-16 Pierre Muller <muller (a] ics.u-strasbg.fr>
10053 1.1 christos
10054 1.1 christos * p-typeprint.c (pascal_type_print_method_args):
10055 1.1 christos Fix display of parameter of methods.
10056 1.1 christos
10057 1.1 christos 2012-03-16 Pierre Muller <muller (a] ics.u-strasbg.fr>
10058 1.1 christos
10059 1.1 christos * amd64-windows-nat.c (_initialize_amd64_windows_nat):
10060 1.1 christos Add missing prototype.
10061 1.1 christos
10062 1.1 christos 2012-03-16 Yao Qi <yao (a] codesourcery.com>
10063 1.1 christos Jan Kratochvil <jan.kratochvil (a] redhat.com>
10064 1.1 christos
10065 1.1 christos Fix false compilation warning.
10066 1.1 christos * gnu-v3-abi.c (print_one_vtable): Initialize ADDR.
10067 1.1 christos
10068 1.1 christos 2012-03-15 Jonathan Larmour <jifl (a] eCosCentric.com>
10069 1.1 christos Pedro Alves <pedro (a] codesourcery.com>
10070 1.1 christos
10071 1.1 christos * arm-tdep.c: Include "remote.h" and "features/arm-with-m-fpa-layout.c".
10072 1.1 christos (arm_register_g_packet_guesses): New function.
10073 1.1 christos (arm_gdbarch_init): Don't force a target description with
10074 1.1 christos registers when the executable is detected as M-profile. Instead
10075 1.1 christos set gdbarch->tdep->is_m. Register `g' packet guesses.
10076 1.1 christos (_initialize_arm_tdep): Initialize the new target description.
10077 1.1 christos * features/arm-with-m-fpa-layout.xml: New description.
10078 1.1 christos * features/arm-with-m-fpa-layout.c: New, generated.
10079 1.1 christos
10080 1.1 christos 2012-03-15 Joel Brobecker <brobecker (a] adacore.com>
10081 1.1 christos
10082 1.1 christos * breakpoint.c (breakpoint_xfer_memory): Add assertion.
10083 1.1 christos Update function description.
10084 1.1 christos (insert_bp_location): Do not wipe bl->target_info out.
10085 1.1 christos * mem-break.c: #include "gdb_string.h".
10086 1.1 christos (default_memory_insert_breakpoint): Do not call target_read_memory
10087 1.1 christos with a pointer to the breakpoint's shadow_contents buffer. Use
10088 1.1 christos a local buffer instead.
10089 1.1 christos * m32r-tdep.c (m32r_memory_insert_breakpoint): Ditto.
10090 1.1 christos
10091 1.1 christos 2012-03-15 Tom Tromey <tromey (a] redhat.com>
10092 1.1 christos
10093 1.1 christos * NEWS: Mention "info vtbl", not "info vtable".
10094 1.1 christos * cp-support.c (info_vtbl_command): Fix comment.
10095 1.1 christos (_initialize_cp_support): Fix text.
10096 1.1 christos
10097 1.1 christos 2012-03-15 Tom Tromey <tromey (a] redhat.com>
10098 1.1 christos
10099 1.1 christos * cp-valprint.c (cp_print_value_fields): Use
10100 1.1 christos print_function_pointer_address for vtable slot.
10101 1.1 christos
10102 1.1 christos 2012-03-15 Tom Tromey <tromey (a] redhat.com>
10103 1.1 christos
10104 1.1 christos * gnu-v3-abi.c (struct value_and_voffset): New.
10105 1.1 christos (hash_value_and_voffset, eq_value_and_voffset)
10106 1.1 christos (compare_value_and_voffset, compute_vtable_size)
10107 1.1 christos (print_one_vtable, gnuv3_print_vtable): New functions.
10108 1.1 christos (init_gnuv3_ops): Initialize 'print_vtable' field.
10109 1.1 christos * cp-support.c (info_vtbl_command): New function.
10110 1.1 christos (_initialize_cp_support): Add "info vtbl".
10111 1.1 christos * cp-abi.h (cplus_print_vtable): Declare.
10112 1.1 christos (struct cp_abi_ops) <print_vtable>: New field.
10113 1.1 christos * cp-abi.c (cplus_print_vtable): New function.
10114 1.1 christos * NEWS: Update.
10115 1.1 christos
10116 1.1 christos 2012-03-15 Tom Tromey <tromey (a] redhat.com>
10117 1.1 christos
10118 1.1 christos * d-lang.c (d_language_defn) <la_iterate_over_symbols>: Set to
10119 1.1 christos iterate_over_symbols.
10120 1.1 christos
10121 1.1 christos 2012-03-14 Doug Evans <dje (a] google.com>
10122 1.1 christos
10123 1.1 christos * dwarf2read.c (dwarf_stack_op_name): Add DW_OP_GNU_encoded_addr,
10124 1.1 christos DW_OP_GNU_parameter_ref.
10125 1.1 christos
10126 1.1 christos 2012-03-14 Jan Kratochvil <jan.kratochvil (a] redhat.com>
10127 1.1 christos
10128 1.1 christos Fix double prompt of 'interpreter-exec mi'.
10129 1.1 christos * mi/mi-interp.c (mi_execute_command_input_handler): New prototype.
10130 1.1 christos (mi_interpreter_resume): use it.
10131 1.1 christos (mi_execute_command_input_handler): New function.
10132 1.1 christos * mi/mi-main.c (mi_execute_command): Move prompt printing to
10133 1.1 christos mi_execute_command_input_handler.
10134 1.1 christos
10135 1.1 christos 2012-03-13 Josh Matthews <josh (a] joshmatthews.net> (tiny change)
10136 1.1 christos
10137 1.1 christos * darwin-nat-info.c (_initialize_darwin_info_commands): Add
10138 1.1 christos prototype.
10139 1.1 christos (darwin_debug_port_info): Make static.
10140 1.1 christos * darwin-nat.c (_initialize_darwin_inferior): Add prototype.
10141 1.1 christos * machoread.c (_initialize_machoread): Add prototype.
10142 1.1 christos * i386-darwin-nat.c (i386_darwin_dr_set, i386_darwin_dr_get)
10143 1.1 christos (i386_darwin_set_control, i386_darwin_get_control)
10144 1.1 christos i386_darwin_dr_set_addr, i386_darwin_get_addr)
10145 1.1 christos i386_darwin_get_status, i386_darwin_get_control):
10146 1.1 christos Comment out with HW_WATCHPOINT_NOT_YET_ENABLED macro.
10147 1.1 christos
10148 1.1 christos 2012-03-13 Joel Brobecker <brobecker (a] adacore.com>
10149 1.1 christos
10150 1.1 christos * ax-gdb.c (gen_usual_unary): Remove special handling of
10151 1.1 christos enum and bool types.
10152 1.1 christos
10153 1.1 christos 2012-03-13 Joel Brobecker <brobecker (a] adacore.com>
10154 1.1 christos
10155 1.1 christos * ax-gdb.c (gen_fetch): Add handling for TYPE_CODE_RANGE types.
10156 1.1 christos
10157 1.1 christos 2012-03-13 Joel Brobecker <brobecker (a] adacore.com>
10158 1.1 christos
10159 1.1 christos * aix-thread.c (supply_fprs): Make more consistent with fill_fprs.
10160 1.1 christos
10161 1.1 christos 2012-03-13 Chris January <chris.january (a] allinea.com>
10162 1.1 christos
10163 1.1 christos * aix-thread.c (fill_sprs): Store the floating point registers
10164 1.1 christos at the correct offsets into vals.
10165 1.1 christos
10166 1.1 christos 2012-03-13 Doug Evans <dje (a] google.com>
10167 1.1 christos
10168 1.1 christos * NEWS: Mention symbol-reloading has been deleted.
10169 1.1 christos * symfile.c (symbol_reloading): Delete.
10170 1.1 christos (show_symbol_reloading): Delete.
10171 1.1 christos (_initialize_symfile): Delete set/show symbol-reloading.
10172 1.1 christos
10173 1.1 christos * dwarf2read.c (load_partial_comp_unit): Defer adding cu to
10174 1.1 christos read_in_chain until we have successfully read it in.
10175 1.1 christos (load_full_comp_unit): Ditto.
10176 1.1 christos (read_signatured_type): Add comment.
10177 1.1 christos
10178 1.1 christos 2012-03-13 Chris January <chris.january (a] allinea.com>
10179 1.1 christos
10180 1.1 christos * stabsread.c (fix_common_block): Change type of valu argument
10181 1.1 christos to CORE_ADDR.
10182 1.1 christos
10183 1.1 christos 2012-03-13 Chris January <chris.january (a] allinea.com>
10184 1.1 christos
10185 1.1 christos * rs6000-tdep.c (skip_prologue): Support the oril r29, r1, 0x0
10186 1.1 christos instruction.
10187 1.1 christos
10188 1.1 christos 2012-03-13 Jan Kratochvil <jan.kratochvil (a] redhat.com>
10189 1.1 christos
10190 1.1 christos * common/linux-procfs.c (linux_proc_get_int): New, from
10191 1.1 christos linux_proc_get_tgid, change its LWPID type to pid_t, add parameter
10192 1.1 christos field.
10193 1.1 christos (linux_proc_get_tgid): Only call linux_proc_get_int.
10194 1.1 christos (linux_proc_get_tracerpid): New.
10195 1.1 christos (linux_proc_pid_has_state): New, from linux_proc_pid_is_zombie.
10196 1.1 christos (linux_proc_pid_is_stopped, linux_proc_pid_is_zombie): Only call
10197 1.1 christos linux_proc_pid_has_state.
10198 1.1 christos * common/linux-procfs.h (linux_proc_get_tracerpid): New declaration.
10199 1.1 christos * common/linux-ptrace.c: Include linux-procfs.h and buffer.h.
10200 1.1 christos (linux_ptrace_attach_warnings): New.
10201 1.1 christos * common/linux-ptrace.h (struct buffer, linux_ptrace_attach_warnings):
10202 1.1 christos New declaration.
10203 1.1 christos * linux-nat.c: Include exceptions.h, linux-ptrace.h and buffer.h.
10204 1.1 christos (linux_nat_attach): New variables ex, buffer, message and message_s.
10205 1.1 christos Wrap to_attach by TRY_CATCH and call linux_ptrace_attach_warnings.
10206 1.1 christos
10207 1.1 christos 2012-03-13 Jan Kratochvil <jan.kratochvil (a] redhat.com>
10208 1.1 christos
10209 1.1 christos * Makefile.in (linux-ptrace.o): New.
10210 1.1 christos * common/linux-procfs.c (linux_proc_pid_is_zombie): New,
10211 1.1 christos from linux-nat.c.
10212 1.1 christos * common/linux-procfs.h (linux_proc_pid_is_zombie): New declaration.
10213 1.1 christos * common/linux-ptrace.c: New file.
10214 1.1 christos * config/alpha/alpha-linux.mh (NATDEPFILES): Add linux-ptrace.o.
10215 1.1 christos * config/arm/linux.mh: Likewise.
10216 1.1 christos * config/i386/linux.mh: Likewise.
10217 1.1 christos * config/i386/linux64.mh: Likewise.
10218 1.1 christos * config/ia64/linux.mh: Likewise.
10219 1.1 christos * config/m32r/linux.mh: Likewise.
10220 1.1 christos * config/m68k/linux.mh: Likewise.
10221 1.1 christos * config/mips/linux.mh: Likewise.
10222 1.1 christos * config/pa/linux.mh: Likewise.
10223 1.1 christos * config/powerpc/linux.mh: Likewise.
10224 1.1 christos * config/powerpc/ppc64-linux.mh: Likewise.
10225 1.1 christos * config/powerpc/spu-linux.mh: Likewise.
10226 1.1 christos * config/s390/s390.mh: Likewise.
10227 1.1 christos * config/sparc/linux.mh: Likewise.
10228 1.1 christos * config/sparc/linux64.mh: Likewise.
10229 1.1 christos * config/xtensa/linux.mh: Likewise.
10230 1.1 christos * linux-nat.c (linux_lwp_is_zombie): Remove, move it to
10231 1.1 christos common/linux-procfs.c.
10232 1.1 christos (wait_lwp): Rename linux_lwp_is_zombie to linux_proc_pid_is_zombie.
10233 1.1 christos
10234 1.1 christos 2012-03-13 Hui Zhu <teawater (a] gmail.com>
10235 1.1 christos Pedro Alves <palves (a] redhat.com>
10236 1.1 christos
10237 1.1 christos * breakpoint.c (init_breakpoint_sal): New flags parameter. Handle
10238 1.1 christos CREATE_BREAKPOINT_FLAGS_INSERTED.
10239 1.1 christos (create_breakpoint_sal, create_breakpoints_sal)
10240 1.1 christos (base_breakpoint_create_breakpoints_sal)
10241 1.1 christos (tracepoint_create_breakpoints_sal)
10242 1.1 christos (strace_marker_create_breakpoints_sal): New flags parameter. Pass
10243 1.1 christos down.
10244 1.1 christos (break_command_1, handle_gnu_v3_exceptions, trace_command)
10245 1.1 christos (ftrace_command, strace_command): Adjust.
10246 1.1 christos (create_tracepoint_from_upload): Pass
10247 1.1 christos CREATE_BREAKPOINT_FLAGS_INSERTED.
10248 1.1 christos * breakpoint.h (enum breakpoint_create_flags): New.
10249 1.1 christos (create_breakpoint): New flags parameter.
10250 1.1 christos * mi/mi-cmd-break.c (mi_cmd_break_insert): Adjust.
10251 1.1 christos * python/py-breakpoint.c (bppy_init): Adjust.
10252 1.1 christos * python/py-finishbreakpoint.c (bpfinishpy_init): Adjust.
10253 1.1 christos * spu-tdep.c (spu_catch_start): Adjust.
10254 1.1 christos
10255 1.1 christos 2012-03-13 Pedro Alves <palves (a] redhat.com>
10256 1.1 christos Hui Zhu <teawater (a] gmail.com>
10257 1.1 christos Yao Qi <yao (a] codesourcery.com>
10258 1.1 christos
10259 1.1 christos * remote.c (struct remote_state): New field `starting_up'.
10260 1.1 christos (remote_start_remote): Set and clear it.
10261 1.1 christos (remote_can_download_tracepoint): If starting up, return false.
10262 1.1 christos
10263 1.1 christos 2012-03-13 Yao Qi <yao (a] codesourcery.com>
10264 1.1 christos
10265 1.1 christos * inferior.h (struct inferior): Remove fields any_syscall_count,
10266 1.1 christos syscalls_counts and total_syscalls_count. Move them to new
10267 1.1 christos struct catch_syscall_inferior_data in breakpoint.c.
10268 1.1 christos * breakpoint.c: Call DEF_VEC_I(int).
10269 1.1 christos (struct catch_syscall_inferior_data): New.
10270 1.1 christos (get_catch_syscall_inferior_data): New.
10271 1.1 christos (catch_syscall_inferior_data_cleanup): New.
10272 1.1 christos (insert_catch_syscall): Update to access data in
10273 1.1 christos struct catch_syscall_inferior_data.
10274 1.1 christos (insert_catch_syscall): Likewise.
10275 1.1 christos (remove_catch_syscall): Likewise.
10276 1.1 christos (remove_catch_syscall): Likewise.
10277 1.1 christos (is_syscall_catchpoint_enabled): Likewise.
10278 1.1 christos (add_catch_command): Likewise.
10279 1.1 christos (_initialize_breakpoint): Register cleanup.
10280 1.1 christos * breakpoint.h: Removed DEF_VEC_I(int).
10281 1.1 christos * dwarf2loc.c: Call DEF_VEC_I(int).
10282 1.1 christos * mi/mi-main.c: Likewise.
10283 1.1 christos
10284 1.1 christos 2012-03-12 Mark Kettenis <kettenis (a] gnu.org>
10285 1.1 christos
10286 1.1 christos * inf-ptrace.c (inf_ptrace_post_attach): Make static.
10287 1.1 christos
10288 1.1 christos 2012-03-12 Chris January <chris.january (a] allinea.com>
10289 1.1 christos
10290 1.1 christos * aix-thread.c (_initialize_aix_thread): Add prototype.
10291 1.1 christos * rs6000-nat.c (_initialize_rs6000_nat): Ditto.
10292 1.1 christos * xcoffsolib.c (_initialize_xcoffsolib): Ditto.
10293 1.1 christos
10294 1.1 christos 2012-03-12 Joel Brobecker <brobecker (a] adacore.com>
10295 1.1 christos
10296 1.1 christos * amd64bsd-nat.c: Move #include of "amd64bsd-nat.h" after
10297 1.1 christos include of "amd64-nat.h".
10298 1.1 christos
10299 1.1 christos 2012-03-12 Tom Tromey <tromey (a] redhat.com>
10300 1.1 christos
10301 1.1 christos * buildsym.c (record_pending_block): Now static.
10302 1.1 christos * buildsym.h: (record_pending_block): Remove.
10303 1.1 christos
10304 1.1 christos 2012-03-12 Andreas Tobler <andreast (a] fgznet.ch>
10305 1.1 christos
10306 1.1 christos * amd64bsd-nat.c: Include amd64bsd-nat.h.
10307 1.1 christos
10308 1.1 christos 2012-03-09 Tom Tromey <tromey (a] redhat.com>
10309 1.1 christos
10310 1.1 christos * dwarf2read.c (struct dwarf2_cu) <checked_producer,
10311 1.1 christos producer_is_gxx_lt_4_6>: New fields.
10312 1.1 christos (producer_is_gxx_lt_4_6): Use and update producer cache fields.
10313 1.1 christos
10314 1.1 christos 2012-03-09 Tom Tromey <tromey (a] redhat.com>
10315 1.1 christos
10316 1.1 christos * dwarf2read.c (dwarf2_attr): Avoid tail-recursive call.
10317 1.1 christos
10318 1.1 christos 2012-03-08 Joel Brobecker <brobecker (a] adacore.com>
10319 1.1 christos
10320 1.1 christos * ravenscar-sparc-thread.c (_initialize_ravenscar_sparc): Add
10321 1.1 christos prototype.
10322 1.1 christos
10323 1.1 christos 2012-03-08 Joel Brobecker <brobecker (a] adacore.com>
10324 1.1 christos
10325 1.1 christos * ravenscar-thread.c (_initialize_ravenscar): Add prototype.
10326 1.1 christos
10327 1.1 christos 2012-03-08 Jan Kratochvil <jan.kratochvil (a] redhat.com>
10328 1.1 christos
10329 1.1 christos Fix -Wmissing-prototypes build.
10330 1.1 christos * arm-linux-nat.c (get_thread_id): Make it static.
10331 1.1 christos * xtensa-linux-nat.c (get_thread_id): Likewise.
10332 1.1 christos
10333 1.1 christos 2012-03-08 Joel Brobecker <brobecker (a] adacore.com>
10334 1.1 christos
10335 1.1 christos * server.c (process_point_options): If a conditional expression
10336 1.1 christos is found, only print a message if remote_debug is nonzero.
10337 1.1 christos
10338 1.1 christos 2012-03-08 Luis Machado <lgustavo (a] codesourcery.com>
10339 1.1 christos
10340 1.1 christos * ax-gdb.c (gen_fetch): Fail gracefully and use error instead
10341 1.1 christos of internal error for unknown/unsupported types.
10342 1.1 christos
10343 1.1 christos 2012-03-08 Jan Kratochvil <jan.kratochvil (a] redhat.com>
10344 1.1 christos
10345 1.1 christos Fix CU relative vs. absolute DIE offsets.
10346 1.1 christos * dwarf2loc.h (dwarf2_fetch_die_location_block): Rename parameter
10347 1.1 christos offset to offset_in_cu.
10348 1.1 christos * dwarf2read.c (process_enumeration_scope): Add CU offset to
10349 1.1 christos TYPE_OFFSET.
10350 1.1 christos (dwarf2_fetch_die_location_block): Rename parameter offset to
10351 1.1 christos offset_in_cu. New variable offset, add CU offset to OFFSET_IN_CU.
10352 1.1 christos
10353 1.1 christos 2012-03-08 Jan Kratochvil <jan.kratochvil (a] redhat.com>
10354 1.1 christos
10355 1.1 christos * libunwind-frame.c: Rename to ...
10356 1.1 christos * ia64-libunwind-tdep.c: ... here.
10357 1.1 christos * libunwind-frame.h: Rename to ...
10358 1.1 christos * ia64-libunwind-tdep.h: ... here.
10359 1.1 christos * Makefile.in (HFILES_NO_SRCDIR): Rename libunwind-frame.h to
10360 1.1 christos ia64-libunwind-tdep.h.
10361 1.1 christos (ALLDEPFILES): Rename libunwind-frame.c to ia64-libunwind-tdep.c.
10362 1.1 christos * README (--with-libunwind): Rename to ...
10363 1.1 christos (--with-libunwind-ia64): ... here, note it is ia64 specific now.
10364 1.1 christos * config.in: Regenerate.
10365 1.1 christos * configure: Regenerate.
10366 1.1 christos * configure.ac: New option --with-libunwind-ia64, make the
10367 1.1 christos AS_HELP_STRING ia64 specific. Deprecate option --with-libunwind.
10368 1.1 christos Remove AC_DEFINE for HAVE_LIBUNWIND.
10369 1.1 christos * ia64-libunwind-tdep.c: Make the file top comment ia64 specific.
10370 1.1 christos Rename libunwind-frame.h #include to ia64-libunwind-tdep.h.
10371 1.1 christos Rename libunwind-frame in the general comment.
10372 1.1 christos * ia64-libunwind-tdep.h: Make the file top comment ia64 specific.
10373 1.1 christos Rename symbol LIBUNWIND_FRAME_H to IA64_TDEP_LIBUNWIND_FRAME_H.
10374 1.1 christos Move forward declarations inside #ifndef. Rename libunwind-frame in
10375 1.1 christos the general comment.
10376 1.1 christos * ia64-tdep.c: Rename libunwind-frame.h #include to
10377 1.1 christos ia64-libunwind-tdep.h.
10378 1.1 christos (ia64_gdb2uw_regnum, ia64_uw2gdb_regnum, ia64_is_fpreg)
10379 1.1 christos (ia64_libunwind_descr): Rename libunwind-frame to
10380 1.1 christos ia64-libunwind-tdep in these function comments.
10381 1.1 christos * ia64-tdep.h: Rename libunwind-frame.h #include to
10382 1.1 christos ia64-libunwind-tdep.h.
10383 1.1 christos * ia64-vms-tdep.c (ia64_vms_libunwind_descr): Rename libunwind-frame to
10384 1.1 christos ia64-libunwind-tdep in that data comment.
10385 1.1 christos
10386 1.1 christos 2012-03-08 Jan Kratochvil <jan.kratochvil (a] redhat.com>
10387 1.1 christos
10388 1.1 christos * libunwind-frame.h (struct frame_unwind): New declaration.
10389 1.1 christos
10390 1.1 christos 2012-03-08 Joel Brobecker <brobecker (a] adacore.com>
10391 1.1 christos
10392 1.1 christos * breakpoint.c (_initialize_breakpoint): Fix error in help of
10393 1.1 christos "set breakpoint condition-evaluation" command.
10394 1.1 christos
10395 1.1 christos 2012-03-08 Tristan Gingold <gingold (a] adacore.com>
10396 1.1 christos
10397 1.1 christos * sparc-stub.c: Move to stubs/
10398 1.1 christos * sh-stub.c: Likewise.
10399 1.1 christos * m68k-stub.c: Likewise.
10400 1.1 christos * m32r-stub.c: Likewise.
10401 1.1 christos * i386-stub.c: Likewise.
10402 1.1 christos
10403 1.1 christos 2012-03-08 Andreas Schwab <schwab (a] linux-m68k.org>
10404 1.1 christos
10405 1.1 christos * m68klinux-tdep.c (m68k_linux_init_abi): Register
10406 1.1 christos linux_get_siginfo_type.
10407 1.1 christos
10408 1.1 christos * m68klinux-nat.c: Include "gdb_proc_service.h".
10409 1.1 christos (PTRACE_GET_THREAD_AREA): Define.
10410 1.1 christos (ps_get_thread_area): New function.
10411 1.1 christos
10412 1.1 christos 2012-03-08 Yao Qi <yao (a] codesourcery.com>
10413 1.1 christos
10414 1.1 christos * remote.c (remote_get_noisy_reply): Replace `sprintf' with
10415 1.1 christos `xsnprintf'.
10416 1.1 christos (remote_query_attached): Likewise.
10417 1.1 christos (remote_static_tracepoint_marker_at): Likewise.
10418 1.1 christos (remote_set_permissions): Likewise.
10419 1.1 christos (remote_detach_1, extended_remote_attach_1): Likewise.
10420 1.1 christos (send_g_packet, remote_vkill): Likewise.
10421 1.1 christos (extended_remote_disable_randomization): Likewise.
10422 1.1 christos (remote_add_target_side_condition): Likewise.
10423 1.1 christos (remote_insert_breakpoint): Likewise.
10424 1.1 christos (remote_remove_breakpoint): Likewise.
10425 1.1 christos (remote_insert_watchpoint): Likewise.
10426 1.1 christos (remote_remove_watchpoint): Likewise.
10427 1.1 christos (remote_insert_hw_breakpoint): Likewise.
10428 1.1 christos (remote_insert_hw_breakpoint): Likewise.
10429 1.1 christos (remote_remove_hw_breakpoint): Likewise.
10430 1.1 christos (remote_download_command_source): Likewise.
10431 1.1 christos (remote_download_tracepoint): Likewise.
10432 1.1 christos (remote_download_trace_state_variable): Likewise.
10433 1.1 christos (remote_disable_tracepoint): Likewise.
10434 1.1 christos (remote_trace_set_readonly_regions): Likewise.
10435 1.1 christos (remote_get_tracepoint_status): Likewise.
10436 1.1 christos (remote_trace_find): Likewise.
10437 1.1 christos (remote_get_trace_state_variable_value): Likewise.
10438 1.1 christos (remote_set_disconnected_tracing): Likewise.
10439 1.1 christos (remote_set_circular_trace_buffer): Likewise.
10440 1.1 christos (remote_get_min_fast_tracepoint_insn_len): Likewise.
10441 1.1 christos (remote_use_agent): Likewise.
10442 1.1 christos (remote_add_target_side_condition): Add one parameter BUF_SIZE.
10443 1.1 christos Update callers.
10444 1.1 christos
10445 1.1 christos 2012-03-07 Pedro Alves <palves (a] redhat.com>
10446 1.1 christos
10447 1.1 christos * NEWS: Mention QProgramSignals.
10448 1.1 christos * inferior.h (update_signals_program_target): Declare.
10449 1.1 christos * infrun.c: (update_signals_program_target): New.
10450 1.1 christos (handle_command): Update the target of the new program signals
10451 1.1 christos array changes.
10452 1.1 christos * remote.c (PACKET_QProgramSignals): New enum.
10453 1.1 christos (last_program_signals_packet): New global.
10454 1.1 christos (remote_program_signals): New.
10455 1.1 christos (remote_start_remote): Update the target with the program signals
10456 1.1 christos list.
10457 1.1 christos (remote_protocol_features): Add entry for QPassSignals.
10458 1.1 christos (remote_open_1): Free anc clear last_program_signals_packet.
10459 1.1 christos (init_remote_ops): Install remote_program_signals.
10460 1.1 christos * target.c (update_current_target): Adjust.
10461 1.1 christos (target_program_signals): New.
10462 1.1 christos * target.h (struct target_ops) <to_program_signals>: New field.
10463 1.1 christos (target_program_signals): Declare.
10464 1.1 christos
10465 1.1 christos 2012-03-07 Pedro Alves <palves (a] redhat.com>
10466 1.1 christos
10467 1.1 christos * NEWS: Add subtitle for new z0/z1 conditional breakpoint
10468 1.1 christos extensions.
10469 1.1 christos
10470 1.1 christos 2012-03-07 Andreas Schwab <schwab (a] linux-m68k.org>
10471 1.1 christos
10472 1.1 christos * m68klinux-nat.c (getregs_supplies): Make static.
10473 1.1 christos (getfpregs_supplies): Likewise.
10474 1.1 christos (have_ptrace_getregs): Likewise.
10475 1.1 christos
10476 1.1 christos 2012-03-06 Joel Brobecker <brobecker (a] adacore.com>
10477 1.1 christos
10478 1.1 christos * dwarf2read.c (dwarf2_get_die_type): Pass absolute offset
10479 1.1 christos in call to get_die_type_at_offset.
10480 1.1 christos
10481 1.1 christos 2012-03-06 Stan Shebs <stan (a] codesourcery.com>
10482 1.1 christos
10483 1.1 christos * mi/mi-cmd-break.c: Enforce coding standards, fix comments.
10484 1.1 christos * mi/mi-cmd-disas.c: Ditto.
10485 1.1 christos * mi/mi-cmd-env.c: Ditto.
10486 1.1 christos * mi/mi-cmd-file.c: Ditto.
10487 1.1 christos * mi/mi-cmd-stack.c: Ditto.
10488 1.1 christos * mi/mi-cmd-target.c: Ditto.
10489 1.1 christos * mi/mi-cmd-var.c: Ditto.
10490 1.1 christos * mi/mi-cmds.c: Ditto.
10491 1.1 christos * mi/mi-cmds.h: Ditto.
10492 1.1 christos * mi/mi-console.c: Ditto.
10493 1.1 christos * mi/mi-getopt.c: Ditto.
10494 1.1 christos * mi/mi-getopt.h: Ditto.
10495 1.1 christos * mi/mi-interp.c: Ditto.
10496 1.1 christos * mi/mi-main.c: Ditto.
10497 1.1 christos * mi/mi-out.c: Ditto.
10498 1.1 christos * mi/mi-parse.c: Ditto.
10499 1.1 christos * mi/mi-parse.h: Ditto.
10500 1.1 christos * mi/mi-symbol-cmds.c: Ditto.
10501 1.1 christos
10502 1.1 christos * mi/mi-getopt.h: Move mi_opt struct up.
10503 1.1 christos * mi/mi-main.c (captured_mi_execute_command): Remove redundant
10504 1.1 christos return.
10505 1.1 christos * mi/mi-out.c (_initialize_mi_out): Remove empty initialize.
10506 1.1 christos
10507 1.1 christos 2012-03-06 Tom Tromey <tromey (a] redhat.com>
10508 1.1 christos
10509 1.1 christos * proc-service.c (ps_pglobal_lookup): Set the current program
10510 1.1 christos space.
10511 1.1 christos
10512 1.1 christos 2012-03-06 Pedro Alves <palves (a] redhat.com>
10513 1.1 christos
10514 1.1 christos * gregset.h [HAVE_SYS_PROCFS_H]: Include <sys/procfs.h>.
10515 1.1 christos
10516 1.1 christos 2012-03-05 Joel Brobecker <brobecker (a] adacore.com>
10517 1.1 christos
10518 1.1 christos * MAINTAINERS: List Maciej W. Rozycki as the mips maintainer.
10519 1.1 christos
10520 1.1 christos 2012-03-05 Jan Kratochvil <jan.kratochvil (a] redhat.com>
10521 1.1 christos
10522 1.1 christos Code cleanup.
10523 1.1 christos * common/linux-osdata.c (linux_common_core_of_thread): New function
10524 1.1 christos comment.
10525 1.1 christos * linux-nat.c (linux_nat_wait_1): Replace linux_nat_core_of_thread_1
10526 1.1 christos call by linux_common_core_of_thread.
10527 1.1 christos (linux_nat_core_of_thread_1): Remove.
10528 1.1 christos * linux-nat.h (linux_nat_core_of_thread_1): Remove declaration.
10529 1.1 christos * linux-thread-db.c: Include linux-osdata.h.
10530 1.1 christos (update_thread_core): Replace linux_nat_core_of_thread_1 call by
10531 1.1 christos linux_common_core_of_thread.
10532 1.1 christos
10533 1.1 christos 2012-03-05 Tom Tromey <tromey (a] redhat.com>
10534 1.1 christos
10535 1.1 christos * value.c (value_primitive_field): Don't fetch contents for
10536 1.1 christos non-virtual bases.
10537 1.1 christos
10538 1.1 christos 2012-03-05 Tom Tromey <tromey (a] redhat.com>
10539 1.1 christos
10540 1.1 christos * jv-valprint.c (java_value_print): Correctly compute 'obj_addr'.
10541 1.1 christos
10542 1.1 christos 2012-03-05 Andreas Arnez <arnez (a] linux.vnet.ibm.com>
10543 1.1 christos
10544 1.1 christos * s390-nat.c: Include "gregset.h".
10545 1.1 christos
10546 1.1 christos 2012-03-05 Jan Kratochvil <jan.kratochvil (a] redhat.com>
10547 1.1 christos
10548 1.1 christos * libunwind-frame.c (LIBUNWIND_SO): Change .7 to .8.
10549 1.1 christos [!LIBUNWIND_SO] (LIBUNWIND_SO_7): New #define.
10550 1.1 christos (libunwind_load): New variable so_error, use it for dlerror. Try to
10551 1.1 christos load also LIBUNWIND_SO_7.
10552 1.1 christos
10553 1.1 christos 2012-03-05 Pedro Alves <palves (a] redhat.com>
10554 1.1 christos
10555 1.1 christos * i387-tdep.c (i387_supply_xsave): Assert the xsave section buffer
10556 1.1 christos is not NULL, and remove resulting dead code.
10557 1.1 christos
10558 1.1 christos 2012-03-05 Thomas Schwinge <thomas (a] codesourcery.com>
10559 1.1 christos
10560 1.1 christos * sh-tdep.c (sh_skip_prologue): Provide an upper limit on the function
10561 1.1 christos prologue to sh_analyze_prologue.
10562 1.1 christos (sh_analyze_prologue): Make better use of such an upper limit, and
10563 1.1 christos generally be more cautious about accessing memory.
10564 1.1 christos
10565 1.1 christos 2012-03-05 Tom Tromey <tromey (a] redhat.com>
10566 1.1 christos
10567 1.1 christos * ia64-vms-tdep.c (_initialize_ia64_vms_tdep): Rename from
10568 1.1 christos _initialize_ia64_hpux_tdep.
10569 1.1 christos
10570 1.1 christos 2012-03-05 Pedro Alves <palves (a] redhat.com>
10571 1.1 christos
10572 1.1 christos PR gdb/13766
10573 1.1 christos
10574 1.1 christos * i387-tdep.c (i387_supply_xsave): If we have an xsave buffer, and
10575 1.1 christos the register state is clear, supply explicit zero, instead of
10576 1.1 christos marking the register unavailable.
10577 1.1 christos
10578 1.1 christos 2012-03-05 Tristan Gingold <gingold (a] adacore.com>
10579 1.1 christos
10580 1.1 christos * NEWS: Mention OpenVMS ia64 new target.
10581 1.1 christos
10582 1.1 christos 2012-03-05 Tristan Gingold <gingold (a] adacore.com>
10583 1.1 christos
10584 1.1 christos * ia64-tdep.h: Include libunwind-frame.h and libunwind-ia64.h.
10585 1.1 christos (ia64_unw_accessors, ia64_unw_rse_accessors)
10586 1.1 christos (ia64_libunwind_descr): Declare.
10587 1.1 christos * ia64-vms-tdep.c: New file.
10588 1.1 christos * ia64-tdep.c (ia64_unw_accessors, ia64_unw_rse_accessors)
10589 1.1 christos (ia64_libunwind_descr): Make them public.
10590 1.1 christos * configure.tgt: Add ia64-*-*vms*.
10591 1.1 christos * Makefile.in (ALL_64_TARGET_OBS): Add ia64-vms-tdep.o
10592 1.1 christos (ALLDEPFILES): Add ia64-vms-tdep.c
10593 1.1 christos
10594 1.1 christos 2012-03-05 Tristan Gingold <gingold (a] adacore.com>
10595 1.1 christos
10596 1.1 christos * target.h (target_object): Add TARGET_OBJECT_OPENVMS_UIB.
10597 1.1 christos * remote.c (PACKET_qXfer_uib): New enum value.
10598 1.1 christos (remote_protocol_features): Add entry for PACKET_qXfer_uib.
10599 1.1 christos (remote_xfer_partial): Handle TARGET_OBJECT_OPENVMS_UIB.
10600 1.1 christos (_initialize_remote): Call add_packet_config_cmd for
10601 1.1 christos xfer:uib packet.
10602 1.1 christos
10603 1.1 christos 2012-03-05 Tristan Gingold <gingold (a] adacore.com>
10604 1.1 christos
10605 1.1 christos * osabi.c (gdb_osabi_names): Add OpenVMS.
10606 1.1 christos (generic_elf_osabi_sniffer): Likewise.
10607 1.1 christos * defs.h (gdb_osabi): Add GDB_OSABI_OPENVMS.
10608 1.1 christos
10609 1.1 christos 2012-03-04 Jan Kratochvil <jan.kratochvil (a] redhat.com>
10610 1.1 christos
10611 1.1 christos Removed unused code.
10612 1.1 christos * libunwind-frame.c (libunwind_frame_unwind)
10613 1.1 christos (libunwind_frame_base_address): Remove.
10614 1.1 christos * libunwind-frame.h (libunwind_frame_base_address): Remove declaration.
10615 1.1 christos
10616 1.1 christos 2012-03-04 Yao Qi <yao (a] codesourcery.com>
10617 1.1 christos
10618 1.1 christos * common/agent.c (gdb_connect_sync_socket): Add _ markup and
10619 1.1 christos remove trailing new line.
10620 1.1 christos (agent_run_command, agent_run_command): Add _ markup.
10621 1.1 christos (agent_capability_check): Likewise.
10622 1.1 christos
10623 1.1 christos 2012-03-03 Jan Kratochvil <jan.kratochvil (a] redhat.com>
10624 1.1 christos
10625 1.1 christos * breakpoint.c (set_condition_evaluation_mode): Set
10626 1.1 christos CONDITION_EVALUATION_MODE unconditionally.
10627 1.1 christos
10628 1.1 christos 2012-03-03 Yao Qi <yao (a] codesourcery.com>
10629 1.1 christos
10630 1.1 christos * common/agent.c (agent_look_up_symbols): Add one parameter 'arg'.
10631 1.1 christos * common/agent.h: Update declaration.
10632 1.1 christos * inf-child.c (inf_child_use_agent): New.
10633 1.1 christos (inf_child_can_use_agent): New.
10634 1.1 christos (inf_child_target): Initialize fields `to_use_agent'
10635 1.1 christos and `to_can_use_agent'.
10636 1.1 christos * agent.c (agent_new_objfile): New.
10637 1.1 christos (_initialize_agent): Add agent_new_objfile to new_objfile
10638 1.1 christos observer.
10639 1.1 christos
10640 1.1 christos * linux-nat.c (linux_child_static_tracepoint_markers_by_strid):
10641 1.1 christos New.
10642 1.1 christos (linux_target_install_ops): Initialize field
10643 1.1 christos `to_static_tracepoint_markers_by_strid'.
10644 1.1 christos * remote.c (free_current_marker): Move it to ...
10645 1.1 christos * tracepoint.c (free_current_marker): ... here. New.
10646 1.1 christos (cleanup_target_stop): New.
10647 1.1 christos * tracepoint.h: Declare free_current_marker.
10648 1.1 christos * NEWS: Add one entry about `info static-tracepoint-marker'.
10649 1.1 christos
10650 1.1 christos 2012-03-03 Yao Qi <yao (a] codesourcery.com>
10651 1.1 christos
10652 1.1 christos * common/agent.c (agent_loaded_p): New.
10653 1.1 christos (agent_look_up_symbols): New global.
10654 1.1 christos * common/agent.h: Declare agent_loaded_p.
10655 1.1 christos
10656 1.1 christos 2012-03-03 Yao Qi <yao (a] codesourcery.com>
10657 1.1 christos
10658 1.1 christos * common/agent.c (struct ipa_sym_addresses) <addr_capability>: New.
10659 1.1 christos (agent_capability_check, agent_capability_invalidate): New.
10660 1.1 christos (symbol_list): New array element.
10661 1.1 christos * common/agent.h (enum agent_capa): New.
10662 1.1 christos * target.c (target_pre_inferior): Call agent_capability_invalidate.
10663 1.1 christos
10664 1.1 christos 2012-03-03 Yao Qi <yao (a] codesourcery.com>
10665 1.1 christos
10666 1.1 christos * target.h (struct target_ops) <to_use_agent>: New field.
10667 1.1 christos (struct target_ops) <to_can_use_agent>: New field.
10668 1.1 christos (target_use_agent, target_can_use_agent): New macro.
10669 1.1 christos * target.c (update_current_target): Update.
10670 1.1 christos * remote.c: New enum `PACKET_QAgent'.
10671 1.1 christos (remote_protocol_features): Add a new element.
10672 1.1 christos (remote_use_agent, remote_can_use_agent): New.
10673 1.1 christos (init_remote_ops): Initialize field `can_use_agent' with
10674 1.1 christos remote_can_use_agent. Intiailize field `use_agent' with
10675 1.1 christos remote_use_agent.
10676 1.1 christos * common/agent.c (use_agent): New global.
10677 1.1 christos * common/agent.h: Declare it.
10678 1.1 christos * tracepoint.c (info_static_tracepoint_markers_command): Add
10679 1.1 christos comment.
10680 1.1 christos * Makefile.in (SFILES): Add common/agent.c and agent.c.
10681 1.1 christos (COMMON_OBS): Add common/agent.o and agent.o
10682 1.1 christos (common-agent.o): New rule.
10683 1.1 christos * agent.c: New.
10684 1.1 christos
10685 1.1 christos 2012-03-03 Yao Qi <yao (a] codesourcery.com>
10686 1.1 christos
10687 1.1 christos * common/agent.c: New.
10688 1.1 christos * common/agent.h: New.
10689 1.1 christos * configure.ac: Add `sys/socket.h' and `sys/un.h' to
10690 1.1 christos AC_CHECK_HEADERS.
10691 1.1 christos * configure, configh.in: Regenerated.
10692 1.1 christos
10693 1.1 christos 2012-03-02 Kevin Buettner <kevinb (a] redhat.com>
10694 1.1 christos
10695 1.1 christos * sh-tdep.c (sh_frame_cache): Don't fetch the FPSCR register
10696 1.1 christos unless it exists for this architecture.
10697 1.1 christos
10698 1.1 christos 2012-03-02 Joel Brobecker <brobecker (a] adacore.com>
10699 1.1 christos
10700 1.1 christos * language.h (struct language_defn): New "method" la_read_var_value.
10701 1.1 christos * findvar.c: #include "language.h".
10702 1.1 christos (default_read_var_value): Renames read_var_value. Rewrite
10703 1.1 christos function description.
10704 1.1 christos (read_var_value): New function.
10705 1.1 christos * value.h (default_read_var_value): Add prototype.
10706 1.1 christos * ada-lang.c (ada_read_renaming_var_value, ada_read_var_value):
10707 1.1 christos New functions.
10708 1.1 christos (ada_language_defn): Add entry for la_read_var_value.
10709 1.1 christos * c-lang.c, d-lang.c, f-lang.c, jv-lang.c, language.c,
10710 1.1 christos * m2-lang.c, objc-lang.c, opencl-lang.c, p-lang.c: Update
10711 1.1 christos language_defn structures to add entry for new la_read_var_value
10712 1.1 christos field.
10713 1.1 christos
10714 1.1 christos 2012-03-02 Tom Tromey <tromey (a] redhat.com>
10715 1.1 christos Pedro Alves <palves (a] redhat.com>
10716 1.1 christos
10717 1.1 christos PR breakpoints/13776:
10718 1.1 christos * breakpoint.c (breakpoint_init_inferior): Delete step-resume
10719 1.1 christos breakpoints.
10720 1.1 christos (delete_longjmp_breakpoint_at_next_stop): New.
10721 1.1 christos * breakpoint.h (delete_longjmp_breakpoint_at_next_stop): Declare.
10722 1.1 christos * target.c (generic_mourn_inferior): Call mark_breakpoints_out
10723 1.1 christos before deleting the inferior. Add comments.
10724 1.1 christos * thread.c (clear_thread_inferior_resources): Don't delete lonjmp
10725 1.1 christos breakpoints immediately, but only on next stop. Move that code
10726 1.1 christos next to where we mark other breakpoints for deletion.
10727 1.1 christos
10728 1.1 christos 2012-03-02 Joel Brobecker <brobecker (a] adacore.com>
10729 1.1 christos
10730 1.1 christos * mips-linux-nat.c (mips_linux_read_description): Add missing i18n
10731 1.1 christos marker.
10732 1.1 christos * mips-tdep.c (mips_linux_reg_names): Improve comment to avoid ARI
10733 1.1 christos violation.
10734 1.1 christos
10735 1.1 christos 2012-03-02 Pedro Alves <palves (a] redhat.com>
10736 1.1 christos
10737 1.1 christos * linux-thread-db.c (attach_thread): Avoid in_thread_list call.
10738 1.1 christos
10739 1.1 christos 2012-03-02 Ulrich Weigand <uweigand (a] de.ibm.com>
10740 1.1 christos
10741 1.1 christos Fix -Wmissing-prototypes build.
10742 1.1 christos * ppc-linux-nat.c (ppc_linux_get_hwcap): Make static.
10743 1.1 christos * remote-sim.c (gdbsim_has_all_memory): Likewise.
10744 1.1 christos (gdbsim_has_memory): Likewise.
10745 1.1 christos
10746 1.1 christos 2012-03-02 Yao Qi <yao (a] codesourcery.com>
10747 1.1 christos
10748 1.1 christos Fix -Wmissing-prototypes build.
10749 1.1 christos * charset.c (phony_iconv_open): Make static.
10750 1.1 christos (phony_iconv_close, phony_iconv): Likewise.
10751 1.1 christos * i386-linux-nat.c (_initialize_i386_linux_nat): New prototype.
10752 1.1 christos * i386-windows-nat.c (_initialize_i386_windows_nat): New
10753 1.1 christos prototype.
10754 1.1 christos * mingw-hdep.c (_initialize_mingw_hdep): New prototype.
10755 1.1 christos * ser-mingw.c (create_select_thread): Make static.
10756 1.1 christos * windows-termcap.c (tgetent): New prototype.
10757 1.1 christos (tgetnum, tgetflag, tgetstr, tputs, tgoto): Likewise.
10758 1.1 christos
10759 1.1 christos 2012-03-02 Zhang Yuanhui <asmwarrior (a] gmail.com>
10760 1.1 christos
10761 1.1 christos Fix -Wmissing-prototypes build.
10762 1.1 christos * windows-nat.c (dll_symbol_command, ctrl_c_handler): Make them static.
10763 1.1 christos (_initialize_windows_nat, _initialize_check_for_gdb_ini)
10764 1.1 christos (_initialize_loadable): New prototypes.
10765 1.1 christos
10766 1.1 christos 2012-03-02 Doug Evans <dje (a] google.com>
10767 1.1 christos
10768 1.1 christos * dwarf2read.c (load_full_comp_unit): Remove unnecessary reading of
10769 1.1 christos abbrev table, read_comp_unit will do it.
10770 1.1 christos
10771 1.1 christos 2012-03-02 Jan Kratochvil <jan.kratochvil (a] redhat.com>
10772 1.1 christos
10773 1.1 christos Fix -Wmissing-prototypes build.
10774 1.1 christos * alpha-tdep.c (alpha_deal_with_atomic_sequence): Make it static.
10775 1.1 christos * amd64-darwin-tdep.c (_initialize_amd64_darwin_tdep): New prototype.
10776 1.1 christos * amd64-windows-tdep.c (_initialize_amd64_windows_tdep): Likewise.
10777 1.1 christos * arm-symbian-tdep.c (arm_symbian_skip_trampoline_code): Make it static.
10778 1.1 christos (_initialize_arm_symbian_tdep): New prototype.
10779 1.1 christos * arm-wince-tdep.c (arm_wince_skip_main_prologue): Make it static.
10780 1.1 christos * i386-darwin-tdep.c (_initialize_i386_darwin_tdep): New prototype.
10781 1.1 christos * i386-linux-tdep.c (i386_linux_displaced_step_copy_insn): Make it
10782 1.1 christos static.
10783 1.1 christos * lm32-tdep.c (_initialize_lm32_tdep): New prototype.
10784 1.1 christos * microblaze-linux-tdep.c (_initialize_microblaze_linux_tdep): New
10785 1.1 christos prototype.
10786 1.1 christos * microblaze-tdep.c (microblaze_debug, microblaze_fetch_instruction)
10787 1.1 christos (microblaze_skip_prologue, microblaze_frame_cache): Make them static.
10788 1.1 christos * mips-linux-tdep.c (mips_linux_regset_from_core_section): Make it
10789 1.1 christos static.
10790 1.1 christos * moxie-tdep.c (moxie_process_record): Likewise.
10791 1.1 christos * remote-mips.c (mips_can_use_watchpoint, mips_insert_watchpoint)
10792 1.1 christos (mips_remove_watchpoint, mips_stopped_by_watchpoint): Make them static.
10793 1.1 christos * rl78-tdep.c (rl78_breakpoint_from_pc): Make it static.
10794 1.1 christos (_initialize_rl78_tdep): New prototype.
10795 1.1 christos * rx-tdep.c (rx_breakpoint_from_pc): Make it static.
10796 1.1 christos (_initialize_rx_tdep): New prototype.
10797 1.1 christos * solib-darwin.c (darwin_in_dynsym_resolve_code): Make it static.
10798 1.1 christos (_initialize_darwin_solib): New prototype.
10799 1.1 christos * solib-spu.c: Include solib-spu.h.
10800 1.1 christos (_initialize_spu_solib): New prototype.
10801 1.1 christos * spu-multiarch.c (_initialize_spu_multiarch): New prototype.
10802 1.1 christos * tic6x-tdep.c (tic6x_analyze_prologue, tic6x_skip_prologue)
10803 1.1 christos (tic6x_breakpoint_from_pc, tic6x_frame_unwind_cache)
10804 1.1 christos (tic6x_software_single_step): Make it static.
10805 1.1 christos (_initialize_tic6x_tdep): New prototype.
10806 1.1 christos
10807 1.1 christos 2012-03-02 Jan Kratochvil <jan.kratochvil (a] redhat.com>
10808 1.1 christos
10809 1.1 christos Fix -Wmissing-prototypes build.
10810 1.1 christos * cris-tdep.c (cris_can_use_hardware_watchpoint)
10811 1.1 christos (cris_region_ok_for_watchpoint, cris_stopped_data_address): Remove.
10812 1.1 christos
10813 1.1 christos 2012-03-01 Jan Kratochvil <jan.kratochvil (a] redhat.com>
10814 1.1 christos
10815 1.1 christos Fix -Wmissing-prototypes build.
10816 1.1 christos * frv-tdep.c (frv_check_watch_resources, frv_stopped_data_address)
10817 1.1 christos (frv_have_stopped_data_address): Remove.
10818 1.1 christos
10819 1.1 christos 2012-03-01 Jan Kratochvil <jan.kratochvil (a] redhat.com>
10820 1.1 christos
10821 1.1 christos Fix -Wmissing-prototypes build.
10822 1.1 christos * Makefile.in (HFILES_NO_SRCDIR): Add sh64-tdep.h.
10823 1.1 christos * sh-tdep.c: Include sh64-tdep.h.
10824 1.1 christos * sh-tdep.h (sh64_gdbarch_init, sh64_show_regs): Remove declarations.
10825 1.1 christos * sh64-tdep.c: Include sh64-tdep.h.
10826 1.1 christos * sh64-tdep.h: New file.
10827 1.1 christos
10828 1.1 christos 2012-03-01 Maciej W. Rozycki <macro (a] codesourcery.com>
10829 1.1 christos
10830 1.1 christos * mips-tdep.c (mips32_scan_prologue): Correct indentation.
10831 1.1 christos
10832 1.1 christos 2012-03-01 Maciej W. Rozycki <macro (a] codesourcery.com>
10833 1.1 christos
10834 1.1 christos * mips-tdep.c (mips_gdbarch_init): Only set pc_regnum and
10835 1.1 christos sp_regnum once the gdbarch_init_osabi hook has been called.
10836 1.1 christos
10837 1.1 christos 2012-03-01 Maciej W. Rozycki <macro (a] codesourcery.com>
10838 1.1 christos
10839 1.1 christos * mips-tdep.c (mips32_bc1_pc): New function.
10840 1.1 christos (mips32_next_pc): Handle BC1ANY2F, BC1ANY2T, BC1ANY4F, BC1ANY4T,
10841 1.1 christos BPOSGE32 and BPOSGE64 instructions.
10842 1.1 christos (deal_with_atomic_sequence): Likewise.
10843 1.1 christos (mips32_instruction_has_delay_slot): Likewise.
10844 1.1 christos
10845 1.1 christos 2012-03-01 Maciej W. Rozycki <macro (a] mips.com>
10846 1.1 christos Chris Dearman <chris (a] mips.com>
10847 1.1 christos Maciej W. Rozycki <macro (a] codesourcery.com>
10848 1.1 christos Joseph Myers <joseph (a] codesourcery.com>
10849 1.1 christos
10850 1.1 christos * features/mips-dsp.xml: New file.
10851 1.1 christos * features/mips64-dsp.xml: New file.
10852 1.1 christos * features/mips-dsp-linux.xml: New file.
10853 1.1 christos * features/mips64-dsp-linux.xml: New file.
10854 1.1 christos * features/Makefile (WHICH): Add mips-dsp-linux and
10855 1.1 christos mips64-dsp-linux.
10856 1.1 christos (mips-dsp-expedite, mips64-dsp-expedite): New variables.
10857 1.1 christos * features/mips-dsp-linux.c: New file.
10858 1.1 christos * features/mips64-dsp-linux.c: New file.
10859 1.1 christos * regformats/mips-dsp-linux.dat: New file.
10860 1.1 christos * regformats/mips64-dsp-linux.dat: New file.
10861 1.1 christos * mips-linux-nat.c (mips_linux_register_addr): Handle DSP
10862 1.1 christos registers.
10863 1.1 christos (mips64_linux_register_addr): Likewise.
10864 1.1 christos (mips64_linux_regsets_fetch_registers): Likewise.
10865 1.1 christos (mips64_linux_regsets_store_registers): Likewise.
10866 1.1 christos (mips64_linux_fetch_registers): Update call to
10867 1.1 christos mips64_linux_regsets_fetch_registers.
10868 1.1 christos (mips64_linux_store_registers): Update call to
10869 1.1 christos mips64_linux_regsets_store_registers.
10870 1.1 christos (mips_linux_read_description): Probe for DSP registers.
10871 1.1 christos (_initialize_mips_linux_nat): Call initialize_tdesc_mips_dsp_linux
10872 1.1 christos and initialize_tdesc_mips64_dsp_linux.
10873 1.1 christos * mips-linux-tdep.c (supply_gregset, mips64_supply_gregset):
10874 1.1 christos Remove padding of no longer used embedded register slots.
10875 1.1 christos * mips-linux-tdep.h (DSP_BASE, DSP_CONTROL): New macros.
10876 1.1 christos (MIPS_RESTART_REGNUM): Redefine enum value.
10877 1.1 christos * mips-tdep.c (mips_generic_reg_names): Remove trailing null
10878 1.1 christos strings.
10879 1.1 christos (mips_tx39_reg_names): Likewise.
10880 1.1 christos (mips_linux_reg_names): New array of register names for Linux
10881 1.1 christos targets.
10882 1.1 christos (mips_register_name): Check for a null pointer in
10883 1.1 christos mips_processor_reg_names and return an empty string.
10884 1.1 christos (mips_register_type): Exclude embedded registers for the IRIX
10885 1.1 christos and Linux ABIs.
10886 1.1 christos (mips_pseudo_register_type): Likewise. Use dynamic numbers to
10887 1.1 christos refer to FP registers, LO, HI, BadVAddr, Cause and PC. Handle
10888 1.1 christos DSP registers.
10889 1.1 christos (mips_stab_reg_to_regnum): Handle DSP accumulators.
10890 1.1 christos (mips_dwarf_dwarf2_ecoff_reg_to_regnum): Likewise.
10891 1.1 christos (mips_gdbarch_init): Likewise. Initialize internal register
10892 1.1 christos indices for the Linux ABI. Use dynamic numbers to refer to
10893 1.1 christos registers, as applicable, while parsing the target description.
10894 1.1 christos * mips-tdep.h (struct mips_regnum): Add dspacc/dspctl offsets.
10895 1.1 christos
10896 1.1 christos 2012-03-01 Joel Brobecker <brobecker (a] adacore.com>
10897 1.1 christos
10898 1.1 christos * frame.h (read_frame_register_unsigned): Fix typo in function
10899 1.1 christos description.
10900 1.1 christos
10901 1.1 christos 2012-03-01 Pedro Alves <palves (a] redhat.com>
10902 1.1 christos
10903 1.1 christos * jit-reader.in [!__cplusplus]
10904 1.1 christos (GDB_DECLARE_GPL_COMPATIBLE_READER): Add missing backslash.
10905 1.1 christos
10906 1.1 christos 2012-03-01 Pedro Alves <palves (a] redhat.com>
10907 1.1 christos
10908 1.1 christos * configure.ac (build_warnings): Add -Wmissing-prototypes.
10909 1.1 christos * configure: Regenerate.
10910 1.1 christos
10911 1.1 christos 2012-03-01 Pedro Alves <palves (a] redhat.com>
10912 1.1 christos
10913 1.1 christos * amd64-linux-tdep.c (amd64_linux_record_signal): Make static.
10914 1.1 christos * breakpoint.c (create_exception_master_breakpoint, trace_command)
10915 1.1 christos (ftrace_command, strace_command): Make static.
10916 1.1 christos * d-lang.c (_initialize_d_language): Declare.
10917 1.1 christos * dwarf2expr.c (_initialize_dwarf2expr): Declare.
10918 1.1 christos * dwarf2loc.c (_initialize_dwarf2loc):
10919 1.1 christos * dwarf2read.c (process_psymtab_comp_unit): Make static.
10920 1.1 christos * exec.c (exec_get_section_table): Make static.
10921 1.1 christos * i386-linux-tdep.c (i386_linux_record_signal): Make static.
10922 1.1 christos * infcmd.c (ensure_valid_thread, ensure_not_tfind_mode): Make static.
10923 1.1 christos * inferior.c (remove_inferior_command, add_inferior_command)
10924 1.1 christos (clone_inferior_command): Make static.
10925 1.1 christos * linux-nat.c (linux_nat_thread_address_space)
10926 1.1 christos (linux_nat_core_of_thread): Make static.
10927 1.1 christos * linux-tdep.c (_initialize_linux_tdep): Declare.
10928 1.1 christos * objc-lang.c (_initialize_objc_lang): Declare.
10929 1.1 christos * opencl-lang.c (builtin_opencl_type, opencl_language_arch_info):
10930 1.1 christos Make static.
10931 1.1 christos (_initialize_opencl_language): Declare.
10932 1.1 christos * record.c (_initialize_record): Declare.
10933 1.1 christos * remote.c (demand_private_info, remote_get_tib_address)
10934 1.1 christos (remote_supports_cond_tracepoints)
10935 1.1 christos (remote_supports_fast_tracepoints, remote_get_tracepoint_status):
10936 1.1 christos Make static.
10937 1.1 christos * skip.c (_initialize_step_skip): Declare.
10938 1.1 christos * symtab.c (skip_prologue_using_lineinfo): Make static.
10939 1.1 christos * tracepoint.c (delete_trace_state_variable)
10940 1.1 christos (trace_variable_command, delete_trace_variable_command)
10941 1.1 christos (get_uploaded_tsv, find_matching_tracepoint_location)
10942 1.1 christos (find_matching_tsv, create_tsv_from_upload, get_traceframe_info):
10943 1.1 christos Make static.
10944 1.1 christos * value.c (pack_unsigned_long): Make static.
10945 1.1 christos * varobj.c (varobj_ensure_python_env): Make static.
10946 1.1 christos * windows-tdep.c (_initialize_windows_tdep): Declare.
10947 1.1 christos * xml-syscall.c (make_cleanup_free_syscalls_info): Make static.
10948 1.1 christos
10949 1.1 christos 2012-03-01 Pedro Alves <palves (a] redhat.com>
10950 1.1 christos
10951 1.1 christos * linux-tdep.c (linux_has_shared_address_space): Make static. Add
10952 1.1 christos gdbarch parameter.
10953 1.1 christos (linux_init_abi): Install it as has_shared_address_space gdbarch
10954 1.1 christos callback.
10955 1.1 christos
10956 1.1 christos 2012-03-01 Pedro Alves <palves (a] redhat.com>
10957 1.1 christos
10958 1.1 christos * observer.c (observer_test_first_notification_function)
10959 1.1 christos (observer_test_second_notification_function)
10960 1.1 christos (observer_test_third_notification_function): Add declarations.
10961 1.1 christos
10962 1.1 christos 2012-03-01 Pedro Alves <palves (a] redhat.com>
10963 1.1 christos
10964 1.1 christos * common/signals.c (default_target_signal_to_host)
10965 1.1 christos (default_target_signal_from_host): Move ...
10966 1.1 christos * arch-utils.c: ... here.
10967 1.1 christos * arch-utils.h (default_target_signal_to_host)
10968 1.1 christos (default_target_signal_from_host): Declare.
10969 1.1 christos
10970 1.1 christos * common/signals.c (target_signal_from_command): Move ...
10971 1.1 christos * infrun.c: ... here.
10972 1.1 christos * inferior.h (target_signal_from_command): Declare.
10973 1.1 christos * target.h (target_signal_from_command)
10974 1.1 christos (default_target_signal_from_host, default_target_signal_to_host):
10975 1.1 christos Delete declarations.
10976 1.1 christos
10977 1.1 christos * common/signals.c (_initialize_signals): Delete.
10978 1.1 christos
10979 1.1 christos 2012-03-01 Pedro Alves <palves (a] redhat.com>
10980 1.1 christos
10981 1.1 christos * jit-reader.in (plugin_is_GPL_compatible): Add declarations for
10982 1.1 christos both __cplusplus and !__cplusplus.
10983 1.1 christos
10984 1.1 christos 2012-03-01 Pedro Alves <palves (a] redhat.com>
10985 1.1 christos
10986 1.1 christos * psymtab.c (find_and_open_source): Delete declaration.
10987 1.1 christos * source.c (find_and_open_source): Move comment ...
10988 1.1 christos * source.h (find_and_open_source): ... to this new declaration.
10989 1.1 christos
10990 1.1 christos 2012-03-01 Pedro Alves <palves (a] redhat.com>
10991 1.1 christos
10992 1.1 christos * inline-frame.c: Include inline-frame.h.
10993 1.1 christos
10994 1.1 christos 2012-03-01 Pedro Alves <palves (a] redhat.com>
10995 1.1 christos
10996 1.1 christos * tui/tui-data.c (set_gen_win_origin): Delete.
10997 1.1 christos * tui/tui-data.h (tui_set_gen_win_origin): Delete declaration.
10998 1.1 christos * tui/tui-regs.c (tui_last_reg_element_no_in_line): Delete.
10999 1.1 christos
11000 1.1 christos 2012-03-01 Pedro Alves <palves (a] redhat.com>
11001 1.1 christos
11002 1.1 christos * remote.c (encode_actions): Delete declaration.
11003 1.1 christos * tracepoint.c (encode_actions): Make extern.
11004 1.1 christos * tracepoint.h (encode_actions): Declare.
11005 1.1 christos
11006 1.1 christos 2012-03-01 Pedro Alves <palves (a] redhat.com>
11007 1.1 christos
11008 1.1 christos * python/py-breakpoint.c: Include python.h.
11009 1.1 christos * python/py-continueevent.c (create_continue_event_object): Make
11010 1.1 christos static.
11011 1.1 christos * python/py-lazy-string.c (stpy_get_type): Make static.
11012 1.1 christos * python/py-newobjfileevent.c (create_new_objfile_event_object):
11013 1.1 christos Make static.
11014 1.1 christos * python/py-utils.c (unicode_to_target_python_string): Make
11015 1.1 christos static.
11016 1.1 christos * python/py-value.c: Include python.h.
11017 1.1 christos
11018 1.1 christos 2012-03-01 Pedro Alves <palves (a] redhat.com>
11019 1.1 christos
11020 1.1 christos * inferior.c (delete_threads_of_inferior): Delete.
11021 1.1 christos
11022 1.1 christos 2012-03-01 Pedro Alves <palves (a] redhat.com>
11023 1.1 christos
11024 1.1 christos Import fallback definitions from glibc.
11025 1.1 christos
11026 1.1 christos * gdb_proc_service.h [!HAVE_PROC_SERVICE_H] (struct
11027 1.1 christos ps_prochandle): Forward declare.
11028 1.1 christos (ps_err_e): Use glibc's comments.
11029 1.1 christos [!HAVE_PROC_SERVICE_H] (ps_pdread, ps_pdwrite, ps_ptread)
11030 1.1 christos (ps_ptwrite, ps_lgetregs, ps_lsetregs, ps_lgetfpregs)
11031 1.1 christos (ps_lsetfpregs, ps_getpid, ps_get_thread_area, ps_pglobal_lookup)
11032 1.1 christos (ps_pstop, ps_pcontinue, ps_lstop, ps_lcontinue, ps_lgetxregsize)
11033 1.1 christos (ps_lgetxregs, ps_lsetxregs, ps_plog): Declare.
11034 1.1 christos (struct ps_prochandle): Adjust comment.
11035 1.1 christos
11036 1.1 christos 2012-03-01 Pedro Alves <palves (a] redhat.com>
11037 1.1 christos
11038 1.1 christos * ada-lang.c (ada_modulus_from_name): Delete.
11039 1.1 christos * ada-lex.l (lexer_init): Make static.
11040 1.1 christos
11041 1.1 christos 2012-03-01 Pedro Alves <palves (a] redhat.com>
11042 1.1 christos
11043 1.1 christos PR gdb/13767
11044 1.1 christos
11045 1.1 christos * frame.c (read_frame_register_unsigned): New.
11046 1.1 christos * frame.h (read_frame_register_unsigned): Declare.
11047 1.1 christos * i387-tdep.c (print_i387_status_word): New parameter `status_p'.
11048 1.1 christos Handle it.
11049 1.1 christos (print_i387_control_word): New parameter `control_p'. Handle it.
11050 1.1 christos (i387_print_float_info): Handle unavailable float registers.
11051 1.1 christos
11052 1.1 christos 2012-03-01 Keith Seitz <keiths (a] redhat.com>
11053 1.1 christos
11054 1.1 christos * linespec.c (decode_line_2): Sort the list of methods
11055 1.1 christos alphabetically before presenting the user with a selection
11056 1.1 christos menu.
11057 1.1 christos
11058 1.1 christos 2012-03-01 Doug Evans <dje (a] google.com>
11059 1.1 christos
11060 1.1 christos * dwarf2read.c (dwarf2_cu): Remove unused members has_form_ref_addr,
11061 1.1 christos has_namespace_info.
11062 1.1 christos (dwarf2_read_abbrevs): Remove corresponding initialization.
11063 1.1 christos
11064 1.1 christos 2012-03-01 Scott J. Goldman <scottjg (a] vmware.com>
11065 1.1 christos
11066 1.1 christos * NEWS: Mention new python command class gdb.COMMAND_USER.
11067 1.1 christos * cli/cli-cmds.c (show_user): Print error when used on a python
11068 1.1 christos command.
11069 1.1 christos (init_cli_cmds): Update documentation strings for "show user" and
11070 1.1 christos "set/show max-user-call-depth" to clarify that it does not apply to
11071 1.1 christos python commands.
11072 1.1 christos * python/py-cmd.c (cmdpy_init): Treat class_user as a valid class in
11073 1.1 christos error check.
11074 1.1 christos (gdbpy_initialize_commands): Add COMMAND_USER as a constant in
11075 1.1 christos gdb python api.
11076 1.1 christos * top.c (execute_command): Only execute a user-defined command as a
11077 1.1 christos legacy macro if c->user_commands is set.
11078 1.1 christos
11079 1.1 christos 2012-03-01 Tom Tromey <tromey (a] redhat.com>
11080 1.1 christos
11081 1.1 christos * valprint.h (struct generic_val_print_decorations): New.
11082 1.1 christos (generic_val_print): Declare.
11083 1.1 christos * valprint.c (generic_val_print): New function.
11084 1.1 christos * p-valprint.c (p_decorations): New global.
11085 1.1 christos (pascal_val_print) <TYPE_CODE_REF, TYPE_CODE_ENUM,
11086 1.1 christos TYPE_CODE_FLAGS, TYPE_CODE_FUNC, TYPE_CODE_RANGE, TYPE_CODE_INT,
11087 1.1 christos TYPE_CODE_FLT, TYPE_CODE_VOID, TYPE_CODE_ERROR, TYPE_CODE_UNDEF,
11088 1.1 christos TYPE_CODE_BOOL, TYPE_CODE_CHAR>: Call generic_val_print.
11089 1.1 christos * m2-valprint.c (m2_decorations): New global.
11090 1.1 christos (m2_val_print) <TYPE_CODE_REF, TYPE_CODE_ENUM, TYPE_CODE_FUNC,
11091 1.1 christos TYPE_CODE_BOOL, TYPE_CODE_RANGE, TYPE_CODE_INT, TYPE_CODE_CHAR,
11092 1.1 christos TYPE_CODE_FLT, TYPE_CODE_METHOD, TYPE_CODE_VOID, TYPE_CODE_UNDEF,
11093 1.1 christos TYPE_CODE_ERROR>: Call generic_val_print.
11094 1.1 christos * f-valprint.c (f_decorations): New global.
11095 1.1 christos (f_val_print): Use print_function_pointer_address.
11096 1.1 christos <TYPE_CODE_REF, TYPE_CODE_FUNC, TYPE_CODE_CHAR, TYPE_CODE_FLAGS,
11097 1.1 christos TYPE_CODE_FLT, TYPE_CODE_VOID, TYPE_CODE_ENUM, TYPE_CODE_RANGE,
11098 1.1 christos TYPE_CODE_BOOL, TYPE_CODE_COMPLEX, TYPE_CODE_UNDEF>: Call
11099 1.1 christos generic_val_print.
11100 1.1 christos * c-valprint.c (c_decorations): New global.
11101 1.1 christos (c_val_print) <TYPE_CODE_MEMBERPTR, TYPE_CODE_REF, TYPE_CODE_ENUM,
11102 1.1 christos TYPE_CODE_FLAGS, TYPE_CODE_FUNC, TYPE_CODE_METHOD, TYPE_CODE_BOOL,
11103 1.1 christos TYPE_CODE_RANGE, TYPE_CODE_CHAR, TYPE_CODE_FLT,
11104 1.1 christos TYPE_CODE_DECFLOAT, TYPE_CODE_VOID, TYPE_CODE_ERROR,
11105 1.1 christos TYPE_CODE_UNDEF, TYPE_CODE_COMPLEX>: Call generic_val_print.
11106 1.1 christos * ada-valprint.c (ada_val_print_1) <TYPE_CODE_FLAGS>: Remove
11107 1.1 christos case.
11108 1.1 christos
11109 1.1 christos 2012-03-01 Tom Tromey <tromey (a] redhat.com>
11110 1.1 christos
11111 1.1 christos * valprint.c (val_print): Update.
11112 1.1 christos * p-valprint (pascal_val_print): Return void.
11113 1.1 christos * p-lang.h (pascal_val_print): Return void.
11114 1.1 christos * m2-valprint.c (m2_val_print): Return void.
11115 1.1 christos * m2-lang.h (m2_val_print): Return void.
11116 1.1 christos * language.h (struct language_defn) <la_val_print>: Return void.
11117 1.1 christos * language.c (unk_lang_val_print): Return void.
11118 1.1 christos * jv-valprint.c (java_val_print): Return void.
11119 1.1 christos * jv-lang.h (java_val_print): Return void.
11120 1.1 christos * f-valprint.c (f_val_print): Return void.
11121 1.1 christos * f-lang.h (f_val_print): Return void.
11122 1.1 christos * d-valprint.c (d_val_print): Return void.
11123 1.1 christos (dynamic_array_type): Update.
11124 1.1 christos * d-lang.h (d_val_print): Return void.
11125 1.1 christos * c-valprint.c (c_val_print): Return void.
11126 1.1 christos * c-lang.h (c_val_print): Return void.
11127 1.1 christos * ada-valprint.c (ada_vada_val_print, ada_val_print_1): Return
11128 1.1 christos void.
11129 1.1 christos * ada-lang.h (ada_val_print): Return void.
11130 1.1 christos
11131 1.1 christos 2012-03-01 Tom Tromey <tromey (a] redhat.com>
11132 1.1 christos
11133 1.1 christos * value.h (val_print): Return void.
11134 1.1 christos * valprint.c (val_print): Return void.
11135 1.1 christos
11136 1.1 christos 2012-03-01 Tom Tromey <tromey (a] redhat.com>
11137 1.1 christos
11138 1.1 christos * value.h (common_val_print): Return void.
11139 1.1 christos * valprint.c (common_val_print): Return void.
11140 1.1 christos
11141 1.1 christos 2012-03-01 Tom Tromey <tromey (a] redhat.com>
11142 1.1 christos
11143 1.1 christos * value.h (value_print): Return void.
11144 1.1 christos * valprint.c (value_print): Return void.
11145 1.1 christos * p-valprint.c (pascal_value_print): Return void.
11146 1.1 christos * p-lang.h (pascal_value_print): Return void.
11147 1.1 christos * language.h (struct language_defn) <la_value_print>: Return
11148 1.1 christos void.
11149 1.1 christos * language.c (unk_lang_value_print): Return void.
11150 1.1 christos * jv-valprint.c (java_value_print): Return void.
11151 1.1 christos * jv-lang.h (java_value_print): Return void.
11152 1.1 christos * f-valprint.c (c_value_print): Don't declare.
11153 1.1 christos Include c-lang.h.
11154 1.1 christos * c-valprint.c (c_value_print): Return void.
11155 1.1 christos * c-lang.h (c_value_print): Return void.
11156 1.1 christos * ada-valprint.c (ada_value_print): Return void.
11157 1.1 christos * ada-lang.h (ada_value_print): Return void.
11158 1.1 christos
11159 1.1 christos 2012-03-01 Tom Tromey <tromey (a] redhat.com>
11160 1.1 christos
11161 1.1 christos * value.c (value_primitive_field): Handle virtual base classes.
11162 1.1 christos
11163 1.1 christos 2012-03-01 Tom Tromey <tromey (a] redhat.com>
11164 1.1 christos
11165 1.1 christos * gdbtypes.h (struct vbase): Remove.
11166 1.1 christos
11167 1.1 christos 2012-03-01 Tom Tromey <tromey (a] redhat.com>
11168 1.1 christos
11169 1.1 christos * c-valprint.c (print_function_pointer_address): Move...
11170 1.1 christos * valprint.c: ... here. Make non-static.
11171 1.1 christos * m2-valprint.c (print_function_pointer_address): Remove.
11172 1.1 christos * valprint.h (print_function_pointer_address): Declare.
11173 1.1 christos
11174 1.1 christos 2012-03-01 Joel Brobecker <brobecker (a] adacore.com>
11175 1.1 christos
11176 1.1 christos * NEWS: Document the fact that one can provide a condition when
11177 1.1 christos creating an Ada exception catchpoint.
11178 1.1 christos
11179 1.1 christos 2012-03-01 Tom Tromey <tromey (a] redhat.com>
11180 1.1 christos
11181 1.1 christos * valprint.c (val_print_type_code_flags): Fix placement of
11182 1.1 christos trailing brace.
11183 1.1 christos
11184 1.1 christos 2012-03-01 Joel Brobecker <brobecker (a] adacore.com>
11185 1.1 christos
11186 1.1 christos * copyright.py (MULTILINE_COMMENT_PREFIXES): Delete.
11187 1.1 christos (update_files): Do not set MULTILINE_COMMENT_PREFIXES
11188 1.1 christos environment variable before calling update-copyright.
11189 1.1 christos
11190 1.1 christos 2012-03-01 Joel Brobecker <brobecker (a] adacore.com>
11191 1.1 christos
11192 1.1 christos * gnulib/extra/update-copyright: Update to the latest from
11193 1.1 christos gnulib's git repository.
11194 1.1 christos * copyright.py: Set UPDATE_COPYRIGHT_USE_INTERVALS environment
11195 1.1 christos variable to 2 instead of 1.
11196 1.1 christos
11197 1.1 christos 2012-02-29 Joel Brobecker <brobecker (a] adacore.com>
11198 1.1 christos
11199 1.1 christos * varobj.c (c_value_of_variable): Remove dead code.
11200 1.1 christos
11201 1.1 christos 2012-02-29 Joel Brobecker <brobecker (a] adacore.com>
11202 1.1 christos
11203 1.1 christos * ada-lex.p (processId): Do not modify already encoded IDs.
11204 1.1 christos Update function documentation.
11205 1.1 christos
11206 1.1 christos 2012-02-29 Joel Brobecker <brobecker (a] adacore.com>
11207 1.1 christos
11208 1.1 christos * ada-lang.h (ada_find_renaming_symbol): Replace parameter
11209 1.1 christos "name" with "struct symbol *name_sym".
11210 1.1 christos * ada-exp.y (write_var_or_type): Update call to
11211 1.1 christos ada_find_renaming_symbol.
11212 1.1 christos "name" with "struct symbol *name_sym". Adjust Implementation
11213 1.1 christos accordingly. Adjust the function documentation.
11214 1.1 christos
11215 1.1 christos 2012-02-29 Joel Brobecker <brobecker (a] adacore.com>
11216 1.1 christos
11217 1.1 christos * ada-lang.h (ada_find_any_symbol, ada_find_any_type): Delete.
11218 1.1 christos * ada-lang.c (ada_find_any_type): Add advance declaration.
11219 1.1 christos Make static. Replace ada_find_any_symbol by
11220 1.1 christos ada_find_any_type_symbol.
11221 1.1 christos (ada_find_any_type_symbol): Renames ada_find_any_symbol.
11222 1.1 christos Improve function description. Make static.
11223 1.1 christos (ada_find_renaming_symbol, find_old_style_renaming_symbol):
11224 1.1 christos Replace ada_find_any_symbol by ada_find_any_type_symbol.
11225 1.1 christos
11226 1.1 christos 2012-02-29 Joel Brobecker <brobecker (a] adacore.com>
11227 1.1 christos
11228 1.1 christos * ada-lang.c (struct tag_args): Delete.
11229 1.1 christos (ada_get_tsd_type): Function body moved up in source file.
11230 1.1 christos (ada_tag_name_1, ada_tag_name_2): Delete.
11231 1.1 christos (ada_get_tsd_from_tag): New function.
11232 1.1 christos (ada_tag_name_from_tsd): New function.
11233 1.1 christos (ada_tag_name): Use a TRY_CATCH block instead of catch_errors
11234 1.1 christos to determine the tag name.
11235 1.1 christos
11236 1.1 christos 2012-02-29 Joel Brobecker <brobecker (a] adacore.com>
11237 1.1 christos
11238 1.1 christos * ada-lang.h (ada_get_decoded_value, ada_get_decoded_type): Add
11239 1.1 christos declaration.
11240 1.1 christos * ada-lang.c (ada_get_decoded_value, ada_get_decoded_type): New
11241 1.1 christos function.
11242 1.1 christos
11243 1.1 christos 2012-02-29 Joel Brobecker <brobecker (a] adacore.com>
11244 1.1 christos
11245 1.1 christos * ada-lang.c (ada_is_ignored_field): Rewrite wrong comment.
11246 1.1 christos
11247 1.1 christos 2012-02-29 Joel Brobecker <brobecker (a] adacore.com>
11248 1.1 christos
11249 1.1 christos * ada-lang.c (ada_lookup_symbol_list): Only cache the result of
11250 1.1 christos full searches.
11251 1.1 christos
11252 1.1 christos 2012-02-29 Joel Brobecker <brobecker (a] adacore.com>
11253 1.1 christos
11254 1.1 christos * ada-lang.c (constrained_packed_array_type): If there is a
11255 1.1 christos parallel XA type, use it to determine the array index type.
11256 1.1 christos
11257 1.1 christos 2012-02-29 Joel Brobecker <brobecker (a] adacore.com>
11258 1.1 christos
11259 1.1 christos * ada-valprint.c (ada_val_print_1): If our value is a reference
11260 1.1 christos to an array descriptor, dereference it before converting it
11261 1.1 christos to a simple array.
11262 1.1 christos
11263 1.1 christos 2012-02-29 Joel Brobecker <brobecker (a] adacore.com>
11264 1.1 christos
11265 1.1 christos * ada-lang.c (ada_to_fixed_value): Call unwrap_value before
11266 1.1 christos creating fixed value.
11267 1.1 christos (ada_value_ind, ada_coerce_ref, assign_component)
11268 1.1 christos (ada_evaluate_subexp): Remove call to unwrap_value before
11269 1.1 christos call to ada_to_fixed_value.
11270 1.1 christos
11271 1.1 christos 2012-02-29 Joel Brobecker <brobecker (a] adacore.com>
11272 1.1 christos
11273 1.1 christos * ada-lang.c (to_fixed_array_type): Set result's type name.
11274 1.1 christos
11275 1.1 christos 2012-02-29 Joel Brobecker <brobecker (a] adacore.com>
11276 1.1 christos
11277 1.1 christos * ada-lang.c (catch_ada_exception_command_split): Add new
11278 1.1 christos argument cond_string. Add support for condition at end of
11279 1.1 christos "catch exception" commands.
11280 1.1 christos (ada_decode_exception_location): Add new argument cond_string.
11281 1.1 christos Update call to catch_ada_exception_command_split.
11282 1.1 christos (create_ada_exception_catchpoint): Add new argument cond_string.
11283 1.1 christos Set the breakpoint condition if needed.
11284 1.1 christos (catch_ada_exception_command): Update call to
11285 1.1 christos ada_decode_exception_location.
11286 1.1 christos (ada_decode_assert_location): Add function documentation.
11287 1.1 christos Add support for condition at end of "catch assert" command.
11288 1.1 christos (catch_assert_command): Update calls to ada_decode_assert_location
11289 1.1 christos and create_ada_exception_catchpoint.
11290 1.1 christos
11291 1.1 christos 2012-02-29 Jan Kratochvil <jan.kratochvil (a] redhat.com>
11292 1.1 christos
11293 1.1 christos Fix disp-step-syscall.exp: fork: single step over fork.
11294 1.1 christos * i386-linux-tdep.c (-i386_linux_get_syscall_number): Rename to ...
11295 1.1 christos (i386_linux_get_syscall_number_from_regcache): ... here, new function
11296 1.1 christos comment, change parameters gdbarch and ptid to regcache. Remove
11297 1.1 christos parameter regcache, initialize gdbarch from regcache here.
11298 1.1 christos (i386_linux_get_syscall_number, i386_linux_displaced_step_copy_insn):
11299 1.1 christos New functions.
11300 1.1 christos (i386_linux_init_abi): Install i386_linux_displaced_step_copy_insn
11301 1.1 christos instead.
11302 1.1 christos * i386-tdep.c (i386_syscall_p): Check also for 'sysenter' and
11303 1.1 christos 'syscall'. Make the 'int' check more strict.
11304 1.1 christos
11305 1.1 christos 2012-02-29 Jan Kratochvil <jan.kratochvil (a] redhat.com>
11306 1.1 christos
11307 1.1 christos Fix reverse mode for syscall on AMD CPUs in 32-bit mode.
11308 1.1 christos * i386-linux-tdep.c (i386_linux_intx80_sysenter_record): Rename to ...
11309 1.1 christos (i386_linux_intx80_sysenter_syscall_record): ... here.
11310 1.1 christos (i386_linux_init_abi): Initialize also I386_SYSCALL_RECORD.
11311 1.1 christos Use the renamed function name.
11312 1.1 christos
11313 1.1 christos 2012-02-29 Jan Kratochvil <jan.kratochvil (a] redhat.com>
11314 1.1 christos
11315 1.1 christos * arm-linux-tdep.c (arm_linux_copy_svc): Reset stale FRAME.
11316 1.1 christos * breakpoint.c (until_break_command): Likewise.
11317 1.1 christos * elfread.c (elf_gnu_ifunc_resolver_stop): Likewise.
11318 1.1 christos * infcall.c (call_function_by_hand): Likewise.
11319 1.1 christos * infcmd.c (finish_forward): Likewise.
11320 1.1 christos * infrun.c (insert_exception_resume_breakpoint): Likewise.
11321 1.1 christos
11322 1.1 christos 2012-02-28 Tristan Gingold <gingold (a] adacore.com>
11323 1.1 christos
11324 1.1 christos * ada-tasks.c (ada_tasks_inferior_data_sniffer): Rework code to
11325 1.1 christos avoid variable assignments inside condition.
11326 1.1 christos
11327 1.1 christos 2012-02-28 Jan Kratochvil <jan.kratochvil (a] redhat.com>
11328 1.1 christos
11329 1.1 christos Fix static analysis issue found by cppcheck.
11330 1.1 christos * microblaze-tdep.c (microblaze_extract_return_value): Fix
11331 1.1 christos uninitialized BUF for size 2.
11332 1.1 christos
11333 1.1 christos 2012-02-27 Chris Dearman <chris (a] mips.com>
11334 1.1 christos Nathan Froyd <froydnj (a] codesourcery.com>
11335 1.1 christos Maciej W. Rozycki <macro (a] codesourcery.com>
11336 1.1 christos
11337 1.1 christos * mips-tdep.c (mips32_instruction_has_delay_slot): New function.
11338 1.1 christos (mips16_instruction_has_delay_slot): Likewise.
11339 1.1 christos (mips_segment_boundary): Likewise.
11340 1.1 christos (mips_adjust_breakpoint_address): Likewise.
11341 1.1 christos (mips_gdbarch_init): Use mips_adjust_breakpoint_address.
11342 1.1 christos
11343 1.1 christos 2012-02-27 Maciej W. Rozycki <macro (a] mips.com>
11344 1.1 christos Maciej W. Rozycki <macro (a] codesourcery.com>
11345 1.1 christos
11346 1.1 christos * infrun.c (handle_inferior_event): Don't proceed through
11347 1.1 christos shared library trampolines if stepping at the machine
11348 1.1 christos instruction level.
11349 1.1 christos
11350 1.1 christos 2012-02-27 Maciej W. Rozycki <macro (a] codesourcery.com>
11351 1.1 christos
11352 1.1 christos * mips-linux-tdep.c (mips_linux_init_abi): Set num_pseudo_regs
11353 1.1 christos too.
11354 1.1 christos
11355 1.1 christos 2012-02-27 Thomas Schwinge <thomas (a] codesourcery.com>
11356 1.1 christos
11357 1.1 christos * sh-tdep.c (sh_make_stub_cache, sh_stub_this_id)
11358 1.1 christos (sh_stub_unwind_sniffer): New functions.
11359 1.1 christos (sh_stub_unwind): New variable.
11360 1.1 christos (sh_gdbarch_init): Wire everything.
11361 1.1 christos
11362 1.1 christos 2012-02-27 Pedro Alves <palves (a] redhat.com>
11363 1.1 christos
11364 1.1 christos * linux-nat.c (pid_is_stopped): Delete, moved to common/.
11365 1.1 christos (linux_nat_post_attach_wait): Adjust to use
11366 1.1 christos linux_proc_pid_is_stopped.
11367 1.1 christos * common/linux-procfs.h (linux_proc_pid_is_stopped): Declare.
11368 1.1 christos * common/linux-procfs.c (linux_proc_pid_is_stopped): New function,
11369 1.1 christos based on pid_is_stopped from both linux-nat.c and
11370 1.1 christos gdbserver/linux-low.c, and renamed.
11371 1.1 christos
11372 1.1 christos 2012-02-24 Maciej W. Rozycki <macro (a] codesourcery.com>
11373 1.1 christos
11374 1.1 christos * remote.c (remote_watchpoint_addr_within_range): New function.
11375 1.1 christos (init_remote_ops): Use it.
11376 1.1 christos
11377 1.1 christos 2012-02-24 Maciej W. Rozycki <macro (a] codesourcery.com>
11378 1.1 christos
11379 1.1 christos * target.h (target_watchpoint_addr_within_range): Document macro.
11380 1.1 christos
11381 1.1 christos 2012-02-24 Pedro Alves <palves (a] redhat.com>
11382 1.1 christos
11383 1.1 christos * stack.c (set_last_displayed_sal): Issue internal_error instead
11384 1.1 christos of warning, and issue it after clearing the last displayed sal.
11385 1.1 christos
11386 1.1 christos 2012-02-24 Jan Kratochvil <jan.kratochvil (a] redhat.com>
11387 1.1 christos Pedro Alves <palves (a] redhat.com>
11388 1.1 christos
11389 1.1 christos * breakpoint.c (until_break_command): Install breakpoints after
11390 1.1 christos all frame manipulations.
11391 1.1 christos
11392 1.1 christos 2012-02-24 Luis Machado <lgustavo (a] codesourcery.com>
11393 1.1 christos
11394 1.1 christos * remote.c (remote_supports_cond_breakpoints): New forward
11395 1.1 christos declaration.
11396 1.1 christos (remote_add_target_side_condition): New function.
11397 1.1 christos (remote_insert_breakpoint): Add target-side breakpoint
11398 1.1 christos conditional if supported.
11399 1.1 christos (remote_insert_hw_breakpoint): Likewise.
11400 1.1 christos (init_remote_ops): Set to_supports_evaluation_of_breakpoint_conditions
11401 1.1 christos hook.
11402 1.1 christos
11403 1.1 christos * target.c (update_current_target): Inherit
11404 1.1 christos to_supports_evaluation_of_breakpoint_conditions.
11405 1.1 christos Default to_supports_evaluation_of_breakpoint_conditions to return_zero.
11406 1.1 christos
11407 1.1 christos * target.h (struct target_ops)
11408 1.1 christos <to_supports_evaluation_of_breakpoint_conditions>: New field.
11409 1.1 christos (target_supports_evaluation_of_breakpoint_conditions): New #define.
11410 1.1 christos
11411 1.1 christos * breakpoint.c (get_first_locp_gte_addr): New forward declaration.
11412 1.1 christos (condition_evaluation_both, condition_evaluation_auto,
11413 1.1 christos condition_evaluation_host, condition_evaluation_target,
11414 1.1 christos condition_evaluation_enums, condition_evaluation_mode_1,
11415 1.1 christos condition_evaluation_mode): New static globals.
11416 1.1 christos (translate_condition_evaluation_mode): New function.
11417 1.1 christos (breakpoint_condition_evaluation_mode): New function.
11418 1.1 christos (gdb_evaluates_breakpoint_condition_p): New function.
11419 1.1 christos (ALL_BP_LOCATIONS_AT_ADDR): New helper macro.
11420 1.1 christos (mark_breakpoint_modified): New function.
11421 1.1 christos (mark_breakpoint_location_modified): New function.
11422 1.1 christos (set_condition_evaluation_mode): New function.
11423 1.1 christos (show_condition_evaluation_mode): New function.
11424 1.1 christos (bp_location_compare_addrs): New function.
11425 1.1 christos (get_first_location_gte_addr): New helper function.
11426 1.1 christos (set_breakpoint_condition): Free condition bytecode if locations
11427 1.1 christos has become unconditional. Call mark_breakpoint_modified (...).
11428 1.1 christos (condition_command): Call update_global_location_list (1) for
11429 1.1 christos breakpoints.
11430 1.1 christos (breakpoint_xfer_memory): Use is_breakpoint (...).
11431 1.1 christos (is_breakpoint): New function.
11432 1.1 christos (parse_cond_to_aexpr): New function.
11433 1.1 christos (build_target_condition_list): New function.
11434 1.1 christos (insert_bp_location): Handle target-side conditional
11435 1.1 christos breakpoints and call build_target_condition_list (...).
11436 1.1 christos (update_inserted_breakpoint_locations): New function.
11437 1.1 christos (insert_breakpoint_locations): Handle target-side conditional
11438 1.1 christos breakpoints.
11439 1.1 christos (bpstat_check_breakpoint_conditions): Add comment.
11440 1.1 christos (bp_condition_evaluator): New function.
11441 1.1 christos (bp_location_condition_evaluator): New function.
11442 1.1 christos (print_breakpoint_location): Print information on where the condition
11443 1.1 christos will be evaluated.
11444 1.1 christos (print_one_breakpoint_location): Likewise.
11445 1.1 christos (init_bp_location): Call mark_breakpoint_location_modified (...) for
11446 1.1 christos breakpoint location.
11447 1.1 christos (force_breakpoint_reinsertion): New functions.
11448 1.1 christos (update_global_location_list): Handle target-side breakpoint
11449 1.1 christos conditions.
11450 1.1 christos Reinsert locations that are already inserted if conditions have
11451 1.1 christos changed.
11452 1.1 christos (bp_location_dtor): Free agent expression bytecode.
11453 1.1 christos (disable_breakpoint): Call mark_breakpoint_modified (...).
11454 1.1 christos Call update_global_location_list (...) with parameter 1 for breakpoints.
11455 1.1 christos (disable_command): Call mark_breakpoint_location_modified (...).
11456 1.1 christos Call update_global_location_list (...) with parameter 1 for breakpoints.
11457 1.1 christos (enable_breakpoint_disp): Call mark_breakpoint_modified (...).
11458 1.1 christos (enable_command): mark_breakpoint_location_modified (...).
11459 1.1 christos (_initialize_breakpoint): Update documentation and add
11460 1.1 christos condition-evaluation breakpoint subcommand.
11461 1.1 christos
11462 1.1 christos * breakpoint.h: Include ax.h.
11463 1.1 christos (condition_list): New data structure.
11464 1.1 christos (condition_status): New enum.
11465 1.1 christos (bp_target_info) <cond_list>: New field.
11466 1.1 christos (bp_location) <condition_changed, cond_bytecode>: New fields.
11467 1.1 christos (is_breakpoint): New prototype.
11468 1.1 christos
11469 1.1 christos 2012-02-24 Luis Machado <lgustavo (a] codesourcery.com>
11470 1.1 christos
11471 1.1 christos * remote.c (remote_state) <cond_breakpoints>: New field.
11472 1.1 christos (PACKET_ConditionalBreakpoints): New enum.
11473 1.1 christos (remote_cond_breakpoint_feature): New function.
11474 1.1 christos (remote_protocol_features): Add new ConditionalBreakpoints entry.
11475 1.1 christos (remote_supports_cond_breakpoints): New function.
11476 1.1 christos (_initialize_remote): Add new packet configuration for
11477 1.1 christos target-side conditional breakpoints.
11478 1.1 christos
11479 1.1 christos 2012-02-24 Luis Machado <lgustavo (a] codesourcery.com>
11480 1.1 christos
11481 1.1 christos * NEWS: Mention target-side conditional breakpoint support,
11482 1.1 christos new condition-evaluation breakpoint subcommand and remote
11483 1.1 christos packet extensions.
11484 1.1 christos
11485 1.1 christos 2012-02-24 Luis Machado <lgustavo (a] codesourcery.com>
11486 1.1 christos
11487 1.1 christos * breakpoint.c (bp_location_compare): Sort by pspace before sorting by
11488 1.1 christos number.
11489 1.1 christos
11490 1.1 christos 2012-02-24 Thomas Schwinge <thomas (a] codesourcery.com>
11491 1.1 christos
11492 1.1 christos * sh-tdep.c (sh_skip_prologue): Use skip_prologue_using_sal.
11493 1.1 christos (after_prologue): Remove.
11494 1.1 christos
11495 1.1 christos 2012-02-23 Tom Tromey <tromey (a] redhat.com>
11496 1.1 christos
11497 1.1 christos * jv-valprint.c (java_val_print): Remove dead code.
11498 1.1 christos
11499 1.1 christos 2012-02-23 Tristan Gingold <gingold (a] adacore.com>
11500 1.1 christos
11501 1.1 christos * ada-tasks.c (struct ada_tasks_inferior_data): Add
11502 1.1 christos known_tasks_element and known_tasks_length fields.
11503 1.1 christos (read_known_tasks_array): Change argument type. Use pointer type
11504 1.1 christos and number of elements from DATA. Adjust.
11505 1.1 christos (read_known_tasks_list): Likewise.
11506 1.1 christos (get_known_tasks_addr): Remove.
11507 1.1 christos (ada_set_current_inferior_known_tasks_addr): Renamed to ...
11508 1.1 christos (ada_tasks_inferior_data_sniffer): ... this. Use symtab for element
11509 1.1 christos type and array length. Merge former get_known_tasks_addr code.
11510 1.1 christos
11511 1.1 christos 2012-02-23 Jan Kratochvil <jan.kratochvil (a] redhat.com>
11512 1.1 christos
11513 1.1 christos PR backtrace/13716
11514 1.1 christos * infcmd.c (finish_forward): New variable frame_id, initialize it, use
11515 1.1 christos it after set_momentary_breakpoint.
11516 1.1 christos
11517 1.1 christos 2012-02-22 Sterling Augustine <saugustine (a] google.com>
11518 1.1 christos
11519 1.1 christos PR 13689:
11520 1.1 christos * breakpoint.c (watchpoint_exp_is_constant): Add UNOP_CAST to switch.
11521 1.1 christos
11522 1.1 christos 2012-02-22 Gary Benson <gbenson (a] redhat.com>
11523 1.1 christos
11524 1.1 christos * dwarf2read.c (dwarf2_read_index): Correct misspelling.
11525 1.1 christos (find_slot_in_mapped_hash): Likewise.
11526 1.1 christos
11527 1.1 christos 2012-02-21 Jan Kratochvil <jan.kratochvil (a] redhat.com>
11528 1.1 christos
11529 1.1 christos PR build/13638
11530 1.1 christos * configure.ac (MAKEINFO): Replace AC_CHECK_PROG by AC_ARG_VAR.
11531 1.1 christos (MAKEINFOFLAGS): Replace static string by AC_ARG_VAR.
11532 1.1 christos * configure: Regenerate.
11533 1.1 christos
11534 1.1 christos 2012-02-21 Tristan Gingold <gingold (a] adacore.com>
11535 1.1 christos Pedro Alves <palves (a] redhat.com>
11536 1.1 christos
11537 1.1 christos * ia64-tdep.c: Do not include libunwind-ia64.h.
11538 1.1 christos * libunwind-frame.h: Remove #ifdef HAVE_LIBUNWIND_H guard.
11539 1.1 christos Include libunwind-ia64.h instead of libunwind.h.
11540 1.1 christos * configure.ac (--with-libunwind, $enable_libunwind): Don't check
11541 1.1 christos for libunwind.h existence.
11542 1.1 christos * configure, config.in: Regenerate.
11543 1.1 christos
11544 1.1 christos 2012-02-21 Anton Gorenkov <xgsa (a] yandex.ru>
11545 1.1 christos
11546 1.1 christos * c-valprint.c (c_value_print): Use value_rtti_indirect_type
11547 1.1 christos instead of value_rtti_target_type.
11548 1.1 christos * eval.c (evaluate_subexp_standard): Use value_rtti_indirect_type
11549 1.1 christos instead of value_rtti_target_type.
11550 1.1 christos * typeprint.c (whatis_exp): Use value_rtti_indirect_type instead of
11551 1.1 christos value_rtti_target_type.
11552 1.1 christos * valops.c (value_ind): Extract function readjust_indirect_value_type.
11553 1.1 christos (value_rtti_target_type): Rename to ...
11554 1.1 christos (value_rtti_indirect_type): ... here and make it indirect. Update
11555 1.1 christos function comment.
11556 1.1 christos * value.c (readjust_indirect_value_type): New function.
11557 1.1 christos (coerce_ref): Support for enclosing type setting for references
11558 1.1 christos with readjust_indirect_value_type.
11559 1.1 christos * value.h (readjust_value_type): New declaration.
11560 1.1 christos (value_rtti_target_type): Rename to ...
11561 1.1 christos (value_rtti_indirect_type): ... here.
11562 1.1 christos
11563 1.1 christos 2012-02-21 Anton Gorenkov <xgsa (a] yandex.ru>
11564 1.1 christos
11565 1.1 christos * MAINTAINERS (Write After Approval): Add myself to the list.
11566 1.1 christos
11567 1.1 christos 2012-02-20 Doug Evans <dje (a] google.com>
11568 1.1 christos
11569 1.1 christos * objfiles.c (add_to_objfile_sections): Remove outdated comments.
11570 1.1 christos Rename objfile_p_char parameter to objfilep.
11571 1.1 christos (build_objfile_section_table): Result is now void. All callers
11572 1.1 christos updated.
11573 1.1 christos * objfiles.h (struct objfile): Tweak comments, whitespace.
11574 1.1 christos (build_objfile_section_table): Update.
11575 1.1 christos
11576 1.1 christos * elfread.c (elf_symfile_segments): Fix warning text.
11577 1.1 christos
11578 1.1 christos 2012-02-20 Tom Tromey <tromey (a] redhat.com>
11579 1.1 christos
11580 1.1 christos PR gdb/13498:
11581 1.1 christos * dwarf2read.c (dw2_expand_symtabs_matching): Only visit a
11582 1.1 christos particular set of file names once.
11583 1.1 christos (dw2_map_symbol_filenames): Likewise.
11584 1.1 christos
11585 1.1 christos 2012-02-20 Jan Kratochvil <jan.kratochvil (a] redhat.com>
11586 1.1 christos
11587 1.1 christos Code cleanup.
11588 1.1 christos * main.c (write_files): Remove the declaration.
11589 1.1 christos (external_editor_command): Move the declaration ...
11590 1.1 christos [GDBTK] (external_editor_command): ... here. Fix the comment.
11591 1.1 christos
11592 1.1 christos 2012-02-20 Tom Tromey <tromey (a] redhat.com>
11593 1.1 christos
11594 1.1 christos * dwarf2read.c (dw2_map_symtabs_matching_filename): Remove
11595 1.1 christos extraneous block.
11596 1.1 christos
11597 1.1 christos 2012-02-20 Tristan Gingold <gingold (a] adacore.com>
11598 1.1 christos
11599 1.1 christos * darwin-nat.h (enum darwin_msg_state): Add comments.
11600 1.1 christos
11601 1.1 christos 2012-02-20 Tristan Gingold <gingold (a] adacore.com>
11602 1.1 christos
11603 1.1 christos * amd64-darwin-tdep.c (x86_darwin_init_abi_64): Fix jb_pc_offset
11604 1.1 christos value.
11605 1.1 christos
11606 1.1 christos 2012-20-18 Joel Brobecker <brobecker (a] adacore.com>
11607 1.1 christos
11608 1.1 christos * breakpoint.c (watchpoint_exp_is_const): Add missing empty line
11609 1.1 christos between function description and implementation.
11610 1.1 christos
11611 1.1 christos 2012-02-17 Tom Tromey <tromey (a] redhat.com>
11612 1.1 christos
11613 1.1 christos PR python/12070:
11614 1.1 christos * python/py-event.c (event_object_getset): New global.
11615 1.1 christos (event_object_type): Reference it.
11616 1.1 christos * python/py-type.c (field_object_getset): New global.
11617 1.1 christos (field_object_type): Reference it.
11618 1.1 christos * python/python-internal.h (gdb_py_generic_dict): Declare.
11619 1.1 christos * python/py-utils.c (gdb_py_generic_dict): New function.
11620 1.1 christos
11621 1.1 christos 2012-02-17 Tristan Gingold <gingold (a] adacore.com>
11622 1.1 christos
11623 1.1 christos * solib-darwin.c (darwin_current_sos): Check magic and filetype
11624 1.1 christos
11625 1.1 christos 2012-02-17 Thomas Schwinge <thomas (a] codesourcery.com>
11626 1.1 christos
11627 1.1 christos * sh-tdep.c (sh_is_renesas_calling_convention): Fix handling of
11628 1.1 christos TYPE_CALLING_CONVENTION annotation.
11629 1.1 christos
11630 1.1 christos 2012-02-16 Kevin Buettner <kevinb (a] redhat.com>
11631 1.1 christos
11632 1.1 christos * MAINTAINERS: Add rx to target ISA section.
11633 1.1 christos * Makefile.in (ALL_TARGET_OBS): Add rx-tdep.o.
11634 1.1 christos (ALLDEPFILES): Add rx-tdep.c.
11635 1.1 christos
11636 1.1 christos 2012-02-16 Tom Tromey <tromey (a] redhat.com>
11637 1.1 christos
11638 1.1 christos * symfile.c (symbol_file_add_main_1): Use inferior's
11639 1.1 christos symfile_flags.
11640 1.1 christos * solib.c (solib_read_symbols): Use inferior's symfile_flags.
11641 1.1 christos * linux-nat.c (linux_child_follow_fork): Set symfile_flags on
11642 1.1 christos inferior.
11643 1.1 christos * infrun.c (handle_vfork_child_exec_or_exit): Set symfile_flags on
11644 1.1 christos inferior.
11645 1.1 christos (follow_exec): Use inferior's symfile_flags.
11646 1.1 christos * inferior.h (struct inferior) <symfile_flags>: New field.
11647 1.1 christos
11648 1.1 christos 2012-02-16 Mike Frysinger <vapier (a] gentoo.org>
11649 1.1 christos
11650 1.1 christos PR gdb/9734:
11651 1.1 christos * remote-sim.c (gdbsim_create_inferior): Call error() when
11652 1.1 christos sim_create_inferior() fails.
11653 1.1 christos
11654 1.1 christos 2012-02-16 Josh Matthews <josh (a] joshmatthews.net>
11655 1.1 christos
11656 1.1 christos * machoread.c: Initialize nbr_syms to avoid warnings-as-errors failure.
11657 1.1 christos
11658 1.1 christos 2012-02-16 Tom Tromey <tromey (a] redhat.com>
11659 1.1 christos
11660 1.1 christos PR c++/13653:
11661 1.1 christos * thread.c (struct current_thread_cleanup) <was_removable>: New
11662 1.1 christos field.
11663 1.1 christos (restore_current_thread_cleanup_dtor): Restore 'removable' field.
11664 1.1 christos (make_cleanup_restore_current_thread): Initialize new field.
11665 1.1 christos
11666 1.1 christos 2012-02-15 Kevin Buettner <kevinb (a] redhat.com>
11667 1.1 christos
11668 1.1 christos * MAINTAINERS: Add rl78 to target ISA section.
11669 1.1 christos * Makefile.in (ALL_TARGET_OBS): Add rl78-tdep.o.
11670 1.1 christos (ALLDEPFILES): Add rl78-tdep.c.
11671 1.1 christos * NEWS: Mention rl78 as a new target.
11672 1.1 christos
11673 1.1 christos 2012-02-15 Aleksandar Ristovski <aristovski (a] qnx.com>
11674 1.1 christos
11675 1.1 christos * frame.c (find_frame_sal): Initialize sal->pspace field from frame
11676 1.1 christos data.
11677 1.1 christos * stack.c (set_last_displayed_sal): Validate that PSPACE is not NULL.
11678 1.1 christos
11679 1.1 christos 2012-02-15 Tom Tromey <tromey (a] redhat.com>
11680 1.1 christos
11681 1.1 christos PR gdb/12659:
11682 1.1 christos * infcmd.c (registers_info): Print just the current register's
11683 1.1 christos name.
11684 1.1 christos
11685 1.1 christos 2012-02-15 Tom Tromey <tromey (a] redhat.com>
11686 1.1 christos
11687 1.1 christos * python/py-symbol.c (sympy_value): Use _().
11688 1.1 christos
11689 1.1 christos 2012-02-15 Pedro Alves <palves (a] redhat.com>
11690 1.1 christos
11691 1.1 christos * remote.c (remote_detach_1, extended_remote_attach_1): Tweak
11692 1.1 christos output to be like native targets'.
11693 1.1 christos (remote_pid_to_str): Special case the null ptid.
11694 1.1 christos
11695 1.1 christos 2012-02-14 Stan Shebs <stan (a] codesourcery.com>
11696 1.1 christos
11697 1.1 christos * NEWS: Mention enable count command.
11698 1.1 christos * breakpoint.h (struct breakpoint): New field enable_count.
11699 1.1 christos * breakpoint.c (enable_breakpoint_disp): Add count argument.
11700 1.1 christos (enable_breakpoint): Add arg to call.
11701 1.1 christos (struct disp_data): New struct.
11702 1.1 christos (do_enable_breakpoint_disp): Interp arg as disp_data and unpack.
11703 1.1 christos (do_map_enable_once_breakpoint): Create a struct and pass it.
11704 1.1 christos (do_map_enable_delete_breakpoint): Ditto.
11705 1.1 christos (do_map_enable_count_breakpoint): New function.
11706 1.1 christos (enable_count_command): New function.
11707 1.1 christos (bpstat_stop_status): Decrement enable_count.
11708 1.1 christos (print_one_breakpoint_location): Report enable count.
11709 1.1 christos (_initialize_breakpoint): Add enable count command.
11710 1.1 christos
11711 1.1 christos 2012-02-14 Kevin Buettner <kevinb (a] redhat.com>
11712 1.1 christos
11713 1.1 christos * rl78-tdep.c (reggroups.h): Include.
11714 1.1 christos (RL78_RAW_BANK0_R0_REGNUM, RL78_RAW_BANK0_R1_REGNUM)
11715 1.1 christos (RL78_RAW_BANK0_R2_REGNUM, RL78_RAW_BANK0_R3_REGNUM)
11716 1.1 christos (RL78_RAW_BANK0_R4_REGNUM, RL78_RAW_BANK0_R5_REGNUM)
11717 1.1 christos (RL78_RAW_BANK0_R6_REGNUM, RL78_RAW_BANK0_R7_REGNUM)
11718 1.1 christos (RL78_RAW_BANK1_R0_REGNUM, RL78_RAW_BANK1_R1_REGNUM)
11719 1.1 christos (RL78_RAW_BANK1_R2_REGNUM, RL78_RAW_BANK1_R3_REGNUM)
11720 1.1 christos (RL78_RAW_BANK1_R4_REGNUM, RL78_RAW_BANK1_R5_REGNUM)
11721 1.1 christos (RL78_RAW_BANK1_R6_REGNUM, RL78_RAW_BANK1_R7_REGNUM)
11722 1.1 christos (RL78_RAW_BANK2_R0_REGNUM, RL78_RAW_BANK2_R1_REGNUM)
11723 1.1 christos (RL78_RAW_BANK2_R2_REGNUM, RL78_RAW_BANK2_R3_REGNUM)
11724 1.1 christos (RL78_RAW_BANK2_R4_REGNUM, RL78_RAW_BANK2_R5_REGNUM)
11725 1.1 christos (RL78_RAW_BANK2_R6_REGNUM, RL78_RAW_BANK2_R7_REGNUM)
11726 1.1 christos (RL78_RAW_BANK3_R0_REGNUM, RL78_RAW_BANK3_R1_REGNUM)
11727 1.1 christos (RL78_RAW_BANK3_R2_REGNUM, RL78_RAW_BANK3_R3_REGNUM)
11728 1.1 christos (RL78_RAW_BANK3_R4_REGNUM, RL78_RAW_BANK3_R5_REGNUM)
11729 1.1 christos (RL78_RAW_BANK3_R6_REGNUM, RL78_RAW_BANK3_R7_REGNUM): Add to
11730 1.1 christos beginning of register list.
11731 1.1 christos (RL78_BANK0_R0_REGNUM, RL78_BANK0_R1_REGNUM, RL78_BANK0_R2_REGNUM)
11732 1.1 christos (RL78_BANK0_R3_REGNUM, RL78_BANK0_R4_REGNUM, RL78_BANK0_R5_REGNUM)
11733 1.1 christos (RL78_BANK0_R6_REGNUM, RL78_BANK0_R7_REGNUM, RL78_BANK1_R0_REGNUM)
11734 1.1 christos (RL78_BANK1_R1_REGNUM, RL78_BANK1_R2_REGNUM, RL78_BANK1_R3_REGNUM)
11735 1.1 christos (RL78_BANK1_R4_REGNUM, RL78_BANK1_R5_REGNUM, RL78_BANK1_R6_REGNUM)
11736 1.1 christos (RL78_BANK1_R7_REGNUM, RL78_BANK2_R0_REGNUM, RL78_BANK2_R1_REGNUM)
11737 1.1 christos (RL78_BANK2_R2_REGNUM, RL78_BANK2_R3_REGNUM, RL78_BANK2_R4_REGNUM)
11738 1.1 christos (RL78_BANK2_R5_REGNUM, RL78_BANK2_R6_REGNUM, RL78_BANK2_R7_REGNUM)
11739 1.1 christos (RL78_BANK3_R0_REGNUM, RL78_BANK3_R1_REGNUM, RL78_BANK3_R2_REGNUM)
11740 1.1 christos (RL78_BANK3_R3_REGNUM, RL78_BANK3_R4_REGNUM, RL78_BANK3_R5_REGNUM)
11741 1.1 christos (RL78_BANK3_R6_REGNUM, RL78_BANK3_R7_REGNUM): Move these into
11742 1.1 christos the pseudo registers. Rearrange other pseudo registers too so
11743 1.1 christos that the bank registers appear at the end.
11744 1.1 christos (rl78_register_type): Account for the fact that the byte sized
11745 1.1 christos bank registers are now pseudo-registers.
11746 1.1 christos (rl78_register_name): Rearrange the register name array. Make
11747 1.1 christos initial set of raw banked registers inaccessible.
11748 1.1 christos (rl78_register_reggroup_p, rl78_register_sim_regno): New functions.
11749 1.1 christos (rl78_pseudo_register_read, rl78_pseudo_register_write): Add
11750 1.1 christos case for copying bytes back and forth between raw and pseudo
11751 1.1 christos versions of the banked registers. Update other cases to reflect
11752 1.1 christos the changed names.
11753 1.1 christos (rl78_return_value): Update to account for changed names of
11754 1.1 christos raw registers.
11755 1.1 christos (rl78_gdbarch_init): Register rl78_register_reggroup_p() and
11756 1.1 christos rl78_register_sim_regno().
11757 1.1 christos
11758 1.1 christos 2012-02-14 Kevin Buettner <kevinb (a] redhat.com>
11759 1.1 christos
11760 1.1 christos * rl78-tdep.c (rl78_skip_prologue): Make `const' the type of
11761 1.1 christos the name parameter being passed to find_pc_partial_function().
11762 1.1 christos
11763 1.1 christos 2012-02-14 Jan Kratochvil <jan.kratochvil (a] redhat.com>
11764 1.1 christos
11765 1.1 christos * MAINTAINERS: Step down from being ia64 target maintainer.
11766 1.1 christos
11767 1.1 christos 2012-02-12 Jan Kratochvil <jan.kratochvil (a] redhat.com>
11768 1.1 christos
11769 1.1 christos * ppc-linux-nat.c (fetch_register, store_register): Fix GCC aliasing
11770 1.1 christos compilation warning.
11771 1.1 christos
11772 1.1 christos 2012-02-12 Jan Kratochvil <jan.kratochvil (a] redhat.com>
11773 1.1 christos
11774 1.1 christos Fix crash on loaded shlibs without loaded exec_bfd.
11775 1.1 christos * exec.c (exec_files_info): Do not crash on NULL EXEC_BFD.
11776 1.1 christos (set_section_command): Replace exec_bfd by p->bfd.
11777 1.1 christos
11778 1.1 christos 2012-02-10 Tom Tromey <tromey (a] redhat.com>
11779 1.1 christos
11780 1.1 christos * linespec.c (decode_line_internal): Skip symtabs_from_filename
11781 1.1 christos when we have a C++ qualified name.
11782 1.1 christos
11783 1.1 christos 2012-02-10 Pedro Alves <palves (a] redhat.com>
11784 1.1 christos
11785 1.1 christos * inferior.c (inferior_pid_to_str): New.
11786 1.1 christos (print_inferior, inferior_command): Use it.
11787 1.1 christos
11788 1.1 christos 2012-02-10 Pedro Alves <palves (a] redhat.com>
11789 1.1 christos
11790 1.1 christos * configure.ac (HAVE_ELF test): Put the old CFLAGS at the end of
11791 1.1 christos the test CFLAGS.
11792 1.1 christos * configure: Regenerate.
11793 1.1 christos
11794 1.1 christos 2012-02-10 Jan Kratochvil <jan.kratochvil (a] redhat.com>
11795 1.1 christos
11796 1.1 christos * linespec.c (decode_line_internal): Fix comment correctness.
11797 1.1 christos
11798 1.1 christos 2012-02-09 Valery Khromov <valery.khromov (a] gmail.com>
11799 1.1 christos
11800 1.1 christos PR gdb/12953
11801 1.1 christos * Makefile.in (HFILES_NO_SRCDIR): Add amd64bsd-nat.h.
11802 1.1 christos * amd64bsd-nat.c: Add support for debug registers (adapted from
11803 1.1 christos i386bsd-nat.c).
11804 1.1 christos [HAVE_PT_GETDBREGS] (amd64bsd_dr_get, amd64bsd_dr_set)
11805 1.1 christos (amd64bsd_dr_set_control, amd64bsd_dr_set_addr)
11806 1.1 christos (amd64bsd_dr_get_addr, amd64bsd_dr_get_status)
11807 1.1 christos (amd64bsd_dr_get_control): New functions.
11808 1.1 christos * amd64bsd-nat.h: New file (adapted from i386bsd-nat.h).
11809 1.1 christos * amd64fbsd-nat.c: Include "amd64bsd-nat.h", "i386-nat.h".
11810 1.1 christos [HAVE_PT_GETDBREGS] (_initialize_amd64fbsd_nat): Add hardware
11811 1.1 christos watchpoints initialization.
11812 1.1 christos * config/i386/fbsd64.mh (NATDEPFILES): Add i386-nat.o.
11813 1.1 christos
11814 1.1 christos 2012-02-09 Jan Kratochvil <jan.kratochvil (a] redhat.com>
11815 1.1 christos
11816 1.1 christos * gdb-gdb.py (StructMainTypePrettyPrinter) <struct_field_img>: Print
11817 1.1 christos flds_bnds.fields.
11818 1.1 christos (StructMainTypePrettyPrinter) <bounds_img>: Print flds_bnds.bounds.
11819 1.1 christos
11820 1.1 christos 2012-02-09 Jan Kratochvil <jan.kratochvil (a] redhat.com>
11821 1.1 christos
11822 1.1 christos * breakpoint.c (bp_location_compare): Fix comment. Reindent the code.
11823 1.1 christos
11824 1.1 christos 2012-02-08 Joel Brobecker <brobecker (a] adacore.com>
11825 1.1 christos
11826 1.1 christos * language.h (symbol_name_cmp_ftype): Renames
11827 1.1 christos symbol_name_match_p_ftype.
11828 1.1 christos (struct language_defn)[la_get_symbol_name_cmp]: Renames
11829 1.1 christos la_get_symbol_name_match_p.
11830 1.1 christos * ada-lang.c (ada_get_symbol_name_cmp): Renames
11831 1.1 christos ada_get_symbol_name_match_p. Update comment.
11832 1.1 christos (ada_language_defn)[la_get_symbol_name_cmp]: Update value.
11833 1.1 christos * linespec.c (struct symbol_matcher_data)[symbol_name_cmp]:
11834 1.1 christos Renames symbol_name_match_p. Update field type.
11835 1.1 christos (iterate_name_matcher, iterate_over_all_matching_symtabs): Adjust.
11836 1.1 christos * c-lang.c, d-lang.c, f-lang.c, jv-lang.c, m2-lang.c, objc-lang.c,
11837 1.1 christos opencl-lang.c, p-lang.c: Replace "la_get_symbol_name_match_p" by
11838 1.1 christos "la_get_symbol_name_cmp" in comments.
11839 1.1 christos * language.c: Likewise.
11840 1.1 christos
11841 1.1 christos 2012-02-08 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
11842 1.1 christos
11843 1.1 christos * amd64-sol2-tdep.c (amd64_sol2_gregset_reg_offset): Correct
11844 1.1 christos %eflags offset.
11845 1.1 christos * i386-sol2-nat.c (amd64_sol2_gregset64_reg_offs)
11846 1.1 christos (amd64_sol2_gregset32_reg_offs): Likewise.
11847 1.1 christos
11848 1.1 christos 2012-02-08 Joel Brobecker <brobecker (a] adacore.com>
11849 1.1 christos
11850 1.1 christos * solib-darwin.c (darwin_bfd_open): Make sure that the filename
11851 1.1 christos of the returned BFD is allocated by GDB.
11852 1.1 christos
11853 1.1 christos 2012-02-07 Tom Tromey <tromey (a] redhat.com>
11854 1.1 christos
11855 1.1 christos PR python/12027:
11856 1.1 christos * python/python-internal.h (frame_object_type): Declare.
11857 1.1 christos * python/py-symbol.c (sympy_needs_frame): New function.
11858 1.1 christos (sympy_value): New function.
11859 1.1 christos (symbol_object_getset): Add "needs_frame".
11860 1.1 christos (symbol_object_methods): Add "value".
11861 1.1 christos * python/py-frame.c (frame_object_type): No longer static.
11862 1.1 christos
11863 1.1 christos 2012-02-07 Tom Tromey <tromey (a] redhat.com>
11864 1.1 christos
11865 1.1 christos PR python/13599:
11866 1.1 christos * python/py-symbol.c (sympy_line): New function.
11867 1.1 christos (symbol_object_getset): Add "line".
11868 1.1 christos
11869 1.1 christos 2012-02-07 Tom Tromey <tromey (a] redhat.com>
11870 1.1 christos
11871 1.1 christos * charset.c (find_charset_names): Check 'in' against NULL.
11872 1.1 christos
11873 1.1 christos 2012-02-06 Doug Evans <dje (a] google.com>
11874 1.1 christos
11875 1.1 christos * gdbtypes.h (struct main_type): Change type of name,tag_name,
11876 1.1 christos and fields.name members from char * to const char *. All uses updated.
11877 1.1 christos (struct cplus_struct_type): Change type of fn_fieldlists.name member
11878 1.1 christos from char * to const char *. All uses updated.
11879 1.1 christos (type_name_no_tag): Update.
11880 1.1 christos (lookup_unsigned_typename, lookup_signed_typename): Update.
11881 1.1 christos * gdbtypes.c (type_name_no_tag): Change result type
11882 1.1 christos from char * to const char *. All callers updated.
11883 1.1 christos (lookup_unsigned_typename, lookup_signed_typename): Change type of
11884 1.1 christos name parameter from char * to const char *.
11885 1.1 christos * symtab.h (struct cplus_specific): Change type of demangled_name
11886 1.1 christos member from char * to const char *. All uses updated.
11887 1.1 christos (struct general_symbol_info): Change type of name and
11888 1.1 christos mangled_lang.demangled_name members from char * to const char *.
11889 1.1 christos All uses updated.
11890 1.1 christos (symbol_get_demangled_name, symbol_natural_name): Update.
11891 1.1 christos (symbol_demangled_name, symbol_search_name): Update.
11892 1.1 christos * symtab.c (symbol_get_demangled_name): Change result type
11893 1.1 christos from char * to const char *. All callers updated.
11894 1.1 christos (symbol_natural_name, symbol_demangled_name): Ditto.
11895 1.1 christos (symbol_search_name): Ditto.
11896 1.1 christos (completion_list_add_name): Change type of symname,sym_text,
11897 1.1 christos text,word parameters from char * to const char *.
11898 1.1 christos (completion_list_objc_symbol): Change type of sym_text,
11899 1.1 christos text,word parameters from char * to const char *.
11900 1.1 christos * ada-lang.c (find_struct_field): Change type of name parameter
11901 1.1 christos from char * to const char *.
11902 1.1 christos (encoded_ordered_before): Similarly for N0,N1 parameters.
11903 1.1 christos (old_renaming_is_invisible): Similarly for function_name parameter.
11904 1.1 christos (ada_type_name): Change result type from char * to const char *.
11905 1.1 christos All callers updated.
11906 1.1 christos * ada-lang.h (ada_type_name): Update.
11907 1.1 christos * buildsym.c (hashname): Change type of name parameter
11908 1.1 christos from char * to const char *.
11909 1.1 christos * buildsym.h (hashname): Update.
11910 1.1 christos * dbxread.c (end_psymtab): Change type of include_list parameter
11911 1.1 christos from char ** to const char **.
11912 1.1 christos * dwarf2read.c (determine_prefix): Change result type
11913 1.1 christos from char * to const char *. All callers updated.
11914 1.1 christos * f-lang.c (find_common_for_function): Change type of name, funcname
11915 1.1 christos parameters from char * to const char *.
11916 1.1 christos * f-lang.c (find_common_for_function): Update.
11917 1.1 christos * f-valprint.c (list_all_visible_commons): Change type of funcname
11918 1.1 christos parameters from char * to const char *.
11919 1.1 christos * gdbarch.sh (static_transform_name): Change type of name parameter
11920 1.1 christos and result from char * to const char *.
11921 1.1 christos * gdbarch.c: Regenerate.
11922 1.1 christos * gdbarch.h: Regenerate.
11923 1.1 christos * i386-sol2-tdep.c (i386_sol2_static_transform_name): Change type
11924 1.1 christos of name parameter from char * to const char *.
11925 1.1 christos * jv-lang.c (java_primitive_type_from_name): Ditto.
11926 1.1 christos (java_demangled_signature_length): Similarly for signature parameter.
11927 1.1 christos (java_demangled_signature_copy): Ditto.
11928 1.1 christos (java_demangle_type_signature): Ditto.
11929 1.1 christos * jv-lang.h (java_primitive_type_from_name): Update.
11930 1.1 christos (java_demangle_type_signature): Update.
11931 1.1 christos * objc-lang.c (specialcmp): Change type of a,b parameters
11932 1.1 christos from char * to const char *.
11933 1.1 christos * p-lang.c (is_pascal_string_type): Change type of arrayname parameter
11934 1.1 christos from char * to const char *. All callers updated.
11935 1.1 christos * p-lang.h (is_pascal_string_type): Update.
11936 1.1 christos * solib-frv.c (find_canonical_descriptor_in_load_object): Change type
11937 1.1 christos of name parameter from char * to const char *.
11938 1.1 christos * sparc-sol2-tdep.c (sparc_sol2_static_transform_name): Ditto.
11939 1.1 christos * utils.c (fprintf_symbol_filtered): Ditto.
11940 1.1 christos * defs.h (fprintf_symbol_filtered): Update.
11941 1.1 christos * sparc-tdep.h (sparc_sol2_static_transform_name): Update.
11942 1.1 christos * stabsread.h (end_psymtab): Update.
11943 1.1 christos * stack.c (find_frame_funname): Change type of funname parameter
11944 1.1 christos from char ** to const char **.
11945 1.1 christos * stack.h (find_frame_funname): Update.
11946 1.1 christos * typeprint.c (type_print): Change type of varstring parameter
11947 1.1 christos from char * to const char *.
11948 1.1 christos * value.h (type_print): Update.
11949 1.1 christos * xcoffread.c (xcoff_start_psymtab): Change type of filename parameter
11950 1.1 christos from char * to const char *. All callers updated.
11951 1.1 christos (xcoff_end_psymtab): Change type of include_list parameter
11952 1.1 christos from char ** to const char **. All callers updated.
11953 1.1 christos (swap_sym): Similarly for name parameter. All callers updated.
11954 1.1 christos * coffread.c (patch_type): Add (char*) cast to xfree parameter.
11955 1.1 christos Use xstrdup.
11956 1.1 christos (process_coff_symbol): Use xstrdup.
11957 1.1 christos * stabsread.c (stabs_method_name_from_physname): Renamed from
11958 1.1 christos update_method_name_from_physname. Change result type from void
11959 1.1 christos to char *. All callers updated.
11960 1.1 christos (read_member_functions): In has_destructor case, store name in objfile
11961 1.1 christos obstack instead of malloc space. In !has_stub case, fix mem leak.
11962 1.1 christos
11963 1.1 christos 2012-02-06 Luca Pizzamiglio <luca.pizzamiglio (a] gmail.com>
11964 1.1 christos
11965 1.1 christos * configure: Rebuild.
11966 1.1 christos * configure.ac: Put -L../bfd and -L../libiberty at the front of
11967 1.1 christos LDFLAGS.
11968 1.1 christos
11969 1.1 christos 2012-02-03 Kevin Buettner <kevinb (a] redhat.com>
11970 1.1 christos
11971 1.1 christos * configure.tgt (rl78-*-elf): New target.
11972 1.1 christos * rl78-tdep.c: New file.
11973 1.1 christos
11974 1.1 christos 2012-02-03 Philippe Waroquiers <philippe.waroquiers (a] skynet.be>
11975 1.1 christos
11976 1.1 christos * remote.c (remote_rcmd): Use getpkt_sane to detect timeout
11977 1.1 christos and continue the loop. Add QUIT statement.
11978 1.1 christos
11979 1.1 christos 2012-02-03 Tom Tromey <tromey (a] redhat.com>
11980 1.1 christos
11981 1.1 christos PR gdb/13596:
11982 1.1 christos * solib.h (gdb_bfd_lookup_symbol_from_symtab): Rename from
11983 1.1 christos bfd_lookup_symbol_from_symtab.
11984 1.1 christos * solib-pa64.c (pa64_solib_create_inferior_hook): Use
11985 1.1 christos gdb_bfd_lookup_symbol_from_symtab.
11986 1.1 christos
11987 1.1 christos 2012-02-03 Joel Brobecker <brobecker (a] adacore.com>
11988 1.1 christos
11989 1.1 christos * mi/mi-cmd-stack.c (list_args_or_locals): For argument symbols,
11990 1.1 christos use SYMBOL_LINKAGE_NAME to find the corresponding non-argument
11991 1.1 christos symbol. Add assertion that sym2 is never NULL.
11992 1.1 christos
11993 1.1 christos 2012-02-02 Doug Evans <dje (a] google.com>
11994 1.1 christos
11995 1.1 christos * blockframe.c (find_pc_partial_function_gnu_ifunc): Change type of
11996 1.1 christos "name" parameter to const char ** from char **. All callers updated.
11997 1.1 christos (find_pc_partial_function): Ditto.
11998 1.1 christos (cache_pc_function_name): Change type to const char * from char *.
11999 1.1 christos * symtab.h ((find_pc_partial_function_gnu_ifunc): Update.
12000 1.1 christos (find_pc_partial_function): Update.
12001 1.1 christos * alpha-tdep.h (struct gdbarch_tdep, member pc_in_sigtramp): Change
12002 1.1 christos type of "name" parameter to const char * from char *.
12003 1.1 christos All uses updated.
12004 1.1 christos * arch-utils.c (generic_in_solib_return_trampoline): Change
12005 1.1 christos type of "name" parameter to const char * from char *.
12006 1.1 christos * arch-utils.h (generic_in_solib_return_trampoline): Update.
12007 1.1 christos * frv-linux-tdep.c (frv_linux_pc_in_sigtramp): Change
12008 1.1 christos type of "name" parameter to const char * from char *.
12009 1.1 christos * gdbarch.sh (in_solib_return_trampoline): Ditto.
12010 1.1 christos * gdbarch.c: Regenerate.
12011 1.1 christos * gdbarch.h: Regenerate.
12012 1.1 christos * hppa-hpux-tdep.c (hppa_hpux_in_solib_return_trampoline): Update.
12013 1.1 christos * rs6000-tdep.c (rs6000_in_solib_return_trampoline): Update.
12014 1.1 christos * m32r-linux-tdep.c (m32r_linux_pc_in_sigtramp): Change
12015 1.1 christos type of "name" parameter to const char * from char *.
12016 1.1 christos * skip.c (skip_function_pc): Ditto.
12017 1.1 christos * sparc-sol2-tdep.c (sparc_sol2_pc_in_sigtramp): Ditto.
12018 1.1 christos * sparc-tdep.h (sparc_sol2_pc_in_sigtramp): Update.
12019 1.1 christos * sparc64fbsd-tdep.c (sparc64fbsd_pc_in_sigtramp): Ditto.
12020 1.1 christos * sparc64nbsd-tdep.c (sparc64nbsd_pc_in_sigtramp): Ditto.
12021 1.1 christos * sparc64obsd-tdep.c (sparc64obsd_pc_in_sigtramp): Ditto.
12022 1.1 christos * sparcnbsd-tdep.c (sparc32nbsd_pc_in_sigtramp): Ditto.
12023 1.1 christos * sparcobsd-tdep.c (sparc32obsd_pc_in_sigtramp): Ditto.
12024 1.1 christos * nbsd-tdep.c (nbsd_pc_in_sigtramp): Similary for "func_name".
12025 1.1 christos * nbsd-tdep.h (nbsd_pc_in_sigtramp): Update.
12026 1.1 christos
12027 1.1 christos 2012-02-02 Pedro Alves <palves (a] redhat.com>
12028 1.1 christos
12029 1.1 christos * remote.c (remote_get_min_fast_tracepoint_insn_len): Return 0 if
12030 1.1 christos the current inferior has no execution. Make sure the current
12031 1.1 christos remote process matches gdb's current inferior.
12032 1.1 christos
12033 1.1 christos 2012-02-02 Tom Tromey <tromey (a] redhat.com>
12034 1.1 christos
12035 1.1 christos PR gdb/13405:
12036 1.1 christos * tui/tui-win.c (parse_scrolling_args): Don't write to possibly
12037 1.1 christos read-only memory.
12038 1.1 christos
12039 1.1 christos 2012-02-02 Tom Tromey <tromey (a] redhat.com>
12040 1.1 christos
12041 1.1 christos PR gdb/9307:
12042 1.1 christos * symtab.c (lookup_language_this): Set block_found.
12043 1.1 christos
12044 1.1 christos 2012-02-01 Tom Tromey <tromey (a] redhat.com>
12045 1.1 christos
12046 1.1 christos PR gdb/13431:
12047 1.1 christos * jit.c (struct jit_inferior_data): Rewrite.
12048 1.1 christos (struct jit_objfile_data): New.
12049 1.1 christos (get_jit_objfile_data): New function.
12050 1.1 christos (add_objfile_entry): Update.
12051 1.1 christos (jit_read_descriptor): Return int. Replace descriptor_addr
12052 1.1 christos argument with inf_data. Update. Don't call error.
12053 1.1 christos (jit_breakpoint_re_set_internal): Reorder logic. Update. Look up
12054 1.1 christos descriptor here.
12055 1.1 christos (jit_inferior_init): Don't look up descriptor. Don't call error.
12056 1.1 christos (jit_reset_inferior_data_and_breakpoints)
12057 1.1 christos (jit_inferior_created_observer): Remove.
12058 1.1 christos (jit_inferior_exit_hook): Update.
12059 1.1 christos (jit_executable_changed_observer): Remove.
12060 1.1 christos (jit_event_handler): Update.
12061 1.1 christos (free_objfile_data): Reset inferior data if needed.
12062 1.1 christos (_initialize_jit): Update.
12063 1.1 christos
12064 1.1 christos 2012-02-01 Tom Tromey <tromey (a] redhat.com>
12065 1.1 christos
12066 1.1 christos * jit.c (bfd_open_from_target_memory): Move higher in file.
12067 1.1 christos
12068 1.1 christos 2012-02-01 Tristan Gingold <gingold (a] adacore.com>
12069 1.1 christos
12070 1.1 christos * libunwind-frame.c (libunwind_load): Display message if dlopen
12071 1.1 christos failed.
12072 1.1 christos
12073 1.1 christos 2012-02-01 Gary Benson <gbenson (a] redhat.com>
12074 1.1 christos
12075 1.1 christos * symtab.h (symbol_found_callback_ftype): New typedef.
12076 1.1 christos (iterate_over_symbols): Use the above.
12077 1.1 christos * symtab.c (iterate_over_symbols): Likewise.
12078 1.1 christos * language.h (language_defn->la_iterate_over_symbols): Likewise.
12079 1.1 christos * ada-lang.c (ada_iterate_over_symbols): Likewise.
12080 1.1 christos * linespec.c (iterate_over_all_matching_symtabs): Likewise.
12081 1.1 christos (iterate_name_matcher): Document return values.
12082 1.1 christos (collect_one_symbol): Likewise.
12083 1.1 christos (collect_function_symbols): Likewise.
12084 1.1 christos (collect_symbols): Likewise.
12085 1.1 christos
12086 1.1 christos 2012-02-01 Tom Tromey <tromey (a] redhat.com>
12087 1.1 christos
12088 1.1 christos * ada-lang.c (resolve_subexp): Update.
12089 1.1 christos (ada_lookup_symbol_list): Add 'full_search' argument.
12090 1.1 christos (ada_iterate_over_symbols): Pass 0 as full_search argument to
12091 1.1 christos ada_lookup_symbol_list.
12092 1.1 christos (ada_lookup_encoded_symbol): Update.
12093 1.1 christos (get_var_value): Update.
12094 1.1 christos * ada-exp.y (block_lookup): Update.
12095 1.1 christos (write_var_or_type): Update.
12096 1.1 christos (write_name_assoc): Update.
12097 1.1 christos * ada-lang.h (ada_lookup_symbol_list): Update.
12098 1.1 christos
12099 1.1 christos 2012-01-31 Tom Tromey <tromey (a] redhat.com>
12100 1.1 christos
12101 1.1 christos * language.h (struct language_defn) <la_iterate_over_symbols>: Fix
12102 1.1 christos comment.
12103 1.1 christos
12104 1.1 christos 2012-01-31 Doug Evans <dje (a] google.com>
12105 1.1 christos
12106 1.1 christos * symtab.h: Remove outdated comment.
12107 1.1 christos (SYMBOL_MATCHES_NATURAL_NAME): Delete.
12108 1.1 christos
12109 1.1 christos 2012-02-01 Josh Matthews <josh (a] joshmatthews.net> (tiny change)
12110 1.1 christos
12111 1.1 christos Fix build error in Darwin port.
12112 1.1 christos * i386-darwin-nat.c: Include i386-nat.h.
12113 1.1 christos
12114 1.1 christos 2012-01-30 Tom Tromey <tromey (a] redhat.com>
12115 1.1 christos
12116 1.1 christos PR breakpoints/13568:
12117 1.1 christos * dwarf2read.c (dwarf_decode_macro_bytes): Add 'include_hash'
12118 1.1 christos argument. Check for recursive includes.
12119 1.1 christos (dwarf_decode_macros): Create an include hash.
12120 1.1 christos
12121 1.1 christos 2012-01-30 Michael Eager <eager (a] eagercon.com>
12122 1.1 christos
12123 1.1 christos * configure.tgt (powerpc-*-linux*): Add glibc-tdep.o.
12124 1.1 christos * ppc-linux-tdep.c: Include glibc-tdep.h.
12125 1.1 christos (powerpc32_plt_stub, powerpc32_plt_stub_so): Add PLT stub templates.
12126 1.1 christos (powerpc_linux_in_plt_stub): New function.
12127 1.1 christos (powerpc_linux_in_dynsym_resolve_code): New function.
12128 1.1 christos (ppc_skip_trampoline_code): New function.
12129 1.1 christos (ppc_linux_init_abi): Use PPC specific functions rather than generic.
12130 1.1 christos Use glibc_skip_solib_resolver.
12131 1.1 christos
12132 1.1 christos 2012-01-28 Jan Kratochvil <jan.kratochvil (a] redhat.com>
12133 1.1 christos
12134 1.1 christos Code cleanup: Make 1440 bytes of data segment read-only.
12135 1.1 christos * arch-utils.c (endian_enum): Make it const char *const [].
12136 1.1 christos * arm-tdep.c (fp_model_strings, arm_abi_strings, arm_mode_strings):
12137 1.1 christos Likewise.
12138 1.1 christos * breakpoint.c (always_inserted_enums): Likewise.
12139 1.1 christos * cli/cli-cmds.c (script_ext_enums): Likewise.
12140 1.1 christos * cli/cli-decode.c (add_setshow_enum_cmd, complete_on_enum): Make the
12141 1.1 christos enumlist parameter const char *const *.
12142 1.1 christos * cli/cli-decode.h (struct cmd_list_element): Make the enums field
12143 1.1 christos const char *const *.
12144 1.1 christos * command.h (complete_on_enum, add_setshow_enum_cmd): Make the enumlist
12145 1.1 christos parameter const char *const *.
12146 1.1 christos * cris-tdep.c (cris_modes): Make it const char *const [].
12147 1.1 christos * filesystem.c (target_file_system_kinds): Likewise.
12148 1.1 christos * i386-tdep.c (valid_flavors, valid_conventions): Likewise.
12149 1.1 christos * infrun.c (follow_fork_mode_kind_names, follow_exec_mode_names)
12150 1.1 christos (can_use_displaced_stepping_enum, scheduler_enums)
12151 1.1 christos (exec_direction_names): Likewise.
12152 1.1 christos * language.c (_initialize_language): Make the type_or_range_names and
12153 1.1 christos case_sensitive_names variables const char *const [].
12154 1.1 christos * mips-tdep.c (mips_abi_strings): Make it const char *const [].
12155 1.1 christos * python/python.c (python_excp_enums): Likewise.
12156 1.1 christos * remote.c (interrupt_sequence_modes): Likewise.
12157 1.1 christos * rs6000-tdep.c (powerpc_vector_strings): Likewise.
12158 1.1 christos * serial.c (logbase_enums): Likewise.
12159 1.1 christos * sh-tdep.c (sh_cc_enum): Likewise.
12160 1.1 christos * stack.c (print_frame_arguments_choices, print_entry_values_choices):
12161 1.1 christos Likewise.
12162 1.1 christos * symtab.c (multiple_symbols_modes): Likewise.
12163 1.1 christos * tui/tui-win.c (tui_border_kind_enums, tui_border_mode_enums):
12164 1.1 christos Likewise.
12165 1.1 christos * utils.c (internal_problem_modes): Likewise.
12166 1.1 christos
12167 1.1 christos 2012-01-27 Jan Kratochvil <jan.kratochvil (a] redhat.com>
12168 1.1 christos
12169 1.1 christos Fix the 2012-01-26 regression by la_get_symbol_name_match_p.
12170 1.1 christos * linespec.c (iterate_name_matcher): Negate the SYMBOL_NAME_MATCH_P
12171 1.1 christos result.
12172 1.1 christos
12173 1.1 christos 2012-01-27 Doug Evans <dje (a] google.com>
12174 1.1 christos
12175 1.1 christos * configure.ac (with_python): Fix absolute path handling for win32.
12176 1.1 christos * configure: Regenerate.
12177 1.1 christos
12178 1.1 christos 2012-01-26 Doug Evans <dje (a] google.com>
12179 1.1 christos
12180 1.1 christos * symtab.c: Whitespace cleanup, no code changes.
12181 1.1 christos
12182 1.1 christos * symtab.c (lookup_symbol_in_language): Improve comment.
12183 1.1 christos (lookup_symbol_aux): Fix comment.
12184 1.1 christos
12185 1.1 christos * psymtab.c (add_psymbol_to_list): Result is now "void".
12186 1.1 christos * psympriv.h (add_psymbol_to_list): Update.
12187 1.1 christos
12188 1.1 christos * dwarf2read.c (add_partial_symbol): Delete local psym, unused.
12189 1.1 christos
12190 1.1 christos 2012-01-26 Jan Kratochvil <jan.kratochvil (a] redhat.com>
12191 1.1 christos
12192 1.1 christos Do not open script filenames twice.
12193 1.1 christos * cli/cli-cmds.c (source_script_from_stream): Pass to
12194 1.1 christos source_python_script also STREAM.
12195 1.1 christos * python/py-auto-load.c (source_section_scripts): Pass to
12196 1.1 christos source_python_script_for_objfile also STREAM.
12197 1.1 christos (auto_load_objfile_script): Pass to source_python_script_for_objfile
12198 1.1 christos also INPUT.
12199 1.1 christos * python/python-internal.h (source_python_script_for_objfile): New
12200 1.1 christos parameter file, rename parameter file to filename.
12201 1.1 christos * python/python.c (python_run_simple_file): Call PyRun_SimpleFile
12202 1.1 christos instead if !_WIN32. Update the function comment.
12203 1.1 christos (source_python_script, source_python_script_for_objfile)
12204 1.1 christos (source_python_script): New parameter file, rename parameter file to
12205 1.1 christos filename. Pass FILENAME to python_run_simple_file.
12206 1.1 christos * python/python.h (source_python_script): New parameter file, rename
12207 1.1 christos parameter file to filename.
12208 1.1 christos
12209 1.1 christos 2012-01-26 Pedro Alves <palves (a] redhat.com>
12210 1.1 christos
12211 1.1 christos * corelow.c (core_has_fake_pid): Delete.
12212 1.1 christos (core_close): Delete references to `core_has_fake_pid'.
12213 1.1 christos (add_to_thread_list): Adjust to mark the inferior's pid as fake.
12214 1.1 christos (core_open): Delete references to `core_has_fake_pid'.
12215 1.1 christos (core_pid_to_str): Adjust to check inferior->fake_pid_p instead of
12216 1.1 christos the removed global.
12217 1.1 christos
12218 1.1 christos 2012-01-26 Joel Brobecker <brobecker (a] adacore.com>
12219 1.1 christos
12220 1.1 christos * symfile.h (struct quick_symbol_functions) [expand_symtabs_matching]:
12221 1.1 christos Remove language parameter from name_matcher. Adjust the comment.
12222 1.1 christos * symtab.c (search_symbols_name_matches, expand_partial_symbol_name):
12223 1.1 christos Remove language parameter.
12224 1.1 christos * ada-lang.c (ada_expand_partial_symbol_name): Likewise.
12225 1.1 christos * linespec.c (iterate_name_matcher): Likewise.
12226 1.1 christos * dwarf2read.c (dw2_expand_symtabs_matching): Adjust type of
12227 1.1 christos name_matcher. Adjust call accordingly.
12228 1.1 christos * psymtab.c (expand_symtabs_matching_via_partial): Likewise.
12229 1.1 christos (maintenance_check_symtabs): Adjust type of parameter "fun".
12230 1.1 christos * psymtab.h (maintenance_check_symtabs): Likewise.
12231 1.1 christos
12232 1.1 christos 2012-01-26 Joel Brobecker <brobecker (a] adacore.com>
12233 1.1 christos
12234 1.1 christos * language.h (symbol_name_match_p_ftype): New typedef.
12235 1.1 christos (struct language_defn): Replace field la_symbol_name_compare
12236 1.1 christos by la_get_symbol_name_match_p.
12237 1.1 christos * ada-lang.c (ada_get_symbol_name_match_p): New function.
12238 1.1 christos (ada_language_defn): Use it.
12239 1.1 christos * linespec.c (struct symbol_matcher_data): New type.
12240 1.1 christos (iterate_name_matcher): Rewrite.
12241 1.1 christos (iterate_over_all_matching_symtabs): Pass a pointer to
12242 1.1 christos a symbol_matcher_data struct to expand_symtabs_matching
12243 1.1 christos instead of just the lookup name.
12244 1.1 christos * c-lang.c, d-lang.c, jv-lang.c, m2-lang.c, objc-lang.c,
12245 1.1 christos opencl-lang.c, p-lang.c, language.c: Delete field
12246 1.1 christos la_symbol_name_compare, and replace by NULL for new field
12247 1.1 christos la_get_symbol_name_match_p.
12248 1.1 christos * symfile.h (struct quick_symbol_functions): Update comment.
12249 1.1 christos
12250 1.1 christos 2012-01-25 Tom Tromey <tromey (a] redhat.com>
12251 1.1 christos
12252 1.1 christos * breakpoint.c (bpstat_stop_status): Check 'breakpoint_at' before
12253 1.1 christos dereferencing.
12254 1.1 christos
12255 1.1 christos 2012-01-24 Tom Tromey <tromey (a] redhat.com>
12256 1.1 christos
12257 1.1 christos PR symtab/12406:
12258 1.1 christos * solib.c (update_solib_list): Update the program space's
12259 1.1 christos added_solibs and deleted_solibs fields.
12260 1.1 christos * progspace.h (struct program_space) <added_solibs,
12261 1.1 christos deleted_solibs>: New fields.
12262 1.1 christos (clear_program_space_solib_cache): Declare.
12263 1.1 christos * progspace.c (release_program_space): Call
12264 1.1 christos clear_program_space_solib_cache.
12265 1.1 christos (clear_program_space_solib_cache): New function.
12266 1.1 christos * infrun.c (handle_inferior_event) <TARGET_WAITKIND_LOADED>: Call
12267 1.1 christos bpstat_stop_status. Use handle_solib_event.
12268 1.1 christos * breakpoint.c: Include gdb_regex.h.
12269 1.1 christos (print_solib_event): New function.
12270 1.1 christos (bpstat_print): Use print_solib_event.
12271 1.1 christos (bpstat_stop_status): Add special case for bp_shlib_event.
12272 1.1 christos (handle_solib_event): New function.
12273 1.1 christos (bpstat_what): Use handle_solib_event.
12274 1.1 christos (struct solib_catchpoint): New.
12275 1.1 christos (dtor_catch_solib, insert_catch_solib, remove_catch_solib)
12276 1.1 christos (breakpoint_hit_catch_solib, check_status_catch_solib)
12277 1.1 christos (print_it_catch_solib, print_one_catch_solib)
12278 1.1 christos (print_mention_catch_solib, print_recreate_catch_solib): New
12279 1.1 christos functions.
12280 1.1 christos (catch_solib_breakpoint_ops): New global.
12281 1.1 christos (catch_load_or_unload, catch_load_command_1)
12282 1.1 christos (catch_unload_command_1): New functions.
12283 1.1 christos (internal_bkpt_check_status): Add special case for
12284 1.1 christos bp_shlib_event.
12285 1.1 christos (internal_bkpt_print_it): Use print_solib_event.
12286 1.1 christos (initialize_breakpoint_ops): Initialize
12287 1.1 christos catch_solib_breakpoint_ops.
12288 1.1 christos (_initialize_breakpoint): Register "catch load" and "catch
12289 1.1 christos unload".
12290 1.1 christos * breakpoint.h (handle_solib_event): Declare.
12291 1.1 christos * NEWS: Add entry for "catch load" and "catch unload".
12292 1.1 christos
12293 1.1 christos 2012-01-24 Tom Tromey <tromey (a] redhat.com>
12294 1.1 christos
12295 1.1 christos * ada-lang.c: Include gdb_vecs.h.
12296 1.1 christos * charset.c: Include gdb_vecs.h.
12297 1.1 christos * tracepoint.h: Include gdb_vecs.h.
12298 1.1 christos * gdb_vecs.h: New file.
12299 1.1 christos
12300 1.1 christos 2012-01-24 Pedro Alves <pedro (a] codesourcery.com>
12301 1.1 christos
12302 1.1 christos * breakpoint.c (breakpoint_hit_catch_fork)
12303 1.1 christos (breakpoint_hit_catch_vfork, breakpoint_hit_catch_syscall)
12304 1.1 christos (breakpoint_hit_catch_exec): Make use of the `ws' argument.
12305 1.1 christos * infrun.c (inferior_has_forked, inferior_has_vforked)
12306 1.1 christos (inferior_has_execd, inferior_has_called_syscall): Delete.
12307 1.1 christos (handle_syscall_event): Get syscall_number from the execution
12308 1.1 christos control state's wait status.
12309 1.1 christos (wait_for_inferior): Don't clear syscall_number.
12310 1.1 christos
12311 1.1 christos 2012-01-24 Pedro Alves <palves (a] redhat.com>
12312 1.1 christos
12313 1.1 christos * breakpoint.c (bpstat_check_location, bpstat_stop_status,
12314 1.1 christos pc_at_non_inline_function): Add `ws' parameter, and pass it down.
12315 1.1 christos (breakpoint_hit_catch_fork, breakpoint_hit_catch_vfork)
12316 1.1 christos (breakpoint_hit_catch_syscall, breakpoint_hit_catch_exec): Add
12317 1.1 christos `ws' parameter.
12318 1.1 christos (breakpoint_hit_ranged_breakpoint): Add `ws' parameter. Return
12319 1.1 christos false for events other than TARGET_SIGNAL_TRAP.
12320 1.1 christos (breakpoint_hit_watchpoint, base_breakpoint_breakpoint_hit):
12321 1.1 christos Add `ws' parameter.
12322 1.1 christos (bkpt_breakpoint_hit): Add `ws' parameter. Return false for
12323 1.1 christos events other than TARGET_SIGNAL_TRAP.
12324 1.1 christos (tracepoint_breakpoint_hit): Add `ws' parameter.
12325 1.1 christos * breakpoint.h (struct breakpoint_ops) <breakpoint_hit>: Add `ws'
12326 1.1 christos parameter.
12327 1.1 christos (bpstat_stop_status): Same.
12328 1.1 christos (pc_at_non_inline_function): Same.
12329 1.1 christos * infrun.c (handle_syscall_event, handle_inferior_event): Adjust
12330 1.1 christos to pass the current event's waitstatus to bpstat_stop_status
12331 1.1 christos and pc_at_non_inline_function.
12332 1.1 christos
12333 1.1 christos 2012-01-24 Jan Kratochvil <jan.kratochvil (a] redhat.com>
12334 1.1 christos
12335 1.1 christos Code cleanup.
12336 1.1 christos * cli/cli-cmds.c (source_script_from_stream): Never fclose STREAM.
12337 1.1 christos Update the function comment for it.
12338 1.1 christos (source_script_with_search): Call make_cleanup_fclose for STREAM.
12339 1.1 christos * cli/cli-script.c (script_from_file): Do not call make_cleanup_fclose
12340 1.1 christos for STREAM.
12341 1.1 christos
12342 1.1 christos 2012-01-24 Pedro Alves <palves (a] redhat.com>
12343 1.1 christos
12344 1.1 christos * breakpoint.c (bpstat_stop_status): Moving clearing print_it
12345 1.1 christos outside `bs->stop' block.
12346 1.1 christos (bpstat_what): Rework bp_shlib_event handling.
12347 1.1 christos (internal_bkpt_check_status): If the breakpoint is a
12348 1.1 christos bp_shlib_event, then set bs->stop and bs->print if
12349 1.1 christos stop_on_solib_events is set.
12350 1.1 christos
12351 1.1 christos 2012-01-24 Gary Benson <gbenson (a] redhat.com>
12352 1.1 christos
12353 1.1 christos Delete #if 0'd out code.
12354 1.1 christos * stack.c (print_frame_label_vars): Remove.
12355 1.1 christos (catch_info): Likewise.
12356 1.1 christos (_initialize_stack): Remove "info catch" command.
12357 1.1 christos * NEWS: Mention the above.
12358 1.1 christos
12359 1.1 christos 2012-01-24 Pedro Alves <palves (a] redhat.com>
12360 1.1 christos
12361 1.1 christos * remote.c (remote_add_inferior): New `fake_pid_p' parameter. Use
12362 1.1 christos it.
12363 1.1 christos (remote_notice_new_inferior): If the remote end doesn't support
12364 1.1 christos the multiprocess extensions, then the PID is fake.
12365 1.1 christos (add_current_inferior_and_thread): New.
12366 1.1 christos (remote_start_remote): Use it.
12367 1.1 christos (extended_remote_attach_1): Adjust.
12368 1.1 christos (extended_remote_create_inferior_1): Use
12369 1.1 christos add_current_inferior_and_thread.
12370 1.1 christos
12371 1.1 christos 2012-01-24 Jan Kratochvil <jan.kratochvil (a] redhat.com>
12372 1.1 christos
12373 1.1 christos Fix watchpoints to be specific for each inferior.
12374 1.1 christos * breakpoint.c (watchpoint_in_thread_scope): Verify also
12375 1.1 christos current_program_space.
12376 1.1 christos * i386-nat.c (i386_inferior_data_cleanup): New.
12377 1.1 christos (i386_inferior_data_get): Replace variable inf_data_local by an
12378 1.1 christos inferior_data call.
12379 1.1 christos (i386_use_watchpoints): Initialize i386_inferior_data.
12380 1.1 christos * linux-nat.c (linux_nat_iterate_watchpoint_lwps): Use INFERIOR_PTID
12381 1.1 christos specific iterate_over_lwps.
12382 1.1 christos
12383 1.1 christos 2012-01-24 Jan Kratochvil <jan.kratochvil (a] redhat.com>
12384 1.1 christos
12385 1.1 christos Fix watchpoints across inferior fork.
12386 1.1 christos * amd64-linux-nat.c (update_debug_registers_callback): Update the
12387 1.1 christos comment for linux_nat_iterate_watchpoint_lwps.
12388 1.1 christos (amd64_linux_dr_set_control, amd64_linux_dr_set_addr): Use
12389 1.1 christos linux_nat_iterate_watchpoint_lwps.
12390 1.1 christos (amd64_linux_prepare_to_resume): New comment on Linux kernel.
12391 1.1 christos * i386-linux-nat.c (update_debug_registers_callback): Update the
12392 1.1 christos comment for linux_nat_iterate_watchpoint_lwps.
12393 1.1 christos (i386_linux_dr_set_control, i386_linux_dr_set_addr): Use
12394 1.1 christos linux_nat_iterate_watchpoint_lwps.
12395 1.1 christos (i386_linux_prepare_to_resume): New comment on Linux kernel.
12396 1.1 christos * i386-nat.c: Include inferior.h.
12397 1.1 christos (dr_mirror): Remove.
12398 1.1 christos (i386_inferior_data, struct i386_inferior_data)
12399 1.1 christos (i386_inferior_data_get): New.
12400 1.1 christos (i386_debug_reg_state): Use i386_inferior_data_get.
12401 1.1 christos (i386_cleanup_dregs, i386_update_inferior_debug_regs)
12402 1.1 christos (i386_insert_watchpoint, i386_remove_watchpoint)
12403 1.1 christos (i386_stopped_data_address, i386_insert_hw_breakpoint)
12404 1.1 christos (i386_remove_hw_breakpoint): New variable state, use
12405 1.1 christos i386_debug_reg_state instead of DR_MIRROR.
12406 1.1 christos * linux-nat.c (delete_lwp): New declaration.
12407 1.1 christos (num_lwps): Move here from downwards.
12408 1.1 christos (delete_lwp_cleanup): New.
12409 1.1 christos (linux_child_follow_fork): Create new child_lp, call
12410 1.1 christos linux_nat_new_thread and linux_nat_prepare_to_resume before calling
12411 1.1 christos PTRACE_DETACH.
12412 1.1 christos (num_lwps): Move upwards.
12413 1.1 christos (linux_nat_iterate_watchpoint_lwps): New.
12414 1.1 christos * linux-nat.h (linux_nat_iterate_watchpoint_lwps_ftype): New.
12415 1.1 christos (linux_nat_iterate_watchpoint_lwps_ftype): New declaration.
12416 1.1 christos
12417 1.1 christos 2012-01-24 Joel Brobecker <brobecker (a] adacore.com>
12418 1.1 christos
12419 1.1 christos GDB 7.4 released.
12420 1.1 christos
12421 1.1 christos 2012-01-23 Pedro Alves <palves (a] redhat.com>
12422 1.1 christos
12423 1.1 christos * top.c (caution): Rename to ...
12424 1.1 christos (confirm): ... this.
12425 1.1 christos (show_caution): Rename to ...
12426 1.1 christos (show_confirm): ... this.
12427 1.1 christos (quit_cover): Adjust.
12428 1.1 christos (init_main): Adjust.
12429 1.1 christos * top.h (caution): Rename to ...
12430 1.1 christos (confirm): ... this.
12431 1.1 christos * utils.c (internal_vproblem, defaulted_query): Adjust.
12432 1.1 christos
12433 1.1 christos 2012-01-23 Pedro Alves <palves (a] redhat.com>
12434 1.1 christos
12435 1.1 christos * top.c (caution): Update comment.
12436 1.1 christos (execute_command): Don't consider the current value of `caution'.
12437 1.1 christos
12438 1.1 christos 2012-01-23 Jan Kratochvil <jan.kratochvil (a] redhat.com>
12439 1.1 christos
12440 1.1 christos * cli/cli-cmds.c (find_and_open_script): Handle failure of fdopen.
12441 1.1 christos
12442 1.1 christos 2012-01-23 Ulrich Weigand <ulrich.weigand (a] linaro.org>
12443 1.1 christos
12444 1.1 christos * inf-child.c: Include "gdb_stat.h" instead of <sys/stat.h>.
12445 1.1 christos * linux-tdep.c (linux_info_proc): Avoid ARI coding style warning.
12446 1.1 christos * target.c (target_fileio_pwrite): Remove buffer address from
12447 1.1 christos debug output.
12448 1.1 christos (target_fileio_pread): Likewise.
12449 1.1 christos
12450 1.1 christos 2012-01-20 Ulrich Weigand <ulrich.weigand (a] linaro.org>
12451 1.1 christos
12452 1.1 christos * NEWS: Document remote "info proc" and "generate-core-file".
12453 1.1 christos
12454 1.1 christos 2012-01-20 Ulrich Weigand <ulrich.weigand (a] linaro.org>
12455 1.1 christos
12456 1.1 christos * gdbarch.sh (find_memory_regions): New callback.
12457 1.1 christos * gdbarch.c, gdbarch.h: Regenerate.
12458 1.1 christos
12459 1.1 christos * gcore.c (gcore_memory_sections): Try gdbarch find_memory_regions
12460 1.1 christos callback before falling back to target method.
12461 1.1 christos
12462 1.1 christos * linux-nat.c (read_mapping, linux_nat_find_memory_regions): Remove.
12463 1.1 christos (linux_target_install_ops): No longer install it.
12464 1.1 christos
12465 1.1 christos * linux-tdep.c (linux_find_memory_regions): New function.
12466 1.1 christos (linux_init_abi): Install it.
12467 1.1 christos
12468 1.1 christos 2012-01-20 Ulrich Weigand <ulrich.weigand (a] linaro.org>
12469 1.1 christos
12470 1.1 christos * gdbarch.sh (make_corefile_notes): New architecture callback.
12471 1.1 christos * gdbarch.c: Regenerate.
12472 1.1 christos * gdbarch.h: Likewise.
12473 1.1 christos
12474 1.1 christos * gcore.c (write_gcore_file): Try gdbarch_make_corefile_notes
12475 1.1 christos before target_make_corefile_notes. If NULL is returned, the
12476 1.1 christos target does not support core file generation.
12477 1.1 christos
12478 1.1 christos * linux-nat.c: Include "linux-tdep.h".
12479 1.1 christos (find_signalled_thread, find_stop_signal): Remove.
12480 1.1 christos (linux_nat_do_thread_registers): Likewise.
12481 1.1 christos (struct linux_nat_corefile_thread_data): Likewise.
12482 1.1 christos (linux_nat_corefile_thread_callback): Likewise.
12483 1.1 christos (iterate_over_spus): Likewise.
12484 1.1 christos (struct linux_spu_corefile_data): Likewise.
12485 1.1 christos (linux_spu_corefile_callback): Likewise.
12486 1.1 christos (linux_spu_make_corefile_notes): Likewise.
12487 1.1 christos (linux_nat_collect_thread_registers): New function.
12488 1.1 christos (linux_nat_make_corefile_notes): Replace contents by call to
12489 1.1 christos linux_make_corefile_notes passing linux_nat_collect_thread_registers
12490 1.1 christos as native-only callback.
12491 1.1 christos
12492 1.1 christos * linux-tdep.h: Include "bfd.h".
12493 1.1 christos (struct regcache): Add forward declaration.
12494 1.1 christos (linux_collect_thread_registers_ftype): New typedef.
12495 1.1 christos (linux_make_corefile_notes): Add prototype.
12496 1.1 christos * linux-tdep.c: Include "gdbthread.h", "gdbcore.h", "regcache.h",
12497 1.1 christos "regset.h", and "elf-bfd.h".
12498 1.1 christos (find_signalled_thread, find_stop_signal): New functions.
12499 1.1 christos (linux_spu_make_corefile_notes): Likewise.
12500 1.1 christos (linux_collect_thread_registers): Likewise.
12501 1.1 christos (struct linux_corefile_thread_data): New data structure.
12502 1.1 christos (linux_corefile_thread_callback): New funcion.
12503 1.1 christos (linux_make_corefile_notes): Likewise.
12504 1.1 christos (linux_make_corefile_notes_1): Likewise.
12505 1.1 christos (linux_init_abi): Install it.
12506 1.1 christos
12507 1.1 christos 2012-01-20 Ulrich Weigand <ulrich.weigand (a] linaro.org>
12508 1.1 christos
12509 1.1 christos * gdbarch.sh (info_proc): New callback.
12510 1.1 christos * gdbarch.c, gdbarch.h: Regenerate.
12511 1.1 christos
12512 1.1 christos * infcmd.c (info_proc_cmd_1): Try gdbarch info_proc callback
12513 1.1 christos before falling back to the target info_proc callback.
12514 1.1 christos
12515 1.1 christos * linux-nat.c: Do not include "cli/cli-utils.h".
12516 1.1 christos (linux_nat_info_proc): Remove.
12517 1.1 christos (linux_target_install_ops): No longer install it.
12518 1.1 christos
12519 1.1 christos * linux-tdep.c: Include "cli/cli-utils.h" and <ctype.h>.
12520 1.1 christos (read_mapping): New function.
12521 1.1 christos (linux_info_proc): Likewise.
12522 1.1 christos (linux_init_abi): Install it.
12523 1.1 christos
12524 1.1 christos 2012-01-20 Ulrich Weigand <ulrich.weigand (a] linaro.org>
12525 1.1 christos
12526 1.1 christos * defs.h (enum info_proc_what): Moved here from linux-nat.c
12527 1.1 christos * infcmd.c: (info_proc_cmd_1): New function.
12528 1.1 christos (info_proc_cmd): New function, moved here from equivalent routine
12529 1.1 christos orignally in linux-nat.c.
12530 1.1 christos (info_proc_cmd_mappings): Likewise.
12531 1.1 christos (info_proc_cmd_stat): Likewise.
12532 1.1 christos (info_proc_cmd_status): Likewise.
12533 1.1 christos (info_proc_cmd_cwd): Likewise.
12534 1.1 christos (info_proc_cmd_cmdline): Likewise.
12535 1.1 christos (info_proc_cmd_exe): Likewise.
12536 1.1 christos (info_proc_cmd_all): Likewise.
12537 1.1 christos (_initialize_infcmd): Install "info proc" command and subcommands.
12538 1.1 christos
12539 1.1 christos * target.h (struct target_ops): Add to_info_proc.
12540 1.1 christos (target_info_proc): Add prototype.
12541 1.1 christos * target.c (target_info_proc): New function.
12542 1.1 christos
12543 1.1 christos * procfs.c (procfs_info_proc): Add prototype.
12544 1.1 christos (info_proc_cmd): Rename into ...
12545 1.1 christos (procfs_info_proc): ... this. Update argument types as appropriate
12546 1.1 christos for a to_info_proc implementation. Handle "what" argument.
12547 1.1 christos (procfs_target): Install procfs_info_proc.
12548 1.1 christos (_initialize_procfs): No longer install "info proc" command.
12549 1.1 christos
12550 1.1 christos * linux-nat.c: (enum info_proc_what): Remove.
12551 1.1 christos (linux_nat_info_proc_cmd_1): Rename into ...
12552 1.1 christos (linux_nat_info_proc): ... this. Update argument types as appropriate
12553 1.1 christos for a to_info_proc implementation.
12554 1.1 christos (linux_nat_info_proc_cmd): Remove.
12555 1.1 christos (linux_nat_info_proc_cmd_mappings): Likewise.
12556 1.1 christos (linux_nat_info_proc_cmd_stat): Likewise.
12557 1.1 christos (linux_nat_info_proc_cmd_status): Likewise.
12558 1.1 christos (linux_nat_info_proc_cmd_cwd): Likewise.
12559 1.1 christos (linux_nat_info_proc_cmd_cmdline): Likewise.
12560 1.1 christos (linux_nat_info_proc_cmd_exe): Likewise.
12561 1.1 christos (linux_nat_info_proc_cmd_all): Likewise.
12562 1.1 christos (linux_target_install_ops): Install linux_nat_info_proc.
12563 1.1 christos (_initialize_linux_nat): No longer install "info proc" command
12564 1.1 christos and subcommands.
12565 1.1 christos
12566 1.1 christos 2012-01-20 Ulrich Weigand <ulrich.weigand (a] linaro.org>
12567 1.1 christos
12568 1.1 christos * configure.ac [AC_CHECK_FUNCS]: Check for readlink.
12569 1.1 christos * config.in, configure: Regenerate.
12570 1.1 christos
12571 1.1 christos * target.h (struct target_ops): Add to_fileio_readlink.
12572 1.1 christos (target_fileio_readlink): Add prototype.
12573 1.1 christos * target.c (target_fileio_readlink): New function.
12574 1.1 christos
12575 1.1 christos * inf-child.c: Conditionally include <sys/param.h>.
12576 1.1 christos (inf_child_fileio_readlink): New function.
12577 1.1 christos (inf_child_target): Install it.
12578 1.1 christos
12579 1.1 christos * remote.c (PACKET_vFile_readlink): New enum value.
12580 1.1 christos (remote_hostio_readlink): New function.
12581 1.1 christos (init_remote_ops): Install it.
12582 1.1 christos (_initialize_remote): Handle vFile:readlink packet type.
12583 1.1 christos
12584 1.1 christos 2012-01-20 Pedro Alves <palves (a] redhat.com>
12585 1.1 christos Ulrich Weigand <ulrich.weigand (a] linaro.org>
12586 1.1 christos
12587 1.1 christos * configure.ac [AC_CHECK_FUNCS]: Check for pread and pwrite.
12588 1.1 christos * config.in, configure: Regenerate.
12589 1.1 christos
12590 1.1 christos * target.h (struct target_ops): Add to_fileio_open, to_fileio_pwrite,
12591 1.1 christos to_fileio_pread, to_fileio_close, to_fileio_unlink.
12592 1.1 christos (target_fileio_open): Add prototype.
12593 1.1 christos (target_fileio_pwrite): Likewise.
12594 1.1 christos (target_fileio_pread): Likewise.
12595 1.1 christos (target_fileio_close): Likewise.
12596 1.1 christos (target_fileio_unlink): Likewise.
12597 1.1 christos (target_fileio_read_alloc): Likewise.
12598 1.1 christos (target_fileio_read_stralloc): Likewise.
12599 1.1 christos
12600 1.1 christos * target.c: Include "gdb/fileio.h".
12601 1.1 christos (target_read_stralloc): Accept trailing, but not embedded NUL bytes.
12602 1.1 christos (default_fileio_target): New function.
12603 1.1 christos (target_fileio_open): Likewise.
12604 1.1 christos (target_fileio_pwrite): Likewise.
12605 1.1 christos (target_fileio_pread): Likewise.
12606 1.1 christos (target_fileio_close): Likewise.
12607 1.1 christos (target_fileio_unlink): Likewise.
12608 1.1 christos (target_fileio_close_cleanup): Likewise.
12609 1.1 christos (target_fileio_read_alloc_1): Likewise.
12610 1.1 christos (target_fileio_read_alloc): Likewise.
12611 1.1 christos (target_fileio_read_stralloc): Likewise.
12612 1.1 christos
12613 1.1 christos * inf-child.c: Include "gdb/fileio.h", <sys/types.h>, <sys/stat.h>,
12614 1.1 christos <fcntl.h>, and <unistd.h>.
12615 1.1 christos (inf_child_fileio_open_flags_to_host): New function.
12616 1.1 christos (inf_child_errno_to_fileio_error): Likewise.
12617 1.1 christos (inf_child_fileio_open): Likewise.
12618 1.1 christos (inf_child_fileio_pwrite): Likewise.
12619 1.1 christos (inf_child_fileio_pread): Likewise.
12620 1.1 christos (inf_child_fileio_close): Likewise.
12621 1.1 christos (inf_child_fileio_unlink): Likewise.
12622 1.1 christos (inf_child_target): Install to_fileio routines.
12623 1.1 christos
12624 1.1 christos * remote.c (init_remote_ops): Install to_fileio routines.
12625 1.1 christos
12626 1.1 christos 2012-01-20 Pedro Alves <palves (a] redhat.com>
12627 1.1 christos Ulrich Weigand <ulrich.weigand (a] linaro.org>
12628 1.1 christos
12629 1.1 christos * remote.c (remote_multi_process_p): Only check for multi-process
12630 1.1 christos protocol feature, do not check for extended protocol.
12631 1.1 christos (remote_supports_multi_process): Check for extended protocol here.
12632 1.1 christos (set_general_process): Likewise.
12633 1.1 christos (extended_remote_kill): Likewise.
12634 1.1 christos (remote_pid_to_str): Likewise.
12635 1.1 christos (remote_query_supported): Always query multiprocess mode.
12636 1.1 christos
12637 1.1 christos 2012-01-20 Pedro Alves <palves (a] redhat.com>
12638 1.1 christos Ulrich Weigand <ulrich.weigand (a] linaro.org>
12639 1.1 christos
12640 1.1 christos * inferior.h (struct inferior): Add fake_pid_p.
12641 1.1 christos * inferior.c (exit_inferior_1): Clear fake_pid_p.
12642 1.1 christos * remote.c (remote_start_remote): Set fake_pid_p if we have to use
12643 1.1 christos magic_null_ptid since the remote side doesn't provide a real PID.
12644 1.1 christos
12645 1.1 christos 2012-01-19 Tom Tromey <tromey (a] redhat.com>
12646 1.1 christos
12647 1.1 christos * NEWS: Combine the two Python sections.
12648 1.1 christos
12649 1.1 christos 2012-01-19 Jan Kratochvil <jan.kratochvil (a] redhat.com>
12650 1.1 christos
12651 1.1 christos * target.h (target_close): Update comment on the target's unpush state.
12652 1.1 christos
12653 1.1 christos 2012-01-19 Pedro Alves <palves (a] redhat.com>
12654 1.1 christos
12655 1.1 christos * linux-nat.c (linux_nat_close): Call linux_nat_is_async_p and
12656 1.1 christos linux_nat_async directly instead of going through the target
12657 1.1 christos vector.
12658 1.1 christos * target.c (unpush_target): Close target after unpushing it, not
12659 1.1 christos before.
12660 1.1 christos
12661 1.1 christos 2012-01-19 Gary Benson <gbenson (a] redhat.com>
12662 1.1 christos
12663 1.1 christos * mdebugread.c (sort_blocks): Replace integer constants with ones
12664 1.1 christos derived from FIRST_LOCAL_BLOCK.
12665 1.1 christos
12666 1.1 christos 2012-01-18 Paul Pluzhnikov <ppluzhnikov (a] google.com>
12667 1.1 christos Jan Kratochvil <jan.kratochvil (a] redhat.com>
12668 1.1 christos
12669 1.1 christos PR gdb/9538
12670 1.1 christos * symfile.c (find_separate_debug_file): New function.
12671 1.1 christos (terminate_after_last_dir_separator): Likewise.
12672 1.1 christos (find_separate_debug_file_by_debuglink): Also try realpath.
12673 1.1 christos * configure.ac (AC_CHECK_FUNCS): Add lstat.
12674 1.1 christos * configure: Regenerate.
12675 1.1 christos * config.in: Regenerate.
12676 1.1 christos
12677 1.1 christos 2012-01-18 Doug Evans <dje (a] google.com>
12678 1.1 christos
12679 1.1 christos * Makefile.in (TARGET_SYSTEM_ROOT, TARGET_SYSTEM_ROOT_DEFINE): Delete.
12680 1.1 christos (main.o): Remove rule.
12681 1.1 christos * configure.ac (BINDIR): Define with AC_DEFINE_DIR.
12682 1.1 christos (--with-sysroot): Rewrite.
12683 1.1 christos * configure: Regenerate.
12684 1.1 christos * config.in: Regenerate.
12685 1.1 christos
12686 1.1 christos 2012-01-18 Sergio Durigan Junior <sergiodj (a] redhat.com>
12687 1.1 christos
12688 1.1 christos * parse.c (initialize_expout): New function.
12689 1.1 christos (reallocate_expout): Likewise.
12690 1.1 christos (parse_exp_in_context): Use `initialize_expout' and
12691 1.1 christos `reallocate_expout' when appropriate.
12692 1.1 christos
12693 1.1 christos 2012-01-18 Pedro Alves <palves (a] redhat.com>
12694 1.1 christos
12695 1.1 christos * record.c (struct record_breakpoint, record_breakpoint_p)
12696 1.1 christos (record_breakpoints): New.
12697 1.1 christos (record_insert_breakpoint, record_remove_breakpoint): Manage
12698 1.1 christos record breakpoints list. Only remove breakpoints from the
12699 1.1 christos inferior if they had been inserted there in the first place.
12700 1.1 christos
12701 1.1 christos 2012-01-17 Doug Evans <dje (a] google.com>
12702 1.1 christos
12703 1.1 christos * linespec.c (decode_line_internal): Don't call symtabs_from_filename
12704 1.1 christos if we know we don't have a file name to look for.
12705 1.1 christos
12706 1.1 christos 2012-01-17 Pedro Alves <palves (a] redhat.com>
12707 1.1 christos
12708 1.1 christos * dwarf2-frame.c (dwarf2_frame_cfa): Throw NOT_AVAILABLE_ERROR, if
12709 1.1 christos the frame's stop reason is UNWIND_UNAVAILABLE.
12710 1.1 christos
12711 1.1 christos 2012-01-17 Jan Kratochvil <jan.kratochvil (a] redhat.com>
12712 1.1 christos
12713 1.1 christos Fix compilation error.
12714 1.1 christos * m2-exp.y (yyerror): Use ANSI C prototype.
12715 1.1 christos
12716 1.1 christos 2012-01-16 Sergio Durigan Junior <sergiodj (a] redhat.com>
12717 1.1 christos
12718 1.1 christos * f-exp.y (parse_number): Convert prototype from K&R to ANSI C.
12719 1.1 christos (growbuf_by_size): Likewise.
12720 1.1 christos (yyerror): Likewise.
12721 1.1 christos * m2-exp.y (make_qualname): Remove function (was #if 0'ed).
12722 1.1 christos (modblock): Remove variable (was #if 0'ed).
12723 1.1 christos (parse_number): Convert prototype from K&R to ANSI C.
12724 1.1 christos (yyerror): Likewise.
12725 1.1 christos * objc-exp.y (parse_number): Likewise.
12726 1.1 christos (yyerror): Likewise.
12727 1.1 christos (yylex): Remove #if 0'ed code.
12728 1.1 christos * p-exp.y (uptok): Convert prototype from K&R to ANSI C.
12729 1.1 christos (yyerror): Likewise.
12730 1.1 christos
12731 1.1 christos 2012-01-16 Tom Tromey <tromey (a] redhat.com>
12732 1.1 christos
12733 1.1 christos * NEWS: Add item.
12734 1.1 christos * symtab.h (compare_filenames_for_search): Declare.
12735 1.1 christos * symtab.c (compare_filenames_for_search): New function.
12736 1.1 christos (iterate_over_some_symtabs): Use it.
12737 1.1 christos * symfile.h (struct quick_symbol_functions)
12738 1.1 christos <map_symtabs_matching_filename>: Change spec.
12739 1.1 christos * psymtab.c (partial_map_symtabs_matching_filename): Use
12740 1.1 christos compare_filenames_for_search. Update for new spec.
12741 1.1 christos * dwarf2read.c (dw2_map_symtabs_matching_filename): Use
12742 1.1 christos compare_filenames_for_search. Update for new spec.
12743 1.1 christos * breakpoint.c (clear_command): Use compare_filenames_for_search.
12744 1.1 christos
12745 1.1 christos 2012-01-16 Tom Tromey <tromey (a] redhat.com>
12746 1.1 christos
12747 1.1 christos PR python/13281:
12748 1.1 christos * gdbtypes.h (TYPE_FLAG_ENUM): New macro.
12749 1.1 christos (struct main_type) <flag_flag_enum>: New field.
12750 1.1 christos * dwarf2read.c (process_enumeration_scope): Detect "flag" enums.
12751 1.1 christos * NEWS: Add entries.
12752 1.1 christos * c-valprint.c (c_val_print) <TYPE_CODE_ENUM>: Handle "flag"
12753 1.1 christos enums.
12754 1.1 christos * python/lib/gdb/printing.py (_EnumInstance): New class.
12755 1.1 christos (FlagEnumerationPrinter): Likewise.
12756 1.1 christos
12757 1.1 christos 2012-01-16 Sergio Durigan Junior <sergiodj (a] redhat.com>
12758 1.1 christos
12759 1.1 christos * breakpoint.c (create_sals_from_address_default): New function.
12760 1.1 christos (create_breakpoints_sal_default): Likewise.
12761 1.1 christos (decode_linespec_default): Likewise.
12762 1.1 christos (is_marker_spec): Removed.
12763 1.1 christos (strace_marker_p): New function.
12764 1.1 christos (init_breakpoint_sal): Using `strace_marker_p' instead of
12765 1.1 christos `is_marker_spec'.
12766 1.1 christos (create_breakpoint): Call method `create_sals_from_address' from
12767 1.1 christos breakpoint_ops, replacing code that created SALs conditionally
12768 1.1 christos on the type of the breakpoint. Call method `create_breakpoints_sal',
12769 1.1 christos replacing code that created breakpoints conditionally on the type
12770 1.1 christos wanted.
12771 1.1 christos (base_breakpoint_create_sals_from_address): New function.
12772 1.1 christos (base_breakpoint_create_breakpoints_sal): Likewise.
12773 1.1 christos (base_breakpoint_decode_linespec): Likewise.
12774 1.1 christos (base_breakpoint_ops): Add methods
12775 1.1 christos `base_breakpoint_create_sals_from_address',
12776 1.1 christos `base_breakpoint_create_breakpoints_sal' and
12777 1.1 christos `base_breakpoint_decode_linespec'.
12778 1.1 christos (bkpt_create_sals_from_address): New function.
12779 1.1 christos (bkpt_create_breakpoints_sal): Likewise.
12780 1.1 christos (bkpt_decode_linespec): Likewise.
12781 1.1 christos (tracepoint_create_sals_from_address): Likewise.
12782 1.1 christos (tracepoint_create_breakpoints_sal): Likewise.
12783 1.1 christos (tracepoint_decode_linespec): Likewise.
12784 1.1 christos (strace_marker_create_sals_from_address): Likewise.
12785 1.1 christos (strace_marker_create_breakpoints_sal): Likewise.
12786 1.1 christos (strace_marker_decode_linespec): Likewise.
12787 1.1 christos (strace_marker_breakpoint_ops): New variable.
12788 1.1 christos (addr_string_to_sals): Remove `marker_spec'. Call method
12789 1.1 christos `decode_linespec' from breakpoint_ops, replacing code that decoded
12790 1.1 christos an address string into a SAL. Use `strace_marker_p' instead of
12791 1.1 christos `marker_spec'.
12792 1.1 christos (strace_command): Decide whether we are dealing with a static
12793 1.1 christos tracepoint with marker or not. Use the appropriate breakpoint_ops.
12794 1.1 christos (initialize_breakpoint_ops): Initialize new fields of breakpoint_ops.
12795 1.1 christos * breakpoint.h (linespec_result, linespec_sals): New forward
12796 1.1 christos declarations.
12797 1.1 christos (breakpoint_ops) <create_sals_from_address>,
12798 1.1 christos <create_breakpoints_sal>, <decode_linespec>: New methods.
12799 1.1 christos
12800 1.1 christos 2012-01-14 Doug Evans <dje (a] google.com>
12801 1.1 christos
12802 1.1 christos * NEWS: Update text for "maint set python print-stack".
12803 1.1 christos It is deprecated in gdb 7.4 and deleted in 7.5.
12804 1.1 christos
12805 1.1 christos 2012-01-13 Eli Zaretskii <eliz (a] gnu.org>
12806 1.1 christos
12807 1.1 christos * gdb_curses.h (MOUSE_MOVED) [__MINGW32__]: Undefine before
12808 1.1 christos including curses.h.
12809 1.1 christos
12810 1.1 christos 2012-01-12 Jan Kratochvil <jan.kratochvil (a] redhat.com>
12811 1.1 christos
12812 1.1 christos * configure: Regenerate.
12813 1.1 christos * config.in: Regenerate.
12814 1.1 christos
12815 1.1 christos 2012-01-12 Keith Seitz <keiths (a] redhat.com>
12816 1.1 christos
12817 1.1 christos PR mi/10586
12818 1.1 christos * varobj.c (ANONYMOUS_STRUCT_NAME): Define.
12819 1.1 christos (ANONYMOUS_UNION_NAME): Define.
12820 1.1 christos (is_path_expr_parent): New function.
12821 1.1 christos (get_path_expr_parent): New function.
12822 1.1 christos (is_anonymous_child): New function.
12823 1.1 christos (create_child_with_value): If the child is anonymous and without
12824 1.1 christos a name, assign an object name to it.
12825 1.1 christos (c_describe_child): Use get_path_expr_parent to determine
12826 1.1 christos the parent expression.
12827 1.1 christos If there field represents an anonymous struct or union and
12828 1.1 christos has no name, set an appropriate display name and expression.
12829 1.1 christos (cplus_describe_child): Likewise.
12830 1.1 christos
12831 1.1 christos 2012-01-12 Pedro Alves <palves (a] redhat.com>
12832 1.1 christos
12833 1.1 christos * i386-tdep.c (i386_frame_cache_1): Also mark the frame base as
12834 1.1 christos available when %ebp is found to be zero (outermost).
12835 1.1 christos
12836 1.1 christos 2012-01-11 Andreas Tobler <andreast (a] fgznet.ch>
12837 1.1 christos
12838 1.1 christos * common/gdb_assert.h (gdb_static_assert): Rename static_assert to
12839 1.1 christos an internal gdb_static_assert.
12840 1.1 christos * mi/mi-common.c: Rename static_assert to gdb_static_assert.
12841 1.1 christos
12842 1.1 christos 2012-01-11 Tom Tromey <tromey (a] redhat.com>
12843 1.1 christos
12844 1.1 christos PR gdb/9598:
12845 1.1 christos * breakpoint.c (_initialize_breakpoint): Fix help for "catch
12846 1.1 christos catch" and "catch throw".
12847 1.1 christos
12848 1.1 christos 2012-01-11 Paul Hilfinger <hilfingr (a] adacore.com>
12849 1.1 christos
12850 1.1 christos * blockframe.c (block_innermost_frame): Start search from selected
12851 1.1 christos frame, if present, or otherwise the current frame.
12852 1.1 christos
12853 1.1 christos * c-exp.y (variable): Update innermost_block for
12854 1.1 christos 'block COLONCOLON NAME' clause.
12855 1.1 christos * m2-exp.y (variable): Ditto.
12856 1.1 christos * objc-exp.y (variable): Ditto.
12857 1.1 christos
12858 1.1 christos 2012-01-10 Tom Tromey <tromey (a] redhat.com>
12859 1.1 christos
12860 1.1 christos PR python/13199:
12861 1.1 christos * python/python.c (finish_python_initialization): Set sys.argv.
12862 1.1 christos
12863 1.1 christos 2012-01-10 Doug Evans <dje (a] google.com>
12864 1.1 christos
12865 1.1 christos * dwarf2read.c (dwarf_decode_lines): Remove arg "abfd". New arg
12866 1.1 christos "want_line_info". All callers updated.
12867 1.1 christos (dwarf_decode_lines_1): New function.
12868 1.1 christos (handle_DW_AT_stmt_list): Add function comment.
12869 1.1 christos New arg "want_line_info". All callers updated.
12870 1.1 christos (read_file_scope,read_type_unit_scope): Move comment from
12871 1.1 christos handle_DW_AT_stmt_list to here.
12872 1.1 christos
12873 1.1 christos 2012-01-10 Jan Kratochvil <jan.kratochvil (a] redhat.com>
12874 1.1 christos
12875 1.1 christos Fix regression after libiberty/ update for GCC PR 6057 and others.
12876 1.1 christos * c-exp.y (operator) <OPERATOR DELETE>
12877 1.1 christos (operator) <OPERATOR DELETE '[' ']'>: Add trailing space.
12878 1.1 christos * cp-name-parser.y (fill_comp, make_operator, make_dtor)
12879 1.1 christos (make_builtin_type, make_name): New variable i, add gdb_assert.
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 (operator) <OPERATOR NEW '[' ']'>: Update ARGS to 3.
12883 1.1 christos (operator) <OPERATOR DELETE '[' ']'>: Add trailing space.
12884 1.1 christos * cp-support.c (cp_canonicalize_string): Check NULL from
12885 1.1 christos cp_comp_to_string, call warning and return.
12886 1.1 christos
12887 1.1 christos 2012-01-10 Jan Kratochvil <jan.kratochvil (a] redhat.com>
12888 1.1 christos
12889 1.1 christos Fix duplicate .o files after omitting libbfd.a.
12890 1.1 christos * Makefile.in (ALL_TARGET_OBS): Remove corelow.o.
12891 1.1 christos (SFILES): Add corelow.c.
12892 1.1 christos (COMMON_OBS): Add corelow.o.
12893 1.1 christos (ALLDEPFILES): Remove corelow.c.
12894 1.1 christos * config/alpha/alpha-linux.mh (NATDEPFILES): Remove corelow.o.
12895 1.1 christos * config/alpha/alpha-osf3.mh: Likewise.
12896 1.1 christos * config/alpha/fbsd.mh: Likewise.
12897 1.1 christos * config/arm/nbsdaout.mh: Likewise.
12898 1.1 christos * config/arm/nbsdelf.mh: Likewise.
12899 1.1 christos * config/i386/i386gnu.mh: Likewise.
12900 1.1 christos * config/ia64/hpux.mh: Likewise.
12901 1.1 christos * config/ia64/linux.mh: Likewise.
12902 1.1 christos * config/m32r/linux.mh: Likewise.
12903 1.1 christos * config/m68k/linux.mh: Likewise.
12904 1.1 christos * config/mips/irix5.mh: Likewise.
12905 1.1 christos * config/mips/irix6.mh: Likewise.
12906 1.1 christos * config/pa/hpux.mh: Likewise.
12907 1.1 christos * config/pa/linux.mh: Likewise.
12908 1.1 christos * config/powerpc/aix.mh: Likewise.
12909 1.1 christos * config/sparc/linux.mh: Likewise.
12910 1.1 christos * config/sparc/linux64.mh: Likewise.
12911 1.1 christos * config/sparc/sol2.mh: Likewise.
12912 1.1 christos * config/vax/vax.mh: Likewise.
12913 1.1 christos * configure.tgt (alpha*-*-freebsd* alpha*-*-kfreebsd*-gnu)
12914 1.1 christos (alpha*-*-netbsd*, alpha*-*-knetbsd*-gnu, alpha*-*-openbsd*)
12915 1.1 christos (am33_2.0*-*-linux*, arm*-wince-pe, arm*-*-mingw32ce*, arm*-*-linux*)
12916 1.1 christos (arm*-*-openbsd*, cris*, frv-*-*, hppa*-*-hpux*, hppa*-*-netbsd*)
12917 1.1 christos (hppa*-*-openbsd*, i[34567]86-*-dicos*, i[34567]86-*-freebsd*)
12918 1.1 christos (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-netbsd*)
12919 1.1 christos (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-openbsd*, i[34567]86-*-nto*)
12920 1.1 christos (i[34567]86-*-solaris2.1[0-9]*, x86_64-*-solaris2.1[0-9]*)
12921 1.1 christos (i[34567]86-*-solaris*, i[34567]86-*-linux*, i[34567]86-*-cygwin*)
12922 1.1 christos (i[34567]86-*-mingw32*, m68*-*-netbsd*, m68*-*-knetbsd*-gnu)
12923 1.1 christos (m68*-*-openbsd*, m88*-*-openbsd*, microblaze*-linux-*)
12924 1.1 christos (microblaze*-*-linux*, mips*-*-linux*, mips*-*-netbsd*)
12925 1.1 christos (mips*-*-knetbsd*-gnu, mips64*-*-openbsd*, powerpc-*-netbsd*)
12926 1.1 christos (powerpc-*-knetbsd*-gnu, powerpc-*-openbsd*, powerpc-*-linux*)
12927 1.1 christos (powerpc64-*-linux*, s390*-*-*, score-*-*, sh*-*-linux*)
12928 1.1 christos (sh*-*-netbsdelf*, sh*-*-knetbsd*-gnu, sh*-*-openbsd*)
12929 1.1 christos (sparc*-*-freebsd*, sparc*-*-kfreebsd*-gnu, sparc-*-netbsd*)
12930 1.1 christos (sparc-*-knetbsd*-gnu, sparc64-*-netbsd*, sparc64-*-knetbsd*-gnu)
12931 1.1 christos (sparc-*-openbsd*, sparc64-*-openbsd*, tic6x-*-*linux, vax-*-netbsd*)
12932 1.1 christos (vax-*-knetbsd*-gnu, vax-*-openbsd*, x86_64-*-dicos*, x86_64-*-linux*)
12933 1.1 christos (x86_64-*-freebsd*, x86_64-*-kfreebsd*-gnu, x86_64-*-netbsd*)
12934 1.1 christos (x86_64-*-knetbsd*-gnu, x86_64-*-openbsd*, xtensa*-*-linux*): Remove
12935 1.1 christos corelow.o from gdb_target_obs.
12936 1.1 christos * corefile.c (core_target): Update the comment on NULL value.
12937 1.1 christos (core_file_command): Replace error by gdb_assert on CORE_TARGET.
12938 1.1 christos * corelow.c (sniff_core_bfd): Call error instead of warning on zero
12939 1.1 christos MATCHES. Drop YUMMY set on NULL.
12940 1.1 christos (core_close): Do not call exit_inferior_silent on zero PID. Do not
12941 1.1 christos reclaim CORE_DATA if it is already NULL.
12942 1.1 christos
12943 1.1 christos 2012-01-09 Doug Evans <dje (a] google.com>
12944 1.1 christos
12945 1.1 christos * gdbtypes.c (safe_parse_type): Initialize type to keep gcc happy.
12946 1.1 christos * varobj.c (varobj_set_value): Initialize val,value to keep gcc happy.
12947 1.1 christos
12948 1.1 christos 2012-01-09 Keith Seitz <keiths (a] redhat.com>
12949 1.1 christos
12950 1.1 christos * breakpoint.c (wrapper.h): Don't include.
12951 1.1 christos
12952 1.1 christos 2012-01-09 Keith Seitz <keiths (a] redhat.com>
12953 1.1 christos
12954 1.1 christos * Makefile.in (SFILES): Remove wrapper.c.
12955 1.1 christos (HFILES_NO_SRCDIR): Remove wrapper.h.
12956 1.1 christos (COMMON_OBS): Remove wrapper.o.
12957 1.1 christos * cli/cli-interp.c: Don't inlude wrapper.h.
12958 1.1 christos * corelow.c: Likewise.
12959 1.1 christos (core_open): Replace gdb_target_find_new_threads with
12960 1.1 christos TRY_CATCH around target_find_new_threads.
12961 1.1 christos * eval.c (fetch_subexp_value): Likewise for value_fetch_lazy.
12962 1.1 christos * gdbtypes.c (safe_parse_type): Likewise for parse_and_eval_type.
12963 1.1 christos * varobj.c (varobj_create): Likewise for parse_exp_1 and
12964 1.1 christos evaluate_expression.
12965 1.1 christos (varobj_set_value): Likewise for evaluate_expression and
12966 1.1 christos value_assign.
12967 1.1 christos (install_new_variable): Likewise for value_fetch_lazy.
12968 1.1 christos (adjust_value_for_child_access): Likewise for value_ind.
12969 1.1 christos (c_describe_child): Likewise for value_subscript and
12970 1.1 christos value_ind.
12971 1.1 christos (c_value_of_root): Likewise for evaluate_expression.
12972 1.1 christos * wrapper.c: Remove.
12973 1.1 christos * wrapper.h: Remove.
12974 1.1 christos
12975 1.1 christos 2012-01-09 Doug Evans <dje (a] google.com>
12976 1.1 christos
12977 1.1 christos * dwarf2read.c (read_and_check_comp_unit_head): Renamed from
12978 1.1 christos partial_read_comp_unit_head. Replace "buffer", "buffer_size" and
12979 1.1 christos "abfd" args with "section". All callers updated.
12980 1.1 christos Error checking code moved ...
12981 1.1 christos (error_check_comp_unit_head): ... here. New function.
12982 1.1 christos (read_and_check_type_unit_head): Renamed from read_type_unit_head.
12983 1.1 christos Delete arg "abfd". New arg "type_offset". All callers updated.
12984 1.1 christos (create_debug_types_hash_table): Simplify by using
12985 1.1 christos read_and_check_type_unit_head.
12986 1.1 christos
12987 1.1 christos * parser-defs.h (namecopy): Delete.
12988 1.1 christos * parse.c (namecopy, namecopy_size): Move into copy_name.
12989 1.1 christos
12990 1.1 christos 2012-01-09 Jan Kratochvil <jan.kratochvil (a] redhat.com>
12991 1.1 christos
12992 1.1 christos Partially fix duplicate .o files after omitting libbfd.a.
12993 1.1 christos * config/alpha/alpha-osf3.mh (NATDEPFILES): Remove solib.o.
12994 1.1 christos * config/i386/nbsdaout.mh (NATDEPFILES): Remove solib.o.
12995 1.1 christos * config/i386/obsdaout.mh (NATDEPFILES): Remove solib.o.
12996 1.1 christos * config/m68k/nbsdaout.mh (NATDEPFILES): Remove solib.o.
12997 1.1 christos * config/m68k/obsd.mh (NATDEPFILES): Remove solib.o.
12998 1.1 christos * config/powerpc/aix.mh (NATDEPFILES): Remove xcoffread.o.
12999 1.1 christos * config/vax/nbsdaout.mh (NATDEPFILES): Remove solib.o.
13000 1.1 christos
13001 1.1 christos 2012-01-09 Pedro Alves <palves (a] redhat.com>
13002 1.1 christos
13003 1.1 christos * MAINTAINERS: Update my email address.
13004 1.1 christos
13005 1.1 christos 2012-01-08 Doug Evans <dje (a] google.com>
13006 1.1 christos
13007 1.1 christos * dwarf2read.c (dwarf2_per_objfile): Rename n_type_comp_units to
13008 1.1 christos n_type_units. Rename type_comp_units to all_type_units.
13009 1.1 christos All uses updated.
13010 1.1 christos (add_signatured_type_cu_to_table): Renamed from
13011 1.1 christos add_signatured_type_cu_to_list. All callers updated.
13012 1.1 christos
13013 1.1 christos * gdbtypes.h (struct cplus_struct_type): Delete member
13014 1.1 christos nfn_fields_total. All uses removed.
13015 1.1 christos
13016 1.1 christos 2012-01-06 Doug Evans <dje (a] google.com>
13017 1.1 christos
13018 1.1 christos * dwarf2read.c: Move FIXME from dwarf2_build_psymtabs_hard
13019 1.1 christos to top of file.
13020 1.1 christos (dwarf2_find_comp_unit): Delete.
13021 1.1 christos (process_psymtab_comp_unit): Make result "void".
13022 1.1 christos Delete args buffer, info_ptr, buffer_size, and replace with
13023 1.1 christos "section". All callers updated.
13024 1.1 christos (dwarf2_build_psymtabs_hard): Simplify.
13025 1.1 christos
13026 1.1 christos 2012-01-06 Sergio Durigan Junior <sergiodj (a] redhat.com>
13027 1.1 christos Thiago Jung Bauermann <bauerman (a] br.ibm.com>
13028 1.1 christos
13029 1.1 christos * ada-lang.c (ada_exception_name_addr): Add `volatile' keyword
13030 1.1 christos before `struct gdb_exception'.
13031 1.1 christos * breakpoint.c (update_global_location_list_nothrow)
13032 1.1 christos (update_breakpoint_locations, enable_breakpoint_disp): Likewise.
13033 1.1 christos * cp-abi.c (value_rtti_type): Likewise.
13034 1.1 christos * cp-support.c (cp_validate_operator): Likewise.
13035 1.1 christos * infrun.c (insert_exception_resume_breakpoint)
13036 1.1 christos (check_exception_resume, keep_going): Likewise.
13037 1.1 christos * mi-interp.c (mi_breakpoint_created)
13038 1.1 christos (mi_breakpoint_modified): Likewise.
13039 1.1 christos * rs6000-aix-tdep.c (rs6000_convert_from_func_ptr_addr): Likewise.
13040 1.1 christos * solib-ia64-hpux.c (ia64_hpux_at_dld_breakpoint_p)
13041 1.1 christos (ia64_hpux_handle_dld_breakpoint_1): Likewise.
13042 1.1 christos
13043 1.1 christos 2012-01-05 Doug Evans <dje (a] google.com>
13044 1.1 christos
13045 1.1 christos * dwarf2read.c (statement_prologue): Delete, unused.
13046 1.1 christos
13047 1.1 christos * dwarf2read.c (dwarf2_per_cu_addr_size): Make result type an int.
13048 1.1 christos * dwarf2loc.h (dwarf2_per_cu_addr_size): Update.
13049 1.1 christos
13050 1.1 christos * dwarf2read.c (comp_unit_header): Delete, unused.
13051 1.1 christos
13052 1.1 christos 2012-01-05 Ulrich Weigand <uweigand (a] de.ibm.com>
13053 1.1 christos
13054 1.1 christos * configure.tgt [s390*-*-*] (gdb_target_obs): Add corelow.o.
13055 1.1 christos * config/s390/s390.mh (NATDEPFILES): Remove corelow.o.
13056 1.1 christos
13057 1.1 christos 2012-01-05 Khoo Yit Phang <khooyp (a] cs.umd.edu>
13058 1.1 christos
13059 1.1 christos * infrun.c (normal_stop): Don't skip calling the normal_stop
13060 1.1 christos observers if the thread was doing a multi-step, but stopped for
13061 1.1 christos some reason other than stepping.
13062 1.1 christos
13063 1.1 christos 2012-01-05 Pedro Alves <alves.ped (a] gmail.com>
13064 1.1 christos
13065 1.1 christos * cli/cli-decode.h: Add comments.
13066 1.1 christos (CMD_LIST_AMBIGUOUS): Moved to command.h
13067 1.1 christos (add_cmd, add_alias_cmd, add_prefix_cmd, add_abbrev_prefix_cmd)
13068 1.1 christos (set_cmd_cfunc, set_cmd_sfunc, set_cmd_completer, cmd_cfunc_eq)
13069 1.1 christos (set_cmd_context, get_cmd_context, lookup_cmd, lookup_cmd_1)
13070 1.1 christos (deprecate_cmd, deprecated_cmd_warning, lookup_cmd_composition)
13071 1.1 christos (add_com, add_com_alias, add_info, add_info_alias)
13072 1.1 christos (complete_on_cmdlist, complete_on_enum, help_list): Remove
13073 1.1 christos declarations.
13074 1.1 christos * command.h: Add and adjust comments.
13075 1.1 christos (CMD_LIST_AMBIGUOUS): Moved here.
13076 1.1 christos (help_cmd, help_cmd_list): Delete declarations.
13077 1.1 christos
13078 1.1 christos 2012-01-04 Doug Evans <dje (a] google.com>
13079 1.1 christos
13080 1.1 christos * dwarf2read.c (dwarf2_read_abbrevs): Delete arg "abfd".
13081 1.1 christos All callers updated.
13082 1.1 christos (load_full_type_unit): Renamed from read_signatured_type_at_offset.
13083 1.1 christos Replace all arguments with "per_cu". All callers updated.
13084 1.1 christos
13085 1.1 christos * dwarf2read.c (dwarf2_per_cu_data): Remove outdated comment.
13086 1.1 christos
13087 1.1 christos * dwarf2read.c (init_one_comp_unit): Delete arg "objfile".
13088 1.1 christos New arg "per_cu". All callers updated.
13089 1.1 christos
13090 1.1 christos Delete #if 0'd out code.
13091 1.1 christos * language.c (binop_result_type): Delete.
13092 1.1 christos (simple_type, ordered_type, same_type, integral_type): Delete.
13093 1.1 christos (numeric_type, character_type, string_type, boolean_type): Delete.
13094 1.1 christos (float_type, structured_type): Delete.
13095 1.1 christos * language.h: Update.
13096 1.1 christos
13097 1.1 christos 2012-01-04 Tom Tromey <tromey (a] redhat.com>
13098 1.1 christos
13099 1.1 christos * python/py-value.c (valpy_binop): Initialize 'res_val'.
13100 1.1 christos
13101 1.1 christos 2012-01-04 Joel Brobecker <brobecker (a] adacore.com>
13102 1.1 christos
13103 1.1 christos * corefile.c (close_exec_file): Delete.
13104 1.1 christos (reopen_exec_file): Remove commented out code that seems related
13105 1.1 christos to close_exec_file, which is being deleted here.
13106 1.1 christos * inferior.h (close_exec_file): Delete.
13107 1.1 christos * fork-child.c (fork_inferior): Remove call to fork_inferior.
13108 1.1 christos
13109 1.1 christos 2012-01-04 Joel Brobecker <brobecker (a] adacore.com>
13110 1.1 christos
13111 1.1 christos * ada-lang.c: #include "cli/cli-utils.h".
13112 1.1 christos (get_selections): Use skip_spaces.
13113 1.1 christos (ada_get_next_arg): Use skip_spaces and skip_to_space.
13114 1.1 christos (catch_ada_exception_command_split): Use skip_spaces.
13115 1.1 christos (ada_decode_assert_location): Likewise.
13116 1.1 christos
13117 1.1 christos 2012-01-04 Joel Brobecker <brobecker (a] adacore.com>
13118 1.1 christos
13119 1.1 christos * linespec.c (decode_line_internal): Check for C++ or Java
13120 1.1 christos compound constructs only if the current language is C, C++
13121 1.1 christos or Java.
13122 1.1 christos
13123 1.1 christos 2012-01-04 Jan Kratochvil <jan.kratochvil (a] redhat.com>
13124 1.1 christos
13125 1.1 christos Revert:
13126 1.1 christos 2012-01-02 Jan Kratochvil <jan.kratochvil (a] redhat.com>
13127 1.1 christos Joel Brobecker <brobecker (a] adacore.com>
13128 1.1 christos Fix regression for gdb.cp/gdb2495.exp with gcc-4.7.
13129 1.1 christos * arch-utils.c (displaced_step_at_entry_point): Incrase BP_LEN skip to
13130 1.1 christos 3 times.
13131 1.1 christos * infcall.c (call_function_by_hand) <AT_SYMBOL>: Move it upwards and
13132 1.1 christos fall through into AT_ENTRY_POINT.
13133 1.1 christos (call_function_by_hand) <AT_ENTRY_POINT>: New variable bp_len. Adjust
13134 1.1 christos DUMMY_ADDR with it.
13135 1.1 christos * ppc-linux-tdep.c (ppc_linux_displaced_step_location): Increase
13136 1.1 christos PPC_INSN_SIZE skip to 3 times.
13137 1.1 christos
13138 1.1 christos 2012-01-04 Joel Brobecker <brobecker (a] adacore.com>
13139 1.1 christos
13140 1.1 christos * linespec.c (add_minsym): Preserve function descriptors.
13141 1.1 christos
13142 1.1 christos 2012-01-04 Ulrich Weigand <uweigand (a] de.ibm.com>
13143 1.1 christos
13144 1.1 christos * breakpoint.c (all_locations_are_pending): Consider locations
13145 1.1 christos in program spaces executing during startup pending as well.
13146 1.1 christos
13147 1.1 christos 2012-01-04 Joel Brobecker <brobecker (a] adacore.com>
13148 1.1 christos
13149 1.1 christos Copyright year update in most files of the GDB Project.
13150 1.1 christos
13151 1.1 christos 2012-01-04 Joel Brobecker <brobecker (a] adacore.com>
13152 1.1 christos
13153 1.1 christos * copyright.sh: Delete.
13154 1.1 christos * copyright.py: Rewrite.
13155 1.1 christos
13156 1.1 christos 2012-01-04 Joel Brobecker <brobecker (a] adacore.com>
13157 1.1 christos
13158 1.1 christos * gnulib/extra/update-copyright: New file, imported from gnulib.
13159 1.1 christos
13160 1.1 christos 2012-01-04 Joel Brobecker <brobecker (a] adacore.com>
13161 1.1 christos
13162 1.1 christos * README (Copyright and License Notices): New section.
13163 1.1 christos
13164 1.1 christos 2012-01-03 Tom Tromey <tromey (a] redhat.com>
13165 1.1 christos
13166 1.1 christos PR python/12533:
13167 1.1 christos * python/py-value.c (valpy_dereference, valpy_get_address
13168 1.1 christos valpy_get_dynamic_type, valpy_lazy_string, valpy_do_cast)
13169 1.1 christos (valpy_getitem, valpy_call, valpy_binop, valpy_negative)
13170 1.1 christos (valpy_absolute, valpy_richcompare): Free intermediate values.
13171 1.1 christos
13172 1.1 christos 2011-01-03 Joel Brobecker <brobecker (a] adacore.com>
13173 1.1 christos
13174 1.1 christos * ada-lang.c: Reformat the copyright notice.
13175 1.1 christos
13176 1.1 christos 2012-01-02 Jan Kratochvil <jan.kratochvil (a] redhat.com>
13177 1.1 christos
13178 1.1 christos * Makefile.in (ALL_TARGET_OBS): Remove solib-target.o.
13179 1.1 christos * configure.tgt (arm*-wince-pe, arm*-*-mingw32ce*, arm*-*-symbianelf*)
13180 1.1 christos (i[34567]86-*-dicos*, i[34567]86-*-cygwin*, i[34567]86-*-mingw32*)
13181 1.1 christos (x86_64-*-dicos*, x86_64-*-mingw*): Remove solib-target.o.
13182 1.1 christos Revert this part of:
13183 1.1 christos 2012-01-02 Jan Kratochvil <jan.kratochvil (a] redhat.com>
13184 1.1 christos Build gdb directly from *.o files not using libgdb.a.
13185 1.1 christos * Makefile.in (COMMON_OBS): Remove solib-target.o.
13186 1.1 christos
13187 1.1 christos 2012-01-02 Joel Brobecker <brobecker (a] adacore.com>
13188 1.1 christos
13189 1.1 christos * gdb/common/gdb_thread_db.h, gdb/dbxread.c, gdb/environ.c,
13190 1.1 christos gdb/gcore.h, gdb/rs6000-tdep.h, gdb/s390-nat.c, gdb/tic6x-tdep.c:
13191 1.1 christos Reformat the copyright header.
13192 1.1 christos
13193 1.1 christos 2012-01-02 Jan Kratochvil <jan.kratochvil (a] redhat.com>
13194 1.1 christos
13195 1.1 christos Revert this part of:
13196 1.1 christos 2012-01-02 Jan Kratochvil <jan.kratochvil (a] redhat.com>
13197 1.1 christos Remove the gdbtui binary.
13198 1.1 christos * gdb.c (main): Remove args.interpreter_p initialization.
13199 1.1 christos * main.c (captured_main): Set INTERPRETER_P directly by INTERP_CONSOLE.
13200 1.1 christos * main.h (struct captured_main_args): Remove interpreter_p.
13201 1.1 christos
13202 1.1 christos 2012-01-02 Joel Brobecker <brobecker (a] adacore.com>
13203 1.1 christos
13204 1.1 christos * config/djgpp/fnchange.lst: Add entry for ChangeLog-2011.
13205 1.1 christos
13206 1.1 christos 2012-01-02 Joel Brobecker <brobecker (a] adacore.com>
13207 1.1 christos
13208 1.1 christos * top.c (print_gdb_version): Update copyright year.
13209 1.1 christos
13210 1.1 christos 2012-01-02 Yao Qi <yao (a] codesourcery.com>
13211 1.1 christos
13212 1.1 christos * inf-ptrace.c (inf_ptrace_xfer_partial): Reindent.
13213 1.1 christos
13214 1.1 christos 2012-01-02 Jan Kratochvil <jan.kratochvil (a] redhat.com>
13215 1.1 christos Joel Brobecker <brobecker (a] adacore.com>
13216 1.1 christos
13217 1.1 christos Fix regression for gdb.cp/gdb2495.exp with gcc-4.7.
13218 1.1 christos * arch-utils.c (displaced_step_at_entry_point): Incrase BP_LEN skip to
13219 1.1 christos 3 times.
13220 1.1 christos * infcall.c (call_function_by_hand) <AT_SYMBOL>: Move it upwards and
13221 1.1 christos fall through into AT_ENTRY_POINT.
13222 1.1 christos (call_function_by_hand) <AT_ENTRY_POINT>: New variable bp_len. Adjust
13223 1.1 christos DUMMY_ADDR with it.
13224 1.1 christos * ppc-linux-tdep.c (ppc_linux_displaced_step_location): Increase
13225 1.1 christos PPC_INSN_SIZE skip to 3 times.
13226 1.1 christos
13227 1.1 christos 2012-01-02 Jan Kratochvil <jan.kratochvil (a] redhat.com>
13228 1.1 christos
13229 1.1 christos * amd64-linux-nat.c (update_debug_registers_callback): New comment on
13230 1.1 christos the return value.
13231 1.1 christos * i386-linux-nat.c (update_debug_registers_callback): Likewise.
13232 1.1 christos
13233 1.1 christos 2012-01-02 Jan Kratochvil <jan.kratochvil (a] redhat.com>
13234 1.1 christos
13235 1.1 christos Build gdb directly from *.o files not using libgdb.a.
13236 1.1 christos * Makefile.in (SUBDIR_TUI_OBS): Remove duplicate tui.o.
13237 1.1 christos (COMMON_OBS): Remove solib-target.o.
13238 1.1 christos (LIBGDB_OBS, libgdb.a): Move it before the gdb$(EXEEXT) rule.
13239 1.1 christos (gdb$(EXEEXT)): Replace libgdb.a with $(LIBGDB_OBS).
13240 1.1 christos (LIBGDB_OBS, libgdb.a): Move it above.
13241 1.1 christos * configure.tgt (alpha*-*-linux*, alpha*-*-freebsd*)
13242 1.1 christos (alpha*-*-kfreebsd*-gnu, alpha*-*-netbsd*, alpha*-*-knetbsd*-gnu)
13243 1.1 christos (alpha*-*-openbsd*, am33_2.0*-*-linux*, arm*-wince-pe)
13244 1.1 christos (arm*-*-mingw32ce*, arm*-*-linux*, arm*-*-netbsd*, arm*-*-knetbsd*-gnu)
13245 1.1 christos (arm*-*-openbsd*, cris*, frv-*-*, hppa*-*-hpux*, hppa*-*-linux*)
13246 1.1 christos (hppa*-*-netbsd*, hppa*-*-openbsd*, i[34567]86-*-darwin*)
13247 1.1 christos (i[34567]86-*-dicos*, i[34567]86-*-freebsd*, i[34567]86-*-kfreebsd*-gnu)
13248 1.1 christos (i[34567]86-*-netbsd*, i[34567]86-*-knetbsd*-gnu, i[34567]86-*-openbsd*)
13249 1.1 christos (i[34567]86-*-nto*, i[34567]86-*-solaris2.1[0-9]*)
13250 1.1 christos (x86_64-*-solaris2.1[0-9]*, i[34567]86-*-solaris*, i[34567]86-*-linux*)
13251 1.1 christos (i[34567]86-*-gnu*, ia64-*-linux*, m32r*-*-linux*, m68*-*-linux*)
13252 1.1 christos (m68*-*-netbsd*, m68*-*-knetbsd*-gnu, m68*-*-openbsd*)
13253 1.1 christos (microblaze*-linux-*, microblaze*-*-linux*, mips*-sgi-irix5*)
13254 1.1 christos (mips*-sgi-irix6*, mips*-*-linux*, mips*-*-netbsd*)
13255 1.1 christos (mips*-*-knetbsd*-gnu, mips64*-*-openbsd*, powerpc-*-netbsd*)
13256 1.1 christos (powerpc-*-knetbsd*-gnu, powerpc-*-openbsd*, powerpc-*-aix*, rs6000-*-*)
13257 1.1 christos (powerpc-*-linux*, powerpc64-*-linux*, powerpc*-*-*, s390*-*-*)
13258 1.1 christos (sh*-*-linux*, sh*-*-netbsdelf*, sh*-*-knetbsd*-gnu, sh*-*-openbsd*)
13259 1.1 christos (sparc-*-linux*, sparc64-*-linux*, sparc*-*-freebsd*)
13260 1.1 christos (sparc*-*-kfreebsd*-gnu, sparc-*-netbsd*, sparc-*-knetbsd*-gnu)
13261 1.1 christos (sparc64-*-netbsd*, sparc64-*-knetbsd*-gnu, sparc-*-openbsd*)
13262 1.1 christos (sparc64-*-openbsd*, sparc-*-solaris2.[0-6], sparc-*-solaris2.[0-6].*)
13263 1.1 christos (sparc-*-solaris2*, sparcv9-*-solaris2*, sparc64-*-solaris2*)
13264 1.1 christos (vax-*-netbsd*, vax-*-knetbsd*-gnu, x86_64-*-darwin*, x86_64-*-dicos*)
13265 1.1 christos (x86_64-*-linux*, x86_64-*-freebsd*, x86_64-*-kfreebsd*-gnu)
13266 1.1 christos (x86_64-*-netbsd*, x86_64-*-knetbsd*-gnu, x86_64-*-openbsd*)
13267 1.1 christos (xtensa*-*-linux*, xtensa*): Remove solib.o from gdb_target_obs.
13268 1.1 christos
13269 1.1 christos 2012-01-02 Jan Kratochvil <jan.kratochvil (a] redhat.com>
13270 1.1 christos
13271 1.1 christos Remove the gdbtui binary.
13272 1.1 christos * .gitignore (/gdbtui): Remove.
13273 1.1 christos * Makefile.in (TUI): Remove.
13274 1.1 christos (SUBDIR_TUI_OBS): Remove tui-main.o.
13275 1.1 christos (SUBDIR_TUI_SRCS): Remove tui/tui-main.c.
13276 1.1 christos (all-tui, install-tui, uninstall-tui, $(TUI)$(EXEEXT), clean-tui)
13277 1.1 christos (tui-main.o): Remove.
13278 1.1 christos (all_object_files): Remove tui-main.o.
13279 1.1 christos * NEWS: New note for the gdbtui removal.
13280 1.1 christos * configure: Rebuilt.
13281 1.1 christos * configure.ac: No longer add all-tui, clean-tui, install-tui and
13282 1.1 christos uninstall-tui to CONFIG_ALL, CONFIG_CLEAN, CONFIG_INSTALL and
13283 1.1 christos CONFIG_UNINSTALL respectively.
13284 1.1 christos * gdb.c (main): Remove args.interpreter_p initialization.
13285 1.1 christos * main.c (captured_main): Set INTERPRETER_P directly by INTERP_CONSOLE.
13286 1.1 christos * main.h (struct captured_main_args): Remove interpreter_p.
13287 1.1 christos * tui/tui-main.c: Remove.
13288 1.1 christos
13289 1.1 christos 2012-01-01 Doug Evans <dje (a] google.com>
13290 1.1 christos
13291 1.1 christos * dwarf2read.c (dwarf2_compute_name): Simplify objfile references.
13292 1.1 christos (dwarf2_physname, read_import_statement): Ditto.
13293 1.1 christos (read_call_site_scope, dwarf2_record_block_ranges): Ditto.
13294 1.1 christos (process_structure_scope read_subroutine_type): Ditto.
13295 1.1 christos (read_typedef, load_partial_dies, read_partial_die): Ditto.
13296 1.1 christos (find_partial_die, dwarf_decode_lines, lookup_die_type): Ditto.
13297 1.1 christos (dwarf2_fetch_die_location_block): Ditto.
13298 1.1 christos (dwarf_decode_macros, dwarf2_symbol_mark_computed): Ditto.
13299 1.1 christos
13300 1.1 christos * dwarf2read.c (read_signatured_type): Delete `objfile' arg.
13301 1.1 christos All callers updated.
13302 1.1 christos (load_full_comp_unit, queue_comp_unit, process_queue): Ditto.
13303 1.1 christos (dw2_do_instantiate_symtab, dw2_instantiate_symtab): Ditto.
13304 1.1 christos (process_psymtab_comp_unit, load_partial_comp_unit): Ditto.
13305 1.1 christos
13306 1.1 christos * dwarf2read.c (load_cu): Move assert to more useful location.
13307 1.1 christos
13308 1.1 christos * dwarf2read.c (free_heap_comp_unit): Renamed from free_one_comp_unit.
13309 1.1 christos All callers updated.
13310 1.1 christos
13311 1.1 christos * dwarf2read.c (dwarf2_per_objfile): Add comment.
13312 1.1 christos (dwarf2_elf_names): Minor reformat.
13313 1.1 christos (dwarf2_per_cu_data): Tweak comment.
13314 1.1 christos (dwarf2_read_section): Fix comment.
13315 1.1 christos (create_all_comp_units): Fix comment.
13316 1.1 christos (load_full_comp_unit): Fix comment.
13317 1.1 christos (process_full_comp_unit): Fix comment.
13318 1.1 christos (read_signatured_type): Fix comment.
13319 1.1 christos
13320 1.1 christos For older changes see ChangeLog-2011.
13321 1.1 christos
13323 1.1 christos Local Variables:
13324 1.1 christos mode: change-log
13325 1.1 christos left-margin: 8
13326 1.1 christos fill-column: 74
13327 1.1 christos version-control: never
13328 1.1 christos coding: utf-8
13329 End:
13330