Commit | Line | Data |
---|---|---|
04dcf5fa JK |
1 | 2012-03-01 Jan Kratochvil <jan.kratochvil@redhat.com> |
2 | ||
3 | Fix -Wmissing-prototypes build. | |
4 | * Makefile.in (HFILES_NO_SRCDIR): Add sh64-tdep.h. | |
5 | * sh-tdep.c: Include sh64-tdep.h. | |
6 | * sh-tdep.h (sh64_gdbarch_init, sh64_show_regs): Remove declarations. | |
7 | * sh64-tdep.c: Include sh64-tdep.h. | |
8 | * sh64-tdep.h: New file. | |
9 | ||
19080931 MR |
10 | 2012-03-01 Maciej W. Rozycki <macro@codesourcery.com> |
11 | ||
12 | * mips-tdep.c (mips32_scan_prologue): Correct indentation. | |
13 | ||
9aac7884 MR |
14 | 2012-03-01 Maciej W. Rozycki <macro@codesourcery.com> |
15 | ||
16 | * mips-tdep.c (mips_gdbarch_init): Only set pc_regnum and | |
17 | sp_regnum once the gdbarch_init_osabi hook has been called. | |
18 | ||
a385295e MR |
19 | 2012-03-01 Maciej W. Rozycki <macro@codesourcery.com> |
20 | ||
21 | * mips-tdep.c (mips32_bc1_pc): New function. | |
22 | (mips32_next_pc): Handle BC1ANY2F, BC1ANY2T, BC1ANY4F, BC1ANY4T, | |
23 | BPOSGE32 and BPOSGE64 instructions. | |
24 | (deal_with_atomic_sequence): Likewise. | |
25 | (mips32_instruction_has_delay_slot): Likewise. | |
26 | ||
1faeff08 MR |
27 | 2012-03-01 Maciej W. Rozycki <macro@mips.com> |
28 | Chris Dearman <chris@mips.com> | |
29 | Maciej W. Rozycki <macro@codesourcery.com> | |
30 | Joseph Myers <joseph@codesourcery.com> | |
31 | ||
32 | * features/mips-dsp.xml: New file. | |
33 | * features/mips64-dsp.xml: New file. | |
34 | * features/mips-dsp-linux.xml: New file. | |
35 | * features/mips64-dsp-linux.xml: New file. | |
36 | * features/Makefile (WHICH): Add mips-dsp-linux and | |
37 | mips64-dsp-linux. | |
38 | (mips-dsp-expedite, mips64-dsp-expedite): New variables. | |
39 | * features/mips-dsp-linux.c: New file. | |
40 | * features/mips64-dsp-linux.c: New file. | |
41 | * regformats/mips-dsp-linux.dat: New file. | |
42 | * regformats/mips64-dsp-linux.dat: New file. | |
43 | * mips-linux-nat.c (mips_linux_register_addr): Handle DSP | |
44 | registers. | |
45 | (mips64_linux_register_addr): Likewise. | |
46 | (mips64_linux_regsets_fetch_registers): Likewise. | |
47 | (mips64_linux_regsets_store_registers): Likewise. | |
48 | (mips64_linux_fetch_registers): Update call to | |
49 | mips64_linux_regsets_fetch_registers. | |
50 | (mips64_linux_store_registers): Update call to | |
51 | mips64_linux_regsets_store_registers. | |
52 | (mips_linux_read_description): Probe for DSP registers. | |
53 | (_initialize_mips_linux_nat): Call initialize_tdesc_mips_dsp_linux | |
54 | and initialize_tdesc_mips64_dsp_linux. | |
55 | * mips-linux-tdep.c (supply_gregset, mips64_supply_gregset): | |
56 | Remove padding of no longer used embedded register slots. | |
57 | * mips-linux-tdep.h (DSP_BASE, DSP_CONTROL): New macros. | |
58 | (MIPS_RESTART_REGNUM): Redefine enum value. | |
59 | * mips-tdep.c (mips_generic_reg_names): Remove trailing null | |
60 | strings. | |
61 | (mips_tx39_reg_names): Likewise. | |
62 | (mips_linux_reg_names): New array of register names for Linux | |
63 | targets. | |
64 | (mips_register_name): Check for a null pointer in | |
65 | mips_processor_reg_names and return an empty string. | |
66 | (mips_register_type): Exclude embedded registers for the IRIX | |
67 | and Linux ABIs. | |
68 | (mips_pseudo_register_type): Likewise. Use dynamic numbers to | |
69 | refer to FP registers, LO, HI, BadVAddr, Cause and PC. Handle | |
70 | DSP registers. | |
71 | (mips_stab_reg_to_regnum): Handle DSP accumulators. | |
72 | (mips_dwarf_dwarf2_ecoff_reg_to_regnum): Likewise. | |
73 | (mips_gdbarch_init): Likewise. Initialize internal register | |
74 | indices for the Linux ABI. Use dynamic numbers to refer to | |
75 | registers, as applicable, while parsing the target description. | |
76 | * mips-tdep.h (struct mips_regnum): Add dspacc/dspctl offsets. | |
77 | ||
263689d8 JB |
78 | 2012-03-01 Joel Brobecker <brobecker@adacore.com> |
79 | ||
80 | * frame.h (read_frame_register_unsigned): Fix typo in function | |
81 | description. | |
82 | ||
f3b4f45c PA |
83 | 2012-03-01 Pedro Alves <palves@redhat.com> |
84 | ||
85 | * jit-reader.in [!__cplusplus] | |
86 | (GDB_DECLARE_GPL_COMPATIBLE_READER): Add missing backslash. | |
87 | ||
b03a2011 PA |
88 | 2012-03-01 Pedro Alves <palves@redhat.com> |
89 | ||
90 | * configure.ac (build_warnings): Add -Wmissing-prototypes. | |
91 | * configure: Regenerate. | |
92 | ||
70221824 PA |
93 | 2012-03-01 Pedro Alves <palves@redhat.com> |
94 | ||
95 | * amd64-linux-tdep.c (amd64_linux_record_signal): Make static. | |
96 | * breakpoint.c (create_exception_master_breakpoint, trace_command) | |
97 | (ftrace_command, strace_command): Make static. | |
98 | * d-lang.c (_initialize_d_language): Declare. | |
99 | * dwarf2expr.c (_initialize_dwarf2expr): Declare. | |
100 | * dwarf2loc.c (_initialize_dwarf2loc): | |
101 | * dwarf2read.c (process_psymtab_comp_unit): Make static. | |
102 | * exec.c (exec_get_section_table): Make static. | |
103 | * i386-linux-tdep.c (i386_linux_record_signal): Make static. | |
104 | * infcmd.c (ensure_valid_thread, ensure_not_tfind_mode): Make static. | |
105 | * inferior.c (remove_inferior_command, add_inferior_command) | |
106 | (clone_inferior_command): Make static. | |
107 | * linux-nat.c (linux_nat_thread_address_space) | |
108 | (linux_nat_core_of_thread): Make static. | |
109 | * linux-tdep.c (_initialize_linux_tdep): Declare. | |
110 | * objc-lang.c (_initialize_objc_lang): Declare. | |
111 | * opencl-lang.c (builtin_opencl_type, opencl_language_arch_info): | |
112 | Make static. | |
113 | (_initialize_opencl_language): Declare. | |
114 | * record.c (_initialize_record): Declare. | |
115 | * remote.c (demand_private_info, remote_get_tib_address) | |
116 | (remote_supports_cond_tracepoints) | |
117 | (remote_supports_fast_tracepoints, remote_get_tracepoint_status): | |
118 | Make static. | |
119 | * skip.c (_initialize_step_skip): Declare. | |
120 | * symtab.c (skip_prologue_using_lineinfo): Make static. | |
121 | * tracepoint.c (delete_trace_state_variable) | |
122 | (trace_variable_command, delete_trace_variable_command) | |
123 | (get_uploaded_tsv, find_matching_tracepoint_location) | |
124 | (find_matching_tsv, create_tsv_from_upload, get_traceframe_info): | |
125 | Make static. | |
126 | * value.c (pack_unsigned_long): Make static. | |
127 | * varobj.c (varobj_ensure_python_env): Make static. | |
128 | * windows-tdep.c (_initialize_windows_tdep): Declare. | |
129 | * xml-syscall.c (make_cleanup_free_syscalls_info): Make static. | |
130 | ||
33fbcbee PA |
131 | 2012-03-01 Pedro Alves <palves@redhat.com> |
132 | ||
133 | * linux-tdep.c (linux_has_shared_address_space): Make static. Add | |
134 | gdbarch parameter. | |
135 | (linux_init_abi): Install it as has_shared_address_space gdbarch | |
136 | callback. | |
137 | ||
44d0cd3b PA |
138 | 2012-03-01 Pedro Alves <palves@redhat.com> |
139 | ||
140 | * observer.c (observer_test_first_notification_function) | |
141 | (observer_test_second_notification_function) | |
142 | (observer_test_third_notification_function): Add declarations. | |
143 | ||
ed01b82c PA |
144 | 2012-03-01 Pedro Alves <palves@redhat.com> |
145 | ||
146 | * common/signals.c (default_target_signal_to_host) | |
147 | (default_target_signal_from_host): Move ... | |
148 | * arch-utils.c: ... here. | |
149 | * arch-utils.h (default_target_signal_to_host) | |
150 | (default_target_signal_from_host): Declare. | |
151 | ||
152 | * common/signals.c (target_signal_from_command): Move ... | |
153 | * infrun.c: ... here. | |
154 | * inferior.h (target_signal_from_command): Declare. | |
155 | * target.h (target_signal_from_command) | |
156 | (default_target_signal_from_host, default_target_signal_to_host): | |
157 | Delete declarations. | |
158 | ||
159 | * common/signals.c (_initialize_signals): Delete. | |
160 | ||
c9b87335 PA |
161 | 2012-03-01 Pedro Alves <palves@redhat.com> |
162 | ||
163 | * jit-reader.in (plugin_is_GPL_compatible): Add declarations for | |
164 | both __cplusplus and !__cplusplus. | |
165 | ||
9340a6c0 PA |
166 | 2012-03-01 Pedro Alves <palves@redhat.com> |
167 | ||
168 | * psymtab.c (find_and_open_source): Delete declaration. | |
169 | * source.c (find_and_open_source): Move comment ... | |
170 | * source.h (find_and_open_source): ... to this new declaration. | |
171 | ||
e451c4a1 PA |
172 | 2012-03-01 Pedro Alves <palves@redhat.com> |
173 | ||
174 | * inline-frame.c: Include inline-frame.h. | |
175 | ||
983fb104 PA |
176 | 2012-03-01 Pedro Alves <palves@redhat.com> |
177 | ||
178 | * tui/tui-data.c (set_gen_win_origin): Delete. | |
179 | * tui/tui-data.h (tui_set_gen_win_origin): Delete declaration. | |
180 | * tui/tui-regs.c (tui_last_reg_element_no_in_line): Delete. | |
181 | ||
5fbce5df PA |
182 | 2012-03-01 Pedro Alves <palves@redhat.com> |
183 | ||
184 | * remote.c (encode_actions): Delete declaration. | |
185 | * tracepoint.c (encode_actions): Make extern. | |
186 | * tracepoint.h (encode_actions): Declare. | |
187 | ||
49a8461d PA |
188 | 2012-03-01 Pedro Alves <palves@redhat.com> |
189 | ||
190 | * python/py-breakpoint.c: Include python.h. | |
191 | * python/py-continueevent.c (create_continue_event_object): Make | |
192 | static. | |
193 | * python/py-lazy-string.c (stpy_get_type): Make static. | |
194 | * python/py-newobjfileevent.c (create_new_objfile_event_object): | |
195 | Make static. | |
196 | * python/py-utils.c (unicode_to_target_python_string): Make | |
197 | static. | |
198 | * python/py-value.c: Include python.h. | |
199 | ||
9079102f PA |
200 | 2012-03-01 Pedro Alves <palves@redhat.com> |
201 | ||
202 | * inferior.c (delete_threads_of_inferior): Delete. | |
203 | ||
a298c5e8 PA |
204 | 2012-03-01 Pedro Alves <palves@redhat.com> |
205 | ||
206 | Import fallback definitions from glibc. | |
207 | ||
208 | * gdb_proc_service.h [!HAVE_PROC_SERVICE_H] (struct | |
209 | ps_prochandle): Forward declare. | |
210 | (ps_err_e): Use glibc's comments. | |
211 | [!HAVE_PROC_SERVICE_H] (ps_pdread, ps_pdwrite, ps_ptread) | |
212 | (ps_ptwrite, ps_lgetregs, ps_lsetregs, ps_lgetfpregs) | |
213 | (ps_lsetfpregs, ps_getpid, ps_get_thread_area, ps_pglobal_lookup) | |
214 | (ps_pstop, ps_pcontinue, ps_lstop, ps_lcontinue, ps_lgetxregsize) | |
215 | (ps_lgetxregs, ps_lsetxregs, ps_plog): Declare. | |
216 | (struct ps_prochandle): Adjust comment. | |
217 | ||
e3084549 PA |
218 | 2012-03-01 Pedro Alves <palves@redhat.com> |
219 | ||
220 | * ada-lang.c (ada_modulus_from_name): Delete. | |
221 | * ada-lex.l (lexer_init): Make static. | |
222 | ||
ad5f7d6e PA |
223 | 2012-03-01 Pedro Alves <palves@redhat.com> |
224 | ||
225 | PR gdb/13767 | |
226 | ||
227 | * frame.c (read_frame_register_unsigned): New. | |
228 | * frame.h (read_frame_register_unsigned): Declare. | |
229 | * i387-tdep.c (print_i387_status_word): New parameter `status_p'. | |
230 | Handle it. | |
231 | (print_i387_control_word): New parameter `control_p'. Handle it. | |
232 | (i387_print_float_info): Handle unavailable float registers. | |
233 | ||
e0a4d108 KS |
234 | 2012-03-01 Keith Seitz <keiths@redhat.com> |
235 | ||
236 | * linespec.c (decode_line_2): Sort the list of methods | |
237 | alphabetically before presenting the user with a selection | |
238 | menu. | |
239 | ||
122d1940 DE |
240 | 2012-03-01 Doug Evans <dje@google.com> |
241 | ||
242 | * dwarf2read.c (dwarf2_cu): Remove unused members has_form_ref_addr, | |
243 | has_namespace_info. | |
244 | (dwarf2_read_abbrevs): Remove corresponding initialization. | |
245 | ||
7d74f244 DE |
246 | 2012-03-01 Scott J. Goldman <scottjg@vmware.com> |
247 | ||
248 | * NEWS: Mention new python command class gdb.COMMAND_USER. | |
249 | * cli/cli-cmds.c (show_user): Print error when used on a python | |
250 | command. | |
251 | (init_cli_cmds): Update documentation strings for "show user" and | |
252 | "set/show max-user-call-depth" to clarify that it does not apply to | |
253 | python commands. | |
254 | * python/py-cmd.c (cmdpy_init): Treat class_user as a valid class in | |
255 | error check. | |
256 | (gdbpy_initialize_commands): Add COMMAND_USER as a constant in | |
257 | gdb python api. | |
258 | * top.c (execute_command): Only execute a user-defined command as a | |
259 | legacy macro if c->user_commands is set. | |
260 | ||
e88acd96 TT |
261 | 2012-03-01 Tom Tromey <tromey@redhat.com> |
262 | ||
263 | * valprint.h (struct generic_val_print_decorations): New. | |
264 | (generic_val_print): Declare. | |
265 | * valprint.c (generic_val_print): New function. | |
266 | * p-valprint.c (p_decorations): New global. | |
267 | (pascal_val_print) <TYPE_CODE_REF, TYPE_CODE_ENUM, | |
268 | TYPE_CODE_FLAGS, TYPE_CODE_FUNC, TYPE_CODE_RANGE, TYPE_CODE_INT, | |
269 | TYPE_CODE_FLT, TYPE_CODE_VOID, TYPE_CODE_ERROR, TYPE_CODE_UNDEF, | |
270 | TYPE_CODE_BOOL, TYPE_CODE_CHAR>: Call generic_val_print. | |
271 | * m2-valprint.c (m2_decorations): New global. | |
272 | (m2_val_print) <TYPE_CODE_REF, TYPE_CODE_ENUM, TYPE_CODE_FUNC, | |
273 | TYPE_CODE_BOOL, TYPE_CODE_RANGE, TYPE_CODE_INT, TYPE_CODE_CHAR, | |
274 | TYPE_CODE_FLT, TYPE_CODE_METHOD, TYPE_CODE_VOID, TYPE_CODE_UNDEF, | |
275 | TYPE_CODE_ERROR>: Call generic_val_print. | |
276 | * f-valprint.c (f_decorations): New global. | |
277 | (f_val_print): Use print_function_pointer_address. | |
278 | <TYPE_CODE_REF, TYPE_CODE_FUNC, TYPE_CODE_CHAR, TYPE_CODE_FLAGS, | |
279 | TYPE_CODE_FLT, TYPE_CODE_VOID, TYPE_CODE_ENUM, TYPE_CODE_RANGE, | |
280 | TYPE_CODE_BOOL, TYPE_CODE_COMPLEX, TYPE_CODE_UNDEF>: Call | |
281 | generic_val_print. | |
282 | * c-valprint.c (c_decorations): New global. | |
283 | (c_val_print) <TYPE_CODE_MEMBERPTR, TYPE_CODE_REF, TYPE_CODE_ENUM, | |
284 | TYPE_CODE_FLAGS, TYPE_CODE_FUNC, TYPE_CODE_METHOD, TYPE_CODE_BOOL, | |
285 | TYPE_CODE_RANGE, TYPE_CODE_CHAR, TYPE_CODE_FLT, | |
286 | TYPE_CODE_DECFLOAT, TYPE_CODE_VOID, TYPE_CODE_ERROR, | |
287 | TYPE_CODE_UNDEF, TYPE_CODE_COMPLEX>: Call generic_val_print. | |
288 | * ada-valprint.c (ada_val_print_1) <TYPE_CODE_FLAGS>: Remove | |
289 | case. | |
290 | ||
d3eab38a TT |
291 | 2012-03-01 Tom Tromey <tromey@redhat.com> |
292 | ||
293 | * valprint.c (val_print): Update. | |
294 | * p-valprint (pascal_val_print): Return void. | |
295 | * p-lang.h (pascal_val_print): Return void. | |
296 | * m2-valprint.c (m2_val_print): Return void. | |
297 | * m2-lang.h (m2_val_print): Return void. | |
298 | * language.h (struct language_defn) <la_val_print>: Return void. | |
299 | * language.c (unk_lang_val_print): Return void. | |
300 | * jv-valprint.c (java_val_print): Return void. | |
301 | * jv-lang.h (java_val_print): Return void. | |
302 | * f-valprint.c (f_val_print): Return void. | |
303 | * f-lang.h (f_val_print): Return void. | |
304 | * d-valprint.c (d_val_print): Return void. | |
305 | (dynamic_array_type): Update. | |
306 | * d-lang.h (d_val_print): Return void. | |
307 | * c-valprint.c (c_val_print): Return void. | |
308 | * c-lang.h (c_val_print): Return void. | |
309 | * ada-valprint.c (ada_vada_val_print, ada_val_print_1): Return | |
310 | void. | |
311 | * ada-lang.h (ada_val_print): Return void. | |
312 | ||
35c0084b TT |
313 | 2012-03-01 Tom Tromey <tromey@redhat.com> |
314 | ||
315 | * value.h (val_print): Return void. | |
316 | * valprint.c (val_print): Return void. | |
317 | ||
a1f5dd1b TT |
318 | 2012-03-01 Tom Tromey <tromey@redhat.com> |
319 | ||
320 | * value.h (common_val_print): Return void. | |
321 | * valprint.c (common_val_print): Return void. | |
322 | ||
8e069a98 TT |
323 | 2012-03-01 Tom Tromey <tromey@redhat.com> |
324 | ||
325 | * value.h (value_print): Return void. | |
326 | * valprint.c (value_print): Return void. | |
327 | * p-valprint.c (pascal_value_print): Return void. | |
328 | * p-lang.h (pascal_value_print): Return void. | |
329 | * language.h (struct language_defn) <la_value_print>: Return | |
330 | void. | |
331 | * language.c (unk_lang_value_print): Return void. | |
332 | * jv-valprint.c (java_value_print): Return void. | |
333 | * jv-lang.h (java_value_print): Return void. | |
334 | * f-valprint.c (c_value_print): Don't declare. | |
335 | Include c-lang.h. | |
336 | * c-valprint.c (c_value_print): Return void. | |
337 | * c-lang.h (c_value_print): Return void. | |
338 | * ada-valprint.c (ada_value_print): Return void. | |
339 | * ada-lang.h (ada_value_print): Return void. | |
340 | ||
be335936 TT |
341 | 2012-03-01 Tom Tromey <tromey@redhat.com> |
342 | ||
343 | * value.c (value_primitive_field): Handle virtual base classes. | |
344 | ||
b0db66a7 TT |
345 | 2012-03-01 Tom Tromey <tromey@redhat.com> |
346 | ||
347 | * gdbtypes.h (struct vbase): Remove. | |
348 | ||
132c57b4 TT |
349 | 2012-03-01 Tom Tromey <tromey@redhat.com> |
350 | ||
351 | * c-valprint.c (print_function_pointer_address): Move... | |
352 | * valprint.c: ... here. Make non-static. | |
353 | * m2-valprint.c (print_function_pointer_address): Remove. | |
354 | * valprint.h (print_function_pointer_address): Declare. | |
355 | ||
e41eec66 JB |
356 | 2012-03-01 Joel Brobecker <brobecker@adacore.com> |
357 | ||
358 | * NEWS: Document the fact that one can provide a condition when | |
359 | creating an Ada exception catchpoint. | |
360 | ||
19c37f24 TT |
361 | 2012-03-01 Tom Tromey <tromey@redhat.com> |
362 | ||
363 | * valprint.c (val_print_type_code_flags): Fix placement of | |
364 | trailing brace. | |
365 | ||
f0fed3a3 JB |
366 | 2012-03-01 Joel Brobecker <brobecker@adacore.com> |
367 | ||
368 | * copyright.py (MULTILINE_COMMENT_PREFIXES): Delete. | |
369 | (update_files): Do not set MULTILINE_COMMENT_PREFIXES | |
370 | environment variable before calling update-copyright. | |
371 | ||
8ba85d85 JB |
372 | 2012-03-01 Joel Brobecker <brobecker@adacore.com> |
373 | ||
374 | * gnulib/extra/update-copyright: Update to the latest from | |
375 | gnulib's git repository. | |
376 | * copyright.py: Set UPDATE_COPYRIGHT_USE_INTERVALS environment | |
377 | variable to 2 instead of 1. | |
378 | ||
8219b1e8 JB |
379 | 2012-02-29 Joel Brobecker <brobecker@adacore.com> |
380 | ||
381 | * varobj.c (c_value_of_variable): Remove dead code. | |
382 | ||
718cb7da JB |
383 | 2012-02-29 Joel Brobecker <brobecker@adacore.com> |
384 | ||
385 | * ada-lex.p (processId): Do not modify already encoded IDs. | |
386 | Update function documentation. | |
387 | ||
739593e0 JB |
388 | 2012-02-29 Joel Brobecker <brobecker@adacore.com> |
389 | ||
390 | * ada-lang.h (ada_find_renaming_symbol): Replace parameter | |
391 | "name" with "struct symbol *name_sym". | |
392 | * ada-exp.y (write_var_or_type): Update call to | |
393 | ada_find_renaming_symbol. | |
394 | "name" with "struct symbol *name_sym". Adjust Implementation | |
395 | accordingly. Adjust the function documentation. | |
396 | ||
852dff6c JB |
397 | 2012-02-29 Joel Brobecker <brobecker@adacore.com> |
398 | ||
399 | * ada-lang.h (ada_find_any_symbol, ada_find_any_type): Delete. | |
400 | * ada-lang.c (ada_find_any_type): Add advance declaration. | |
401 | Make static. Replace ada_find_any_symbol by | |
402 | ada_find_any_type_symbol. | |
403 | (ada_find_any_type_symbol): Renames ada_find_any_symbol. | |
404 | Improve function description. Make static. | |
405 | (ada_find_renaming_symbol, find_old_style_renaming_symbol): | |
406 | Replace ada_find_any_symbol by ada_find_any_type_symbol. | |
407 | ||
1b611343 JB |
408 | 2012-02-29 Joel Brobecker <brobecker@adacore.com> |
409 | ||
410 | * ada-lang.c (struct tag_args): Delete. | |
411 | (ada_get_tsd_type): Function body moved up in source file. | |
412 | (ada_tag_name_1, ada_tag_name_2): Delete. | |
413 | (ada_get_tsd_from_tag): New function. | |
414 | (ada_tag_name_from_tsd): New function. | |
415 | (ada_tag_name): Use a TRY_CATCH block instead of catch_errors | |
416 | to determine the tag name. | |
417 | ||
41246937 JB |
418 | 2012-02-29 Joel Brobecker <brobecker@adacore.com> |
419 | ||
420 | * ada-lang.h (ada_get_decoded_value, ada_get_decoded_type): Add | |
421 | declaration. | |
422 | * ada-lang.c (ada_get_decoded_value, ada_get_decoded_type): New | |
423 | function. | |
424 | ||
ffde82bf JB |
425 | 2012-02-29 Joel Brobecker <brobecker@adacore.com> |
426 | ||
427 | * ada-lang.c (ada_is_ignored_field): Rewrite wrong comment. | |
428 | ||
2ad01556 JB |
429 | 2012-02-29 Joel Brobecker <brobecker@adacore.com> |
430 | ||
431 | * ada-lang.c (ada_lookup_symbol_list): Only cache the result of | |
432 | full searches. | |
433 | ||
99b1c762 JB |
434 | 2012-02-29 Joel Brobecker <brobecker@adacore.com> |
435 | ||
436 | * ada-lang.c (constrained_packed_array_type): If there is a | |
437 | parallel XA type, use it to determine the array index type. | |
438 | ||
2d4a02ee JB |
439 | 2012-02-29 Joel Brobecker <brobecker@adacore.com> |
440 | ||
441 | * ada-valprint.c (ada_val_print_1): If our value is a reference | |
442 | to an array descriptor, dereference it before converting it | |
443 | to a simple array. | |
444 | ||
c48db5ca JB |
445 | 2012-02-29 Joel Brobecker <brobecker@adacore.com> |
446 | ||
447 | * ada-lang.c (ada_to_fixed_value): Call unwrap_value before | |
448 | creating fixed value. | |
449 | (ada_value_ind, ada_coerce_ref, assign_component) | |
450 | (ada_evaluate_subexp): Remove call to unwrap_value before | |
451 | call to ada_to_fixed_value. | |
452 | ||
2e6fda7d JB |
453 | 2012-02-29 Joel Brobecker <brobecker@adacore.com> |
454 | ||
455 | * ada-lang.c (to_fixed_array_type): Set result's type name. | |
456 | ||
5845583d JB |
457 | 2012-02-29 Joel Brobecker <brobecker@adacore.com> |
458 | ||
459 | * ada-lang.c (catch_ada_exception_command_split): Add new | |
460 | argument cond_string. Add support for condition at end of | |
461 | "catch exception" commands. | |
462 | (ada_decode_exception_location): Add new argument cond_string. | |
463 | Update call to catch_ada_exception_command_split. | |
464 | (create_ada_exception_catchpoint): Add new argument cond_string. | |
465 | Set the breakpoint condition if needed. | |
466 | (catch_ada_exception_command): Update call to | |
467 | ada_decode_exception_location. | |
468 | (ada_decode_assert_location): Add function documentation. | |
469 | Add support for condition at end of "catch assert" command. | |
470 | (catch_assert_command): Update calls to ada_decode_assert_location | |
471 | and create_ada_exception_catchpoint. | |
472 | ||
9a7f938f JK |
473 | 2012-02-29 Jan Kratochvil <jan.kratochvil@redhat.com> |
474 | ||
475 | Fix disp-step-syscall.exp: fork: single step over fork. | |
476 | * i386-linux-tdep.c (-i386_linux_get_syscall_number): Rename to ... | |
477 | (i386_linux_get_syscall_number_from_regcache): ... here, new function | |
478 | comment, change parameters gdbarch and ptid to regcache. Remove | |
479 | parameter regcache, initialize gdbarch from regcache here. | |
480 | (i386_linux_get_syscall_number, i386_linux_displaced_step_copy_insn): | |
481 | New functions. | |
482 | (i386_linux_init_abi): Install i386_linux_displaced_step_copy_insn | |
483 | instead. | |
484 | * i386-tdep.c (i386_syscall_p): Check also for 'sysenter' and | |
485 | 'syscall'. Make the 'int' check more strict. | |
486 | ||
ffdf6de5 JK |
487 | 2012-02-29 Jan Kratochvil <jan.kratochvil@redhat.com> |
488 | ||
489 | Fix reverse mode for syscall on AMD CPUs in 32-bit mode. | |
490 | * i386-linux-tdep.c (i386_linux_intx80_sysenter_record): Rename to ... | |
491 | (i386_linux_intx80_sysenter_syscall_record): ... here. | |
492 | (i386_linux_init_abi): Initialize also I386_SYSCALL_RECORD. | |
493 | Use the renamed function name. | |
494 | ||
c70a6932 JK |
495 | 2012-02-29 Jan Kratochvil <jan.kratochvil@redhat.com> |
496 | ||
497 | * arm-linux-tdep.c (arm_linux_copy_svc): Reset stale FRAME. | |
498 | * breakpoint.c (until_break_command): Likewise. | |
499 | * elfread.c (elf_gnu_ifunc_resolver_stop): Likewise. | |
500 | * infcall.c (call_function_by_hand): Likewise. | |
501 | * infcmd.c (finish_forward): Likewise. | |
502 | * infrun.c (insert_exception_resume_breakpoint): Likewise. | |
503 | ||
d4cd3da9 JB |
504 | 2012-02-28 Joel Brobecker <brobecker@adacore.com> |
505 | ||
506 | From Tristan Gingold <gingold@adacore.com>. | |
507 | * ada-tasks.c (ada_tasks_inferior_data_sniffer): Rework code to | |
508 | avoid variable assignments inside condition. | |
509 | ||
6425366c JK |
510 | 2012-02-28 Jan Kratochvil <jan.kratochvil@redhat.com> |
511 | ||
512 | Fix static analysis issue found by cppcheck. | |
513 | * microblaze-tdep.c (microblaze_extract_return_value): Fix | |
514 | uninitialized BUF for size 2. | |
515 | ||
c8cef75f MR |
516 | 2012-02-27 Chris Dearman <chris@mips.com> |
517 | Nathan Froyd <froydnj@codesourcery.com> | |
518 | Maciej W. Rozycki <macro@codesourcery.com> | |
519 | ||
520 | * mips-tdep.c (mips32_instruction_has_delay_slot): New function. | |
521 | (mips16_instruction_has_delay_slot): Likewise. | |
522 | (mips_segment_boundary): Likewise. | |
523 | (mips_adjust_breakpoint_address): Likewise. | |
524 | (mips_gdbarch_init): Use mips_adjust_breakpoint_address. | |
525 | ||
473347ad MR |
526 | 2012-02-27 Maciej W. Rozycki <macro@mips.com> |
527 | Maciej W. Rozycki <macro@codesourcery.com> | |
528 | ||
529 | * infrun.c (handle_inferior_event): Don't proceed through | |
530 | shared library trampolines if stepping at the machine | |
531 | instruction level. | |
532 | ||
cf233303 MR |
533 | 2012-02-27 Maciej W. Rozycki <macro@codesourcery.com> |
534 | ||
535 | * mips-linux-tdep.c (mips_linux_init_abi): Set num_pseudo_regs | |
536 | too. | |
537 | ||
cb2cf4ce TS |
538 | 2012-02-27 Thomas Schwinge <thomas@codesourcery.com> |
539 | ||
540 | * sh-tdep.c (sh_make_stub_cache, sh_stub_this_id) | |
541 | (sh_stub_unwind_sniffer): New functions. | |
542 | (sh_stub_unwind): New variable. | |
543 | (sh_gdbarch_init): Wire everything. | |
544 | ||
644cebc9 PA |
545 | 2012-02-27 Pedro Alves <palves@redhat.com> |
546 | ||
547 | * linux-nat.c (pid_is_stopped): Delete, moved to common/. | |
548 | (linux_nat_post_attach_wait): Adjust to use | |
549 | linux_proc_pid_is_stopped. | |
550 | * common/linux-procfs.h (linux_proc_pid_is_stopped): Declare. | |
551 | * common/linux-procfs.c (linux_proc_pid_is_stopped): New function, | |
552 | based on pid_is_stopped from both linux-nat.c and | |
553 | gdbserver/linux-low.c, and renamed. | |
554 | ||
283002cf MR |
555 | 2012-02-24 Maciej W. Rozycki <macro@codesourcery.com> |
556 | ||
557 | * remote.c (remote_watchpoint_addr_within_range): New function. | |
558 | (init_remote_ops): Use it. | |
559 | ||
9b3e86b1 MR |
560 | 2012-02-24 Maciej W. Rozycki <macro@codesourcery.com> |
561 | ||
562 | * target.h (target_watchpoint_addr_within_range): Document macro. | |
563 | ||
e36930bb PA |
564 | 2012-02-24 Pedro Alves <palves@redhat.com> |
565 | ||
566 | * stack.c (set_last_displayed_sal): Issue internal_error instead | |
567 | of warning, and issue it after clearing the last displayed sal. | |
568 | ||
883bc8d1 PA |
569 | 2012-02-24 Jan Kratochvil <jan.kratochvil@redhat.com> |
570 | Pedro Alves <palves@redhat.com> | |
571 | ||
572 | * breakpoint.c (until_break_command): Install breakpoints after | |
573 | all frame manipulations. | |
574 | ||
b775012e LM |
575 | 2012-02-24 Luis Machado <lgustavo@codesourcery.com> |
576 | ||
577 | * remote.c (remote_supports_cond_breakpoints): New forward | |
578 | declaration. | |
579 | (remote_add_target_side_condition): New function. | |
580 | (remote_insert_breakpoint): Add target-side breakpoint | |
581 | conditional if supported. | |
582 | (remote_insert_hw_breakpoint): Likewise. | |
583 | (init_remote_ops): Set to_supports_evaluation_of_breakpoint_conditions | |
584 | hook. | |
585 | ||
586 | * target.c (update_current_target): Inherit | |
587 | to_supports_evaluation_of_breakpoint_conditions. | |
588 | Default to_supports_evaluation_of_breakpoint_conditions to return_zero. | |
589 | ||
590 | * target.h (struct target_ops) | |
591 | <to_supports_evaluation_of_breakpoint_conditions>: New field. | |
592 | (target_supports_evaluation_of_breakpoint_conditions): New #define. | |
593 | ||
594 | * breakpoint.c (get_first_locp_gte_addr): New forward declaration. | |
595 | (condition_evaluation_both, condition_evaluation_auto, | |
596 | condition_evaluation_host, condition_evaluation_target, | |
597 | condition_evaluation_enums, condition_evaluation_mode_1, | |
598 | condition_evaluation_mode): New static globals. | |
599 | (translate_condition_evaluation_mode): New function. | |
600 | (breakpoint_condition_evaluation_mode): New function. | |
601 | (gdb_evaluates_breakpoint_condition_p): New function. | |
602 | (ALL_BP_LOCATIONS_AT_ADDR): New helper macro. | |
603 | (mark_breakpoint_modified): New function. | |
604 | (mark_breakpoint_location_modified): New function. | |
605 | (set_condition_evaluation_mode): New function. | |
606 | (show_condition_evaluation_mode): New function. | |
607 | (bp_location_compare_addrs): New function. | |
608 | (get_first_location_gte_addr): New helper function. | |
609 | (set_breakpoint_condition): Free condition bytecode if locations | |
610 | has become unconditional. Call mark_breakpoint_modified (...). | |
611 | (condition_command): Call update_global_location_list (1) for | |
612 | breakpoints. | |
613 | (breakpoint_xfer_memory): Use is_breakpoint (...). | |
614 | (is_breakpoint): New function. | |
615 | (parse_cond_to_aexpr): New function. | |
616 | (build_target_condition_list): New function. | |
617 | (insert_bp_location): Handle target-side conditional | |
618 | breakpoints and call build_target_condition_list (...). | |
619 | (update_inserted_breakpoint_locations): New function. | |
620 | (insert_breakpoint_locations): Handle target-side conditional | |
621 | breakpoints. | |
622 | (bpstat_check_breakpoint_conditions): Add comment. | |
623 | (bp_condition_evaluator): New function. | |
624 | (bp_location_condition_evaluator): New function. | |
625 | (print_breakpoint_location): Print information on where the condition | |
626 | will be evaluated. | |
627 | (print_one_breakpoint_location): Likewise. | |
628 | (init_bp_location): Call mark_breakpoint_location_modified (...) for | |
629 | breakpoint location. | |
630 | (force_breakpoint_reinsertion): New functions. | |
631 | (update_global_location_list): Handle target-side breakpoint | |
632 | conditions. | |
633 | Reinsert locations that are already inserted if conditions have | |
634 | changed. | |
635 | (bp_location_dtor): Free agent expression bytecode. | |
636 | (disable_breakpoint): Call mark_breakpoint_modified (...). | |
637 | Call update_global_location_list (...) with parameter 1 for breakpoints. | |
638 | (disable_command): Call mark_breakpoint_location_modified (...). | |
639 | Call update_global_location_list (...) with parameter 1 for breakpoints. | |
640 | (enable_breakpoint_disp): Call mark_breakpoint_modified (...). | |
641 | (enable_command): mark_breakpoint_location_modified (...). | |
642 | (_initialize_breakpoint): Update documentation and add | |
643 | condition-evaluation breakpoint subcommand. | |
644 | ||
645 | * breakpoint.h: Include ax.h. | |
646 | (condition_list): New data structure. | |
647 | (condition_status): New enum. | |
648 | (bp_target_info) <cond_list>: New field. | |
649 | (bp_location) <condition_changed, cond_bytecode>: New fields. | |
650 | (is_breakpoint): New prototype. | |
651 | ||
3788aec7 LM |
652 | 2012-02-24 Luis Machado <lgustavo@codesourcery.com> |
653 | ||
654 | * remote.c (remote_state) <cond_breakpoints>: New field. | |
655 | (PACKET_ConditionalBreakpoints): New enum. | |
656 | (remote_cond_breakpoint_feature): New function. | |
657 | (remote_protocol_features): Add new ConditionalBreakpoints entry. | |
658 | (remote_supports_cond_breakpoints): New function. | |
659 | (_initialize_remote): Add new packet configuration for | |
660 | target-side conditional breakpoints. | |
661 | ||
72895ff6 LM |
662 | 2012-02-24 Luis Machado <lgustavo@codesourcery.com> |
663 | ||
664 | * NEWS: Mention target-side conditional breakpoint support, | |
665 | new condition-evaluation breakpoint subcommand and remote | |
666 | packet extensions. | |
667 | ||
dea2aa5f LM |
668 | 2012-02-24 Luis Machado <lgustavo@codesourcery.com> |
669 | ||
670 | * breakpoint.c (bp_location_compare): Sort by pspace before sorting by | |
671 | number. | |
672 | ||
8a8bc27f TS |
673 | 2012-02-24 Thomas Schwinge <thomas@codesourcery.com> |
674 | ||
675 | * sh-tdep.c (sh_skip_prologue): Use skip_prologue_using_sal. | |
676 | (after_prologue): Remove. | |
677 | ||
6b446fdf TT |
678 | 2012-02-23 Tom Tromey <tromey@redhat.com> |
679 | ||
680 | * jv-valprint.c (java_val_print): Remove dead code. | |
681 | ||
ef59abfb TG |
682 | 2012-02-23 Tristan Gingold <gingold@adacore.com> |
683 | ||
684 | * ada-tasks.c (struct ada_tasks_inferior_data): Add | |
685 | known_tasks_element and known_tasks_length fields. | |
686 | (read_known_tasks_array): Change argument type. Use pointer type | |
687 | and number of elements from DATA. Adjust. | |
688 | (read_known_tasks_list): Likewise. | |
689 | (get_known_tasks_addr): Remove. | |
690 | (ada_set_current_inferior_known_tasks_addr): Renamed to ... | |
691 | (ada_tasks_inferior_data_sniffer): ... this. Use symtab for element | |
692 | type and array length. Merge former get_known_tasks_addr code. | |
693 | ||
def166f6 JK |
694 | 2012-02-23 Jan Kratochvil <jan.kratochvil@redhat.com> |
695 | ||
696 | PR backtrace/13716 | |
697 | * infcmd.c (finish_forward): New variable frame_id, initialize it, use | |
698 | it after set_momentary_breakpoint. | |
699 | ||
aeaa2474 SA |
700 | 2012-02-22 Sterling Augustine <saugustine@google.com> |
701 | ||
702 | PR 13689: | |
703 | * breakpoint.c (watchpoint_exp_is_constant): Add UNOP_CAST to switch. | |
704 | ||
feea76c2 GB |
705 | 2012-02-22 Gary Benson <gbenson@redhat.com> |
706 | ||
707 | * dwarf2read.c (dwarf2_read_index): Correct misspelling. | |
708 | (find_slot_in_mapped_hash): Likewise. | |
709 | ||
f06e05e0 JK |
710 | 2012-02-21 Jan Kratochvil <jan.kratochvil@redhat.com> |
711 | ||
712 | PR build/13638 | |
713 | * configure.ac (MAKEINFO): Replace AC_CHECK_PROG by AC_ARG_VAR. | |
714 | (MAKEINFOFLAGS): Replace static string by AC_ARG_VAR. | |
715 | * configure: Regenerate. | |
716 | ||
b54a8fd7 PA |
717 | 2012-02-21 Tristan Gingold <gingold@adacore.com> |
718 | Pedro Alves <palves@redhat.com> | |
719 | ||
720 | * ia64-tdep.c: Do not include libunwind-ia64.h. | |
721 | * libunwind-frame.h: Remove #ifdef HAVE_LIBUNWIND_H guard. | |
722 | Include libunwind-ia64.h instead of libunwind.h. | |
723 | * configure.ac (--with-libunwind, $enable_libunwind): Don't check | |
724 | for libunwind.h existence. | |
725 | * configure, config.in: Regenerate. | |
726 | ||
dfcee124 AG |
727 | 2012-02-21 Anton Gorenkov <xgsa@yandex.ru> |
728 | ||
729 | * c-valprint.c (c_value_print): Use value_rtti_indirect_type | |
730 | instead of value_rtti_target_type. | |
731 | * eval.c (evaluate_subexp_standard): Use value_rtti_indirect_type | |
732 | instead of value_rtti_target_type. | |
733 | * typeprint.c (whatis_exp): Use value_rtti_indirect_type instead of | |
734 | value_rtti_target_type. | |
735 | * valops.c (value_ind): Extract function readjust_indirect_value_type. | |
736 | (value_rtti_target_type): Rename to ... | |
737 | (value_rtti_indirect_type): ... here and make it indirect. Update | |
738 | function comment. | |
739 | * value.c (readjust_indirect_value_type): New function. | |
740 | (coerce_ref): Support for enclosing type setting for references | |
741 | with readjust_indirect_value_type. | |
742 | * value.h (readjust_value_type): New declaration. | |
743 | (value_rtti_target_type): Rename to ... | |
744 | (value_rtti_indirect_type): ... here. | |
745 | ||
02568277 AG |
746 | 2012-02-21 Anton Gorenkov <xgsa@yandex.ru> |
747 | ||
748 | * MAINTAINERS (Write After Approval): Add myself to the list. | |
749 | ||
10c07b7e | 750 | 2012-02-20 Doug Evans <dje@google.com> |
28ee876a | 751 | |
d82ea6a8 DE |
752 | * objfiles.c (add_to_objfile_sections): Remove outdated comments. |
753 | Rename objfile_p_char parameter to objfilep. | |
754 | (build_objfile_section_table): Result is now void. All callers | |
755 | updated. | |
756 | * objfiles.h (struct objfile): Tweak comments, whitespace. | |
757 | (build_objfile_section_table): Update. | |
758 | ||
28ee876a DE |
759 | * elfread.c (elf_symfile_segments): Fix warning text. |
760 | ||
24c79950 TT |
761 | 2012-02-20 Tom Tromey <tromey@redhat.com> |
762 | ||
763 | PR gdb/13498: | |
764 | * dwarf2read.c (dw2_expand_symtabs_matching): Only visit a | |
765 | particular set of file names once. | |
766 | (dw2_map_symbol_filenames): Likewise. | |
767 | ||
3a9b40b6 JK |
768 | 2012-02-20 Jan Kratochvil <jan.kratochvil@redhat.com> |
769 | ||
770 | Code cleanup. | |
771 | * main.c (write_files): Remove the declaration. | |
772 | (external_editor_command): Move the declaration ... | |
773 | [GDBTK] (external_editor_command): ... here. Fix the comment. | |
774 | ||
4d0795ca TT |
775 | 2012-02-20 Tom Tromey <tromey@redhat.com> |
776 | ||
777 | * dwarf2read.c (dw2_map_symtabs_matching_filename): Remove | |
778 | extraneous block. | |
779 | ||
637fd620 TG |
780 | 2012-02-20 Tristan Gingold <gingold@adacore.com> |
781 | ||
782 | * darwin-nat.h (enum darwin_msg_state): Add comments. | |
783 | ||
6f124894 TG |
784 | 2012-02-20 Tristan Gingold <gingold@adacore.com> |
785 | ||
786 | * amd64-darwin-tdep.c (x86_darwin_init_abi_64): Fix jb_pc_offset | |
787 | value. | |
788 | ||
2e6e3d9c JB |
789 | 2012-20-18 Joel Brobecker <brobecker@adacore.com> |
790 | ||
791 | * breakpoint.c (watchpoint_exp_is_const): Add missing empty line | |
792 | between function description and implementation. | |
793 | ||
2e8265fd TT |
794 | 2012-02-17 Tom Tromey <tromey@redhat.com> |
795 | ||
796 | PR python/12070: | |
797 | * python/py-event.c (event_object_getset): New global. | |
798 | (event_object_type): Reference it. | |
799 | * python/py-type.c (field_object_getset): New global. | |
800 | (field_object_type): Reference it. | |
801 | * python/python-internal.h (gdb_py_generic_dict): Declare. | |
802 | * python/py-utils.c (gdb_py_generic_dict): New function. | |
803 | ||
8544a150 | 804 | 2012-02-17 Tristan Gingold <gingold@adacore.com> |
6f124894 | 805 | |
8544a150 | 806 | * solib-darwin.c (darwin_current_sos): Check magic and filetype |
6f124894 | 807 | |
ca193e27 TS |
808 | 2012-02-17 Thomas Schwinge <thomas@codesourcery.com> |
809 | ||
810 | * sh-tdep.c (sh_is_renesas_calling_convention): Fix handling of | |
811 | TYPE_CALLING_CONVENTION annotation. | |
812 | ||
e5586183 KB |
813 | 2012-02-16 Kevin Buettner <kevinb@redhat.com> |
814 | ||
815 | * MAINTAINERS: Add rx to target ISA section. | |
816 | * Makefile.in (ALL_TARGET_OBS): Add rx-tdep.o. | |
817 | (ALLDEPFILES): Add rx-tdep.c. | |
818 | ||
7dcd53a0 TT |
819 | 2012-02-16 Tom Tromey <tromey@redhat.com> |
820 | ||
821 | * symfile.c (symbol_file_add_main_1): Use inferior's | |
822 | symfile_flags. | |
823 | * solib.c (solib_read_symbols): Use inferior's symfile_flags. | |
824 | * linux-nat.c (linux_child_follow_fork): Set symfile_flags on | |
825 | inferior. | |
826 | * infrun.c (handle_vfork_child_exec_or_exit): Set symfile_flags on | |
827 | inferior. | |
828 | (follow_exec): Use inferior's symfile_flags. | |
829 | * inferior.h (struct inferior) <symfile_flags>: New field. | |
830 | ||
ddd60447 MF |
831 | 2012-02-16 Mike Frysinger <vapier@gentoo.org> |
832 | ||
833 | PR gdb/9734: | |
834 | * remote-sim.c (gdbsim_create_inferior): Call error() when | |
835 | sim_create_inferior() fails. | |
836 | ||
b0d32fb6 TG |
837 | 2012-02-16 Josh Matthews <josh@joshmatthews.net> |
838 | ||
839 | * machoread.c: Initialize nbr_syms to avoid warnings-as-errors failure. | |
840 | ||
9addecb9 TT |
841 | 2012-02-16 Tom Tromey <tromey@redhat.com> |
842 | ||
843 | PR c++/13653: | |
844 | * thread.c (struct current_thread_cleanup) <was_removable>: New | |
845 | field. | |
846 | (restore_current_thread_cleanup_dtor): Restore 'removable' field. | |
847 | (make_cleanup_restore_current_thread): Initialize new field. | |
848 | ||
a58b110a KB |
849 | 2012-02-15 Kevin Buettner <kevinb@redhat.com> |
850 | ||
851 | * MAINTAINERS: Add rl78 to target ISA section. | |
852 | * Makefile.in (ALL_TARGET_OBS): Add rl78-tdep.o. | |
853 | (ALLDEPFILES): Add rl78-tdep.c. | |
854 | * NEWS: Mention rl78 as a new target. | |
855 | ||
4cb6da1c AR |
856 | 2012-02-15 Aleksandar Ristovski <aristovski@qnx.com> |
857 | ||
858 | * frame.c (find_frame_sal): Initialize sal->pspace field from frame | |
859 | data. | |
860 | * stack.c (set_last_displayed_sal): Validate that PSPACE is not NULL. | |
861 | ||
3af2590d TT |
862 | 2012-02-15 Tom Tromey <tromey@redhat.com> |
863 | ||
864 | PR gdb/12659: | |
865 | * infcmd.c (registers_info): Print just the current register's | |
866 | name. | |
867 | ||
c6910659 TT |
868 | 2012-02-15 Tom Tromey <tromey@redhat.com> |
869 | ||
870 | * python/py-symbol.c (sympy_value): Use _(). | |
871 | ||
7cee1e54 PA |
872 | 2012-02-15 Pedro Alves <palves@redhat.com> |
873 | ||
874 | * remote.c (remote_detach_1, extended_remote_attach_1): Tweak | |
875 | output to be like native targets'. | |
876 | (remote_pid_to_str): Special case the null ptid. | |
877 | ||
816338b5 SS |
878 | 2012-02-14 Stan Shebs <stan@codesourcery.com> |
879 | ||
880 | * NEWS: Mention enable count command. | |
881 | * breakpoint.h (struct breakpoint): New field enable_count. | |
882 | * breakpoint.c (enable_breakpoint_disp): Add count argument. | |
883 | (enable_breakpoint): Add arg to call. | |
884 | (struct disp_data): New struct. | |
885 | (do_enable_breakpoint_disp): Interp arg as disp_data and unpack. | |
886 | (do_map_enable_once_breakpoint): Create a struct and pass it. | |
887 | (do_map_enable_delete_breakpoint): Ditto. | |
888 | (do_map_enable_count_breakpoint): New function. | |
889 | (enable_count_command): New function. | |
890 | (bpstat_stop_status): Decrement enable_count. | |
891 | (print_one_breakpoint_location): Report enable count. | |
892 | (_initialize_breakpoint): Add enable count command. | |
893 | ||
c47a44f4 KB |
894 | 2012-02-14 Kevin Buettner <kevinb@redhat.com> |
895 | ||
896 | * rl78-tdep.c (reggroups.h): Include. | |
897 | (RL78_RAW_BANK0_R0_REGNUM, RL78_RAW_BANK0_R1_REGNUM) | |
898 | (RL78_RAW_BANK0_R2_REGNUM, RL78_RAW_BANK0_R3_REGNUM) | |
899 | (RL78_RAW_BANK0_R4_REGNUM, RL78_RAW_BANK0_R5_REGNUM) | |
900 | (RL78_RAW_BANK0_R6_REGNUM, RL78_RAW_BANK0_R7_REGNUM) | |
901 | (RL78_RAW_BANK1_R0_REGNUM, RL78_RAW_BANK1_R1_REGNUM) | |
902 | (RL78_RAW_BANK1_R2_REGNUM, RL78_RAW_BANK1_R3_REGNUM) | |
903 | (RL78_RAW_BANK1_R4_REGNUM, RL78_RAW_BANK1_R5_REGNUM) | |
904 | (RL78_RAW_BANK1_R6_REGNUM, RL78_RAW_BANK1_R7_REGNUM) | |
905 | (RL78_RAW_BANK2_R0_REGNUM, RL78_RAW_BANK2_R1_REGNUM) | |
906 | (RL78_RAW_BANK2_R2_REGNUM, RL78_RAW_BANK2_R3_REGNUM) | |
907 | (RL78_RAW_BANK2_R4_REGNUM, RL78_RAW_BANK2_R5_REGNUM) | |
908 | (RL78_RAW_BANK2_R6_REGNUM, RL78_RAW_BANK2_R7_REGNUM) | |
909 | (RL78_RAW_BANK3_R0_REGNUM, RL78_RAW_BANK3_R1_REGNUM) | |
910 | (RL78_RAW_BANK3_R2_REGNUM, RL78_RAW_BANK3_R3_REGNUM) | |
911 | (RL78_RAW_BANK3_R4_REGNUM, RL78_RAW_BANK3_R5_REGNUM) | |
912 | (RL78_RAW_BANK3_R6_REGNUM, RL78_RAW_BANK3_R7_REGNUM): Add to | |
913 | beginning of register list. | |
914 | (RL78_BANK0_R0_REGNUM, RL78_BANK0_R1_REGNUM, RL78_BANK0_R2_REGNUM) | |
915 | (RL78_BANK0_R3_REGNUM, RL78_BANK0_R4_REGNUM, RL78_BANK0_R5_REGNUM) | |
916 | (RL78_BANK0_R6_REGNUM, RL78_BANK0_R7_REGNUM, RL78_BANK1_R0_REGNUM) | |
917 | (RL78_BANK1_R1_REGNUM, RL78_BANK1_R2_REGNUM, RL78_BANK1_R3_REGNUM) | |
918 | (RL78_BANK1_R4_REGNUM, RL78_BANK1_R5_REGNUM, RL78_BANK1_R6_REGNUM) | |
919 | (RL78_BANK1_R7_REGNUM, RL78_BANK2_R0_REGNUM, RL78_BANK2_R1_REGNUM) | |
920 | (RL78_BANK2_R2_REGNUM, RL78_BANK2_R3_REGNUM, RL78_BANK2_R4_REGNUM) | |
921 | (RL78_BANK2_R5_REGNUM, RL78_BANK2_R6_REGNUM, RL78_BANK2_R7_REGNUM) | |
922 | (RL78_BANK3_R0_REGNUM, RL78_BANK3_R1_REGNUM, RL78_BANK3_R2_REGNUM) | |
923 | (RL78_BANK3_R3_REGNUM, RL78_BANK3_R4_REGNUM, RL78_BANK3_R5_REGNUM) | |
924 | (RL78_BANK3_R6_REGNUM, RL78_BANK3_R7_REGNUM): Move these into | |
925 | the pseudo registers. Rearrange other pseudo registers too so | |
926 | that the bank registers appear at the end. | |
927 | (rl78_register_type): Account for the fact that the byte sized | |
928 | bank registers are now pseudo-registers. | |
929 | (rl78_register_name): Rearrange the register name array. Make | |
930 | initial set of raw banked registers inaccessible. | |
931 | (rl78_register_reggroup_p, rl78_register_sim_regno): New functions. | |
932 | (rl78_pseudo_register_read, rl78_pseudo_register_write): Add | |
933 | case for copying bytes back and forth between raw and pseudo | |
934 | versions of the banked registers. Update other cases to reflect | |
935 | the changed names. | |
936 | (rl78_return_value): Update to account for changed names of | |
937 | raw registers. | |
938 | (rl78_gdbarch_init): Register rl78_register_reggroup_p() and | |
939 | rl78_register_sim_regno(). | |
940 | ||
e4569f1e KB |
941 | 2012-02-14 Kevin Buettner <kevinb@redhat.com> |
942 | ||
943 | * rl78-tdep.c (rl78_skip_prologue): Make `const' the type of | |
944 | the name parameter being passed to find_pc_partial_function(). | |
945 | ||
7a05aae7 JK |
946 | 2012-02-14 Jan Kratochvil <jan.kratochvil@redhat.com> |
947 | ||
948 | * MAINTAINERS: Step down from being ia64 target maintainer. | |
949 | ||
11fde611 JK |
950 | 2012-02-12 Jan Kratochvil <jan.kratochvil@redhat.com> |
951 | ||
952 | * ppc-linux-nat.c (fetch_register, store_register): Fix GCC aliasing | |
953 | compilation warning. | |
954 | ||
57008375 JK |
955 | 2012-02-12 Jan Kratochvil <jan.kratochvil@redhat.com> |
956 | ||
957 | Fix crash on loaded shlibs without loaded exec_bfd. | |
958 | * exec.c (exec_files_info): Do not crash on NULL EXEC_BFD. | |
959 | (set_section_command): Replace exec_bfd by p->bfd. | |
960 | ||
ff3c9849 TT |
961 | 2012-02-10 Tom Tromey <tromey@redhat.com> |
962 | ||
963 | * linespec.c (decode_line_internal): Skip symtabs_from_filename | |
964 | when we have a C++ qualified name. | |
965 | ||
db2b9fdd PA |
966 | 2012-02-10 Pedro Alves <palves@redhat.com> |
967 | ||
968 | * inferior.c (inferior_pid_to_str): New. | |
969 | (print_inferior, inferior_command): Use it. | |
970 | ||
12cd34f3 PA |
971 | 2012-02-10 Pedro Alves <palves@redhat.com> |
972 | ||
973 | * configure.ac (HAVE_ELF test): Put the old CFLAGS at the end of | |
974 | the test CFLAGS. | |
975 | * configure: Regenerate. | |
976 | ||
e871429d JK |
977 | 2012-02-10 Jan Kratochvil <jan.kratochvil@redhat.com> |
978 | ||
979 | * linespec.c (decode_line_internal): Fix comment correctness. | |
980 | ||
1916efaf PA |
981 | 2012-02-09 Valery Khromov <valery.khromov@gmail.com> |
982 | ||
983 | PR gdb/12953 | |
984 | * Makefile.in (HFILES_NO_SRCDIR): Add amd64bsd-nat.h. | |
985 | * amd64bsd-nat.c: Add support for debug registers (adapted from | |
986 | i386bsd-nat.c). | |
987 | [HAVE_PT_GETDBREGS] (amd64bsd_dr_get, amd64bsd_dr_set) | |
988 | (amd64bsd_dr_set_control, amd64bsd_dr_set_addr) | |
989 | (amd64bsd_dr_get_addr, amd64bsd_dr_get_status) | |
990 | (amd64bsd_dr_get_control): New functions. | |
991 | * amd64bsd-nat.h: New file (adapted from i386bsd-nat.h). | |
992 | * amd64fbsd-nat.c: Include "amd64bsd-nat.h", "i386-nat.h". | |
993 | [HAVE_PT_GETDBREGS] (_initialize_amd64fbsd_nat): Add hardware | |
994 | watchpoints initialization. | |
995 | * config/i386/fbsd64.mh (NATDEPFILES): Add i386-nat.o. | |
996 | ||
f4859d94 JK |
997 | 2012-02-09 Jan Kratochvil <jan.kratochvil@redhat.com> |
998 | ||
999 | * gdb-gdb.py (StructMainTypePrettyPrinter) <struct_field_img>: Print | |
1000 | flds_bnds.fields. | |
1001 | (StructMainTypePrettyPrinter) <bounds_img>: Print flds_bnds.bounds. | |
1002 | ||
c56a97f9 JK |
1003 | 2012-02-09 Jan Kratochvil <jan.kratochvil@redhat.com> |
1004 | ||
1005 | * breakpoint.c (bp_location_compare): Fix comment. Reindent the code. | |
1006 | ||
1a119f36 JB |
1007 | 2012-02-08 Joel Brobecker <brobecker@adacore.com> |
1008 | ||
1009 | * language.h (symbol_name_cmp_ftype): Renames | |
1010 | symbol_name_match_p_ftype. | |
1011 | (struct language_defn)[la_get_symbol_name_cmp]: Renames | |
1012 | la_get_symbol_name_match_p. | |
1013 | * ada-lang.c (ada_get_symbol_name_cmp): Renames | |
1014 | ada_get_symbol_name_match_p. Update comment. | |
1015 | (ada_language_defn)[la_get_symbol_name_cmp]: Update value. | |
1016 | * linespec.c (struct symbol_matcher_data)[symbol_name_cmp]: | |
1017 | Renames symbol_name_match_p. Update field type. | |
1018 | (iterate_name_matcher, iterate_over_all_matching_symtabs): Adjust. | |
1019 | * c-lang.c, d-lang.c, f-lang.c, jv-lang.c, m2-lang.c, objc-lang.c, | |
1020 | opencl-lang.c, p-lang.c: Replace "la_get_symbol_name_match_p" by | |
1021 | "la_get_symbol_name_cmp" in comments. | |
1022 | * language.c: Likewise. | |
1023 | ||
c71bb1cf RO |
1024 | 2012-02-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
1025 | ||
1026 | * amd64-sol2-tdep.c (amd64_sol2_gregset_reg_offset): Correct | |
1027 | %eflags offset. | |
1028 | * i386-sol2-nat.c (amd64_sol2_gregset64_reg_offs) | |
1029 | (amd64_sol2_gregset32_reg_offs): Likewise. | |
1030 | ||
4b2d20a5 TG |
1031 | 2012-02-08 Joel Brobecker <brobecker@adacore.com> |
1032 | ||
1033 | * solib-darwin.c (darwin_bfd_open): Make sure that the filename | |
1034 | of the returned BFD is allocated by GDB. | |
1035 | ||
f0823d2c TT |
1036 | 2012-02-07 Tom Tromey <tromey@redhat.com> |
1037 | ||
1038 | PR python/12027: | |
1039 | * python/python-internal.h (frame_object_type): Declare. | |
1040 | * python/py-symbol.c (sympy_needs_frame): New function. | |
1041 | (sympy_value): New function. | |
1042 | (symbol_object_getset): Add "needs_frame". | |
1043 | (symbol_object_methods): Add "value". | |
1044 | * python/py-frame.c (frame_object_type): No longer static. | |
1045 | ||
64e7d9dd TT |
1046 | 2012-02-07 Tom Tromey <tromey@redhat.com> |
1047 | ||
1048 | PR python/13599: | |
1049 | * python/py-symbol.c (sympy_line): New function. | |
1050 | (symbol_object_getset): Add "line". | |
1051 | ||
1d6b2d2b TT |
1052 | 2012-02-07 Tom Tromey <tromey@redhat.com> |
1053 | ||
1054 | * charset.c (find_charset_names): Check 'in' against NULL. | |
1055 | ||
0d5cff50 DE |
1056 | 2012-02-06 Doug Evans <dje@google.com> |
1057 | ||
1058 | * gdbtypes.h (struct main_type): Change type of name,tag_name, | |
1059 | and fields.name members from char * to const char *. All uses updated. | |
1060 | (struct cplus_struct_type): Change type of fn_fieldlists.name member | |
1061 | from char * to const char *. All uses updated. | |
1062 | (type_name_no_tag): Update. | |
1063 | (lookup_unsigned_typename, lookup_signed_typename): Update. | |
1064 | * gdbtypes.c (type_name_no_tag): Change result type | |
1065 | from char * to const char *. All callers updated. | |
1066 | (lookup_unsigned_typename, lookup_signed_typename): Change type of | |
1067 | name parameter from char * to const char *. | |
1068 | * symtab.h (struct cplus_specific): Change type of demangled_name | |
1069 | member from char * to const char *. All uses updated. | |
1070 | (struct general_symbol_info): Change type of name and | |
1071 | mangled_lang.demangled_name members from char * to const char *. | |
1072 | All uses updated. | |
1073 | (symbol_get_demangled_name, symbol_natural_name): Update. | |
1074 | (symbol_demangled_name, symbol_search_name): Update. | |
1075 | * symtab.c (symbol_get_demangled_name): Change result type | |
1076 | from char * to const char *. All callers updated. | |
1077 | (symbol_natural_name, symbol_demangled_name): Ditto. | |
1078 | (symbol_search_name): Ditto. | |
1079 | (completion_list_add_name): Change type of symname,sym_text, | |
1080 | text,word parameters from char * to const char *. | |
1081 | (completion_list_objc_symbol): Change type of sym_text, | |
1082 | text,word parameters from char * to const char *. | |
1083 | * ada-lang.c (find_struct_field): Change type of name parameter | |
1084 | from char * to const char *. | |
1085 | (encoded_ordered_before): Similarly for N0,N1 parameters. | |
1086 | (old_renaming_is_invisible): Similarly for function_name parameter. | |
1087 | (ada_type_name): Change result type from char * to const char *. | |
1088 | All callers updated. | |
1089 | * ada-lang.h (ada_type_name): Update. | |
1090 | * buildsym.c (hashname): Change type of name parameter | |
1091 | from char * to const char *. | |
1092 | * buildsym.h (hashname): Update. | |
1093 | * dbxread.c (end_psymtab): Change type of include_list parameter | |
1094 | from char ** to const char **. | |
1095 | * dwarf2read.c (determine_prefix): Change result type | |
1096 | from char * to const char *. All callers updated. | |
1097 | * f-lang.c (find_common_for_function): Change type of name, funcname | |
1098 | parameters from char * to const char *. | |
1099 | * f-lang.c (find_common_for_function): Update. | |
1100 | * f-valprint.c (list_all_visible_commons): Change type of funcname | |
1101 | parameters from char * to const char *. | |
1102 | * gdbarch.sh (static_transform_name): Change type of name parameter | |
1103 | and result from char * to const char *. | |
1104 | * gdbarch.c: Regenerate. | |
1105 | * gdbarch.h: Regenerate. | |
1106 | * i386-sol2-tdep.c (i386_sol2_static_transform_name): Change type | |
1107 | of name parameter from char * to const char *. | |
1108 | * jv-lang.c (java_primitive_type_from_name): Ditto. | |
1109 | (java_demangled_signature_length): Similarly for signature parameter. | |
1110 | (java_demangled_signature_copy): Ditto. | |
1111 | (java_demangle_type_signature): Ditto. | |
1112 | * jv-lang.h (java_primitive_type_from_name): Update. | |
1113 | (java_demangle_type_signature): Update. | |
1114 | * objc-lang.c (specialcmp): Change type of a,b parameters | |
1115 | from char * to const char *. | |
1116 | * p-lang.c (is_pascal_string_type): Change type of arrayname parameter | |
1117 | from char * to const char *. All callers updated. | |
1118 | * p-lang.h (is_pascal_string_type): Update. | |
1119 | * solib-frv.c (find_canonical_descriptor_in_load_object): Change type | |
1120 | of name parameter from char * to const char *. | |
1121 | * sparc-sol2-tdep.c (sparc_sol2_static_transform_name): Ditto. | |
1122 | * utils.c (fprintf_symbol_filtered): Ditto. | |
1123 | * defs.h (fprintf_symbol_filtered): Update. | |
1124 | * sparc-tdep.h (sparc_sol2_static_transform_name): Update. | |
1125 | * stabsread.h (end_psymtab): Update. | |
1126 | * stack.c (find_frame_funname): Change type of funname parameter | |
1127 | from char ** to const char **. | |
1128 | * stack.h (find_frame_funname): Update. | |
1129 | * typeprint.c (type_print): Change type of varstring parameter | |
1130 | from char * to const char *. | |
1131 | * value.h (type_print): Update. | |
1132 | * xcoffread.c (xcoff_start_psymtab): Change type of filename parameter | |
1133 | from char * to const char *. All callers updated. | |
1134 | (xcoff_end_psymtab): Change type of include_list parameter | |
1135 | from char ** to const char **. All callers updated. | |
1136 | (swap_sym): Similarly for name parameter. All callers updated. | |
1137 | * coffread.c (patch_type): Add (char*) cast to xfree parameter. | |
1138 | Use xstrdup. | |
1139 | (process_coff_symbol): Use xstrdup. | |
1140 | * stabsread.c (stabs_method_name_from_physname): Renamed from | |
1141 | update_method_name_from_physname. Change result type from void | |
1142 | to char *. All callers updated. | |
1143 | (read_member_functions): In has_destructor case, store name in objfile | |
1144 | obstack instead of malloc space. In !has_stub case, fix mem leak. | |
1145 | ||
5579a92e TT |
1146 | 2012-02-06 Luca Pizzamiglio <luca.pizzamiglio@gmail.com> |
1147 | ||
1148 | * configure: Rebuild. | |
1149 | * configure.ac: Put -L../bfd and -L../libiberty at the front of | |
1150 | LDFLAGS. | |
1151 | ||
9058f767 KB |
1152 | 2012-02-03 Kevin Buettner <kevinb@redhat.com> |
1153 | ||
1154 | * configure.tgt (rl78-*-elf): New target. | |
1155 | * rl78-tdep.c: New file. | |
1156 | ||
5b37825d PW |
1157 | 2012-02-03 Philippe Waroquiers <philippe.waroquiers@skynet.be> |
1158 | ||
1159 | * remote.c (remote_rcmd): Use getpkt_sane to detect timeout | |
1160 | and continue the loop. Add QUIT statement. | |
1161 | ||
e009ee71 TT |
1162 | 2012-02-03 Tom Tromey <tromey@redhat.com> |
1163 | ||
1164 | PR gdb/13596: | |
1165 | * solib.h (gdb_bfd_lookup_symbol_from_symtab): Rename from | |
1166 | bfd_lookup_symbol_from_symtab. | |
1167 | * solib-pa64.c (pa64_solib_create_inferior_hook): Use | |
1168 | gdb_bfd_lookup_symbol_from_symtab. | |
1169 | ||
f7e44f65 JB |
1170 | 2012-02-03 Joel Brobecker <brobecker@adacore.com> |
1171 | ||
1172 | * mi/mi-cmd-stack.c (list_args_or_locals): For argument symbols, | |
1173 | use SYMBOL_LINKAGE_NAME to find the corresponding non-argument | |
1174 | symbol. Add assertion that sym2 is never NULL. | |
1175 | ||
2c02bd72 DE |
1176 | 2012-02-02 Doug Evans <dje@google.com> |
1177 | ||
1178 | * blockframe.c (find_pc_partial_function_gnu_ifunc): Change type of | |
1179 | "name" parameter to const char ** from char **. All callers updated. | |
1180 | (find_pc_partial_function): Ditto. | |
1181 | (cache_pc_function_name): Change type to const char * from char *. | |
1182 | * symtab.h ((find_pc_partial_function_gnu_ifunc): Update. | |
1183 | (find_pc_partial_function): Update. | |
1184 | * alpha-tdep.h (struct gdbarch_tdep, member pc_in_sigtramp): Change | |
1185 | type of "name" parameter to const char * from char *. | |
1186 | All uses updated. | |
1187 | * arch-utils.c (generic_in_solib_return_trampoline): Change | |
1188 | type of "name" parameter to const char * from char *. | |
1189 | * arch-utils.h (generic_in_solib_return_trampoline): Update. | |
1190 | * frv-linux-tdep.c (frv_linux_pc_in_sigtramp): Change | |
1191 | type of "name" parameter to const char * from char *. | |
1192 | * gdbarch.sh (in_solib_return_trampoline): Ditto. | |
1193 | * gdbarch.c: Regenerate. | |
1194 | * gdbarch.h: Regenerate. | |
1195 | * hppa-hpux-tdep.c (hppa_hpux_in_solib_return_trampoline): Update. | |
1196 | * rs6000-tdep.c (rs6000_in_solib_return_trampoline): Update. | |
1197 | * m32r-linux-tdep.c (m32r_linux_pc_in_sigtramp): Change | |
1198 | type of "name" parameter to const char * from char *. | |
1199 | * skip.c (skip_function_pc): Ditto. | |
1200 | * sparc-sol2-tdep.c (sparc_sol2_pc_in_sigtramp): Ditto. | |
1201 | * sparc-tdep.h (sparc_sol2_pc_in_sigtramp): Update. | |
1202 | * sparc64fbsd-tdep.c (sparc64fbsd_pc_in_sigtramp): Ditto. | |
1203 | * sparc64nbsd-tdep.c (sparc64nbsd_pc_in_sigtramp): Ditto. | |
1204 | * sparc64obsd-tdep.c (sparc64obsd_pc_in_sigtramp): Ditto. | |
1205 | * sparcnbsd-tdep.c (sparc32nbsd_pc_in_sigtramp): Ditto. | |
1206 | * sparcobsd-tdep.c (sparc32obsd_pc_in_sigtramp): Ditto. | |
1207 | * nbsd-tdep.c (nbsd_pc_in_sigtramp): Similary for "func_name". | |
1208 | * nbsd-tdep.h (nbsd_pc_in_sigtramp): Update. | |
1209 | ||
e886a173 PA |
1210 | 2012-02-02 Pedro Alves <palves@redhat.com> |
1211 | ||
1212 | * remote.c (remote_get_min_fast_tracepoint_insn_len): Return 0 if | |
1213 | the current inferior has no execution. Make sure the current | |
1214 | remote process matches gdb's current inferior. | |
1215 | ||
c709a7c2 TT |
1216 | 2012-02-02 Tom Tromey <tromey@redhat.com> |
1217 | ||
1218 | PR gdb/13405: | |
1219 | * tui/tui-win.c (parse_scrolling_args): Don't write to possibly | |
1220 | read-only memory. | |
1221 | ||
f149aabd TT |
1222 | 2012-02-02 Tom Tromey <tromey@redhat.com> |
1223 | ||
1224 | PR gdb/9307: | |
1225 | * symtab.c (lookup_language_this): Set block_found. | |
1226 | ||
03bef283 TT |
1227 | 2012-02-01 Tom Tromey <tromey@redhat.com> |
1228 | ||
1229 | PR gdb/13431: | |
1230 | * jit.c (struct jit_inferior_data): Rewrite. | |
1231 | (struct jit_objfile_data): New. | |
1232 | (get_jit_objfile_data): New function. | |
1233 | (add_objfile_entry): Update. | |
1234 | (jit_read_descriptor): Return int. Replace descriptor_addr | |
1235 | argument with inf_data. Update. Don't call error. | |
1236 | (jit_breakpoint_re_set_internal): Reorder logic. Update. Look up | |
1237 | descriptor here. | |
1238 | (jit_inferior_init): Don't look up descriptor. Don't call error. | |
1239 | (jit_reset_inferior_data_and_breakpoints) | |
1240 | (jit_inferior_created_observer): Remove. | |
1241 | (jit_inferior_exit_hook): Update. | |
1242 | (jit_executable_changed_observer): Remove. | |
1243 | (jit_event_handler): Update. | |
1244 | (free_objfile_data): Reset inferior data if needed. | |
1245 | (_initialize_jit): Update. | |
1246 | ||
f0bbc364 TT |
1247 | 2012-02-01 Tom Tromey <tromey@redhat.com> |
1248 | ||
1249 | * jit.c (bfd_open_from_target_memory): Move higher in file. | |
1250 | ||
47c1316c TG |
1251 | 2012-02-01 Tristan Gingold <gingold@adacore.com> |
1252 | ||
1253 | * libunwind-frame.c (libunwind_load): Display message if dlopen | |
1254 | failed. | |
1255 | ||
8e704927 GB |
1256 | 2012-02-01 Gary Benson <gbenson@redhat.com> |
1257 | ||
1258 | * symtab.h (symbol_name_match_p_ftype): New typedef. | |
1259 | (iterate_over_symbols): Use the above. | |
1260 | * symtab.c (iterate_over_symbols): Likewise. | |
1261 | * language.h (language_defn->la_iterate_over_symbols): Likewise. | |
1262 | * ada-lang.c (ada_iterate_over_symbols): Likewise. | |
1263 | * linespec.c (iterate_over_all_matching_symtabs): Likewise. | |
1264 | (iterate_name_matcher): Document return values. | |
1265 | (collect_one_symbol): Likewise. | |
1266 | (collect_function_symbols): Likewise. | |
1267 | (collect_symbols): Likewise. | |
1268 | ||
d9680e73 TT |
1269 | 2012-02-01 Tom Tromey <tromey@redhat.com> |
1270 | ||
1271 | * ada-lang.c (resolve_subexp): Update. | |
1272 | (ada_lookup_symbol_list): Add 'full_search' argument. | |
1273 | (ada_iterate_over_symbols): Pass 0 as full_search argument to | |
1274 | ada_lookup_symbol_list. | |
1275 | (ada_lookup_encoded_symbol): Update. | |
1276 | (get_var_value): Update. | |
1277 | * ada-exp.y (block_lookup): Update. | |
1278 | (write_var_or_type): Update. | |
1279 | (write_name_assoc): Update. | |
1280 | * ada-lang.h (ada_lookup_symbol_list): Update. | |
1281 | ||
72e1143f TT |
1282 | 2012-01-31 Tom Tromey <tromey@redhat.com> |
1283 | ||
1284 | * language.h (struct language_defn) <la_iterate_over_symbols>: Fix | |
1285 | comment. | |
1286 | ||
ab2d2ad3 DE |
1287 | 2012-01-31 Doug Evans <dje@google.com> |
1288 | ||
1289 | * symtab.h: Remove outdated comment. | |
e9111bf7 | 1290 | (SYMBOL_MATCHES_NATURAL_NAME): Delete. |
ab2d2ad3 | 1291 | |
bc884eba JB |
1292 | 2012-02-01 Josh Matthews <josh@joshmatthews.net> (tiny change) |
1293 | ||
1294 | Fix build error in Darwin port. | |
1295 | * i386-darwin-nat.c: Include i386-nat.h. | |
1296 | ||
8fc3fc34 TT |
1297 | 2012-01-30 Tom Tromey <tromey@redhat.com> |
1298 | ||
1299 | PR breakpoints/13568: | |
1300 | * dwarf2read.c (dwarf_decode_macro_bytes): Add 'include_hash' | |
1301 | argument. Check for recursive includes. | |
1302 | (dwarf_decode_macros): Create an include hash. | |
1303 | ||
5d853008 ME |
1304 | 2012-01-30 Michael Eager <eager@eagercon.com> |
1305 | ||
1306 | * configure.tgt (powerpc-*-linux*): Add glibc-tdep.o. | |
1307 | * ppc-linux-tdep.c: Include glibc-tdep.h. | |
ab2d2ad3 | 1308 | (powerpc32_plt_stub, powerpc32_plt_stub_so): Add PLT stub templates. |
5d853008 ME |
1309 | (powerpc_linux_in_plt_stub): New function. |
1310 | (powerpc_linux_in_dynsym_resolve_code): New function. | |
1311 | (ppc_skip_trampoline_code): New function. | |
1312 | (ppc_linux_init_abi): Use PPC specific functions rather than generic. | |
1313 | Use glibc_skip_solib_resolver. | |
1314 | ||
40478521 JK |
1315 | 2012-01-28 Jan Kratochvil <jan.kratochvil@redhat.com> |
1316 | ||
1317 | Code cleanup: Make 1440 bytes of data segment read-only. | |
1318 | * arch-utils.c (endian_enum): Make it const char *const []. | |
1319 | * arm-tdep.c (fp_model_strings, arm_abi_strings, arm_mode_strings): | |
1320 | Likewise. | |
1321 | * breakpoint.c (always_inserted_enums): Likewise. | |
1322 | * cli/cli-cmds.c (script_ext_enums): Likewise. | |
1323 | * cli/cli-decode.c (add_setshow_enum_cmd, complete_on_enum): Make the | |
1324 | enumlist parameter const char *const *. | |
1325 | * cli/cli-decode.h (struct cmd_list_element): Make the enums field | |
1326 | const char *const *. | |
1327 | * command.h (complete_on_enum, add_setshow_enum_cmd): Make the enumlist | |
1328 | parameter const char *const *. | |
1329 | * cris-tdep.c (cris_modes): Make it const char *const []. | |
1330 | * filesystem.c (target_file_system_kinds): Likewise. | |
1331 | * i386-tdep.c (valid_flavors, valid_conventions): Likewise. | |
1332 | * infrun.c (follow_fork_mode_kind_names, follow_exec_mode_names) | |
1333 | (can_use_displaced_stepping_enum, scheduler_enums) | |
1334 | (exec_direction_names): Likewise. | |
1335 | * language.c (_initialize_language): Make the type_or_range_names and | |
1336 | case_sensitive_names variables const char *const []. | |
1337 | * mips-tdep.c (mips_abi_strings): Make it const char *const []. | |
1338 | * python/python.c (python_excp_enums): Likewise. | |
1339 | * remote.c (interrupt_sequence_modes): Likewise. | |
1340 | * rs6000-tdep.c (powerpc_vector_strings): Likewise. | |
1341 | * serial.c (logbase_enums): Likewise. | |
1342 | * sh-tdep.c (sh_cc_enum): Likewise. | |
1343 | * stack.c (print_frame_arguments_choices, print_entry_values_choices): | |
1344 | Likewise. | |
1345 | * symtab.c (multiple_symbols_modes): Likewise. | |
1346 | * tui/tui-win.c (tui_border_kind_enums, tui_border_mode_enums): | |
1347 | Likewise. | |
1348 | * utils.c (internal_problem_modes): Likewise. | |
1349 | ||
b3b8b934 JK |
1350 | 2012-01-27 Jan Kratochvil <jan.kratochvil@redhat.com> |
1351 | ||
1352 | Fix the 2012-01-26 regression by la_get_symbol_name_match_p. | |
1353 | * linespec.c (iterate_name_matcher): Negate the SYMBOL_NAME_MATCH_P | |
1354 | result. | |
1355 | ||
8c85a4e2 DE |
1356 | 2012-01-27 Doug Evans <dje@google.com> |
1357 | ||
1358 | * configure.ac (with_python): Fix absolute path handling for win32. | |
1359 | * configure: Regenerate. | |
1360 | ||
78d8b4d7 DE |
1361 | 2012-01-26 Doug Evans <dje@google.com> |
1362 | ||
eca864fe DE |
1363 | * symtab.c: Whitespace cleanup, no code changes. |
1364 | ||
7e082072 DE |
1365 | * symtab.c (lookup_symbol_in_language): Improve comment. |
1366 | (lookup_symbol_aux): Fix comment. | |
1367 | ||
7dc25483 DE |
1368 | * psymtab.c (add_psymbol_to_list): Result is now "void". |
1369 | * psympriv.h (add_psymbol_to_list): Update. | |
1370 | ||
78d8b4d7 DE |
1371 | * dwarf2read.c (add_partial_symbol): Delete local psym, unused. |
1372 | ||
4c63965b JK |
1373 | 2012-01-26 Jan Kratochvil <jan.kratochvil@redhat.com> |
1374 | ||
1375 | Do not open script filenames twice. | |
1376 | * cli/cli-cmds.c (source_script_from_stream): Pass to | |
1377 | source_python_script also STREAM. | |
1378 | * python/py-auto-load.c (source_section_scripts): Pass to | |
1379 | source_python_script_for_objfile also STREAM. | |
1380 | (auto_load_objfile_script): Pass to source_python_script_for_objfile | |
1381 | also INPUT. | |
1382 | * python/python-internal.h (source_python_script_for_objfile): New | |
1383 | parameter file, rename parameter file to filename. | |
1384 | * python/python.c (python_run_simple_file): Call PyRun_SimpleFile | |
1385 | instead if !_WIN32. Update the function comment. | |
1386 | (source_python_script, source_python_script_for_objfile) | |
1387 | (source_python_script): New parameter file, rename parameter file to | |
1388 | filename. Pass FILENAME to python_run_simple_file. | |
1389 | * python/python.h (source_python_script): New parameter file, rename | |
1390 | parameter file to filename. | |
1391 | ||
88f38a04 PA |
1392 | 2012-01-26 Pedro Alves <palves@redhat.com> |
1393 | ||
1394 | * corelow.c (core_has_fake_pid): Delete. | |
1395 | (core_close): Delete references to `core_has_fake_pid'. | |
1396 | (add_to_thread_list): Adjust to mark the inferior's pid as fake. | |
1397 | (core_open): Delete references to `core_has_fake_pid'. | |
1398 | (core_pid_to_str): Adjust to check inferior->fake_pid_p instead of | |
1399 | the removed global. | |
1400 | ||
e078317b JB |
1401 | 2012-01-26 Joel Brobecker <brobecker@adacore.com> |
1402 | ||
1403 | * symfile.h (struct quick_symbol_functions) [expand_symtabs_matching]: | |
1404 | Remove language parameter from name_matcher. Adjust the comment. | |
1405 | * symtab.c (search_symbols_name_matches, expand_partial_symbol_name): | |
1406 | Remove language parameter. | |
1407 | * ada-lang.c (ada_expand_partial_symbol_name): Likewise. | |
1408 | * linespec.c (iterate_name_matcher): Likewise. | |
1409 | * dwarf2read.c (dw2_expand_symtabs_matching): Adjust type of | |
1410 | name_matcher. Adjust call accordingly. | |
1411 | * psymtab.c (expand_symtabs_matching_via_partial): Likewise. | |
1412 | (maintenance_check_symtabs): Adjust type of parameter "fun". | |
1413 | * psymtab.h (maintenance_check_symtabs): Likewise. | |
1414 | ||
74ccd7f5 JB |
1415 | 2012-01-26 Joel Brobecker <brobecker@adacore.com> |
1416 | ||
1417 | * language.h (symbol_name_match_p_ftype): New typedef. | |
1418 | (struct language_defn): Replace field la_symbol_name_compare | |
1419 | by la_get_symbol_name_match_p. | |
1420 | * ada-lang.c (ada_get_symbol_name_match_p): New function. | |
1421 | (ada_language_defn): Use it. | |
1422 | * linespec.c (struct symbol_matcher_data): New type. | |
1423 | (iterate_name_matcher): Rewrite. | |
1424 | (iterate_over_all_matching_symtabs): Pass a pointer to | |
1425 | a symbol_matcher_data struct to expand_symtabs_matching | |
1426 | instead of just the lookup name. | |
1427 | * c-lang.c, d-lang.c, jv-lang.c, m2-lang.c, objc-lang.c, | |
1428 | opencl-lang.c, p-lang.c, language.c: Delete field | |
1429 | la_symbol_name_compare, and replace by NULL for new field | |
1430 | la_get_symbol_name_match_p. | |
1431 | * symfile.h (struct quick_symbol_functions): Update comment. | |
1432 | ||
5d268276 TT |
1433 | 2012-01-25 Tom Tromey <tromey@redhat.com> |
1434 | ||
1435 | * breakpoint.c (bpstat_stop_status): Check 'breakpoint_at' before | |
1436 | dereferencing. | |
1437 | ||
edcc5120 TT |
1438 | 2012-01-24 Tom Tromey <tromey@redhat.com> |
1439 | ||
1440 | PR symtab/12406: | |
1441 | * solib.c (update_solib_list): Update the program space's | |
1442 | added_solibs and deleted_solibs fields. | |
1443 | * progspace.h (struct program_space) <added_solibs, | |
1444 | deleted_solibs>: New fields. | |
1445 | (clear_program_space_solib_cache): Declare. | |
1446 | * progspace.c (release_program_space): Call | |
1447 | clear_program_space_solib_cache. | |
1448 | (clear_program_space_solib_cache): New function. | |
1449 | * infrun.c (handle_inferior_event) <TARGET_WAITKIND_LOADED>: Call | |
1450 | bpstat_stop_status. Use handle_solib_event. | |
1451 | * breakpoint.c: Include gdb_regex.h. | |
1452 | (print_solib_event): New function. | |
1453 | (bpstat_print): Use print_solib_event. | |
1454 | (bpstat_stop_status): Add special case for bp_shlib_event. | |
1455 | (handle_solib_event): New function. | |
1456 | (bpstat_what): Use handle_solib_event. | |
1457 | (struct solib_catchpoint): New. | |
1458 | (dtor_catch_solib, insert_catch_solib, remove_catch_solib) | |
1459 | (breakpoint_hit_catch_solib, check_status_catch_solib) | |
1460 | (print_it_catch_solib, print_one_catch_solib) | |
1461 | (print_mention_catch_solib, print_recreate_catch_solib): New | |
1462 | functions. | |
1463 | (catch_solib_breakpoint_ops): New global. | |
1464 | (catch_load_or_unload, catch_load_command_1) | |
1465 | (catch_unload_command_1): New functions. | |
1466 | (internal_bkpt_check_status): Add special case for | |
1467 | bp_shlib_event. | |
1468 | (internal_bkpt_print_it): Use print_solib_event. | |
1469 | (initialize_breakpoint_ops): Initialize | |
1470 | catch_solib_breakpoint_ops. | |
1471 | (_initialize_breakpoint): Register "catch load" and "catch | |
1472 | unload". | |
1473 | * breakpoint.h (handle_solib_event): Declare. | |
1474 | * NEWS: Add entry for "catch load" and "catch unload". | |
1475 | ||
fa864999 TT |
1476 | 2012-01-24 Tom Tromey <tromey@redhat.com> |
1477 | ||
1478 | * ada-lang.c: Include gdb_vecs.h. | |
1479 | * charset.c: Include gdb_vecs.h. | |
1480 | * tracepoint.h: Include gdb_vecs.h. | |
1481 | * gdb_vecs.h: New file. | |
1482 | ||
f90263c1 TT |
1483 | 2012-01-24 Pedro Alves <pedro@codesourcery.com> |
1484 | ||
1485 | * breakpoint.c (breakpoint_hit_catch_fork) | |
1486 | (breakpoint_hit_catch_vfork, breakpoint_hit_catch_syscall) | |
1487 | (breakpoint_hit_catch_exec): Make use of the `ws' argument. | |
1488 | * infrun.c (inferior_has_forked, inferior_has_vforked) | |
1489 | (inferior_has_execd, inferior_has_called_syscall): Delete. | |
1490 | (handle_syscall_event): Get syscall_number from the execution | |
1491 | control state's wait status. | |
1492 | (wait_for_inferior): Don't clear syscall_number. | |
1493 | ||
09ac7c10 TT |
1494 | 2012-01-24 Pedro Alves <palves@redhat.com> |
1495 | ||
1496 | * breakpoint.c (bpstat_check_location, bpstat_stop_status, | |
1497 | pc_at_non_inline_function): Add `ws' parameter, and pass it down. | |
1498 | (breakpoint_hit_catch_fork, breakpoint_hit_catch_vfork) | |
1499 | (breakpoint_hit_catch_syscall, breakpoint_hit_catch_exec): Add | |
1500 | `ws' parameter. | |
1501 | (breakpoint_hit_ranged_breakpoint): Add `ws' parameter. Return | |
1502 | false for events other than TARGET_SIGNAL_TRAP. | |
1503 | (breakpoint_hit_watchpoint, base_breakpoint_breakpoint_hit): | |
1504 | Add `ws' parameter. | |
1505 | (bkpt_breakpoint_hit): Add `ws' parameter. Return false for | |
1506 | events other than TARGET_SIGNAL_TRAP. | |
1507 | (tracepoint_breakpoint_hit): Add `ws' parameter. | |
1508 | * breakpoint.h (struct breakpoint_ops) <breakpoint_hit>: Add `ws' | |
1509 | parameter. | |
1510 | (bpstat_stop_status): Same. | |
1511 | (pc_at_non_inline_function): Same. | |
1512 | * infrun.c (handle_syscall_event, handle_inferior_event): Adjust | |
1513 | to pass the current event's waitstatus to bpstat_stop_status | |
1514 | and pc_at_non_inline_function. | |
1515 | ||
86eb7e95 JK |
1516 | 2012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com> |
1517 | ||
1518 | Code cleanup. | |
1519 | * cli/cli-cmds.c (source_script_from_stream): Never fclose STREAM. | |
1520 | Update the function comment for it. | |
1521 | (source_script_with_search): Call make_cleanup_fclose for STREAM. | |
1522 | * cli/cli-script.c (script_from_file): Do not call make_cleanup_fclose | |
1523 | for STREAM. | |
1524 | ||
a9b3a50f PA |
1525 | 2012-01-24 Pedro Alves <palves@redhat.com> |
1526 | ||
1527 | * breakpoint.c (bpstat_stop_status): Moving clearing print_it | |
1528 | outside `bs->stop' block. | |
1529 | (bpstat_what): Rework bp_shlib_event handling. | |
1530 | (internal_bkpt_check_status): If the breakpoint is a | |
1531 | bp_shlib_event, then set bs->stop and bs->print if | |
1532 | stop_on_solib_events is set. | |
1533 | ||
53fe1783 GB |
1534 | 2012-01-24 Gary Benson <gbenson@redhat.com> |
1535 | ||
1536 | Delete #if 0'd out code. | |
1537 | * stack.c (print_frame_label_vars): Remove. | |
1538 | (catch_info): Likewise. | |
1539 | (_initialize_stack): Remove "info catch" command. | |
1540 | * NEWS: Mention the above. | |
1541 | ||
49c62f2e PA |
1542 | 2012-01-24 Pedro Alves <palves@redhat.com> |
1543 | ||
1544 | * remote.c (remote_add_inferior): New `fake_pid_p' parameter. Use | |
1545 | it. | |
1546 | (remote_notice_new_inferior): If the remote end doesn't support | |
1547 | the multiprocess extensions, then the PID is fake. | |
1548 | (add_current_inferior_and_thread): New. | |
1549 | (remote_start_remote): Use it. | |
1550 | (extended_remote_attach_1): Adjust. | |
1551 | (extended_remote_create_inferior_1): Use | |
1552 | add_current_inferior_and_thread. | |
1553 | ||
d0d8b0c6 JK |
1554 | 2012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com> |
1555 | ||
1556 | Fix watchpoints to be specific for each inferior. | |
1557 | * breakpoint.c (watchpoint_in_thread_scope): Verify also | |
1558 | current_program_space. | |
1559 | * i386-nat.c (i386_inferior_data_cleanup): New. | |
1560 | (i386_inferior_data_get): Replace variable inf_data_local by an | |
1561 | inferior_data call. | |
1562 | (i386_use_watchpoints): Initialize i386_inferior_data. | |
1563 | * linux-nat.c (linux_nat_iterate_watchpoint_lwps): Use INFERIOR_PTID | |
1564 | specific iterate_over_lwps. | |
1565 | ||
4403d8e9 JK |
1566 | 2012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com> |
1567 | ||
1568 | Fix watchpoints across inferior fork. | |
1569 | * amd64-linux-nat.c (update_debug_registers_callback): Update the | |
1570 | comment for linux_nat_iterate_watchpoint_lwps. | |
1571 | (amd64_linux_dr_set_control, amd64_linux_dr_set_addr): Use | |
1572 | linux_nat_iterate_watchpoint_lwps. | |
1573 | (amd64_linux_prepare_to_resume): New comment on Linux kernel. | |
1574 | * i386-linux-nat.c (update_debug_registers_callback): Update the | |
1575 | comment for linux_nat_iterate_watchpoint_lwps. | |
1576 | (i386_linux_dr_set_control, i386_linux_dr_set_addr): Use | |
1577 | linux_nat_iterate_watchpoint_lwps. | |
1578 | (i386_linux_prepare_to_resume): New comment on Linux kernel. | |
1579 | * i386-nat.c: Include inferior.h. | |
1580 | (dr_mirror): Remove. | |
1581 | (i386_inferior_data, struct i386_inferior_data) | |
1582 | (i386_inferior_data_get): New. | |
1583 | (i386_debug_reg_state): Use i386_inferior_data_get. | |
1584 | (i386_cleanup_dregs, i386_update_inferior_debug_regs) | |
1585 | (i386_insert_watchpoint, i386_remove_watchpoint) | |
1586 | (i386_stopped_data_address, i386_insert_hw_breakpoint) | |
1587 | (i386_remove_hw_breakpoint): New variable state, use | |
1588 | i386_debug_reg_state instead of DR_MIRROR. | |
1589 | * linux-nat.c (delete_lwp): New declaration. | |
1590 | (num_lwps): Move here from downwards. | |
1591 | (delete_lwp_cleanup): New. | |
1592 | (linux_child_follow_fork): Create new child_lp, call | |
1593 | linux_nat_new_thread and linux_nat_prepare_to_resume before calling | |
1594 | PTRACE_DETACH. | |
1595 | (num_lwps): Move upwards. | |
1596 | (linux_nat_iterate_watchpoint_lwps): New. | |
1597 | * linux-nat.h (linux_nat_iterate_watchpoint_lwps_ftype): New. | |
1598 | (linux_nat_iterate_watchpoint_lwps_ftype): New declaration. | |
1599 | ||
2992c9a7 | 1600 | 2012-01-24 Joel Brobecker <brobecker@adacore.com> |
1601 | ||
1602 | GDB 7.4 released. | |
1603 | ||
e360902b PA |
1604 | 2012-01-23 Pedro Alves <palves@redhat.com> |
1605 | ||
1606 | * top.c (caution): Rename to ... | |
1607 | (confirm): ... this. | |
1608 | (show_caution): Rename to ... | |
1609 | (show_confirm): ... this. | |
1610 | (quit_cover): Adjust. | |
1611 | (init_main): Adjust. | |
1612 | * top.h (caution): Rename to ... | |
1613 | (confirm): ... this. | |
1614 | * utils.c (internal_vproblem, defaulted_query): Adjust. | |
1615 | ||
050a2e1d PA |
1616 | 2012-01-23 Pedro Alves <palves@redhat.com> |
1617 | ||
1618 | * top.c (caution): Update comment. | |
1619 | (execute_command): Don't consider the current value of `caution'. | |
1620 | ||
77a35dd8 JK |
1621 | 2012-01-23 Jan Kratochvil <jan.kratochvil@redhat.com> |
1622 | ||
1623 | * cli/cli-cmds.c (find_and_open_script): Handle failure of fdopen. | |
1624 | ||
a71b5a38 UW |
1625 | 2012-01-23 Ulrich Weigand <ulrich.weigand@linaro.org> |
1626 | ||
1627 | * inf-child.c: Include "gdb_stat.h" instead of <sys/stat.h>. | |
1628 | * linux-tdep.c (linux_info_proc): Avoid ARI coding style warning. | |
1629 | * target.c (target_fileio_pwrite): Remove buffer address from | |
1630 | debug output. | |
1631 | (target_fileio_pread): Likewise. | |
1632 | ||
d99bd577 UW |
1633 | 2012-01-20 Ulrich Weigand <ulrich.weigand@linaro.org> |
1634 | ||
1635 | * NEWS: Document remote "info proc" and "generate-core-file". | |
1636 | ||
35c2fab7 UW |
1637 | 2012-01-20 Ulrich Weigand <ulrich.weigand@linaro.org> |
1638 | ||
1639 | * gdbarch.sh (find_memory_regions): New callback. | |
1640 | * gdbarch.c, gdbarch.h: Regenerate. | |
1641 | ||
1642 | * gcore.c (gcore_memory_sections): Try gdbarch find_memory_regions | |
1643 | callback before falling back to target method. | |
1644 | ||
1645 | * linux-nat.c (read_mapping, linux_nat_find_memory_regions): Remove. | |
1646 | (linux_target_install_ops): No longer install it. | |
1647 | ||
1648 | * linux-tdep.c (linux_find_memory_regions): New function. | |
1649 | (linux_init_abi): Install it. | |
1650 | ||
6432734d UW |
1651 | 2012-01-20 Ulrich Weigand <ulrich.weigand@linaro.org> |
1652 | ||
1653 | * gdbarch.sh (make_corefile_notes): New architecture callback. | |
1654 | * gdbarch.c: Regenerate. | |
1655 | * gdbarch.h: Likewise. | |
1656 | ||
1657 | * gcore.c (write_gcore_file): Try gdbarch_make_corefile_notes | |
1658 | before target_make_corefile_notes. If NULL is returned, the | |
1659 | target does not support core file generation. | |
1660 | ||
1661 | * linux-nat.c: Include "linux-tdep.h". | |
1662 | (find_signalled_thread, find_stop_signal): Remove. | |
1663 | (linux_nat_do_thread_registers): Likewise. | |
1664 | (struct linux_nat_corefile_thread_data): Likewise. | |
1665 | (linux_nat_corefile_thread_callback): Likewise. | |
1666 | (iterate_over_spus): Likewise. | |
1667 | (struct linux_spu_corefile_data): Likewise. | |
1668 | (linux_spu_corefile_callback): Likewise. | |
1669 | (linux_spu_make_corefile_notes): Likewise. | |
1670 | (linux_nat_collect_thread_registers): New function. | |
1671 | (linux_nat_make_corefile_notes): Replace contents by call to | |
1672 | linux_make_corefile_notes passing linux_nat_collect_thread_registers | |
1673 | as native-only callback. | |
1674 | ||
1675 | * linux-tdep.h: Include "bfd.h". | |
1676 | (struct regcache): Add forward declaration. | |
1677 | (linux_collect_thread_registers_ftype): New typedef. | |
1678 | (linux_make_corefile_notes): Add prototype. | |
1679 | * linux-tdep.c: Include "gdbthread.h", "gdbcore.h", "regcache.h", | |
1680 | "regset.h", and "elf-bfd.h". | |
1681 | (find_signalled_thread, find_stop_signal): New functions. | |
1682 | (linux_spu_make_corefile_notes): Likewise. | |
1683 | (linux_collect_thread_registers): Likewise. | |
1684 | (struct linux_corefile_thread_data): New data structure. | |
1685 | (linux_corefile_thread_callback): New funcion. | |
1686 | (linux_make_corefile_notes): Likewise. | |
1687 | (linux_make_corefile_notes_1): Likewise. | |
1688 | (linux_init_abi): Install it. | |
1689 | ||
3030c96e UW |
1690 | 2012-01-20 Ulrich Weigand <ulrich.weigand@linaro.org> |
1691 | ||
1692 | * gdbarch.sh (info_proc): New callback. | |
1693 | * gdbarch.c, gdbarch.h: Regenerate. | |
1694 | ||
1695 | * infcmd.c (info_proc_cmd_1): Try gdbarch info_proc callback | |
1696 | before falling back to the target info_proc callback. | |
1697 | ||
1698 | * linux-nat.c: Do not include "cli/cli-utils.h". | |
1699 | (linux_nat_info_proc): Remove. | |
1700 | (linux_target_install_ops): No longer install it. | |
1701 | ||
1702 | * linux-tdep.c: Include "cli/cli-utils.h" and <ctype.h>. | |
1703 | (read_mapping): New function. | |
1704 | (linux_info_proc): Likewise. | |
1705 | (linux_init_abi): Install it. | |
1706 | ||
145b16a9 UW |
1707 | 2012-01-20 Ulrich Weigand <ulrich.weigand@linaro.org> |
1708 | ||
1709 | * defs.h (enum info_proc_what): Moved here from linux-nat.c | |
1710 | * infcmd.c: (info_proc_cmd_1): New function. | |
1711 | (info_proc_cmd): New function, moved here from equivalent routine | |
1712 | orignally in linux-nat.c. | |
1713 | (info_proc_cmd_mappings): Likewise. | |
1714 | (info_proc_cmd_stat): Likewise. | |
1715 | (info_proc_cmd_status): Likewise. | |
1716 | (info_proc_cmd_cwd): Likewise. | |
1717 | (info_proc_cmd_cmdline): Likewise. | |
1718 | (info_proc_cmd_exe): Likewise. | |
1719 | (info_proc_cmd_all): Likewise. | |
1720 | (_initialize_infcmd): Install "info proc" command and subcommands. | |
1721 | ||
1722 | * target.h (struct target_ops): Add to_info_proc. | |
1723 | (target_info_proc): Add prototype. | |
1724 | * target.c (target_info_proc): New function. | |
1725 | ||
1726 | * procfs.c (procfs_info_proc): Add prototype. | |
1727 | (info_proc_cmd): Rename into ... | |
1728 | (procfs_info_proc): ... this. Update argument types as appropriate | |
1729 | for a to_info_proc implementation. Handle "what" argument. | |
1730 | (procfs_target): Install procfs_info_proc. | |
1731 | (_initialize_procfs): No longer install "info proc" command. | |
1732 | ||
1733 | * linux-nat.c: (enum info_proc_what): Remove. | |
1734 | (linux_nat_info_proc_cmd_1): Rename into ... | |
1735 | (linux_nat_info_proc): ... this. Update argument types as appropriate | |
1736 | for a to_info_proc implementation. | |
1737 | (linux_nat_info_proc_cmd): Remove. | |
1738 | (linux_nat_info_proc_cmd_mappings): Likewise. | |
1739 | (linux_nat_info_proc_cmd_stat): Likewise. | |
1740 | (linux_nat_info_proc_cmd_status): Likewise. | |
1741 | (linux_nat_info_proc_cmd_cwd): Likewise. | |
1742 | (linux_nat_info_proc_cmd_cmdline): Likewise. | |
1743 | (linux_nat_info_proc_cmd_exe): Likewise. | |
1744 | (linux_nat_info_proc_cmd_all): Likewise. | |
1745 | (linux_target_install_ops): Install linux_nat_info_proc. | |
1746 | (_initialize_linux_nat): No longer install "info proc" command | |
1747 | and subcommands. | |
1748 | ||
b9e7b9c3 UW |
1749 | 2012-01-20 Ulrich Weigand <ulrich.weigand@linaro.org> |
1750 | ||
1751 | * configure.ac [AC_CHECK_FUNCS]: Check for readlink. | |
1752 | * config.in, configure: Regenerate. | |
1753 | ||
1754 | * target.h (struct target_ops): Add to_fileio_readlink. | |
1755 | (target_fileio_readlink): Add prototype. | |
1756 | * target.c (target_fileio_readlink): New function. | |
1757 | ||
1758 | * inf-child.c: Conditionally include <sys/param.h>. | |
1759 | (inf_child_fileio_readlink): New function. | |
1760 | (inf_child_target): Install it. | |
1761 | ||
1762 | * remote.c (PACKET_vFile_readlink): New enum value. | |
1763 | (remote_hostio_readlink): New function. | |
1764 | (init_remote_ops): Install it. | |
1765 | (_initialize_remote): Handle vFile:readlink packet type. | |
1766 | ||
7313baad UW |
1767 | 2012-01-20 Pedro Alves <palves@redhat.com> |
1768 | Ulrich Weigand <ulrich.weigand@linaro.org> | |
1769 | ||
1770 | * configure.ac [AC_CHECK_FUNCS]: Check for pread and pwrite. | |
1771 | * config.in, configure: Regenerate. | |
1772 | ||
1773 | * target.h (struct target_ops): Add to_fileio_open, to_fileio_pwrite, | |
1774 | to_fileio_pread, to_fileio_close, to_fileio_unlink. | |
1775 | (target_fileio_open): Add prototype. | |
1776 | (target_fileio_pwrite): Likewise. | |
1777 | (target_fileio_pread): Likewise. | |
1778 | (target_fileio_close): Likewise. | |
1779 | (target_fileio_unlink): Likewise. | |
1780 | (target_fileio_read_alloc): Likewise. | |
1781 | (target_fileio_read_stralloc): Likewise. | |
1782 | ||
1783 | * target.c: Include "gdb/fileio.h". | |
1784 | (target_read_stralloc): Accept trailing, but not embedded NUL bytes. | |
1785 | (default_fileio_target): New function. | |
1786 | (target_fileio_open): Likewise. | |
1787 | (target_fileio_pwrite): Likewise. | |
1788 | (target_fileio_pread): Likewise. | |
1789 | (target_fileio_close): Likewise. | |
1790 | (target_fileio_unlink): Likewise. | |
1791 | (target_fileio_close_cleanup): Likewise. | |
1792 | (target_fileio_read_alloc_1): Likewise. | |
1793 | (target_fileio_read_alloc): Likewise. | |
1794 | (target_fileio_read_stralloc): Likewise. | |
1795 | ||
1796 | * inf-child.c: Include "gdb/fileio.h", <sys/types.h>, <sys/stat.h>, | |
1797 | <fcntl.h>, and <unistd.h>. | |
1798 | (inf_child_fileio_open_flags_to_host): New function. | |
1799 | (inf_child_errno_to_fileio_error): Likewise. | |
1800 | (inf_child_fileio_open): Likewise. | |
1801 | (inf_child_fileio_pwrite): Likewise. | |
1802 | (inf_child_fileio_pread): Likewise. | |
1803 | (inf_child_fileio_close): Likewise. | |
1804 | (inf_child_fileio_unlink): Likewise. | |
1805 | (inf_child_target): Install to_fileio routines. | |
1806 | ||
1807 | * remote.c (init_remote_ops): Install to_fileio routines. | |
1808 | ||
901f9912 UW |
1809 | 2012-01-20 Pedro Alves <palves@redhat.com> |
1810 | Ulrich Weigand <ulrich.weigand@linaro.org> | |
1811 | ||
1812 | * remote.c (remote_multi_process_p): Only check for multi-process | |
1813 | protocol feature, do not check for extended protocol. | |
1814 | (remote_supports_multi_process): Check for extended protocol here. | |
1815 | (set_general_process): Likewise. | |
1816 | (extended_remote_kill): Likewise. | |
1817 | (remote_pid_to_str): Likewise. | |
1818 | (remote_query_supported): Always query multiprocess mode. | |
1819 | ||
e714e1bf UW |
1820 | 2012-01-20 Pedro Alves <palves@redhat.com> |
1821 | Ulrich Weigand <ulrich.weigand@linaro.org> | |
1822 | ||
1823 | * inferior.h (struct inferior): Add fake_pid_p. | |
1824 | * inferior.c (exit_inferior_1): Clear fake_pid_p. | |
1825 | * remote.c (remote_start_remote): Set fake_pid_p if we have to use | |
1826 | magic_null_ptid since the remote side doesn't provide a real PID. | |
1827 | ||
50897289 TT |
1828 | 2012-01-19 Tom Tromey <tromey@redhat.com> |
1829 | ||
1830 | * NEWS: Combine the two Python sections. | |
1831 | ||
1afc2033 JK |
1832 | 2012-01-19 Jan Kratochvil <jan.kratochvil@redhat.com> |
1833 | ||
1834 | * target.h (target_close): Update comment on the target's unpush state. | |
1835 | ||
305436e0 PA |
1836 | 2012-01-19 Pedro Alves <palves@redhat.com> |
1837 | ||
1838 | * linux-nat.c (linux_nat_close): Call linux_nat_is_async_p and | |
1839 | linux_nat_async directly instead of going through the target | |
1840 | vector. | |
1841 | * target.c (unpush_target): Close target after unpushing it, not | |
1842 | before. | |
1843 | ||
49323895 GB |
1844 | 2012-01-19 Gary Benson <gbenson@redhat.com> |
1845 | ||
1846 | * mdebugread.c (sort_blocks): Replace integer constants with ones | |
1847 | derived from FIRST_LOCAL_BLOCK. | |
1848 | ||
1db33378 PP |
1849 | 2012-01-18 Paul Pluzhnikov <ppluzhnikov@google.com> |
1850 | Jan Kratochvil <jan.kratochvil@redhat.com> | |
1851 | ||
1852 | PR gdb/9538 | |
1853 | * symfile.c (find_separate_debug_file): New function. | |
1854 | (terminate_after_last_dir_separator): Likewise. | |
1855 | (find_separate_debug_file_by_debuglink): Also try realpath. | |
1856 | * configure.ac (AC_CHECK_FUNCS): Add lstat. | |
1857 | * configure: Regenerate. | |
1858 | * config.in: Regenerate. | |
1859 | ||
f83d8a90 DE |
1860 | 2012-01-18 Doug Evans <dje@google.com> |
1861 | ||
1862 | * Makefile.in (TARGET_SYSTEM_ROOT, TARGET_SYSTEM_ROOT_DEFINE): Delete. | |
1863 | (main.o): Remove rule. | |
1864 | * configure.ac (BINDIR): Define with AC_DEFINE_DIR. | |
1865 | (--with-sysroot): Rewrite. | |
1866 | * configure: Regenerate. | |
1867 | * config.in: Regenerate. | |
1868 | ||
2dbca4d6 SDJ |
1869 | 2012-01-18 Sergio Durigan Junior <sergiodj@redhat.com> |
1870 | ||
1871 | * parse.c (initialize_expout): New function. | |
1872 | (reallocate_expout): Likewise. | |
1873 | (parse_exp_in_context): Use `initialize_expout' and | |
1874 | `reallocate_expout' when appropriate. | |
1875 | ||
0695b514 PA |
1876 | 2012-01-18 Pedro Alves <palves@redhat.com> |
1877 | ||
1878 | * record.c (struct record_breakpoint, record_breakpoint_p) | |
1879 | (record_breakpoints): New. | |
1880 | (record_insert_breakpoint, record_remove_breakpoint): Manage | |
1881 | record breakpoints list. Only remove breakpoints from the | |
1882 | inferior if they had been inserted there in the first place. | |
1883 | ||
136e1c30 DE |
1884 | 2012-01-17 Doug Evans <dje@google.com> |
1885 | ||
1886 | * linespec.c (decode_line_internal): Don't call symtabs_from_filename | |
1887 | if we know we don't have a file name to look for. | |
1888 | ||
c0bf857d PA |
1889 | 2012-01-17 Pedro Alves <palves@redhat.com> |
1890 | ||
1891 | * dwarf2-frame.c (dwarf2_frame_cfa): Throw NOT_AVAILABLE_ERROR, if | |
1892 | the frame's stop reason is UNWIND_UNAVAILABLE. | |
1893 | ||
b486de60 JK |
1894 | 2012-01-17 Jan Kratochvil <jan.kratochvil@redhat.com> |
1895 | ||
1896 | Fix compilation error. | |
1897 | * m2-exp.y (yyerror): Use ANSI C prototype. | |
1898 | ||
d04550a6 SDJ |
1899 | 2012-01-16 Sergio Durigan Junior <sergiodj@redhat.com> |
1900 | ||
1901 | * f-exp.y (parse_number): Convert prototype from K&R to ANSI C. | |
1902 | (growbuf_by_size): Likewise. | |
1903 | (yyerror): Likewise. | |
1904 | * m2-exp.y (make_qualname): Remove function (was #if 0'ed). | |
1905 | (modblock): Remove variable (was #if 0'ed). | |
1906 | (parse_number): Convert prototype from K&R to ANSI C. | |
1907 | (yyerror): Likewise. | |
1908 | * objc-exp.y (parse_number): Likewise. | |
1909 | (yyerror): Likewise. | |
1910 | (yylex): Remove #if 0'ed code. | |
1911 | * p-exp.y (uptok): Convert prototype from K&R to ANSI C. | |
1912 | (yyerror): Likewise. | |
1913 | ||
4aac40c8 TT |
1914 | 2012-01-16 Tom Tromey <tromey@redhat.com> |
1915 | ||
1916 | * NEWS: Add item. | |
1917 | * symtab.h (compare_filenames_for_search): Declare. | |
1918 | * symtab.c (compare_filenames_for_search): New function. | |
1919 | (iterate_over_some_symtabs): Use it. | |
1920 | * symfile.h (struct quick_symbol_functions) | |
1921 | <map_symtabs_matching_filename>: Change spec. | |
1922 | * psymtab.c (partial_map_symtabs_matching_filename): Use | |
1923 | compare_filenames_for_search. Update for new spec. | |
1924 | * dwarf2read.c (dw2_map_symtabs_matching_filename): Use | |
1925 | compare_filenames_for_search. Update for new spec. | |
1926 | * breakpoint.c (clear_command): Use compare_filenames_for_search. | |
1927 | ||
cafec441 TT |
1928 | 2012-01-16 Tom Tromey <tromey@redhat.com> |
1929 | ||
1930 | PR python/13281: | |
1931 | * gdbtypes.h (TYPE_FLAG_ENUM): New macro. | |
1932 | (struct main_type) <flag_flag_enum>: New field. | |
1933 | * dwarf2read.c (process_enumeration_scope): Detect "flag" enums. | |
1934 | * NEWS: Add entries. | |
1935 | * c-valprint.c (c_val_print) <TYPE_CODE_ENUM>: Handle "flag" | |
1936 | enums. | |
1937 | * python/lib/gdb/printing.py (_EnumInstance): New class. | |
1938 | (FlagEnumerationPrinter): Likewise. | |
1939 | ||
983af33b SDJ |
1940 | 2012-01-16 Sergio Durigan Junior <sergiodj@redhat.com> |
1941 | ||
1942 | * breakpoint.c (create_sals_from_address_default): New function. | |
1943 | (create_breakpoints_sal_default): Likewise. | |
1944 | (decode_linespec_default): Likewise. | |
1945 | (is_marker_spec): Removed. | |
1946 | (strace_marker_p): New function. | |
1947 | (init_breakpoint_sal): Using `strace_marker_p' instead of | |
1948 | `is_marker_spec'. | |
1949 | (create_breakpoint): Call method `create_sals_from_address' from | |
1950 | breakpoint_ops, replacing code that created SALs conditionally | |
1951 | on the type of the breakpoint. Call method `create_breakpoints_sal', | |
1952 | replacing code that created breakpoints conditionally on the type | |
1953 | wanted. | |
1954 | (base_breakpoint_create_sals_from_address): New function. | |
1955 | (base_breakpoint_create_breakpoints_sal): Likewise. | |
1956 | (base_breakpoint_decode_linespec): Likewise. | |
1957 | (base_breakpoint_ops): Add methods | |
1958 | `base_breakpoint_create_sals_from_address', | |
1959 | `base_breakpoint_create_breakpoints_sal' and | |
1960 | `base_breakpoint_decode_linespec'. | |
1961 | (bkpt_create_sals_from_address): New function. | |
1962 | (bkpt_create_breakpoints_sal): Likewise. | |
1963 | (bkpt_decode_linespec): Likewise. | |
1964 | (tracepoint_create_sals_from_address): Likewise. | |
1965 | (tracepoint_create_breakpoints_sal): Likewise. | |
1966 | (tracepoint_decode_linespec): Likewise. | |
1967 | (strace_marker_create_sals_from_address): Likewise. | |
1968 | (strace_marker_create_breakpoints_sal): Likewise. | |
1969 | (strace_marker_decode_linespec): Likewise. | |
1970 | (strace_marker_breakpoint_ops): New variable. | |
1971 | (addr_string_to_sals): Remove `marker_spec'. Call method | |
1972 | `decode_linespec' from breakpoint_ops, replacing code that decoded | |
1973 | an address string into a SAL. Use `strace_marker_p' instead of | |
1974 | `marker_spec'. | |
1975 | (strace_command): Decide whether we are dealing with a static | |
1976 | tracepoint with marker or not. Use the appropriate breakpoint_ops. | |
1977 | (initialize_breakpoint_ops): Initialize new fields of breakpoint_ops. | |
1978 | * breakpoint.h (linespec_result, linespec_sals): New forward | |
1979 | declarations. | |
1980 | (breakpoint_ops) <create_sals_from_address>, | |
1981 | <create_breakpoints_sal>, <decode_linespec>: New methods. | |
1982 | ||
4795f398 DE |
1983 | 2012-01-14 Doug Evans <dje@google.com> |
1984 | ||
1985 | * NEWS: Update text for "maint set python print-stack". | |
1986 | It is deprecated in gdb 7.4 and deleted in 7.5. | |
1987 | ||
ee5106fe EZ |
1988 | 2012-01-13 Eli Zaretskii <eliz@gnu.org> |
1989 | ||
1990 | * gdb_curses.h (MOUSE_MOVED) [__MINGW32__]: Undefine before | |
1991 | including curses.h. | |
1992 | ||
b161e06f JK |
1993 | 2012-01-12 Jan Kratochvil <jan.kratochvil@redhat.com> |
1994 | ||
1995 | * configure: Regenerate. | |
1996 | * config.in: Regenerate. | |
1997 | ||
85254831 KS |
1998 | 2012-01-12 Keith Seitz <keiths@redhat.com> |
1999 | ||
2000 | PR mi/10586 | |
2001 | * varobj.c (ANONYMOUS_STRUCT_NAME): Define. | |
2002 | (ANONYMOUS_UNION_NAME): Define. | |
2003 | (is_path_expr_parent): New function. | |
2004 | (get_path_expr_parent): New function. | |
2005 | (is_anonymous_child): New function. | |
2006 | (create_child_with_value): If the child is anonymous and without | |
2007 | a name, assign an object name to it. | |
2008 | (c_describe_child): Use get_path_expr_parent to determine | |
2009 | the parent expression. | |
2010 | If there field represents an anonymous struct or union and | |
2011 | has no name, set an appropriate display name and expression. | |
2012 | (cplus_describe_child): Likewise. | |
2013 | ||
620fa63a PA |
2014 | 2012-01-12 Pedro Alves <palves@redhat.com> |
2015 | ||
2016 | * i386-tdep.c (i386_frame_cache_1): Also mark the frame base as | |
2017 | available when %ebp is found to be zero (outermost). | |
2018 | ||
2efa2c79 AT |
2019 | 2012-01-11 Andreas Tobler <andreast@fgznet.ch> |
2020 | ||
2021 | * common/gdb_assert.h (gdb_static_assert): Rename static_assert to | |
2022 | an internal gdb_static_assert. | |
2023 | * mi/mi-common.c: Rename static_assert to gdb_static_assert. | |
2024 | ||
88e7d25d TT |
2025 | 2012-01-11 Tom Tromey <tromey@redhat.com> |
2026 | ||
2027 | PR gdb/9598: | |
2028 | * breakpoint.c (_initialize_breakpoint): Fix help for "catch | |
2029 | catch" and "catch throw". | |
2030 | ||
72384ba3 PH |
2031 | 2012-01-11 Paul Hilfinger <hilfingr@adacore.com> |
2032 | ||
2033 | * blockframe.c (block_innermost_frame): Start search from selected | |
2034 | frame, if present, or otherwise the current frame. | |
2035 | ||
2036 | * c-exp.y (variable): Update innermost_block for | |
2037 | 'block COLONCOLON NAME' clause. | |
2038 | * m2-exp.y (variable): Ditto. | |
2039 | * objc-exp.y (variable): Ditto. | |
2040 | ||
065a711f TT |
2041 | 2012-01-10 Tom Tromey <tromey@redhat.com> |
2042 | ||
2043 | PR python/13199: | |
2044 | * python/python.c (finish_python_initialization): Set sys.argv. | |
2045 | ||
f3f5162e DE |
2046 | 2012-01-10 Doug Evans <dje@google.com> |
2047 | ||
2048 | * dwarf2read.c (dwarf_decode_lines): Remove arg "abfd". New arg | |
2049 | "want_line_info". All callers updated. | |
2050 | (dwarf_decode_lines_1): New function. | |
2051 | (handle_DW_AT_stmt_list): Add function comment. | |
2052 | New arg "want_line_info". All callers updated. | |
2053 | (read_file_scope,read_type_unit_scope): Move comment from | |
2054 | handle_DW_AT_stmt_list to here. | |
2055 | ||
9934703b JK |
2056 | 2012-01-10 Jan Kratochvil <jan.kratochvil@redhat.com> |
2057 | ||
2058 | Fix regression after libiberty/ update for GCC PR 6057 and others. | |
2059 | * c-exp.y (operator) <OPERATOR DELETE> | |
2060 | (operator) <OPERATOR DELETE '[' ']'>: Add trailing space. | |
2061 | * cp-name-parser.y (fill_comp, make_operator, make_dtor) | |
2062 | (make_builtin_type, make_name): New variable i, add gdb_assert. | |
2063 | (operator) <OPERATOR NEW>: Update ARGS to 3. | |
2064 | (operator) <OPERATOR DELETE>: Add trailing space. | |
2065 | (operator) <OPERATOR NEW '[' ']'>: Update ARGS to 3. | |
2066 | (operator) <OPERATOR DELETE '[' ']'>: Add trailing space. | |
2067 | * cp-support.c (cp_canonicalize_string): Check NULL from | |
2068 | cp_comp_to_string, call warning and return. | |
2069 | ||
06b9f45f JK |
2070 | 2012-01-10 Jan Kratochvil <jan.kratochvil@redhat.com> |
2071 | ||
2072 | Fix duplicate .o files after omitting libbfd.a. | |
2073 | * Makefile.in (ALL_TARGET_OBS): Remove corelow.o. | |
2074 | (SFILES): Add corelow.c. | |
2075 | (COMMON_OBS): Add corelow.o. | |
2076 | (ALLDEPFILES): Remove corelow.c. | |
2077 | * config/alpha/alpha-linux.mh (NATDEPFILES): Remove corelow.o. | |
2078 | * config/alpha/alpha-osf3.mh: Likewise. | |
2079 | * config/alpha/fbsd.mh: Likewise. | |
2080 | * config/arm/nbsdaout.mh: Likewise. | |
2081 | * config/arm/nbsdelf.mh: Likewise. | |
2082 | * config/i386/i386gnu.mh: Likewise. | |
2083 | * config/ia64/hpux.mh: Likewise. | |
2084 | * config/ia64/linux.mh: Likewise. | |
2085 | * config/m32r/linux.mh: Likewise. | |
2086 | * config/m68k/linux.mh: Likewise. | |
2087 | * config/mips/irix5.mh: Likewise. | |
2088 | * config/mips/irix6.mh: Likewise. | |
2089 | * config/pa/hpux.mh: Likewise. | |
2090 | * config/pa/linux.mh: Likewise. | |
2091 | * config/powerpc/aix.mh: Likewise. | |
2092 | * config/sparc/linux.mh: Likewise. | |
2093 | * config/sparc/linux64.mh: Likewise. | |
2094 | * config/sparc/sol2.mh: Likewise. | |
2095 | * config/vax/vax.mh: Likewise. | |
2096 | * configure.tgt (alpha*-*-freebsd* alpha*-*-kfreebsd*-gnu) | |
2097 | (alpha*-*-netbsd*, alpha*-*-knetbsd*-gnu, alpha*-*-openbsd*) | |
2098 | (am33_2.0*-*-linux*, arm*-wince-pe, arm*-*-mingw32ce*, arm*-*-linux*) | |
2099 | (arm*-*-openbsd*, cris*, frv-*-*, hppa*-*-hpux*, hppa*-*-netbsd*) | |
2100 | (hppa*-*-openbsd*, i[34567]86-*-dicos*, i[34567]86-*-freebsd*) | |
2101 | (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-netbsd*) | |
2102 | (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-openbsd*, i[34567]86-*-nto*) | |
2103 | (i[34567]86-*-solaris2.1[0-9]*, x86_64-*-solaris2.1[0-9]*) | |
2104 | (i[34567]86-*-solaris*, i[34567]86-*-linux*, i[34567]86-*-cygwin*) | |
2105 | (i[34567]86-*-mingw32*, m68*-*-netbsd*, m68*-*-knetbsd*-gnu) | |
2106 | (m68*-*-openbsd*, m88*-*-openbsd*, microblaze*-linux-*) | |
2107 | (microblaze*-*-linux*, mips*-*-linux*, mips*-*-netbsd*) | |
2108 | (mips*-*-knetbsd*-gnu, mips64*-*-openbsd*, powerpc-*-netbsd*) | |
2109 | (powerpc-*-knetbsd*-gnu, powerpc-*-openbsd*, powerpc-*-linux*) | |
2110 | (powerpc64-*-linux*, s390*-*-*, score-*-*, sh*-*-linux*) | |
2111 | (sh*-*-netbsdelf*, sh*-*-knetbsd*-gnu, sh*-*-openbsd*) | |
2112 | (sparc*-*-freebsd*, sparc*-*-kfreebsd*-gnu, sparc-*-netbsd*) | |
2113 | (sparc-*-knetbsd*-gnu, sparc64-*-netbsd*, sparc64-*-knetbsd*-gnu) | |
2114 | (sparc-*-openbsd*, sparc64-*-openbsd*, tic6x-*-*linux, vax-*-netbsd*) | |
2115 | (vax-*-knetbsd*-gnu, vax-*-openbsd*, x86_64-*-dicos*, x86_64-*-linux*) | |
2116 | (x86_64-*-freebsd*, x86_64-*-kfreebsd*-gnu, x86_64-*-netbsd*) | |
2117 | (x86_64-*-knetbsd*-gnu, x86_64-*-openbsd*, xtensa*-*-linux*): Remove | |
2118 | corelow.o from gdb_target_obs. | |
2119 | * corefile.c (core_target): Update the comment on NULL value. | |
2120 | (core_file_command): Replace error by gdb_assert on CORE_TARGET. | |
2121 | * corelow.c (sniff_core_bfd): Call error instead of warning on zero | |
2122 | MATCHES. Drop YUMMY set on NULL. | |
2123 | (core_close): Do not call exit_inferior_silent on zero PID. Do not | |
2124 | reclaim CORE_DATA if it is already NULL. | |
2125 | ||
34365054 DE |
2126 | 2012-01-09 Doug Evans <dje@google.com> |
2127 | ||
2128 | * gdbtypes.c (safe_parse_type): Initialize type to keep gcc happy. | |
2129 | * varobj.c (varobj_set_value): Initialize val,value to keep gcc happy. | |
2130 | ||
696166a3 KS |
2131 | 2012-01-09 Keith Seitz <keiths@redhat.com> |
2132 | ||
2133 | * breakpoint.c (wrapper.h): Don't include. | |
2134 | ||
8e7b59a5 KS |
2135 | 2012-01-09 Keith Seitz <keiths@redhat.com> |
2136 | ||
2137 | * Makefile.in (SFILES): Remove wrapper.c. | |
2138 | (HFILES_NO_SRCDIR): Remove wrapper.h. | |
2139 | (COMMON_OBS): Remove wrapper.o. | |
2140 | * cli/cli-interp.c: Don't inlude wrapper.h. | |
2141 | * corelow.c: Likewise. | |
2142 | (core_open): Replace gdb_target_find_new_threads with | |
2143 | TRY_CATCH around target_find_new_threads. | |
2144 | * eval.c (fetch_subexp_value): Likewise for value_fetch_lazy. | |
2145 | * gdbtypes.c (safe_parse_type): Likewise for parse_and_eval_type. | |
2146 | * varobj.c (varobj_create): Likewise for parse_exp_1 and | |
2147 | evaluate_expression. | |
2148 | (varobj_set_value): Likewise for evaluate_expression and | |
2149 | value_assign. | |
2150 | (install_new_variable): Likewise for value_fetch_lazy. | |
2151 | (adjust_value_for_child_access): Likewise for value_ind. | |
2152 | (c_describe_child): Likewise for value_subscript and | |
2153 | value_ind. | |
2154 | (c_value_of_root): Likewise for evaluate_expression. | |
2155 | * wrapper.c: Remove. | |
2156 | * wrapper.h: Remove. | |
2157 | ||
1a4eeb98 DE |
2158 | 2012-01-09 Doug Evans <dje@google.com> |
2159 | ||
9ff913ba DE |
2160 | * dwarf2read.c (read_and_check_comp_unit_head): Renamed from |
2161 | partial_read_comp_unit_head. Replace "buffer", "buffer_size" and | |
2162 | "abfd" args with "section". All callers updated. | |
2163 | Error checking code moved ... | |
2164 | (error_check_comp_unit_head): ... here. New function. | |
2165 | (read_and_check_type_unit_head): Renamed from read_type_unit_head. | |
2166 | Delete arg "abfd". New arg "type_offset". All callers updated. | |
2167 | (create_debug_types_hash_table): Simplify by using | |
2168 | read_and_check_type_unit_head. | |
2169 | ||
1a4eeb98 DE |
2170 | * parser-defs.h (namecopy): Delete. |
2171 | * parse.c (namecopy, namecopy_size): Move into copy_name. | |
2172 | ||
2e6af8c0 JK |
2173 | 2012-01-09 Jan Kratochvil <jan.kratochvil@redhat.com> |
2174 | ||
2175 | Partially fix duplicate .o files after omitting libbfd.a. | |
2176 | * config/alpha/alpha-osf3.mh (NATDEPFILES): Remove solib.o. | |
2177 | * config/i386/nbsdaout.mh (NATDEPFILES): Remove solib.o. | |
2178 | * config/i386/obsdaout.mh (NATDEPFILES): Remove solib.o. | |
2179 | * config/m68k/nbsdaout.mh (NATDEPFILES): Remove solib.o. | |
2180 | * config/m68k/obsd.mh (NATDEPFILES): Remove solib.o. | |
2181 | * config/powerpc/aix.mh (NATDEPFILES): Remove xcoffread.o. | |
2182 | * config/vax/nbsdaout.mh (NATDEPFILES): Remove solib.o. | |
2183 | ||
9f2f828a PA |
2184 | 2012-01-09 Pedro Alves <palves@redhat.com> |
2185 | ||
2186 | * MAINTAINERS: Update my email address. | |
2187 | ||
4d72c0bc DE |
2188 | 2012-01-08 Doug Evans <dje@google.com> |
2189 | ||
d467dd73 DE |
2190 | * dwarf2read.c (dwarf2_per_objfile): Rename n_type_comp_units to |
2191 | n_type_units. Rename type_comp_units to all_type_units. | |
2192 | All uses updated. | |
2193 | (add_signatured_type_cu_to_table): Renamed from | |
2194 | add_signatured_type_cu_to_list. All callers updated. | |
2195 | ||
4d72c0bc DE |
2196 | * gdbtypes.h (struct cplus_struct_type): Delete member |
2197 | nfn_fields_total. All uses removed. | |
2198 | ||
21b2bd31 DE |
2199 | 2012-01-06 Doug Evans <dje@google.com> |
2200 | ||
2201 | * dwarf2read.c: Move FIXME from dwarf2_build_psymtabs_hard | |
2202 | to top of file. | |
2203 | (dwarf2_find_comp_unit): Delete. | |
2204 | (process_psymtab_comp_unit): Make result "void". | |
2205 | Delete args buffer, info_ptr, buffer_size, and replace with | |
2206 | "section". All callers updated. | |
2207 | (dwarf2_build_psymtabs_hard): Simplify. | |
2208 | ||
bfd189b1 SDJ |
2209 | 2012-01-06 Sergio Durigan Junior <sergiodj@redhat.com> |
2210 | Thiago Jung Bauermann <bauerman@br.ibm.com> | |
2211 | ||
2212 | * ada-lang.c (ada_exception_name_addr): Add `volatile' keyword | |
2213 | before `struct gdb_exception'. | |
2214 | * breakpoint.c (update_global_location_list_nothrow) | |
2215 | (update_breakpoint_locations, enable_breakpoint_disp): Likewise. | |
2216 | * cp-abi.c (value_rtti_type): Likewise. | |
2217 | * cp-support.c (cp_validate_operator): Likewise. | |
2218 | * infrun.c (insert_exception_resume_breakpoint) | |
2219 | (check_exception_resume, keep_going): Likewise. | |
2220 | * mi-interp.c (mi_breakpoint_created) | |
2221 | (mi_breakpoint_modified): Likewise. | |
2222 | * rs6000-aix-tdep.c (rs6000_convert_from_func_ptr_addr): Likewise. | |
2223 | * solib-ia64-hpux.c (ia64_hpux_at_dld_breakpoint_p) | |
2224 | (ia64_hpux_handle_dld_breakpoint_1): Likewise. | |
2225 | ||
6b07635f DE |
2226 | 2012-01-05 Doug Evans <dje@google.com> |
2227 | ||
0b30b85c DE |
2228 | * dwarf2read.c (statement_prologue): Delete, unused. |
2229 | ||
98714339 DE |
2230 | * dwarf2read.c (dwarf2_per_cu_addr_size): Make result type an int. |
2231 | * dwarf2loc.h (dwarf2_per_cu_addr_size): Update. | |
2232 | ||
6b07635f DE |
2233 | * dwarf2read.c (comp_unit_header): Delete, unused. |
2234 | ||
761f4555 UW |
2235 | 2012-01-05 Ulrich Weigand <uweigand@de.ibm.com> |
2236 | ||
2237 | * configure.tgt [s390*-*-*] (gdb_target_obs): Add corelow.o. | |
2238 | * config/s390/s390.mh (NATDEPFILES): Remove corelow.o. | |
2239 | ||
2ca0b532 PA |
2240 | 2012-01-05 Khoo Yit Phang <khooyp@cs.umd.edu> |
2241 | ||
2242 | * infrun.c (normal_stop): Don't skip calling the normal_stop | |
2243 | observers if the thread was doing a multi-step, but stopped for | |
2244 | some reason other than stepping. | |
2245 | ||
50aeff07 PA |
2246 | 2012-01-05 Pedro Alves <alves.ped@gmail.com> |
2247 | ||
2248 | * cli/cli-decode.h: Add comments. | |
2249 | (CMD_LIST_AMBIGUOUS): Moved to command.h | |
2250 | (add_cmd, add_alias_cmd, add_prefix_cmd, add_abbrev_prefix_cmd) | |
2251 | (set_cmd_cfunc, set_cmd_sfunc, set_cmd_completer, cmd_cfunc_eq) | |
2252 | (set_cmd_context, get_cmd_context, lookup_cmd, lookup_cmd_1) | |
2253 | (deprecate_cmd, deprecated_cmd_warning, lookup_cmd_composition) | |
2254 | (add_com, add_com_alias, add_info, add_info_alias) | |
2255 | (complete_on_cmdlist, complete_on_enum, help_list): Remove | |
2256 | declarations. | |
2257 | * command.h: Add and adjust comments. | |
2258 | (CMD_LIST_AMBIGUOUS): Moved here. | |
2259 | (help_cmd, help_cmd_list): Delete declarations. | |
2260 | ||
5953832c DE |
2261 | 2012-01-04 Doug Evans <dje@google.com> |
2262 | ||
e5fe5e75 DE |
2263 | * dwarf2read.c (dwarf2_read_abbrevs): Delete arg "abfd". |
2264 | All callers updated. | |
2265 | (load_full_type_unit): Renamed from read_signatured_type_at_offset. | |
2266 | Replace all arguments with "per_cu". All callers updated. | |
2267 | ||
28dee7f5 DE |
2268 | * dwarf2read.c (dwarf2_per_cu_data): Remove outdated comment. |
2269 | ||
23745b47 DE |
2270 | * dwarf2read.c (init_one_comp_unit): Delete arg "objfile". |
2271 | New arg "per_cu". All callers updated. | |
2272 | ||
5953832c DE |
2273 | Delete #if 0'd out code. |
2274 | * language.c (binop_result_type): Delete. | |
2275 | (simple_type, ordered_type, same_type, integral_type): Delete. | |
2276 | (numeric_type, character_type, string_type, boolean_type): Delete. | |
2277 | (float_type, structured_type): Delete. | |
2278 | * language.h: Update. | |
2279 | ||
0f5b7562 TT |
2280 | 2012-01-04 Tom Tromey <tromey@redhat.com> |
2281 | ||
2282 | * python/py-value.c (valpy_binop): Initialize 'res_val'. | |
2283 | ||
78218f56 JB |
2284 | 2012-01-04 Joel Brobecker <brobecker@adacore.com> |
2285 | ||
2286 | * corefile.c (close_exec_file): Delete. | |
2287 | (reopen_exec_file): Remove commented out code that seems related | |
2288 | to close_exec_file, which is being deleted here. | |
2289 | * inferior.h (close_exec_file): Delete. | |
2290 | * fork-child.c (fork_inferior): Remove call to fork_inferior. | |
2291 | ||
0fcd72ba JB |
2292 | 2012-01-04 Joel Brobecker <brobecker@adacore.com> |
2293 | ||
2294 | * ada-lang.c: #include "cli/cli-utils.h". | |
2295 | (get_selections): Use skip_spaces. | |
2296 | (ada_get_next_arg): Use skip_spaces and skip_to_space. | |
2297 | (catch_ada_exception_command_split): Use skip_spaces. | |
2298 | (ada_decode_assert_location): Likewise. | |
2299 | ||
1dabb4c4 JB |
2300 | 2012-01-04 Joel Brobecker <brobecker@adacore.com> |
2301 | ||
2302 | * linespec.c (decode_line_internal): Check for C++ or Java | |
2303 | compound constructs only if the current language is C, C++ | |
2304 | or Java. | |
2305 | ||
5931a2fa JK |
2306 | 2012-01-04 Jan Kratochvil <jan.kratochvil@redhat.com> |
2307 | ||
2308 | Revert: | |
2309 | 2012-01-02 Jan Kratochvil <jan.kratochvil@redhat.com> | |
2310 | Joel Brobecker <brobecker@adacore.com> | |
2311 | Fix regression for gdb.cp/gdb2495.exp with gcc-4.7. | |
2312 | * arch-utils.c (displaced_step_at_entry_point): Incrase BP_LEN skip to | |
2313 | 3 times. | |
2314 | * infcall.c (call_function_by_hand) <AT_SYMBOL>: Move it upwards and | |
2315 | fall through into AT_ENTRY_POINT. | |
2316 | (call_function_by_hand) <AT_ENTRY_POINT>: New variable bp_len. Adjust | |
2317 | DUMMY_ADDR with it. | |
2318 | * ppc-linux-tdep.c (ppc_linux_displaced_step_location): Increase | |
2319 | PPC_INSN_SIZE skip to 3 times. | |
2320 | ||
1a2da5ee JB |
2321 | 2012-01-04 Joel Brobecker <brobecker@adacore.com> |
2322 | ||
2323 | * linespec.c (add_minsym): Preserve function descriptors. | |
2324 | ||
8645ff69 UW |
2325 | 2012-01-04 Ulrich Weigand <uweigand@de.ibm.com> |
2326 | ||
2327 | * breakpoint.c (all_locations_are_pending): Consider locations | |
2328 | in program spaces executing during startup pending as well. | |
2329 | ||
0b302171 JB |
2330 | 2012-01-04 Joel Brobecker <brobecker@adacore.com> |
2331 | ||
2332 | Copyright year update in most files of the GDB Project. | |
2333 | ||
8ba098ad JB |
2334 | 2012-01-04 Joel Brobecker <brobecker@adacore.com> |
2335 | ||
2336 | * copyright.sh: Delete. | |
2337 | * copyright.py: Rewrite. | |
2338 | ||
09c01c30 JB |
2339 | 2012-01-04 Joel Brobecker <brobecker@adacore.com> |
2340 | ||
2341 | * gnulib/extra/update-copyright: New file, imported from gnulib. | |
2342 | ||
3c36c0af JB |
2343 | 2012-01-04 Joel Brobecker <brobecker@adacore.com> |
2344 | ||
2345 | * README (Copyright and License Notices): New section. | |
2346 | ||
888fe1e1 TT |
2347 | 2012-01-03 Tom Tromey <tromey@redhat.com> |
2348 | ||
2349 | PR python/12533: | |
2350 | * python/py-value.c (valpy_dereference, valpy_get_address | |
2351 | valpy_get_dynamic_type, valpy_lazy_string, valpy_do_cast) | |
2352 | (valpy_getitem, valpy_call, valpy_binop, valpy_negative) | |
2353 | (valpy_absolute, valpy_richcompare): Free intermediate values. | |
2354 | ||
6e681866 JB |
2355 | 2011-01-03 Joel Brobecker <brobecker@adacore.com> |
2356 | ||
2357 | * ada-lang.c: Reformat the copyright notice. | |
2358 | ||
0cd09acb JK |
2359 | 2012-01-02 Jan Kratochvil <jan.kratochvil@redhat.com> |
2360 | ||
2361 | * Makefile.in (ALL_TARGET_OBS): Remove solib-target.o. | |
2362 | * configure.tgt (arm*-wince-pe, arm*-*-mingw32ce*, arm*-*-symbianelf*) | |
2363 | (i[34567]86-*-dicos*, i[34567]86-*-cygwin*, i[34567]86-*-mingw32*) | |
2364 | (x86_64-*-dicos*, x86_64-*-mingw*): Remove solib-target.o. | |
2365 | Revert this part of: | |
2366 | 2012-01-02 Jan Kratochvil <jan.kratochvil@redhat.com> | |
2367 | Build gdb directly from *.o files not using libgdb.a. | |
2368 | * Makefile.in (COMMON_OBS): Remove solib-target.o. | |
2369 | ||
12c3e59c JB |
2370 | 2012-01-02 Joel Brobecker <brobecker@adacore.com> |
2371 | ||
2372 | * gdb/common/gdb_thread_db.h, gdb/dbxread.c, gdb/environ.c, | |
2373 | gdb/gcore.h, gdb/rs6000-tdep.h, gdb/s390-nat.c, gdb/tic6x-tdep.c: | |
2374 | Reformat the copyright header. | |
2375 | ||
11bf1490 JK |
2376 | 2012-01-02 Jan Kratochvil <jan.kratochvil@redhat.com> |
2377 | ||
2378 | Revert this part of: | |
2379 | 2012-01-02 Jan Kratochvil <jan.kratochvil@redhat.com> | |
2380 | Remove the gdbtui binary. | |
2381 | * gdb.c (main): Remove args.interpreter_p initialization. | |
2382 | * main.c (captured_main): Set INTERPRETER_P directly by INTERP_CONSOLE. | |
2383 | * main.h (struct captured_main_args): Remove interpreter_p. | |
2384 | ||
1fef196f JB |
2385 | 2012-01-02 Joel Brobecker <brobecker@adacore.com> |
2386 | ||
2387 | * config/djgpp/fnchange.lst: Add entry for ChangeLog-2011. | |
2388 | ||
67827812 JB |
2389 | 2012-01-02 Joel Brobecker <brobecker@adacore.com> |
2390 | ||
2391 | * top.c (print_gdb_version): Update copyright year. | |
2392 | ||
a4d0b831 YQ |
2393 | 2012-01-02 Yao Qi <yao@codesourcery.com> |
2394 | ||
2395 | * inf-ptrace.c (inf_ptrace_xfer_partial): Reindent. | |
2396 | ||
b5914469 JK |
2397 | 2012-01-02 Jan Kratochvil <jan.kratochvil@redhat.com> |
2398 | Joel Brobecker <brobecker@adacore.com> | |
2399 | ||
2400 | Fix regression for gdb.cp/gdb2495.exp with gcc-4.7. | |
2401 | * arch-utils.c (displaced_step_at_entry_point): Incrase BP_LEN skip to | |
2402 | 3 times. | |
2403 | * infcall.c (call_function_by_hand) <AT_SYMBOL>: Move it upwards and | |
2404 | fall through into AT_ENTRY_POINT. | |
2405 | (call_function_by_hand) <AT_ENTRY_POINT>: New variable bp_len. Adjust | |
2406 | DUMMY_ADDR with it. | |
2407 | * ppc-linux-tdep.c (ppc_linux_displaced_step_location): Increase | |
2408 | PPC_INSN_SIZE skip to 3 times. | |
2409 | ||
8da828f7 JK |
2410 | 2012-01-02 Jan Kratochvil <jan.kratochvil@redhat.com> |
2411 | ||
2412 | * amd64-linux-nat.c (update_debug_registers_callback): New comment on | |
2413 | the return value. | |
2414 | * i386-linux-nat.c (update_debug_registers_callback): Likewise. | |
2415 | ||
8574e74b JK |
2416 | 2012-01-02 Jan Kratochvil <jan.kratochvil@redhat.com> |
2417 | ||
2418 | Build gdb directly from *.o files not using libgdb.a. | |
2419 | * Makefile.in (SUBDIR_TUI_OBS): Remove duplicate tui.o. | |
2420 | (COMMON_OBS): Remove solib-target.o. | |
2421 | (LIBGDB_OBS, libgdb.a): Move it before the gdb$(EXEEXT) rule. | |
2422 | (gdb$(EXEEXT)): Replace libgdb.a with $(LIBGDB_OBS). | |
2423 | (LIBGDB_OBS, libgdb.a): Move it above. | |
2424 | * configure.tgt (alpha*-*-linux*, alpha*-*-freebsd*) | |
2425 | (alpha*-*-kfreebsd*-gnu, alpha*-*-netbsd*, alpha*-*-knetbsd*-gnu) | |
2426 | (alpha*-*-openbsd*, am33_2.0*-*-linux*, arm*-wince-pe) | |
2427 | (arm*-*-mingw32ce*, arm*-*-linux*, arm*-*-netbsd*, arm*-*-knetbsd*-gnu) | |
2428 | (arm*-*-openbsd*, cris*, frv-*-*, hppa*-*-hpux*, hppa*-*-linux*) | |
2429 | (hppa*-*-netbsd*, hppa*-*-openbsd*, i[34567]86-*-darwin*) | |
2430 | (i[34567]86-*-dicos*, i[34567]86-*-freebsd*, i[34567]86-*-kfreebsd*-gnu) | |
2431 | (i[34567]86-*-netbsd*, i[34567]86-*-knetbsd*-gnu, i[34567]86-*-openbsd*) | |
2432 | (i[34567]86-*-nto*, i[34567]86-*-solaris2.1[0-9]*) | |
2433 | (x86_64-*-solaris2.1[0-9]*, i[34567]86-*-solaris*, i[34567]86-*-linux*) | |
2434 | (i[34567]86-*-gnu*, ia64-*-linux*, m32r*-*-linux*, m68*-*-linux*) | |
2435 | (m68*-*-netbsd*, m68*-*-knetbsd*-gnu, m68*-*-openbsd*) | |
2436 | (microblaze*-linux-*, microblaze*-*-linux*, mips*-sgi-irix5*) | |
2437 | (mips*-sgi-irix6*, mips*-*-linux*, mips*-*-netbsd*) | |
2438 | (mips*-*-knetbsd*-gnu, mips64*-*-openbsd*, powerpc-*-netbsd*) | |
2439 | (powerpc-*-knetbsd*-gnu, powerpc-*-openbsd*, powerpc-*-aix*, rs6000-*-*) | |
2440 | (powerpc-*-linux*, powerpc64-*-linux*, powerpc*-*-*, s390*-*-*) | |
2441 | (sh*-*-linux*, sh*-*-netbsdelf*, sh*-*-knetbsd*-gnu, sh*-*-openbsd*) | |
2442 | (sparc-*-linux*, sparc64-*-linux*, sparc*-*-freebsd*) | |
2443 | (sparc*-*-kfreebsd*-gnu, sparc-*-netbsd*, sparc-*-knetbsd*-gnu) | |
2444 | (sparc64-*-netbsd*, sparc64-*-knetbsd*-gnu, sparc-*-openbsd*) | |
2445 | (sparc64-*-openbsd*, sparc-*-solaris2.[0-6], sparc-*-solaris2.[0-6].*) | |
2446 | (sparc-*-solaris2*, sparcv9-*-solaris2*, sparc64-*-solaris2*) | |
2447 | (vax-*-netbsd*, vax-*-knetbsd*-gnu, x86_64-*-darwin*, x86_64-*-dicos*) | |
2448 | (x86_64-*-linux*, x86_64-*-freebsd*, x86_64-*-kfreebsd*-gnu) | |
2449 | (x86_64-*-netbsd*, x86_64-*-knetbsd*-gnu, x86_64-*-openbsd*) | |
2450 | (xtensa*-*-linux*, xtensa*): Remove solib.o from gdb_target_obs. | |
2451 | ||
217bff3e JK |
2452 | 2012-01-02 Jan Kratochvil <jan.kratochvil@redhat.com> |
2453 | ||
2454 | Remove the gdbtui binary. | |
2455 | * .gitignore (/gdbtui): Remove. | |
2456 | * Makefile.in (TUI): Remove. | |
2457 | (SUBDIR_TUI_OBS): Remove tui-main.o. | |
2458 | (SUBDIR_TUI_SRCS): Remove tui/tui-main.c. | |
2459 | (all-tui, install-tui, uninstall-tui, $(TUI)$(EXEEXT), clean-tui) | |
2460 | (tui-main.o): Remove. | |
2461 | (all_object_files): Remove tui-main.o. | |
2462 | * NEWS: New note for the gdbtui removal. | |
2463 | * configure: Rebuilt. | |
2464 | * configure.ac: No longer add all-tui, clean-tui, install-tui and | |
2465 | uninstall-tui to CONFIG_ALL, CONFIG_CLEAN, CONFIG_INSTALL and | |
2466 | CONFIG_UNINSTALL respectively. | |
2467 | * gdb.c (main): Remove args.interpreter_p initialization. | |
2468 | * main.c (captured_main): Set INTERPRETER_P directly by INTERP_CONSOLE. | |
2469 | * main.h (struct captured_main_args): Remove interpreter_p. | |
2470 | * tui/tui-main.c: Remove. | |
2471 | ||
9cdd5dbd DE |
2472 | 2012-01-01 Doug Evans <dje@google.com> |
2473 | ||
bb5ed363 DE |
2474 | * dwarf2read.c (dwarf2_compute_name): Simplify objfile references. |
2475 | (dwarf2_physname, read_import_statement): Ditto. | |
2476 | (read_call_site_scope, dwarf2_record_block_ranges): Ditto. | |
2477 | (process_structure_scope read_subroutine_type): Ditto. | |
2478 | (read_typedef, load_partial_dies, read_partial_die): Ditto. | |
2479 | (find_partial_die, dwarf_decode_lines, lookup_die_type): Ditto. | |
2480 | (dwarf2_fetch_die_location_block): Ditto. | |
2481 | (dwarf_decode_macros, dwarf2_symbol_mark_computed): Ditto. | |
2482 | ||
a0f42c21 DE |
2483 | * dwarf2read.c (read_signatured_type): Delete `objfile' arg. |
2484 | All callers updated. | |
2485 | (load_full_comp_unit, queue_comp_unit, process_queue): Ditto. | |
2486 | (dw2_do_instantiate_symtab, dw2_instantiate_symtab): Ditto. | |
2487 | (process_psymtab_comp_unit, load_partial_comp_unit): Ditto. | |
2488 | ||
2dc860c0 DE |
2489 | * dwarf2read.c (load_cu): Move assert to more useful location. |
2490 | ||
68dc6402 DE |
2491 | * dwarf2read.c (free_heap_comp_unit): Renamed from free_one_comp_unit. |
2492 | All callers updated. | |
2493 | ||
9cdd5dbd DE |
2494 | * dwarf2read.c (dwarf2_per_objfile): Add comment. |
2495 | (dwarf2_elf_names): Minor reformat. | |
2496 | (dwarf2_per_cu_data): Tweak comment. | |
2497 | (dwarf2_read_section): Fix comment. | |
2498 | (create_all_comp_units): Fix comment. | |
2499 | (load_full_comp_unit): Fix comment. | |
2500 | (process_full_comp_unit): Fix comment. | |
2501 | (read_signatured_type): Fix comment. | |
2502 | ||
0c10e53e | 2503 | For older changes see ChangeLog-2011. |
c906108c SS |
2504 | \f |
2505 | Local Variables: | |
2506 | mode: change-log | |
2507 | left-margin: 8 | |
2508 | fill-column: 74 | |
2509 | version-control: never | |
57da7796 | 2510 | coding: utf-8 |
c906108c | 2511 | End: |