]>
Commit | Line | Data |
---|---|---|
af96c192 YQ |
1 | 2011-04-26 Yao Qi <[email protected]> |
2 | ||
3 | * linux-nat.c: Move common macros to ... | |
4 | Include linux-ptrace.h. | |
5 | * common/linux-ptrace.h: ... here. New. | |
6 | ||
3e03848b JK |
7 | 2011-04-25 Jan Kratochvil <[email protected]> |
8 | ||
9 | * elfread.c (elf_symfile_read): Protect dwarf2_initialize_objfile by | |
10 | !objfile_has_partial_symbols. New comment. | |
11 | * objfiles.c (objfile_has_partial_symbols): Call HAS_SYMBOLS if | |
12 | SYM_READ_PSYMBOLS is not present. Extend the comment. | |
13 | * symfile.h (struct sym_fns): Extend the sym_read_psymbols comment. | |
14 | ||
1ae0d051 JK |
15 | 2011-04-25 Jan Kratochvil <[email protected]> |
16 | ||
17 | * defs.h (ENUM_BITFIELD): Remove. | |
18 | ||
03f2bd59 JK |
19 | 2011-04-24 Jan Kratochvil <[email protected]> |
20 | Eli Zaretskii <[email protected]> | |
21 | ||
22 | * NEWS: Document the new gdbserver --once option. | |
23 | ||
4161fbb0 JZ |
24 | 2011-04-21 Jie Zhang <[email protected]> |
25 | ||
26 | * MAINTAINERS: Update my email address. | |
27 | ||
bcb28afc PM |
28 | 2011-04-21 Pierre Muller <[email protected]> |
29 | ||
30 | * gdb_wchar.h (USE_INTERMEDIATE_ENCODING_FUNCTION): New macro. | |
31 | (INTERMEDIATE_ENCODING): Change value to intermediate_encoding | |
32 | function call if __STDC_ISO_10646__ macro is defined. | |
33 | (intermediate_encoding): New prototype. | |
34 | * charset.c (your_gdb_wchar_t_is_bogus): New extern test variable | |
35 | to generate compile time error for unsupported gdb_wchar_t size. | |
36 | (ENDIAN_SUFFIX): New macro. | |
37 | (intermediate_encoding): New function. | |
38 | ||
7b08b9eb JK |
39 | 2011-04-20 Jan Kratochvil <[email protected]> |
40 | ||
41 | * ada-lang.c (struct add_partial_datum): Update the comment for | |
42 | expand_partial_symbol_name. | |
43 | (ada_add_partial_symbol_completions): Rename to ... | |
44 | (ada_expand_partial_symbol_name): ... here, change return type, update | |
45 | function comment, call symbol_completion_match instead of | |
46 | symbol_completion_add. | |
47 | (ada_make_symbol_completion_list): Use now expand_partial_symbol_names | |
48 | and ada_expand_partial_symbol_name. | |
49 | * dwarf2read.c (dw2_expand_symtabs_matching): Support NULL | |
50 | FILE_MATCHER. | |
51 | (dw2_map_symbol_names): Remove. | |
52 | (dwarf2_gdb_index_functions): Unlist dw2_map_symbol_names. | |
53 | * psymtab.c (map_symbol_names_psymtab): Remove. | |
54 | (expand_symtabs_matching_via_partial): Support NULL FILE_MATCHER. | |
55 | Support KIND == ALL_DOMAIN. Exchange the NAME_MATCHER and KIND check | |
56 | order. | |
57 | (psym_functions): Unlist map_symbol_names_psymtab. | |
58 | (map_partial_symbol_names): Rename to ... | |
59 | (expand_partial_symbol_names): ... here, change the FUN type, call | |
60 | expand_symtabs_matching with ALL_DOMAIN and NULL FILE_MATCHER now. | |
61 | * psymtab.h (map_partial_symbol_names): Rename to ... | |
62 | (expand_partial_symbol_names): ... here, change the FUN type. | |
63 | * symfile.h (struct quick_symbol_functions): Update the description of | |
64 | expand_symtabs_matching. Remove map_symbol_names. | |
65 | * symtab.c (search_symbols): Add ALL_DOMAIN to the function comment. | |
66 | (struct add_name_data): Update the comment for | |
67 | expand_partial_symbol_name. | |
68 | (add_partial_symbol_name): Rename to ... | |
69 | (expand_partial_symbol_name): ... here. Replace | |
70 | completion_list_add_name call by strncmp. | |
71 | (default_make_symbol_completion_list_break_on): Use now | |
72 | expand_partial_symbol_names and expand_partial_symbol_name. | |
73 | * symtab.h (enum search_domain): New element ALL_DOMAIN. | |
74 | ||
90476074 TT |
75 | 2011-04-20 Tom Tromey <[email protected]> |
76 | ||
77 | * dwarf2read.c (save_gdb_index_command): Replace format | |
78 | documentation with a pointer to the manual. | |
79 | ||
c21236dc PA |
80 | 2011-04-20 Pedro Alves <[email protected]> |
81 | ||
82 | * regcache.c: Include remote.h. | |
83 | (enum regcache_dump_what) <regcache_dump_remote>: New enum value. | |
84 | (regcache_dump): Handle regcache_dump_remote. | |
85 | (maintenance_print_remote_registers): New function. | |
86 | (_initialize_regcache): Install "maint print remote-registers" | |
87 | command. | |
88 | * remote.c (map_regcache_remote_table): New function, factored out | |
89 | from ... | |
90 | (init_remote_state): ... here. | |
91 | (remote_register_number_and_offset): New. | |
92 | * remote.h (remote_register_number_and_offset): Declare. | |
93 | ||
b78974c3 PA |
94 | 2011-04-20 Pedro Alves <[email protected]> |
95 | ||
96 | * regcache.c (get_thread_arch_regcache): If creating a regcache for | |
97 | null_ptid, assume and allow a NULL address space, instead of | |
98 | asking the target for the ptid's address space. | |
99 | * infrun.c (ptid_is_pid): Remove assertion. | |
100 | ||
7a9dd1b2 TT |
101 | 2011-04-19 Tom Tromey <[email protected]> |
102 | ||
103 | * windows-tdep.c (windows_xfer_shared_library): | |
104 | * windows-nat.c (get_module_name, windows_make_so): | |
105 | * v850-tdep.c (v850_handle_pushm): | |
106 | * utils.c (null_cleanup, gdb_realpath): | |
107 | * ui-out.c (get_next_header): | |
108 | * tracepoint.c (clear_traceframe_info): | |
109 | * symtab.c (lookup_symtab): | |
110 | * serial.h (struct serial_ops): | |
111 | * mipsread.c (read_alphacoff_dynamic_symtab): | |
112 | * infcmd.c (print_return_value): | |
113 | * ia64-linux-tdep.c (ia64_linux_sigcontext_register_address): | |
114 | * f-exp.y (parse_number): | |
115 | * exceptions.c (catch_exceptions): | |
116 | * dummy-frame.c (dummy_frame_this_id): | |
117 | * defs.h (struct cleanup): | |
118 | * breakpoint.c (disable_breakpoints_in_unloaded_shlib): | |
119 | * arm-tdep.c (arm_push_dummy_call): | |
120 | * amd64-tdep.h (amd64_collect_xsave): | |
121 | * amd64-tdep.c (amd64_collect_xsave): | |
122 | * alpha-tdep.c (alpha_heuristic_frame_unwind_cache): | |
123 | * README (typing): Remove duplicate words. | |
124 | * cli/cli-decode.c (lookup_cmd_composition): Add comma. | |
125 | * infrun.c (siginfo_value_read): Fix typo. | |
126 | * solib-frv.c (frv_fdpic_find_global_pointer): Likewise. | |
127 | * top.c (source_line_number): Add comma. | |
128 | ||
9941e0c5 MK |
129 | 2011-04-19 Marc Khouzam <[email protected]> |
130 | ||
131 | * thread.c (any_live_thread_of_process): Prioritize threads | |
132 | that are not executing. | |
133 | * gdbthread.h (any_live_thread_of_process): Update comment | |
134 | as per above change. | |
135 | ||
ed4b0e6a AS |
136 | 2011-04-19 Andreas Schwab <[email protected]> |
137 | ||
138 | * xcoffread.c (process_xcoff_symbol): Remove useless cast. | |
139 | (scan_xcoff_symtab): Likewise. | |
140 | ||
9b13a2db PM |
141 | 2011-04-19 Pierre Muller <[email protected]> |
142 | ||
143 | * xcoffread.c (process_xcoff_symbol): ARI fix: Avoid assignment | |
144 | inside if clause. | |
145 | ||
1c6e1b0d PM |
146 | 2011-04-19 Pierre Muller <[email protected]> |
147 | Pedro Alves <[email protected]> | |
148 | ||
149 | * xstormy16-tdep.c (xstormy16_push_dummy_call): Add local | |
150 | variables to simplify code and avoid == operator at end of | |
151 | line as this is against GNU coding standards. | |
152 | ||
74de0234 PM |
153 | 2011-04-19 Pierre Muller <[email protected]> |
154 | ||
155 | * solib-svr4.c (svr4_keep_data_in_core): Rename local variable | |
156 | lm_name to name_lm to avoid conflict with lm_name function. | |
157 | ||
b23518f0 PM |
158 | 2011-04-19 Pierre Muller <[email protected]> |
159 | ||
160 | ARI fixes: Use only lowercase function name for static functions. | |
161 | * nto-tdep.c (LM_ADDR): Rename to... | |
162 | (lm_addr): New function name. | |
163 | (nto_relocate_section_addresses): Adapt to change above. | |
164 | * solib-sunos.c (LM_ADDR): Rename to... | |
165 | (lm_addr): New function name. | |
166 | (LM_NEXT): Rename to... | |
167 | (lm_next): New function name. | |
168 | (sunos_current_sos, sunos_relocate_section_addresses): Adapt to | |
169 | function name changes above. | |
170 | * solib-svr4.c (LM_ADDR_FROM_LINK_MAP): Rename to... | |
171 | (lm_addr_from_link_map): New function name. | |
172 | (HAS_LM_DYNAMIC_FROM_LINK_MAP): Rename to... | |
173 | (has_lm_dynamic_from_link_map): New function name. | |
174 | (LM_DYNAMIC_FROM_LINK_MAP): Rename to... | |
175 | (lm_dynamic_from_link_map): New function name. | |
176 | (LM_ADDR_CHECK): Rename to... | |
177 | (lm_addr_check): New function name. | |
178 | (LM_NEXT): Rename to... | |
179 | (lm_next): New function name. | |
180 | (LM_PREV): Rename to... | |
181 | (lm_prev): New function name. | |
182 | (LM_NAME): Rename to... | |
183 | (lm_name): New function name. | |
184 | (IGNORE_FIRST_LINK_MAP_ENTRY): Rename to... | |
185 | (ignore_first_link_map_entry): New function name. | |
186 | (svr4_keep_data_in_core): Adapt to function name changes above. | |
187 | (svr4_current_sos): Likewise. | |
188 | (enable_break): Likewise. | |
189 | (svr4_relocate_section_addresses): Likewise. | |
190 | ||
1448a0a2 PM |
191 | 2011-04-19 Pierre Muller <[email protected]> |
192 | ||
193 | ARI cleanup. | |
194 | * xtensa-tdep.c (xtensa_register_type): Use xstrprintf instead of | |
195 | sprintf. Simplify code and avoid loosing memory. | |
196 | (xtensa_register_reggroup_p): Extract assignment out of IF clause. | |
197 | (call0_frame_cache): Remove && operator from end of line. | |
198 | ||
02835898 JK |
199 | 2011-04-17 Jan Kratochvil <[email protected]> |
200 | ||
201 | Fix libraries displacement if they change whether they were prelinked. | |
202 | * solib-svr4.c (LM_ADDR_CHECK): Set L_ADDR even if the DYNAMIC pointer | |
203 | does not match. Comment why. | |
204 | ||
9a845ea2 JK |
205 | 2011-04-17 Jan Kratochvil <[email protected]> |
206 | ||
207 | * corelow.c: Include wrapper.h. | |
208 | (core_open): Call now gdb_target_find_new_threads. | |
209 | * wrapper.c: Include target.h. | |
210 | (gdb_target_find_new_threads): New. | |
211 | * wrapper.h (gdb_target_find_new_threads): New declaration. | |
212 | ||
254f582e JK |
213 | 2011-04-17 Jan Kratochvil <[email protected]> |
214 | ||
215 | * linux-thread-db.c (find_new_threads_callback): Exit on zero TI_TID | |
216 | even if !TARGET_HAS_EXECUTION. | |
217 | ||
63524580 JK |
218 | 2011-04-17 Jan Kratochvil <[email protected]> |
219 | ||
220 | Fix convert_code_addr_to_desc_addr for ppc64 files after eu-strip. | |
221 | * elfread.c (elf_symfile_read): New variable synth_abfd, pass it to | |
222 | bfd_get_synthetic_symtab. | |
223 | * jit.c (jit_register_code): Pass NULL to the new parameter parent. | |
224 | * machoread.c (macho_add_oso_symfile): Pass main_objfile to the new | |
225 | parameter parent, remove the call to add_separate_debug_objfile. | |
226 | * solib.c (solib_read_symbols): Pass NULL to the new parameter parent. | |
227 | * symfile-mem.c (symbol_file_add_from_memory): Likewise. | |
228 | * symfile.c (symbol_file_add_with_addrs_or_offsets): New parameter | |
229 | parent, new comment for it, call add_separate_debug_objfile for it. | |
230 | (symbol_file_add_separate): Pass objfile as the parameter parent, | |
231 | remove the call to add_separate_debug_objfile. | |
232 | (symbol_file_add_from_bfd): New parameter parent, pass it. | |
233 | (symbol_file_add): Pass NULL to the new parameter parent. | |
234 | * symfile.h (symbol_file_add_from_bfd): New parameter parent. | |
235 | ||
90359a16 JK |
236 | 2011-04-17 Jan Kratochvil <[email protected]> |
237 | ||
238 | * elfread.c (elf_symtab_read): Do not ignore .L symbols if they are | |
239 | BSF_SYNTHETIC. | |
240 | ||
626e7282 JK |
241 | 2011-04-17 Jan Kratochvil <[email protected]> |
242 | ||
243 | Fix Python access to inlined frames. | |
244 | * python/py-frame.c (frapy_read_var): Find BLOCK using get_frame_block. | |
245 | * python/py-symbol.c (gdbpy_lookup_symbol): Likewise. | |
246 | ||
cf31e6f9 TT |
247 | 2011-04-15 Tom Tromey <[email protected]> |
248 | ||
249 | * dwarf2read.c (add_index_entry): Use VEC_last, not VEC_length. | |
250 | ||
c8d895f1 GB |
251 | 2011-04-15 Gary Benson <[email protected]> |
252 | ||
253 | * MAINTAINERS: Add myself to write-after-approval section. | |
254 | ||
56a9aa1d MF |
255 | 2011-04-14 Mike Frysinger <[email protected]> |
256 | ||
257 | * remote-sim.c (sim_command_completer): New function. | |
258 | (_initialize_remote_sim): Set completer to sim_command_completer. | |
259 | ||
ba770c9c TJB |
260 | 2011-04-13 Thiago Jung Bauermann <[email protected]> |
261 | ||
262 | * breakpoint.c (print_exception_catchpoint): Rename to ... | |
263 | (print_it_exception_catchpoint): ... this. | |
264 | (gnu_v3_exception_catchpoint_ops): Update with new name | |
265 | for print_it_exception_catchpoint. | |
266 | ||
51bf2553 EBM |
267 | 2011-04-13 Edjunior Machado <[email protected]> |
268 | ||
269 | * MAINTAINERS: Add myself for write after approval privileges. | |
270 | ||
d242658c MP |
271 | 2011-04-13 Marek Polacek <[email protected]> |
272 | ||
273 | * MAINTAINERS: Add myself as a write-after-approval maintainer. | |
274 | ||
4a4106ca TJB |
275 | 2011-04-13 Thiago Jung Bauermann <[email protected]> |
276 | ||
277 | * breakpoint.c (watch_command_1): Remove colon from exp_string. | |
278 | ||
26063d49 TJB |
279 | 2011-04-13 Thiago Jung Bauermann <[email protected]> |
280 | ||
281 | * breakpoint.c (save_breakpoints): Verify whether | |
282 | breakpoint_ops.print_recreate is defined before calling it. | |
283 | ||
7782b183 GB |
284 | 2011-04-11 Gary Benson <[email protected]> |
285 | ||
286 | Fix failure with --enable-maintainer-mode. | |
287 | * Makefile.in (aclocal_m4_deps): Updated gnulib dependencies. | |
288 | ||
e8930875 JK |
289 | 2011-04-09 Jan Kratochvil <[email protected]> |
290 | ||
291 | Code cleanup. | |
292 | * symtab.c (search_symbols): Reorder the KIND description in the | |
293 | function comment. Remove the unused 4th element of types, types2, | |
294 | types3 and types4. New gdb_assert on KIND. | |
295 | (symtab_symbol_info): Remove the unused 4th element of classnames. | |
296 | New gdb_assert on KIND. | |
297 | * symtab.h (enum search_domain): New warning in the enum comment. | |
298 | Assign numbers to the elements VARIABLES_DOMAIN, FUNCTIONS_DOMAIN and | |
299 | TYPES_DOMAIN. | |
300 | ||
b4f2f049 JK |
301 | 2011-04-09 Jan Kratochvil <[email protected]> |
302 | ||
303 | Fix crash of gdb save-index on a STABS file. | |
304 | * dwarf2read.c (write_psymtabs_to_index): Return also on no | |
305 | PSYMTABS_ADDRMAP. | |
306 | ||
60d5a603 JK |
307 | 2011-04-09 Jan Kratochvil <[email protected]> |
308 | ||
309 | Fix DW_AT_accessibility compatibility with gcc-4.6+. | |
310 | * dwarf2read.c: Include ctype.h. | |
311 | (producer_is_gxx_lt_4_6, dwarf2_default_access_attribute): New | |
312 | functions. | |
313 | (dwarf2_add_field): Fix new_field->accessibility by calling | |
314 | dwarf2_default_access_attribute. Restructure setting accessibility | |
315 | vs. virtuality. | |
316 | (dwarf2_add_member_fn): New variable accessibility. Fix fnp | |
317 | is_private and is_protected by calling | |
318 | dwarf2_default_access_attribute. | |
319 | ||
e0f68161 KB |
320 | 2011-04-08 Kevin Buettner <[email protected]> |
321 | ||
322 | * rx-tdep.c (rx_frame_unwind): Add default_frame_unwind_stop_reason | |
323 | to the initialization. | |
324 | ||
2e1aae43 SE |
325 | 2011-04-08 Steve Ellcey <[email protected]> |
326 | ||
327 | * Add default_frame_unwind_stop_reason value to libunwind_frame_unwind | |
328 | initalization. | |
329 | ||
c6ca3dab PM |
330 | 2011-04-07 Pierre Muller <[email protected]> |
331 | ||
332 | Remove support for old Cygwin 1.5 versions. | |
333 | * remote-fileio.c: Remove macros used to emulate new cygwin_conv_path | |
334 | function on old Cygwin version. | |
335 | * windows-nat.c: Remove cygwin version check and always define | |
336 | __USEWIDE for Cygwin compilation. | |
337 | ||
bd18283a YQ |
338 | 2011-04-07 Yao Qi <[email protected]> |
339 | ||
340 | * arm-linux-tdep.c (arm_linux_copy_svc): Remove parameters INSN | |
341 | and TO. | |
342 | * arm-tdep.c (cleanup_svc): Handle variable instruction size. | |
343 | (arm_copy_svc): Remove parameters INSN and TO. | |
344 | (decode_svc_copro): Update caller. | |
345 | * arm-tdep.h (struct displaced_step_closure): Remove parameters | |
346 | from function pointer `copy_svc_os'. | |
347 | ||
8c8dba6d YQ |
348 | 2011-04-07 Yao Qi <[email protected]> |
349 | ||
350 | * arm-tdep.c (cleanup_branch): Set a correct return address in | |
351 | LR for ARM and Thumb. | |
352 | ||
59d7bcaf JK |
353 | 2011-04-06 Jan Kratochvil <[email protected]> |
354 | ||
355 | Code cleanup. | |
356 | * dictionary.c (dict_hash): Use SYMBOL_HASH_NEXT. | |
357 | * dwarf2read.c (mapped_index_string_hash): Refer to SYMBOL_HASH_NEXT | |
358 | in the function comment, a new note on values compatibility. | |
359 | * minsyms.c (msymbol_hash_iw, msymbol_hash): Use SYMBOL_HASH_NEXT. | |
360 | * symtab.h (SYMBOL_HASH_NEXT): New. | |
361 | ||
e7db58ea TJB |
362 | 2011-04-06 Thiago Jung Bauermann <[email protected]> |
363 | ||
364 | * ppc-linux-nat.c (check_condition): Add len output parameter. | |
365 | Set it based on the memory region referenced in the condition | |
366 | expression. Update all callers. | |
367 | ||
9f743ef6 JK |
368 | 2011-04-06 Jan Kratochvil <[email protected]> |
369 | ||
370 | Fix crash regression on systems featuring .gdb_index. | |
371 | * objfiles.c (free_objfile): Move the | |
372 | forget_cached_source_info_for_objfile call earlier. Comment it. | |
373 | Extend the comment for objfile_free_data. | |
374 | ||
9182c5bc JK |
375 | 2011-04-06 Jan Kratochvil <[email protected]> |
376 | ||
377 | Fix regression of displaying the debug format. | |
378 | * buildsym.c (end_symtab): Set symtab's debugformat and producer from | |
379 | subfile. | |
380 | ||
04bd08de TT |
381 | 2011-04-04 Tom Tromey <[email protected]> |
382 | ||
383 | * cli/cli-interp.c (struct captured_execute_command_args): | |
384 | Remove. | |
385 | (do_captured_execute_command): Remove. | |
386 | (safe_execute_command): Use TRY_CATCH. | |
387 | * cli/cli-script.c (struct wrapped_read_command_file_args): | |
388 | Remove. | |
389 | (wrapped_read_command_file): Remove. | |
390 | (script_from_file): Use TRY_CATCH. | |
391 | * exceptions.c (catch_exception): Remove. | |
392 | * exceptions.h (catch_exception): Remove. | |
393 | (deprecated_throw_reason): Update comment. | |
394 | * mi/mi-main.c (captured_mi_execute_command): Change 'data' | |
395 | argument to 'context'. | |
396 | (mi_execute_command): Use TRY_CATCH. | |
397 | * remote.c (struct start_remote_args): Remove. | |
398 | (remote_start_remote): Update; change arguments. | |
399 | (remote_open_1): Use TRY_CATCH. | |
400 | ||
58438ac1 TT |
401 | 2011-04-04 Tom Tromey <[email protected]> |
402 | ||
403 | * tracepoint.c (scope_info): Update. | |
404 | * symtab.c (decode_line_spec): Update. | |
405 | * python/python.c (gdbpy_decode_line): Update. | |
406 | * linespec.h (decode_line_1): Update. | |
407 | * linespec.c (decode_line_1): Remove 'not_found_ptr' argument. | |
408 | (decode_compound, find_method, symtab_from_filename) | |
409 | (decode_variable): Likewise. | |
410 | * cli/cli-cmds.c (edit_command): Update. | |
411 | (list_command): Update. | |
412 | * breakpoint.c (parse_breakpoint_sals): Remove 'not_found_ptr' | |
413 | argument. | |
414 | (create_breakpoint): Update. | |
415 | (until_break_command): Update. | |
416 | (addr_string_to_sals): Update. | |
417 | (decode_line_spec_1): Update. | |
418 | ||
b78a6381 TT |
419 | 2011-04-04 Tom Tromey <[email protected]> |
420 | ||
421 | * breakpoint.c (struct captured_parse_breakpoint_args): Remove. | |
422 | (do_captured_parse_breakpoint): Remove. | |
423 | (create_breakpoint): `e' is now volatile. Remove `parse_args'. | |
424 | Use TRY_CATCH directly. | |
425 | ||
00174a86 TT |
426 | 2011-04-04 Tom Tromey <[email protected]> |
427 | ||
428 | * symtab.h (free_symtab): Remove. | |
429 | (forget_cached_source_info_for_objfile): Declare. | |
430 | * symmisc.c (free_symtab): Remove. | |
431 | * source.c (forget_cached_source_info_for_objfile): New function. | |
432 | (forget_cached_source_info): Use it. | |
433 | * objfiles.c (free_objfile): Simplify check before calling | |
434 | clear_current_source_symtab_and_line. Call | |
435 | forget_cached_source_info_for_objfile. | |
436 | ||
30cc903e TT |
437 | 2011-04-04 Tom Tromey <[email protected]> |
438 | ||
439 | * mdebugread.c (psymtab_to_symtab_1): Copy linetable to obstack. | |
440 | (new_symtab): Don't set `free_code' on symtab. | |
441 | (new_linetable): Properly handle size==0. | |
442 | * symtab.h (struct symtab) <free_code, free_func>: Remove. | |
443 | * symmisc.c (free_symtab): Don't free the linetable. Don't call | |
444 | free_func. | |
445 | * jv-lang.c (struct jv_per_objfile_data): New. | |
446 | (jv_per_objfile_free): Free the data. | |
447 | (get_dynamics_objfile): Allocate a jv_per_objfile_data. | |
448 | (get_java_class_symtab): Set the `dict' field on the | |
449 | jv_per_objfile_data. | |
450 | (free_class_block): Remove. | |
451 | * buildsym.c (end_symtab): Don't set `free_code' or `free_func' on | |
452 | the symtab. | |
453 | ||
0c2e6019 TT |
454 | 2011-04-04 Tom Tromey <[email protected]> |
455 | ||
456 | * symfile.c (reread_symbols): Update. | |
457 | * objfiles.h (struct objfile) <cp_namespace_symtab>: Remove | |
458 | field. | |
459 | * objfiles.c (allocate_objfile): Update. | |
460 | * cp-support.h (cp_check_possible_namespace_symbols): Don't | |
461 | declare. | |
462 | * cp-namespace.c (lookup_symbol_file): Don't call | |
463 | lookup_possible_namespace_symbol. | |
464 | (initialize_namespace_symtab, get_possible_namespace_block) | |
465 | (free_namespace_block, cp_check_possible_namespace_symbols) | |
466 | (check_possible_namespace_symbols_loop) | |
467 | (check_one_possible_namespace_symbol) | |
468 | (lookup_possible_namespace_symbol): Remove. | |
469 | (maintenance_cplus_namespace): Replace with notice. | |
470 | (_initialize_cp_namespace): Deprecate `maint cplus namespace'. | |
471 | ||
554d387d TT |
472 | 2011-04-04 Tom Tromey <[email protected]> |
473 | ||
474 | * xcoffread.c (read_xcoff_symtab): Make `debugfmt' const. | |
475 | * symtab.h (struct symtab) <producer, debugformat>: Now const. | |
476 | * symmisc.c (free_symtab): Don't free debugformat. | |
477 | * buildsym.h (struct subfile) <producer, debugformat>: Now const. | |
478 | (record_debugformat, record_producer): Document. | |
479 | * buildsym.c (end_symtab): Don't save debugformat and producer | |
480 | names on obstack. | |
481 | (end_symtab): Don't free debugformat and producer fields. | |
482 | (record_debugformat): Don't call xstrdup. | |
483 | (record_producer): Likewise. | |
484 | ||
d4d4db8a TT |
485 | 2011-04-04 Tom Tromey <[email protected]> |
486 | ||
487 | * source.c (find_source_lines): Remove LSEEK_NOT_LINEAR code. | |
488 | (source_line_charpos, source_charpos_line): Remove. | |
489 | ||
8903c50d TT |
490 | 2011-04-04 Tom Tromey <[email protected]> |
491 | ||
492 | * symtab.h (domain_enum): Split in two... | |
493 | (enum search_domain): New. | |
494 | (search_symbols): Update. | |
495 | * symtab.c (print_symbol_info, symtab_symbol_info): Remove | |
496 | redundant declarations. | |
497 | (search_symbols): Change 'kind' argument to search_domain. | |
498 | Update. | |
499 | (print_symbol_info): Likewise. | |
500 | (symtab_symbol_info): Likewise. | |
501 | * symfile.h (struct quick_symbol_functions) | |
502 | <pre_expand_symtabs_matching>: Change type of 'kind' argument. | |
503 | <expand_symtabs_matching>: Likewise. | |
504 | * psymtab.c (pre_expand_symtabs_matching_psymtabs): Update. | |
505 | (expand_symtabs_matching_via_partial): Update. | |
506 | * dwarf2read.c (dw2_pre_expand_symtabs_matching): Update. | |
507 | (dw2_expand_symtabs_for_function): Update. | |
508 | * block.h: Moved anonymous enum... | |
509 | * defs.h (enum block_enum): ... here. Now named. | |
510 | ||
d9351f5f | 511 | 2011-04-03 Joel Brobecker <[email protected]> |
512 | ||
513 | GDB 7.3 branch created (branch timestamp: 2011-04-01 01:00 UTC) | |
514 | * version.in: Bump version to 7.3.50.20110403-cvs. | |
515 | ||
d6e00af6 JB |
516 | 2011-04-03 Joel Brobecker <[email protected]> |
517 | ||
518 | * NEWS: Create a new section for the next release branch. | |
519 | Rename the section of the current branch, now that it has | |
520 | been cut. | |
521 | ||
2b9e5ea6 UW |
522 | 2011-04-01 Ulrich Weigand <[email protected]> |
523 | ||
524 | * arm-tdep.c (arm_gdbarch_init): Enfore correct register number | |
525 | for "fpscr" in target description. | |
526 | ||
0cf03b49 JK |
527 | 2011-04-01 Jan Kratochvil <[email protected]> |
528 | ||
529 | * dwarf2read.c (find_slot_in_mapped_hash): New variable back_to, | |
530 | initialize it. Delay HASH initialization. Strip the part after open | |
531 | parenthesis for languages with qualifiers. Call do_cleanups. | |
532 | ||
5d901a73 TT |
533 | 2011-04-01 Tom Tromey <[email protected]> |
534 | ||
535 | * utils.c (report_command_stats): Don't print `-' for negative | |
536 | number. | |
537 | ||
b0dd7688 JB |
538 | 2011-04-01 Eric Botcazou <[email protected]> |
539 | ||
540 | * ada-lang.c (ada_is_simple_array_type, ada_value_slice_from_ptr) | |
541 | (ada_value_slice, empty_array, to_fixed_array_type): Deal with | |
542 | typedefs. | |
543 | ||
956a9fb9 JB |
544 | 2011-04-01 Joel Brobecker <[email protected]> |
545 | ||
546 | * breakpoint.h (bpdisp_text): Add declaration. | |
547 | * breakpoint.c (bpdisp_text): Make non-static. | |
548 | * ada-lang.c: #include "mi/mi-common.h". | |
549 | (print_it_exception): Rewrite to improve GDB/MI output. | |
550 | ||
3352110b PA |
551 | 2011-04-01 Pedro Alves <[email protected]> |
552 | ||
553 | * arm-tdep.h (struct address_space): Add forward declaration. | |
554 | ||
18819fa6 UW |
555 | 2011-04-01 Ulrich Weigand <[email protected]> |
556 | ||
557 | * arm-tdep.h (arm_insert_single_step_breakpoint): Add prototype. | |
558 | * arm-tdep.c (arm_override_mode): New global. | |
559 | (arm_pc_is_thumb): Respect arm_override_mode. Remove single-step | |
560 | execution mode heuristics. | |
561 | (thumb_get_next_pc_raw): Remove INSERT_BKTP argument; always insert | |
562 | second single-step breakpoint if needed, using | |
563 | arm_insert_single_step_breakpoint. | |
564 | (arm_get_next_pc_raw): Remove INSERT_BKTP argument. Only handle | |
565 | ARM execution mode, do not call thumb_get_next_pc_raw. | |
566 | (arm_get_next_pc): Encode execution mode in return value. Call | |
567 | either arm_get_next_pc_raw or thumb_get_next_pc_raw. | |
568 | (arm_insert_single_step_breakpoint): New function. | |
569 | (arm_software_single_step): Call it. | |
570 | * arm-linux-tdep.c (arm_linux_sigreturn_return_addr): Add IS_THUMB | |
571 | argument to return execution mode of sigreturn target. | |
572 | (arm_linux_syscall_next_pc): Use it. | |
573 | (arm_linux_copy_svc): Update call. | |
574 | (arm_linux_software_single_step): Call | |
575 | arm_insert_single_step_breakpoint. | |
576 | ||
a6e293d1 JK |
577 | 2011-03-31 Jan Kratochvil <[email protected]> |
578 | ||
579 | * dwarf2read.c (dwarf2_read_index): Fix .gdb_index version number in | |
580 | the comment. | |
581 | ||
a4c8e806 TT |
582 | 2011-03-31 Tom Tromey <[email protected]> |
583 | ||
584 | * varobj.c (update_dynamic_varobj_children): Properly handle | |
585 | errors from iterator. | |
586 | ||
df5c6c50 JK |
587 | 2011-03-31 Jan Kratochvil <[email protected]> |
588 | ||
589 | * dwarf2read.c (dwarf2_name): Initialize DEMANGLED. Avoid demangling | |
590 | struct linkage name twice. | |
591 | ||
1dae3efc TT |
592 | 2011-03-31 Tom Tromey <[email protected]> |
593 | ||
594 | * python/py-prettyprint.c (print_stack_unless_memory_error): Add | |
595 | missing ">" to message. | |
596 | ||
f4f7ab05 TT |
597 | 2011-03-31 Tom Tromey <[email protected]> |
598 | ||
599 | * varobj.c (instantiate_pretty_printer): Remove duplicate | |
600 | 'return'. | |
601 | ||
fcf250e2 UW |
602 | 2011-03-31 Ulrich Weigand <[email protected]> |
603 | ||
604 | * i386-tdep.c (i386_frame_prev_register): Unwind SP from memory | |
605 | if neither saved value nor register available (e.g. signal frame). | |
606 | ||
ee6436e3 TJB |
607 | 2011-03-31 Thiago Jung Bauermann <[email protected]> |
608 | ||
609 | * macroexp.c (expand): Avoid uninitialized variable | |
610 | compiler warning. | |
611 | ||
423f41a5 TJB |
612 | 2011-03-31 Thiago Jung Bauermann <[email protected]> |
613 | ||
614 | * breakpoint.c (break_range_command): Fix typo in comment. | |
615 | ||
f1310107 TJB |
616 | 2011-03-31 Thiago Jung Bauermann <[email protected]> |
617 | Sergio Durigan Junior <[email protected]> | |
618 | ||
619 | Implement support for PowerPC BookE ranged breakpoints. | |
620 | * NEWS: Mention support for ranged breakpoints on embedded PowerPC. | |
621 | * breakpoint.h (struct bp_target_info) <length>: New member | |
622 | variable. | |
623 | (struct breakpoint_ops) <breakpoint_hit>: Take struct bp_location | |
624 | instead of struct breakpoint as argument, and also add ASPACE | |
625 | and BP_ADDR arguments. Update all callers. | |
626 | (struct breakpoint_ops) <print_one_detail>: New method. | |
627 | (struct breakpoint) <addr_string_range_end>: New member variable. | |
628 | * breakpoint.c (breakpoint_location_address_match): Add function | |
629 | prototype. | |
630 | (insert_bp_location): Set bl->target_info.length. | |
631 | (breakpoint_here_p): Call breakpoint_location_address_match. | |
632 | (moribund_breakpoint_here_p): Likewise. | |
633 | (regular_breakpoint_inserted_here_p): Likewise. | |
634 | (breakpoint_thread_match): Likewise. | |
635 | (bpstat_stop_status): Likewise. | |
636 | (bpstat_check_location): Move call to | |
637 | breakpoint_ops.breakpoint_hit to the top. | |
638 | (print_one_breakpoint_location): Call | |
639 | breakpoint_ops.print_one_detail if available. | |
640 | (breakpoint_address_match_range): New function. | |
641 | (breakpoint_location_address_match): Likewise. | |
642 | (breakpoint_locations_match): Compare the length field of the | |
643 | locations too. | |
644 | (hw_breakpoint_used_count): Count resources used by all locations | |
645 | in a breakpoint, and use breakpoint_ops.resources_needed if | |
646 | available. | |
647 | (breakpoint_hit_ranged_breakpoint): New function. | |
648 | (resources_needed_ranged_breakpoint): Likewise. | |
649 | (print_it_ranged_breakpoint): Likewise. | |
650 | (print_one_ranged_breakpoint): Likewise. | |
651 | (print_one_detail_ranged_breakpoint): Likewise. | |
652 | (print_mention_ranged_breakpoint): Likewise. | |
653 | (print_recreate_ranged_breakpoint): Likewise. | |
654 | (ranged_breakpoint_ops): New structure. | |
655 | (find_breakpoint_range_end): New function. | |
656 | (break_range_command): Likewise. | |
657 | (delete_breakpoint): Free addr_string_range_end. | |
658 | (update_breakpoint_locations): Add SALS_END argument. Update | |
659 | all callers. Calculate breakpoint length if a non-zero SALS_END | |
660 | is given. Call breakpoint_locations_match instead of | |
661 | breakpoint_address_match. | |
662 | (reset_breakpoint): Find SaL of the end of the range if B is a | |
663 | ranged breakpoint. | |
664 | (_initialize_breakpoint): Register break-range command. | |
665 | * defs.h (print_core_address): Add function prototype. | |
666 | * ppc-linux-nat.c (ppc_linux_ranged_break_num_registers): New | |
667 | function. | |
668 | (ppc_linux_insert_hw_breakpoint): Support ranged breakpoints. | |
669 | (ppc_linux_remove_hw_breakpoint): Likewise. | |
670 | (_initialize_ppc_linux_nat): Initialize | |
671 | to_ranged_break_num_registers. | |
672 | * target.c (update_current_target): Add comment about | |
673 | to_ranged_break_num_registers. | |
674 | (target_ranged_break_num_registers): New function. | |
675 | * target.h (struct target_ops) <to_ranged_break_num_registers>: | |
676 | New method. | |
677 | (target_ranged_break_num_registers): Add function prototype. | |
678 | * ui-out.c (ui_out_field_core_addr): Move address-printing logic to ... | |
679 | * utils.c (print_core_address): ... here. | |
680 | ||
02d20e4a UW |
681 | 2011-03-31 Ulrich Weigand <[email protected]> |
682 | ||
683 | * breakpoint.c (addr_string_to_sals): Avoid uninitialized | |
684 | variable compiler warning. | |
685 | ||
ef23e705 TJB |
686 | 2011-03-30 Thiago Jung Bauermann <[email protected]> |
687 | ||
688 | * breakpoint.c (breakpoint_re_set_one): Factor out breakpoint-resetting | |
689 | code from here ... | |
690 | (re_set_breakpoint): ... to here ... | |
691 | (addr_string_to_sals): ... and here. | |
692 | ||
311e6ab3 PM |
693 | 2011-03-29 Pierre Muller <[email protected]> |
694 | ||
695 | * Makefile.in (SFILES): Add missing C sources. | |
696 | (HFILES_NO_SRCDIR): Remove gdbserver subdirectory headers. | |
697 | Add missing headers. | |
698 | ||
acd1d99c MF |
699 | 2011-03-29 Mike Frysinger <[email protected]> |
700 | ||
701 | * .gitignore: New file. | |
702 | ||
66ee2731 MF |
703 | 2011-03-29 Mike Frysinger <[email protected]> |
704 | ||
705 | * NEWS: Mention new cfi device simulation. | |
706 | ||
53832f31 TT |
707 | 2011-03-29 Tom Tromey <[email protected]> |
708 | ||
709 | * dwarf2read.c (fixup_partial_die): Handle linkage name on | |
710 | otherwise anonymous types. | |
711 | (dwarf2_name): Likewise. | |
712 | * valops.c (value_struct_elt_for_reference): Refine artificial | |
713 | type logic. Call error if j==-1. | |
714 | ||
09b58708 JK |
715 | 2011-03-29 Andreas Tobler <[email protected]> |
716 | ||
717 | Fix false GCC warning. | |
718 | * infcall.c (find_function_addr): Initialize funaddr. | |
719 | ||
6023c606 PM |
720 | 2011-03-29 Pierre Muller <[email protected]> |
721 | ||
722 | Fix mingw compilation with --enable-targets=all. | |
723 | * remote-mips.c (gdb_usleep.h): Include header. | |
724 | (mips_enter_debug): Use gdb_usleep instead of sleep. | |
725 | ||
0e30163f JK |
726 | 2011-03-28 Jan Kratochvil <[email protected]> |
727 | ||
728 | Support resolution of STT_GNU_IFUNC via breakpoints. | |
729 | * breakpoint.c (print_it_typical): Support bp_gnu_ifunc_resolver and | |
730 | bp_gnu_ifunc_resolver_return. | |
731 | (bpstat_what): Rename parameter to bs_head, new variable bs, adjust | |
732 | the loop. Support bp_gnu_ifunc_resolver and | |
733 | bp_gnu_ifunc_resolver_return. New comment after the loop. New loop | |
734 | for bp_gnu_ifunc_resolver and bp_gnu_ifunc_resolver_return | |
735 | breakpoints. | |
736 | (bptype_string, print_one_breakpoint_location): Support | |
737 | bp_gnu_ifunc_resolver and bp_gnu_ifunc_resolver_return. | |
738 | (user_settable_breakpoint): Return true also for | |
739 | bp_gnu_ifunc_resolver. | |
740 | (allocate_bp_location): Support bp_gnu_ifunc_resolver and | |
741 | bp_gnu_ifunc_resolver_return. | |
742 | (set_breakpoint_location_function): New parameter explicit_loc, | |
743 | describe it. Call find_pc_partial_function_gnu_ifunc with new | |
744 | variable IS_GNU_IFUNC and adjust the address for STT_GNU_IFUNC if | |
745 | EXPLICIT_LOC is not set. | |
746 | (set_raw_breakpoint): Set EXPLICIT_LOC for | |
747 | set_breakpoint_location_function. | |
748 | (clone_momentary_breakpoint): Use true for EXPLICIT_LOC of | |
749 | set_breakpoint_location_function. | |
750 | (mention): Support bp_gnu_ifunc_resolver and | |
751 | bp_gnu_ifunc_resolver_return. | |
752 | (add_location_to_breakpoint): Set EXPLICIT_LOC for | |
753 | set_breakpoint_location_function. | |
754 | (update_breakpoint_locations): Remove static. | |
755 | (breakpoint_re_set_one): Support bp_gnu_ifunc_resolver and | |
756 | bp_gnu_ifunc_resolver_return. | |
757 | * breakpoint.h (enum bptype): New fields bp_gnu_ifunc_resolver and | |
758 | bp_gnu_ifunc_resolver_return. | |
759 | (update_breakpoint_locations): New declaration. | |
760 | * elfread.c: Include gdbthread.h and regcache.h. | |
761 | (elf_gnu_ifunc_resolver_stop, elf_gnu_ifunc_resolver_return_stop): New | |
762 | functions. | |
763 | (elf_gnu_ifunc_fns): Install them. | |
764 | * minsyms.c (stub_gnu_ifunc_resolver_stop) | |
765 | (stub_gnu_ifunc_resolver_return_stop): New functions. | |
766 | (stub_gnu_ifunc_fns): Install them. | |
767 | * symtab.h (struct gnu_ifunc_fns): New fields gnu_ifunc_resolver_stop | |
768 | and gnu_ifunc_resolver_return_stop. | |
769 | (gnu_ifunc_resolver_stop, gnu_ifunc_resolver_return_stop): New. | |
770 | ||
07be84bf JK |
771 | 2011-03-28 Jan Kratochvil <[email protected]> |
772 | ||
773 | STT_GNU_IFUNC reader implementation. | |
774 | * elfread.c: Include gdbtypes.h, value.h and infcall.h. | |
775 | (SYMBOL_GOT_PLT_SUFFIX, elf_rel_plt_read) | |
776 | (elf_objfile_gnu_ifunc_cache_data, struct elf_gnu_ifunc_cache) | |
777 | (elf_gnu_ifunc_cache_hash, elf_gnu_ifunc_cache_eq) | |
778 | (elf_gnu_ifunc_record_cache, elf_gnu_ifunc_resolve_by_cache) | |
779 | (elf_gnu_ifunc_resolve_by_got, elf_gnu_ifunc_resolve_name) | |
780 | (elf_gnu_ifunc_resolve_addr): New. | |
781 | (elf_symfile_read): Call elf_rel_plt_read. | |
782 | (elf_gnu_ifunc_fns): New. | |
783 | (_initialize_elfread): Initialize elf_objfile_gnu_ifunc_cache_data. | |
784 | Install elf_gnu_ifunc_fns. | |
785 | * infcall.c (find_function_return_type): New function. | |
786 | (find_function_addr): Resolve TYPE_GNU_IFUNC functions, if possible. | |
787 | * minsyms.c (stub_gnu_ifunc_resolve_addr) | |
788 | (stub_gnu_ifunc_resolve_name): New functions. | |
789 | (stub_gnu_ifunc_fns, gnu_ifunc_fns_p): New variables. | |
790 | * symtab.h (struct gnu_ifunc_fns, gnu_ifunc_resolve_addr) | |
791 | (gnu_ifunc_resolve_name, gnu_ifunc_fns_p): New. | |
792 | ||
300f8e10 JK |
793 | 2011-03-28 Jan Kratochvil <[email protected]> |
794 | ||
795 | Code cleanup for later STT_GNU_IFUNC support. | |
796 | * infcall.c (find_function_addr): Remove variable code, use explicit | |
797 | dereferences for it. Move VALUE_TYPE initialization later. | |
798 | ||
11c81455 JK |
799 | 2011-03-28 Jan Kratochvil <[email protected]> |
800 | ||
801 | GDB find_pc_partial_function support for STT_GNU_IFUNC. | |
802 | * blockframe.c (cache_pc_function_is_gnu_ifunc): New variable. | |
803 | (clear_pc_function_cache): Clear it. | |
804 | (find_pc_partial_function): Rename to ... | |
805 | (find_pc_partial_function_gnu_ifunc): ... this function. New | |
806 | parameter is_gnu_ifunc_p, describe it. Set *IS_GNU_IFUNC_P. | |
807 | (find_pc_partial_function): New wrapper for this function. | |
808 | * symtab.h (find_pc_partial_function_gnu_ifunc): New declaration. | |
809 | ||
0875794a JK |
810 | 2011-03-28 Jan Kratochvil <[email protected]> |
811 | ||
812 | GDB internal type support for STT_GNU_IFUNC. | |
813 | * elfread.c (record_minimal_symbol): Support mst_text_gnu_ifunc. | |
814 | (elf_symtab_read): Set mst_text_gnu_ifunc for | |
815 | BSF_GNU_INDIRECT_FUNCTION. | |
816 | * eval.c (evaluate_subexp_standard): Support TYPE_GNU_IFUNC. | |
817 | * gdbtypes.c (init_type): Support TYPE_FLAG_GNU_IFUNC, | |
818 | builtin_func_func, nodebug_text_gnu_ifunc_symbol and | |
819 | nodebug_got_plt_symbol. | |
820 | * gdbtypes.h (enum type_flag_value): New entry TYPE_FLAG_GNU_IFUNC. | |
821 | (TYPE_GNU_IFUNC): New. | |
822 | (struct main_type): New field flag_gnu_ifunc. | |
823 | (struct builtin_type): New field builtin_func_func. | |
824 | (struct objfile_type): New fields nodebug_text_gnu_ifunc_symbol and | |
825 | nodebug_got_plt_symbol. | |
826 | * minsyms.c (lookup_minimal_symbol_text): Support mst_text_gnu_ifunc. | |
827 | (in_gnu_ifunc_stub): New. | |
828 | (prim_record_minimal_symbol, find_solib_trampoline_target): Support | |
829 | mst_text_gnu_ifunc. | |
830 | * parse.c (write_exp_msymbol): New variable ifunc_msym. Detect and | |
831 | support mst_text_gnu_ifunc. Support mst_slot_got_plt. | |
832 | * solib-svr4.c (svr4_in_dynsym_resolve_code): Return true also for | |
833 | in_gnu_ifunc_stub. | |
834 | * symmisc.c (dump_msymbols): Support mst_text_gnu_ifunc. | |
835 | * symtab.c (search_symbols): Likewise. | |
836 | * symtab.h (enum minimal_symbol_type): New fields mst_text_gnu_ifunc | |
837 | and mst_slot_got_plt. | |
838 | (in_gnu_ifunc_stub): New declaration. | |
839 | ||
d0fb5eae JK |
840 | 2011-03-28 Jan Kratochvil <[email protected]> |
841 | ||
842 | Support a ring of related breakpoints. | |
843 | * breakpoint.c (watchpoint_del_at_next_stop): New, move here code from | |
844 | other functions, add gdb_assert. | |
845 | (update_watchpoint, watchpoint_check): Add gdb_assert. Use | |
846 | watchpoint_del_at_next_stop. | |
847 | (bpstat_check_watchpoint): Use watchpoint_del_at_next_stop. | |
848 | (bpstat_stop_status): Handle ring in related_breakpoint. | |
849 | (set_raw_breakpoint_without_location): Initialize ring in | |
850 | related_breakpoint. | |
851 | (delete_breakpoint): Handle ring in related_breakpoint, use | |
852 | watchpoint_del_at_next_stop. | |
853 | (map_breakpoint_numbers): Handle ring in related_breakpoint. | |
854 | ||
9cded63f TT |
855 | 2011-03-28 Tom Tromey <[email protected]> |
856 | ||
857 | PR symtab/12441: | |
858 | * dwarf2read.c (prepare_one_comp_unit): Don't call set_cu_language | |
859 | with `language_minimal'. | |
860 | ||
467d42c4 UW |
861 | 2011-03-25 Ulrich Weigand <[email protected]> |
862 | ||
863 | * arm-tdep.c (arm_elf_make_msymbol_special): Use ARM_SYM_BRANCH_TYPE | |
864 | instead of checking for STT_ARM_TFUNC symbol type. | |
865 | ||
62853458 TT |
866 | 2011-03-25 Tom Tromey <[email protected]> |
867 | ||
868 | * linespec.c (symbol_found): Restore line-based result for | |
869 | non-LOC_LABEL symbols. | |
870 | ||
a7417d46 KT |
871 | 2011-03-25 Kai Tietz <[email protected]> |
872 | ||
873 | * tui/tui-source.c (tui_set_source_content): Use filename_cmp | |
874 | instead of strcmp for comparison. | |
875 | (tui_source_is_displayed): Likewise. | |
876 | * tui/tui-winsource.c (tui_update_breakpoint_info): Likewise. | |
877 | ||
55f1336d TT |
878 | 2011-03-24 Mark Wielaard <[email protected]> |
879 | ||
880 | * dwarf2read.c (lookup_signatured_type): Use DW_FORM_ref_sig8 in | |
881 | complaint. | |
882 | (skip_one_die): Use DW_FORM_ref_sig8, not DW_FORM_sig8. | |
883 | (find_partial_die_in_comp_unit): Likewise in comment. | |
884 | (read_attribute_value): Likewise. | |
885 | (lookup_die_type): Likewise. | |
886 | (dwarf_form_name): Likewise. | |
887 | (dump_die_shallow): Likewise. | |
888 | (follow_die_ref_or_sig): Likewise. | |
889 | ||
9ef07c8c TT |
890 | 2011-03-24 Tom Tromey <[email protected]> |
891 | ||
892 | PR breakpoints/11816: | |
893 | * linespec.c (decode_line_1): Parse `function:label' linespecs. | |
894 | (decode_compound): Update. | |
895 | (find_function_symbol): New function. | |
896 | (decode_dollar): Update. | |
897 | (decode_label): Add 'function_symbol' parameter. Handle | |
898 | function-relative labels. | |
899 | (decode_variable): Update. | |
900 | (symbol_found): Add 'function_symbol' parameter. Use label's PC, | |
901 | not its line. Set `special_display' and canonical name for | |
902 | labels. | |
903 | ||
56435ebe TT |
904 | 2011-03-24 Tom Tromey <[email protected]> |
905 | ||
906 | * linespec.h (struct linespec_result) <special_display>: New | |
907 | field. | |
908 | * breakpoint.h (struct breakpoint) <display_canonical>: New | |
909 | field. | |
910 | * breakpoint.c (print_breakpoint_location): Respect | |
911 | display_canonical. | |
912 | (create_breakpoint_sal): Add 'display_canonical' parameter. | |
913 | (create_breakpoints_sal): Update. | |
914 | (create_breakpoint): Update. | |
915 | ||
7efd8fc2 TT |
916 | 2011-03-24 Tom Tromey <[email protected]> |
917 | ||
918 | * symtab.c (decode_line_spec): Update. | |
919 | * linespec.c (build_canonical_line_spec): Change type of | |
920 | 'canonical'. | |
921 | (decode_line_2, decode_line_1, decode_objc, decode_compound) | |
922 | (find_method, decode_all_digits, decode_dollar, decode_label) | |
923 | (symbol_found): Likewise. | |
924 | (init_linespec_result): New function. | |
925 | * breakpoint.c (struct captured_parse_breakpoint_args) | |
926 | <canonical_p>: New field, replaces addr_string_p. | |
927 | (create_breakpoints_sal): Add 'canonical' parameter, replacing | |
928 | 'addr_string'. | |
929 | (parse_breakpoint_sals): Likewise. | |
930 | (do_captured_parse_breakpoint): Update. | |
931 | (create_breakpoint): Use struct linespec_result. | |
932 | (until_break_command): Update. | |
933 | (breakpoint_re_set_one): Update. | |
934 | (decode_line_spec_1): Update. | |
935 | * linespec.h (struct linespec_result): New. | |
936 | (init_linespec_result): Declare. | |
937 | ||
788c8b10 PA |
938 | 2011-03-23 Pedro Alves <[email protected]> |
939 | ||
940 | * regcache.c (regcache_raw_read): If the target didn't supply a | |
941 | given raw register, mark it as unavailable. | |
942 | ||
0ba1096a KT |
943 | 2011-03-23 Kai Tietz <[email protected]> |
944 | ||
945 | * breakpoint.c (clear_command): Use filename_cmp | |
946 | instead of strcmp for comparison. | |
947 | * buildsym.c (watch_main_source_file_lossage): Likewise. | |
948 | (patch_subfile_names): Use IS_DIR_SEPARATOR instead of | |
949 | checking just for slash. | |
950 | * dbxread.c (read_dbx_symtab): Use lbasename instead of | |
951 | strrchr and filename_cmp instead of strcmp for filenames. | |
952 | (add_old_header_file): Use filename_cmp | |
953 | instead of strcmp for comparison. | |
954 | * exec.c (exec_set_section_address): Likewise. | |
955 | * macrotab.c (macro_lookup_inclusion): Likewise. | |
956 | (macro_lookup_inclusion): Likewise. | |
957 | * elfread.c (_initialize_elfread): Likewise. | |
958 | (elfstab_offset_sections): Likewise. | |
959 | (elfstab_offset_sections): Use lbasename instead of | |
960 | strrchr. | |
961 | * mdebugread.c (parse_partial_symbols): Likewise. | |
962 | (arse_partial_symbols): Use filename_(n)cmp instead of | |
963 | str(n)cmp for comparison. | |
964 | * minsyms.c (lookup_minimal_symbol): Likewise. | |
965 | * psymtab.c (read_psymtabs_with_filename): Likewise. | |
966 | * solib.c (solib_read_symbols): Likewise. | |
967 | (reload_shared_libraries_1): Likewise. | |
968 | * symmisc.c (maintenance_print_symbols): Likewise. | |
969 | * symfile.c (separate_debug_file_exists): Likewise. | |
970 | (reread_symbols): Likewise. | |
971 | (find_separate_debug_file_by_debuglink): Likewise. | |
972 | * remote-fileio.c (remote_fileio_func_rename): Likewise. | |
973 | * source.c (add_path): Likewise. | |
974 | * symtab.c (filename_seen): Likewise. | |
975 | (file_matches): Likewise. | |
976 | (print_symbol_info): Likewise. | |
977 | (maybe_add_partial_symtab_filename): Likewise. | |
978 | (make_source_files_completion_list): Likewise. | |
979 | * xml-syscall.c (init_sysinfo): Likewise. | |
980 | * windows-nat.c (_initialize_check_for_gdb_ini): Use | |
981 | IS_DIR_SEPARATOR for checking for trailing path separator. | |
982 | ||
dd90784c JK |
983 | 2011-03-22 Jan Kratochvil <[email protected]> |
984 | ||
985 | * dwarf2expr.c (execute_stack_op): Handle DW_OP_GNU_entry_value. New | |
986 | label abort_expression. | |
987 | * dwarf2loc.c (dwarf2_evaluate_loc_desc_full): Handle | |
988 | DWARF_VALUE_OPTIMIZED_OUT. | |
989 | ||
3167638f JK |
990 | 2011-03-22 Jan Kratochvil <[email protected]> |
991 | ||
992 | Code cleanup. | |
993 | * c-typeprint.c (c_type_print_args): Change parameter show_artificial | |
994 | to linkage_name. Invert its value. Update the function comment. | |
995 | (c_type_print_varspec_suffix): Invert it at the caller. | |
996 | * dwarf2read.c (dwarf2_compute_name): Invert it at the caller. | |
997 | ||
ce406537 PA |
998 | 2011-03-22 Pedro Alves <[email protected]> |
999 | ||
1000 | * infcmd.c (post_create_inferior): Ignore NOT_AVAILABLE_ERROR | |
1001 | errors when reading the `stop_pc'. | |
1002 | * printcmd.c (pc_prefix): Use get_frame_pc_if_available instead of | |
1003 | get_frame_pc. | |
1004 | ||
da5d4055 PM |
1005 | 2011-03-22 Phil Muldoon <[email protected]> |
1006 | ||
1007 | * NEWS: Document gdb.Write stream keyword. | |
1008 | ||
29e0eb9c JK |
1009 | 2011-03-22 Jan Kratochvil <[email protected]> |
1010 | ||
1011 | Revert: | |
1012 | 2011-03-21 Jan Kratochvil <[email protected]> | |
1013 | * dwarf2read.c (producer_is_gxx_lt_4_6): New function. | |
1014 | (dwarf2_add_field): Fix new_field->accessibility for | |
1015 | cu->header.version >= 3 while verifying also producer_is_gxx_lt_4_6. | |
1016 | ||
05775840 PM |
1017 | 2011-03-22 Phil Muldoon <[email protected]> |
1018 | ||
1019 | PR python/12183 | |
1020 | ||
1021 | * python/py-function.c (fnpy_call): Treat GdbErrors differently to | |
1022 | other error classes. Do not print stack trace. | |
1023 | ||
a0cb7835 JK |
1024 | 2011-03-21 Jan Kratochvil <[email protected]> |
1025 | ||
1026 | * dwarf2read.c (producer_is_gxx_lt_4_6): New function. | |
1027 | (dwarf2_add_field): Fix new_field->accessibility for | |
1028 | cu->header.version >= 3 while verifying also producer_is_gxx_lt_4_6. | |
1029 | ||
d19f7eee UW |
1030 | 2011-03-21 Ulrich Weigand <[email protected]> |
1031 | ||
1032 | * arm-tdep.c (arm_analyze_prologue): Do not abort parsing when | |
1033 | encountering a load via a non-SP register. | |
1034 | ||
4a2fbb50 UW |
1035 | 2011-03-21 Ulrich Weigand <[email protected]> |
1036 | ||
1037 | * tramp-frame.c (tramp_frame_prepend_unwinder): Set stop_reason | |
1038 | field in returned unwinder. | |
1039 | ||
3489610d JB |
1040 | 2012-03-21 Jan Kratochvil <[email protected]> |
1041 | ||
1042 | * ada-lang.c (replace_operator_with_call): Copy also GDBARCH. | |
1043 | ||
8c1a34e7 JB |
1044 | 2012-03-21 Joel Brobecker <[email protected]> |
1045 | ||
1046 | * ada-lang.c (replace_operator_with_call): Use xzalloc instead | |
1047 | of xmalloc. | |
1048 | ||
8fbca658 PA |
1049 | 2012-03-18 Pedro Alves <[email protected]> |
1050 | ||
1051 | * frame.c (frame_unwind_register): Throw an error if unwinding the | |
1052 | register failed. | |
1053 | * get_prev_frame_1 (get_prev_frame_1): Ask the unwinder if there's | |
1054 | an unwind stop reason. | |
1055 | (frame_stop_reason_string): Handle UNWIND_UNAVAILABLE. | |
1056 | * frame.h (enum unwind_stop_reason) <UNWIND_OUTERMOST, | |
1057 | UNWIND_UNAVAILABLE>: New. | |
1058 | * inline-frame.c (inline_frame_unwind): Install | |
1059 | default_frame_unwind_stop_reason. | |
1060 | * frame-unwind.c: Include "exceptions.h". | |
1061 | (frame_unwind_find_by_frame): Swallow NOT_AVAILABLE_ERROR errors. | |
1062 | (default_frame_unwind_stop_reason): New. | |
1063 | * frame-unwind.h (frame_unwind_stop_reason_ftype): New typedef. | |
1064 | (default_frame_unwind_stop_reason): Declare. | |
1065 | (struct frame_unwind) <stop_reason>: New function pointer. | |
1066 | ||
1067 | * dummy-frame.c: Install default_frame_unwind_stop_reason. | |
1068 | * dwarf2-frame.c: Include exceptions.h. | |
1069 | (struct dwarf2_frame_cache) <unavailable_retaddr>: New field. | |
1070 | (dwarf2_frame_cache): Swallow NOT_AVAILABLE_ERROR errors when | |
1071 | computing the CFA. If such an error was thrown, set | |
1072 | unavailable_retaddr. | |
1073 | (dwarf2_frame_unwind_stop_reason): New. | |
1074 | (dwarf2_frame_this_id): Don't build a frame id if the CFA was | |
1075 | unavailable. | |
1076 | (dwarf2_frame_unwind): Install dwarf2_frame_unwind_stop_reason. | |
1077 | (dwarf2_signal_frame_unwind): Ditto. | |
1078 | ||
1079 | * amd64-tdep.c: Include "exceptions.h". | |
1080 | (struct amd64_frame_cache): New field "base_p". | |
1081 | (amd64_init_frame_cache): Clear it. | |
1082 | (amd64_frame_cache_1): New, factored out from amd64_frame_cache. | |
1083 | Avoid reading registers with functions that throw if the register | |
1084 | is not necessary to compute the frame base. | |
1085 | (amd64_frame_cache): Reimplement wrapping amd64_frame_cache_1, and | |
1086 | swallowing NOT_AVAILABLE_ERROR. | |
1087 | (amd64_frame_unwind_stop_reason): New. | |
1088 | (amd64_frame_this_id): Don't build a frame id if the frame base | |
1089 | was unavailable. | |
1090 | (amd64_frame_unwind): Install amd64_frame_unwind_stop_reason. | |
1091 | (amd64_sigtramp_frame_cache): Swallow NOT_AVAILABLE_ERROR, and set | |
1092 | base_p if the frame base was computable. | |
1093 | (amd64_sigtramp_frame_unwind_stop_reason): New. | |
1094 | (amd64_sigtramp_frame_this_id): Don't build a frame id if the | |
1095 | frame base was unavailable. | |
1096 | (amd64_sigtramp_frame_unwind): Install | |
1097 | amd64_sigtramp_frame_unwind_stop_reason. | |
1098 | (amd64_epilogue_frame_cache): Swallow NOT_AVAILABLE_ERROR, and set | |
1099 | base_p if the frame base was computable. | |
1100 | (amd64_epilogue_frame_unwind_stop_reason): New. | |
1101 | (amd64_epilogue_frame_this_id): Don't build a frame id if the | |
1102 | frame base was unavailable. | |
1103 | (amd64_epilogue_frame_unwind): Install | |
1104 | amd64_epilogue_frame_unwind_stop_reason. | |
1105 | * i386-tdep.c: Include "exceptions.h". | |
1106 | (struct i386_frame_cache): New field "base_p". | |
1107 | (i386_init_frame_cache): Clear it. | |
1108 | (i386_frame_cache_1): New, factored out from amd64_frame_cache. | |
1109 | Avoid reading registers with functions that throw if the register | |
1110 | is not necessary to compute the frame base. | |
1111 | (i386_frame_cache): Reimplement wrapping amd64_frame_cache_1, and | |
1112 | swallowing NOT_AVAILABLE_ERROR. | |
1113 | (i386_frame_unwind_stop_reason): New. | |
1114 | (i386_frame_this_id): Don't build a frame id if the frame base was | |
1115 | unavailable. | |
1116 | (i386_frame_prev_register): Handle unavailable SP. | |
1117 | (i386_frame_unwind): Install i386_frame_unwind_stop_reason. | |
1118 | (i386_epilogue_frame_cache): Swallow NOT_AVAILABLE_ERROR, and set | |
1119 | base_p if the frame base was computable. | |
1120 | (i386_epilogue_frame_unwind_stop_reason): New. | |
1121 | (i386_epilogue_frame_this_id): Don't build a frame id if the frame | |
1122 | base was unavailable. | |
1123 | (i386_epilogue_frame_unwind): Install | |
1124 | i386_epilogue_frame_unwind_stop_reason. | |
1125 | (i386_sigtramp_frame_cache): Swallow NOT_AVAILABLE_ERROR, and set | |
1126 | base_p if the frame base was computable. | |
1127 | (i386_sigtramp_frame_unwind_stop_reason): New. | |
1128 | (i386_sigtramp_frame_this_id): Don't build a frame id if the frame | |
1129 | base was unavailable. | |
1130 | (i386_sigtramp_frame_unwind): Install | |
1131 | i386_sigtramp_frame_unwind_stop_reason. | |
1132 | * sentinel-frame.c (sentinel_frame_prev_register): Use the value | |
1133 | type's size, not the register's. | |
1134 | (sentinel_frame_unwind): Install default_frame_unwind_stop_reason. | |
1135 | ||
1136 | * alpha-mdebug-tdep.c (alpha_mdebug_frame_unwind): Install | |
1137 | default_frame_unwind_stop_reason. | |
1138 | * alpha-tdep.c (alpha_sigtramp_frame_unwind) | |
1139 | (alpha_heuristic_frame_unwind): Ditto. | |
1140 | * amd64obsd-tdep.c (amd64obsd_trapframe_unwind): Ditto. | |
1141 | * arm-tdep.c (arm_prologue_unwind, arm_stub_unwind): Ditto. | |
1142 | * avr-tdep.c (avr_frame_unwind): Ditto. | |
1143 | * cris-tdep.c (cris_sigtramp_frame_unwind, cris_frame_unwind): | |
1144 | Ditto. | |
1145 | * frv-linux-tdep.c (frv_linux_sigtramp_frame_unwind): Ditto. | |
1146 | * frv-tdep.c (frv_frame_unwind): Ditto. | |
1147 | * h8300-tdep.c (h8300_frame_unwind): Ditto. | |
1148 | * hppa-hpux-tdep.c (hppa_hpux_sigtramp_frame_unwind): Ditto. | |
1149 | * hppa-linux-tdep.c (hppa_linux_sigtramp_frame_unwind): Ditto. | |
1150 | * hppa-tdep.c (hppa_frame_unwind, hppa_fallback_frame_unwind) | |
1151 | (hppa_stub_frame_unwind): Ditto. | |
1152 | * i386obsd-tdep.c (i386obsd_trapframe_unwind): Ditto. | |
1153 | * ia64-tdep.c (ia64_frame_unwind, ia64_sigtramp_frame_unwind) | |
1154 | (ia64_libunwind_frame_unwind) | |
1155 | (ia64_libunwind_sigtramp_frame_unwind): Ditto. | |
1156 | * iq2000-tdep.c (iq2000_frame_unwind): Ditto. | |
1157 | * lm32-tdep.c (lm32_frame_unwind): Ditto. | |
1158 | * m32c-tdep.c (m32c_unwind): Ditto. | |
1159 | * m32r-linux-tdep.c (m32r_linux_sigtramp_frame_unwind): Ditto. | |
1160 | * m32r-tdep.c (m32r_frame_unwind): Ditto. | |
1161 | * m68hc11-tdep.c (m68hc11_frame_unwind): Ditto. | |
1162 | * m68k-tdep.c (m68k_frame_unwind): Ditto. | |
1163 | * m68klinux-tdep.c (m68k_linux_sigtramp_frame_unwind): Ditto. | |
1164 | * m88k-tdep.c (m88k_frame_unwind): Ditto. | |
1165 | * mep-tdep.c (mep_frame_unwind): Ditto. | |
1166 | * microblaze-tdep.c (microblaze_frame_unwind): Ditto. | |
1167 | * mips-tdep.c (mips_insn16_frame_unwind, mips_insn32_frame_unwind) | |
1168 | (mips_stub_frame_unwind): Ditto. | |
1169 | * mn10300-tdep.c (mn10300_frame_unwind): Ditto. | |
1170 | * moxie-tdep.c (moxie_frame_unwind): Ditto. | |
1171 | * mt-tdep.c (mt_frame_unwind): Ditto. | |
1172 | * ppc-linux-tdep.c (ppu2spu_unwind): Ditto. | |
1173 | * ppcobsd-tdep.c (ppcobsd_sigtramp_frame_unwind): Ditto. | |
1174 | * rs6000-tdep.c (rs6000_frame_unwind): Ditto. | |
1175 | * s390-tdep.c (s390_frame_unwind, s390_stub_frame_unwind) | |
1176 | (s390_sigtramp_frame_unwind): Ditto. | |
1177 | * score-tdep.c (score_prologue_unwind): Ditto. | |
1178 | * sh-tdep.c (sh_frame_unwind): Ditto. | |
1179 | * sh64-tdep.c (sh64_frame_unwind): Ditto. | |
1180 | * sparc-sol2-tdep.c (sparc32_sol2_sigtramp_frame_unwind): Ditto. | |
1181 | * sparc-tdep.c (sparc32_frame_unwind): Ditto. | |
1182 | * sparc64-sol2-tdep.c (sparc64_sol2_sigtramp_frame_unwind): Ditto. | |
1183 | * sparc64-tdep.c (sparc64_frame_unwind): Ditto. | |
1184 | * sparc64fbsd-tdep.c (sparc64fbsd_sigtramp_frame_unwind): Ditto. | |
1185 | * sparc64nbsd-tdep.c (sparc64nbsd_sigcontext_frame_unwind): Ditto. | |
1186 | * sparc64obsd-tdep.c (sparc64obsd_frame_unwind) | |
1187 | (sparc64obsd_trapframe_unwind): Ditto. | |
1188 | * sparcnbsd-tdep.c (sparc32nbsd_sigcontext_frame_unwind): Ditto. | |
1189 | * sparcobsd-tdep.c (sparc32obsd_sigtramp_frame_unwind): Ditto. | |
1190 | * spu-tdep.c (spu_frame_unwind, spu2ppu_unwind): Ditto. | |
1191 | * v850-tdep.c (v850_frame_unwind): Ditto. | |
1192 | * vax-tdep.c (vax_frame_unwind): Ditto. | |
1193 | * vaxobsd-tdep.c (vaxobsd_sigtramp_frame_unwind): Ditto. | |
1194 | * xstormy16-tdep.c (frame_unwind xstormy16_frame_unwind): Ditto. | |
1195 | * xtensa-tdep.c (xtensa_unwind): Ditto. | |
1196 | ||
f23d1b92 PA |
1197 | 2011-03-18 Pedro Alves <[email protected]> |
1198 | ||
1199 | * tui/tui-hooks.c (tui_selected_frame_level_changed_hook): Assume | |
1200 | there's always a frame. Use get_frame_pc_if_available instead of | |
1201 | get_frame_pc, and if there's no PC available, don't look up a | |
1202 | symtab. | |
1203 | ||
1d4f5741 PA |
1204 | 2011-03-18 Pedro Alves <[email protected]> |
1205 | ||
1206 | * stack.c (print_frame_local_vars, print_frame_arg_vars): Handle | |
1207 | unavailable PC. | |
1208 | ||
dba09041 PA |
1209 | 2011-03-18 Pedro Alves <[email protected]> |
1210 | ||
1211 | * tracepoint.c (set_traceframe_context): Handle unavailable PC | |
1212 | gracefully. | |
1213 | ||
9a26e44c PA |
1214 | 2011-03-18 Pedro Alves <[email protected]> |
1215 | ||
1216 | * frame.h (frame_unwind_caller_pc_if_available): Declare. | |
1217 | * frame.c (frame_unwind_caller_pc_if_available): New. | |
1218 | * stack.c (frame_info): Handle unavailable PC. | |
1219 | ||
1220 | 2011-03-18 Pedro Alves <[email protected]> | |
1221 | ||
1222 | * frame.c (frame_unwind_pc): Rename to ... | |
1223 | (frame_unwind_pc_if_available): ... this. New `pc' output | |
1224 | parameter. Change return type to int. Gracefully handle | |
1225 | gdbarch_unwind_pc throwing NOT_AVAILABLE_ERROR. Return 0 if that | |
1226 | happened, or 1 otherwise. | |
1227 | (frame_unwind_pc): Reimplement on top of | |
1228 | frame_unwind_pc_if_available. | |
1229 | (get_frame_func): Rename to ... | |
1230 | (get_frame_func_if_available): New `pc' output parameter. Change | |
1231 | return type to int. Gracefully handle the PC not being available. | |
1232 | (get_frame_func): Reimplement on top of | |
1233 | get_frame_func_if_available. | |
1234 | (select_frame): Handle the PC being unavailable. | |
1235 | (get_prev_frame): Handle the PC being unavailable. | |
1236 | (get_frame_pc_if_available): New. | |
1237 | (get_frame_address_in_block_if_available): New. | |
1238 | (find_frame_sal): Handle the frame PC not being available. | |
1239 | * frame.h (get_frame_pc_if_available): Declare. | |
1240 | (get_frame_address_in_block_if_available): Declare. | |
1241 | (get_frame_func_if_available): Declare. | |
1242 | * stack.c (print_frame_info): Handle the PC being unavailable. | |
1243 | (find_frame_funname): Ditto. | |
1244 | (print_frame): Handle the PC being unavailable. | |
1245 | (get_frame_language): Ditto. | |
1246 | * blockframe.c (get_frame_block): Ditto. | |
1247 | * macroscope.c (default_macro_scope): Ditto. | |
1248 | * tui/tui-stack.c (tui_show_frame_info): Ditto. | |
1249 | ||
1250 | 2011-03-18 Pedro Alves <[email protected]> | |
1251 | ||
1252 | * dwarf2loc.c (dwarf2_evaluate_loc_desc): Catch | |
1253 | NOT_AVAILABLE_ERROR when evaluating the location expression. | |
1254 | ||
1255 | 2011-03-18 Pedro Alves <[email protected]> | |
1256 | ||
1257 | * dwarf2loc.c (read_pieced_value): Handle get_frame_register_bytes | |
1258 | returning that the register piece is unavailable/optimized out. | |
1259 | (write_pieced_value): Handle get_frame_register_bytes returning | |
1260 | that the register piece is unavailable/optimized out when doing a | |
1261 | read-modify write of a bitfield. | |
1262 | * findvar.c (value_from_register): Handle get_frame_register_bytes | |
1263 | returning that the register piece is unavailable/optimized out. | |
1264 | * frame.c (get_frame_register_bytes): New parameters `optimizedp' | |
1265 | and `unavailablep'. Throw error on bad debug info. Use | |
1266 | frame_register instead of frame_register_read, to fill in the new | |
1267 | arguments. | |
1268 | * frame.h (get_frame_register_bytes): New parameters `optimizedp' | |
1269 | and `unavailablep'. | |
1270 | * valops.c: (value_assign): Adjust, and handle | |
1271 | get_frame_register_bytes failing. | |
1272 | * spu-tdep.c: Include exceptions.h. | |
1273 | (spu_software_single_step): Adjust, and handle | |
1274 | get_frame_register_bytes failing. | |
1275 | (spu_get_longjmp_target): Ditto. | |
1276 | * gdbarch.sh (register_to_value): Change to return int. New | |
1277 | parameters `optimizedp' and `unavailablep'. | |
1278 | * gdbarch.h, gdbarch.c: Regenerate. | |
1279 | * i386-tdep.c (i386_register_to_value): Adjust to new | |
1280 | gdbarch_register_to_value interface. | |
1281 | * i387-tdep.c (i387_register_to_value): Ditto. | |
1282 | * i387-tdep.h (i387_register_to_value): Ditto. | |
1283 | * alpha-tdep.c (alpha_register_to_value): Ditto. | |
1284 | * ia64-tdep.c (ia64_register_to_value): Ditto. | |
1285 | * m68k-tdep.c (m68k_register_to_value): Ditto. | |
1286 | * mips-tdep.c (mips_register_to_value): Ditto. | |
1287 | * rs6000-tdep.c (rs6000_register_to_value): Ditto. | |
1288 | ||
0fdb4f18 PA |
1289 | 2011-03-18 Pedro Alves <[email protected]> |
1290 | ||
1291 | * findvar.c (value_of_register): Mark the value as unavailable, if | |
1292 | the register is unavailable. | |
1293 | * frame.h (frame_register_unwind): New `unavailablep' parameter. | |
1294 | (frame_register): New `unavailablep' parameter. | |
1295 | (frame_register_read): Update comment. | |
1296 | * frame.c (frame_register_unwind): New `unavailablep' parameter. | |
1297 | Set it if the register is unavailable. If the register is | |
1298 | unavailable, clear the output buffer. | |
1299 | (frame_register): New `unavailablep' parameter. Pass it down. | |
1300 | (frame_unwind_register): Adjust. | |
1301 | (put_frame_register): Adjust. | |
1302 | (frame_register_read): Adjust. Also return false if the register | |
1303 | is not available. | |
1304 | (frame_register_unwind_location): Adjust. | |
1305 | * sentinel-frame.c (sentinel_frame_prev_register): If the register | |
1306 | is unavailable, mark the value accordingly. | |
1307 | * stack.c (frame_info): Handle unavailable registers. | |
1308 | ||
e69aa73e PA |
1309 | 2011-03-18 Pedro Alves <[email protected]> |
1310 | ||
1311 | * mi/mi-main.c (register_changed_p): Handle REG_UNAVAILABLE, and | |
1312 | simplify, using regcache_cooked_read. | |
1313 | ||
05d1431c PA |
1314 | 2011-03-18 Pedro Alves <[email protected]> |
1315 | ||
1316 | * regcache.h (regcache_raw_read, regcache_raw_read_signed) | |
1317 | (regcache_raw_read_unsigned, regcache_raw_read_signed) | |
1318 | (regcache_raw_read_unsigned, regcache_raw_read_part) | |
1319 | (regcache_cooked_read, regcache_cooked_read_signed) | |
1320 | (regcache_cooked_read_unsigned, regcache_cooked_read_part) | |
1321 | (regcache_cooked_read_ftype): Change return to enum | |
1322 | register_status. | |
1323 | * regcache.c: Include exceptions.h | |
1324 | (regcache_save): Adjust to handle REG_UNAVAILABLE registers. | |
1325 | (do_cooked_read): Change return to enum register_status. Always | |
1326 | forward to regcache_cooked_read. | |
1327 | (regcache_raw_read): Change return to enum register_status. If | |
1328 | the register is not REG_VALID, memset the buffer. Return the | |
1329 | register's status. | |
1330 | (regcache_raw_read_signed): Handle non-REG_VALID registers and | |
1331 | return the register's status. | |
1332 | (regcache_raw_read_unsigned): Ditto. | |
1333 | (regcache_cooked_read): Change return to enum register_status. | |
1334 | Assert that with read-only regcaches, the register's status must | |
1335 | be known. If the regcache is read-only, and the register is not | |
1336 | REG_VALID, memset the buffer. Return the register's status. | |
1337 | (regcache_cooked_read_signed): Change return to enum | |
1338 | register_status. Handle non-REG_VALID registers and return the | |
1339 | register's status. | |
1340 | (regcache_cooked_read_unsigned): Change return to enum | |
1341 | register_status. Handle non-REG_VALID registers and return the | |
1342 | register's status. | |
1343 | (regcache_xfer_part, regcache_raw_read_part) | |
1344 | (regcache_cooked_read_part): Change return to enum | |
1345 | register_status. Return the register's status. | |
1346 | (regcache_read_pc): Throw NOT_AVAILABLE_ERROR if the register is | |
1347 | unavailable. | |
1348 | (regcache_dump): Handle unavailable cooked registers. | |
1349 | * frame.c (do_frame_register_read): Adjust interface to match | |
1350 | regcache_cooked_read_ftype. | |
1351 | * gdbarch.sh (pseudo_register_read): Change return to enum | |
1352 | register_status. | |
1353 | * gdbarch.h, gdbarch.c: Regenerate. | |
1354 | ||
1355 | * i386-tdep.h (i386_pseudo_register_read): Change return to enum | |
1356 | register_status. | |
1357 | * i386-tdep.c (i386_pseudo_register_read): Change return to enum | |
1358 | register_status. If reading a raw register indicates the raw | |
1359 | register is not valid, return the raw register's status, | |
1360 | otherwise, return REG_VALID. | |
1361 | * amd64-tdep.c (amd64_pseudo_register_read): Change return to enum | |
1362 | register_status. Handle non-REG_VALID raw registers and return | |
1363 | the register's status. | |
1364 | * arm-tdep.c (arm_neon_quad_read) | |
1365 | (arm_pseudo_read): Change return to enum register_status. Handle | |
1366 | non-REG_VALID raw registers and return the register's status. | |
1367 | * avr-tdep.c (avr_pseudo_register_read): Ditto. | |
1368 | * frv-tdep.c (frv_pseudo_register_read): Ditto. | |
1369 | * h8300-tdep.c (h8300_pseudo_register_read): Ditto. | |
1370 | * hppa-tdep.c (hppa_pseudo_register_read): Ditto. | |
1371 | * m32c-tdep.c (m32c_move_reg_t): Change return to enum | |
1372 | register_status. | |
1373 | (m32c_raw_read, m32c_raw_write, m32c_banked_read) | |
1374 | (m32c_banked_write, m32c_sb_read, m32c_sb_write, m32c_part_read) | |
1375 | (m32c_part_write, m32c_cat_read, m32c_cat_write) | |
1376 | (m32c_r3r2r1r0_read, m32c_r3r2r1r0_write) | |
1377 | (m32c_pseudo_register_read): Change return to enum | |
1378 | register_status. Adjust. | |
1379 | * m68hc11-tdep.c (m68hc11_pseudo_register_read): Change return to | |
1380 | enum register_status. Return the register's status. | |
1381 | * mep-tdep.c (mep_pseudo_cr32_read): Change return to enum | |
1382 | register_status. Return the register's status. | |
1383 | (mep_pseudo_cr64_read, mep_pseudo_register_read): Ditto. | |
1384 | * mips-tdep.c (mips_pseudo_register_read): Ditto. | |
1385 | * mt-tdep.c (mt_pseudo_register_read): Ditto. | |
1386 | * rs6000-tdep.c (move_ev_register_func): New typedef. | |
1387 | (e500_move_ev_register): Use it. Change return to enum | |
1388 | register_status. Return the register's status. | |
1389 | (do_regcache_raw_read): New function. | |
1390 | (do_regcache_raw_write): New function. | |
1391 | (e500_pseudo_register_read): Change return to enum | |
1392 | register_status. Return the register's status. Use | |
1393 | do_regcache_raw_read. | |
1394 | (e500_pseudo_register_write): Adjust. Use do_regcache_raw_write. | |
1395 | (dfp_pseudo_register_read): Change return to enum register_status. | |
1396 | Return the register's status. | |
1397 | (vsx_pseudo_register_read): Ditto. | |
1398 | (efpr_pseudo_register_read): Ditto. | |
1399 | (rs6000_pseudo_register_read): Ditto. | |
1400 | * s390-tdep.c (s390_pseudo_register_read): Change return to enum | |
1401 | register_status. Return the register's status. | |
1402 | * sh64-tdep.c (pseudo_register_read_portions): New function. | |
1403 | (sh64_pseudo_register_read): Change return to enum | |
1404 | register_status. Use pseudo_register_read_portions. Return the | |
1405 | register's status. | |
1406 | * ia64-tdep.c (ia64_pseudo_register_read): Change return to enum | |
1407 | register_status. Return the register's status. | |
1408 | * sh-tdep.c (pseudo_register_read_portions): New function. | |
1409 | (sh_pseudo_register_read): Change return to enum register_status. | |
1410 | Use pseudo_register_read_portions. Return the register's status. | |
1411 | * sparc-tdep.c (sparc32_pseudo_register_read): Change return to | |
1412 | enum register_status. Return the register's status. | |
1413 | * sparc64-tdep.c (sparc64_pseudo_register_read): Ditto. | |
1414 | * spu-tdep.c (spu_pseudo_register_read_spu) | |
1415 | (spu_pseudo_register_read): Ditto. | |
1416 | * xtensa-tdep.c (xtensa_register_read_masked) | |
1417 | (xtensa_pseudo_register_read): Ditto. | |
1418 | * bfin-tdep.c (bfin_pseudo_register_read): Ditto. | |
1419 | ||
e10abd8f PM |
1420 | 2011-03-18 Pierre Muller <[email protected]> |
1421 | ||
1422 | * python/py-value.c (valpy_getitem): Fix formatting of error function | |
1423 | call. | |
1424 | ||
7ea6d463 PM |
1425 | 2011-03-18 Pierre Muller <[email protected]> |
1426 | ||
1427 | ARI fixes: Add missing internationalization markups throughout | |
1428 | C source files. | |
1429 | * darwin-nat-info.c: Ditto. | |
1430 | * record.c: Ditto. | |
1431 | * remote.c: Ditto. | |
1432 | * mi/mi-main.c: Ditto. | |
1433 | ||
001083c6 PM |
1434 | 2011-03-18 Pierre Muller <[email protected]> |
1435 | ||
1436 | ARI fixes: Add missing internationalization markups throughout | |
1437 | yacc files. | |
1438 | * c-exp.y: Ditto. | |
1439 | * cp-name-parser.y: Ditto. | |
1440 | * f-exp.y: Ditto. | |
1441 | * m2-exp.y: Ditto. | |
1442 | * objc-exp.y: Ditto. | |
1443 | * p-exp.y: Ditto. | |
1444 | ||
4f1cdeec PM |
1445 | 2011-03-18 Pierre Muller <[email protected]> |
1446 | ||
1447 | ARI fixes: Messages should have no trailing new lines. | |
1448 | * darwin-nat.c (mach_check_error): Remove trailing new line from | |
1449 | warning function call message. | |
1450 | * record.c (bfdcore_read): Idem for error call. | |
1451 | ||
28e698f1 PM |
1452 | 2011-03-18 Pierre Muller <[email protected]> |
1453 | ||
1454 | * common/signals.c (target_signal_from_host): Add _ markup to error | |
1455 | function call message. | |
1456 | (target_signal_to_host): Add _ markup and remove trailing new line | |
1457 | from warning call message. | |
1458 | (target_signal_from_command): Add _ markup to error function call | |
1459 | message. | |
1460 | ||
99c3dc11 PM |
1461 | 2011-03-18 Phil Muldoon <[email protected]> |
1462 | ||
1463 | PR python/12149 | |
1464 | ||
1465 | * python/python.c (gdbpy_write): Accept a stream argument and | |
1466 | operate to the appropriate stream. | |
1467 | (gdbpy_flush): Likewise. | |
1468 | (_initialize_python): Add stream constants. | |
1469 | (finish_python_initialization): Add GdbOutputErrorFile class. | |
1470 | ||
c20800be KY |
1471 | 2011-03-18 Kwok Cheung Yeung <[email protected]> |
1472 | ||
1473 | * MAINTAINERS: Add myself as a write-after-approval maintainer. | |
1474 | ||
f4a1794a KY |
1475 | 2011-03-18 Kwok Cheung Yeung <[email protected]> |
1476 | ||
1477 | * amd64-tdep.c (amd64_relocate_instruction): Fix ordering of arguments | |
1478 | to store_signed_integer. Add debug message when relocating CALL | |
1479 | instructions. Fix formatting of debug message. | |
1480 | * i386-tdep.c (i386_relocate_instruction): Ditto. | |
1481 | ||
d4862372 JB |
1482 | 2011-03-17 Joel Brobecker <[email protected]> |
1483 | ||
1484 | * target.h (struct target_ops): Remove to_lookup_symbol field. | |
1485 | (target_lookup_symbol): Delete macro. | |
1486 | * target.c (nosymbol, debug_to_lookup_symbol): Delete. | |
1487 | (update_current_target, setup_target_debug): Remove handling | |
1488 | of to_lookup_symbol target_ops field. | |
1489 | * ada-tasks.c (get_known_tasks_addr): Remove use of | |
1490 | target_lookup_symbol. | |
1491 | * coffread.c (coff_symtab_read): Likewise. | |
1492 | * dbxread.c (read_dbx_symtab): Ditto. | |
1493 | ||
d645e32e JB |
1494 | 2011-03-17 Joel Brobecker <[email protected]> |
1495 | ||
1496 | PR gdb/12116: | |
1497 | * configure.ac: Add getthrds declaration check. | |
1498 | * configure, config.in: Regenerate. | |
1499 | * aix-thread.c (getthrds): Declare only if not already declared | |
1500 | in procinfo.h. More declaration out of get_signaled_thread to | |
1501 | global scope. | |
1502 | ||
29703da4 PM |
1503 | 2011-03-17 Phil Muldoon <[email protected]> |
1504 | ||
1505 | * python/py-symtab.c: Populate symtab_object_methods, | |
1506 | sal_object_methods. | |
1507 | (stpy_is_valid): New function. | |
1508 | (salpy_is_valid): Ditto. | |
1509 | * python/py-symbol.c: Declare symbol_object_methods. Populate. | |
1510 | (sympy_is_valid): New function. | |
1511 | * python/py-objfile.c: Declare objfile_object_methods. Populate. | |
1512 | (objfpy_is_valid): New function. | |
1513 | * python/py-inferior.c: Populate inferior_object_methods. | |
1514 | (infpy_is_valid): New function. | |
1515 | * python/py-infthread.c: Populate thread_object_methods. | |
1516 | (thpy_is_valid): New function. | |
1517 | * python/py-block.c: Declare block_object_methods. Populate. Declare | |
1518 | block_iterator_object_methods. Populate. | |
1519 | (blpy_is_valid): New function. | |
1520 | (blpy_iter_is_valid): Ditto. | |
1521 | ||
c00f8484 KS |
1522 | 2011-03-16 Keith Seitz <[email protected]> |
1523 | ||
1524 | * linespec.c (find_methods): Canonicalize NAME before looking | |
1525 | up the symbol. | |
1526 | (name_end): New function. | |
1527 | (keep_name_info): New function. | |
1528 | (decode_line_1): Use keep_name_info. | |
1529 | (decode_compound): Likewise. | |
1530 | * cli/cli-utils.h (remove_trailing_whitespace): New function. | |
1531 | * cli/cli-utils.c (remove_trailing_whitespace): Likewise. | |
1532 | ||
1533 | PR c++/12273 | |
1534 | * linespec.c (locate_first_half): Keep overload information, too. | |
1535 | (decode_compound): Use a string to represent break characters | |
1536 | to escape the loop. | |
1537 | If P points to a break character, do not increment it. | |
1538 | For C++ and Java, keep overload information and relevant keywords. | |
1539 | If we cannot find a symbol, search the minimal symbols. | |
1540 | ||
1541 | PR c++/11734 | |
1542 | * linespec.c (decode_compound): Rename SAVED_ARG to | |
1543 | THE_REAL_SAVED_ARG. | |
1544 | Make a copy of THE_REAL_SAVED_ARG in SAVED_ARG and strip | |
1545 | single-quotes. | |
1546 | Pass a valid block to lookup_symbol. | |
1547 | (lookup_prefix_sym): Likewise. | |
1548 | (find_method): Construct search name based on SYM_CLASS instead | |
1549 | of SAVED_ARG. | |
1550 | * psymtab.c (lookup_partial_symbol): Add language parameter. | |
1551 | (lookup_symbol_aux_psymtabs): Likewise. | |
1552 | Don't assume that the psymtab we found was the right one. Search | |
1553 | for the desired symbol in the symtab to be certain. | |
1554 | (psymtab_search_name): New function. | |
1555 | (lookup_partial_symbol): Use psymtab_search_name. | |
1556 | Add language parameter. | |
1557 | (read_symtabs_for_function): Add language parameter and pass to | |
1558 | lookup_partial_symbol. | |
1559 | (find_symbol_file_from_partial): Likewise. | |
1560 | ||
c91513d8 PP |
1561 | 2011-03-16 Paul Pluzhnikov <[email protected]> |
1562 | ||
1563 | PR gdb/12528 | |
1564 | * dwarf2read.c (noop_record_line): New function. | |
1565 | (dwarf_decode_lines): Ignore line tables for GCd functions. | |
1566 | ||
b37520b6 PM |
1567 | 2011-03-16 Pierre Muller <[email protected]> |
1568 | ||
1569 | Fix ARI warnings about new lines at the end of messages, which | |
1570 | are unneeded as there is a new line added at the end of the message | |
1571 | automatically. | |
1572 | * darwin-nat.c (darwin_stop_inferior): Ditto. | |
1573 | * dec-thread.c (dec_thread_get_ada_task_ptid): Ditto. | |
1574 | * dfp.c (decimal_to_number): Ditto. | |
1575 | * exec.c (print_section_info): Ditto. | |
1576 | * i386-darwin-nat.c (darwin_set_sstep): Ditto. | |
1577 | * osdata.c (get_osdata): Ditto. | |
1578 | * record.c (bfdcore_write): Ditto. | |
1579 | * remote-mips.c (mips_readchar): Ditto. | |
1580 | * remote.c (read_ptid): Ditto. | |
1581 | * ser-mingw.c (ser_windows_raw): Ditto. | |
1582 | * tracepoint.c (add_local_symbols): Ditto. | |
1583 | * windows-nat.c (fake_create_process): Ditto. | |
1584 | ||
b08ee6a2 TT |
1585 | 2011-03-16 Tom Tromey <[email protected]> |
1586 | ||
1587 | * tracepoint.c (stop_tracing): Don't declare. | |
1588 | * event-top.c (after_char_processing_hook): Add `(void)'. | |
1589 | ||
9a6f1302 PM |
1590 | 2011-03-16 Phil Muldoon <[email protected]> |
1591 | ||
1592 | * NEWS: Add Parameter sub-classing description. | |
1593 | ||
7ceb86b1 KT |
1594 | 2011-03-16 Kai Tietz <[email protected]> |
1595 | ||
1596 | * MAINTAINERS: Update my e-mail address. | |
1597 | ||
efeff6cf AT |
1598 | 2011-03-15 Andreas Tobler <[email protected]> |
1599 | ||
1600 | * MAINTAINERS: Add myself for write after approval privileges. | |
1601 | ||
681c238c MS |
1602 | 2011-03-15 Michael Snyder <[email protected]> |
1603 | ||
f3df5b08 MS |
1604 | * frame.c (find_frame_sal): Assert sym is not null. |
1605 | ||
13f6513c MS |
1606 | * dbxread.c (process_one_symbol): Assert 'name' is not null. |
1607 | ||
50412521 MS |
1608 | * objc-lang.c (selectors_info): Check strchr for null result. |
1609 | ||
681c238c MS |
1610 | * stabsread.c (define_symbol): Guard against bad stabstring input. |
1611 | ||
6ced1581 PM |
1612 | 2011-03-15 Pierre Muller <[email protected]> |
1613 | ||
1614 | Remove trailing spaces and tabulations from pascal language | |
1615 | support sources. | |
1616 | p-exp.y: Ditto. | |
1617 | p-lang.c: Ditto. | |
1618 | p-lang.h: Ditto. | |
1619 | p-valprint.c: Ditto. | |
1620 | ||
9373cf26 JK |
1621 | 2011-03-15 Jan Kratochvil <[email protected]> |
1622 | ||
1623 | * dwarf2read.c (dwarf2_get_pc_bounds): Require HIGH strictly higher | |
1624 | than LOW. Comment it. | |
1625 | (read_partial_die): Call complaint for inappropriate zero LOWPC or | |
1626 | HIGHPC not strictly higher than LOWPC. | |
1627 | ||
9a1edae6 PM |
1628 | 2011-03-15 Pierre Muller <[email protected]> |
1629 | ||
1630 | Fix formatting of function declarations returning a pointer in | |
1631 | previous commit. | |
1632 | * varobj.c (varobj_add_child): Ditto. | |
1633 | * hppa-tdep.h (hppa_init_objfile_priv_data): Ditto. | |
1634 | * inferior.h (get_displaced_step_closure_by_addr): Ditto. | |
1635 | ||
24e9cda0 UW |
1636 | 2011-03-15 Ulrich Weigand <[email protected]> |
1637 | ||
1638 | * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Add support | |
1639 | for the "generic" vector ABI used with GCC 4.3 and later. | |
1640 | (ppc64_sysv_abi_return_value): Likewise. | |
1641 | ||
1642 | 2011-03-15 Ulrich Weigand <[email protected]> | |
81b4675a UW |
1643 | |
1644 | * infcall.c (call_function_by_hand): Function return value is | |
1645 | always a non_lval, even when using struct_return. | |
1646 | ||
c9174737 PA |
1647 | 2011-03-15 Pedro Alves <[email protected]> |
1648 | ||
1649 | * printcmd.c (ALL_DISPLAYS_SAFE): New. | |
1650 | (map_display_numbers): New. | |
1651 | (do_delete_display): New. | |
1652 | (undisplay_command): Use map_display_numbers. | |
1653 | (do_enable_disable_display): New. | |
1654 | (enable_disable_display_command): New function. | |
1655 | (enable_display): Delete. | |
1656 | (enable_display_command): New. | |
1657 | (disable_display_command): Reimplement. | |
1658 | (_initialize_printcmd): Adjust "enable display" command to use | |
1659 | `enable_display_command' as callback. | |
1660 | ||
350c6c65 PM |
1661 | 2011-03-14 Phil Muldoon <[email protected]> |
1662 | ||
1663 | * NEWS: Add Python breakpoint 'stop' operation. | |
1664 | ||
824446ad PM |
1665 | 2011-03-14 Phil Muldoon <[email protected]> |
1666 | ||
1667 | * NEWS: Delete duplicate entry. Fix typo. | |
1668 | ||
2021ad3a PM |
1669 | 2011-03-14 Pierre Muller <[email protected]> |
1670 | ||
1671 | Fix ARI warning about function names in first column. | |
1672 | Put prototype declaration on same line as return type. | |
1673 | * objc-exp.y: Ditto. | |
1674 | * p-exp.y: Ditto. | |
1675 | * python/py-stopevent.h: Ditto. | |
1676 | For long function names, split parameters to | |
1677 | allow function name on same line as return type. | |
1678 | * solib-pa64.c: Ditto. | |
1679 | * varobj.c: Ditto. | |
1680 | * varobj.h: Ditto. | |
1681 | For long function declaration, use single line. | |
1682 | * hppa-tdep.h: Ditto. | |
1683 | * inferior.h: Ditto. | |
1684 | ||
7371cf6d PM |
1685 | 2011-03-14 Phil Muldoon <[email protected]> |
1686 | ||
1687 | * python/python.h: Declare gdbpy_should_stop and | |
1688 | gdbpy_breakpoint_has_py_cond. | |
1689 | * python/python.c: Add python.h to includes. Remove python.h from | |
1690 | HAVE_PYTHON definition | |
1691 | (gdbpy_should_stop): New dummy function. | |
1692 | (gdbpy_breakpoint_has_py_cond): New dummy function. | |
1693 | * python/py-breakpoint.c (bppy_init): Rewrite to allow | |
1694 | sub-classing capabilities. | |
1695 | (gdbpy_should_stop): New function. | |
1696 | (gdbpy_breakpoint_has_py_cond): New function. | |
1697 | (local_setattro): New function. | |
1698 | * breakpoint.c (condition_command): Add check for Python 'stop' | |
1699 | operation. | |
1700 | (bpstat_check_breakpoint_conditions): Execute Python 'stop' | |
1701 | operation function as part of stop/continue tests. | |
1702 | ||
37b50a69 TT |
1703 | 2011-03-14 Tom Tromey <[email protected]> |
1704 | ||
1705 | PR gdb/12576: | |
1706 | * dwarf2loc.c (dwarf_expr_dwarf_call): Remove 'return'. | |
1707 | (needs_frame_dwarf_call): Likewise. | |
1708 | ||
eeae04df PM |
1709 | 2011-03-14 Pierre Muller <[email protected]> |
1710 | ||
1711 | Fix ARI warning about functions without parameters that do not | |
1712 | use (void). | |
1713 | * breakpoint.c (all_tracepoints): Replace () by (void). | |
1714 | * f-exp.y (match_string_literal): Ditto. | |
1715 | (yylex): Ditto. | |
1716 | * m2-exp.y (yylex): Ditto. | |
1717 | * mep-tdep.c (current_me_module): Ditto. | |
1718 | (current_options): Ditto. | |
1719 | (current_cop_data_bus_width): Ditto. | |
1720 | (current_cr_names): Ditto. | |
1721 | (current_cr_is_float): Ditto. | |
1722 | (current_ccr_names): Ditto. | |
1723 | * objc-exp.y (yylex): Ditto. | |
1724 | * p-exp.y (yylex): Ditto. | |
1725 | * remote.c (send_interrupt_sequence): Ditto. | |
1726 | * tracepoint.c (current_trace_status): Ditto. | |
1727 | * python/py-evts.c (gdbpy_initialize_py_events): Ditto. | |
1728 | * python/py-prettyprint.c (push_dummy_python_frame): Ditto. | |
1729 | ||
6dc3565d MS |
1730 | 2011-03-11 Michael Snyder <[email protected]> |
1731 | ||
1427fe5e MS |
1732 | * cli/cli-decode.h (CMD_LIST_AMBIGUOUS): Define. |
1733 | * cli/cli-decode.c (lookup_cmd_1): Use CMD_LIST_AMBIGUOUS. | |
1734 | (lookup_cmd): Test for CMD_LIST_AMBIGUOUS. | |
1735 | * completer.c (complete_line_internal): Use CMD_LIST_AMBIGUOUS. | |
1736 | * top.c (set_verbose): Use CMD_LIST_AMBIGUOUS. | |
1737 | ||
60bc018f MS |
1738 | * event-loop-c (delete_async_signal_handler): Assert prev_ptr. |
1739 | (delete_async_event_handler): Ditto. | |
1740 | ||
f3be5b64 MS |
1741 | * python/py-breakpoint.c (bppy_set_condition): Stop memory leak. |
1742 | ||
4c2d5724 MS |
1743 | * python/py-breakpoint.c (bppy_get_commands): Fix memory leak. |
1744 | ||
6dc3565d MS |
1745 | * top.c (set_verbose): Assert showcmd was found. |
1746 | ||
4e6ca6d5 MG |
1747 | 2011-03-11 Maxim Grigoriev <[email protected]> |
1748 | ||
1749 | * xtensa-tdep.c (warning_once): Correct style issues. | |
1750 | ||
815a83e4 YQ |
1751 | 2011-03-11 Yao Qi <[email protected]> |
1752 | ||
1753 | * arm-tdep.c (copy_ldr_str_ldrb_strb): Remove redundant statements. | |
1754 | ||
f2eb0bc8 AS |
1755 | 2011-03-11 Andreas Schwab <[email protected]> |
1756 | ||
1757 | * common/aclocal.m4: Remove. | |
1758 | ||
b801de47 MG |
1759 | 2011-03-10 Maxim Grigoriev <[email protected]> |
1760 | ||
1761 | * xtensa-tdep.c (windowing_enabled): Remove inline attribute. | |
1762 | (xtensa_write_register, xtensa_read_register): Likewise. | |
1763 | (xtensa_hextochar): Removed. | |
1764 | (xtensa_init_reggroups): Replace xtensa_hextochar () by explicit code. | |
1765 | ||
dbab50de MG |
1766 | 2011-03-10 Maxim Grigoriev <[email protected]> |
1767 | ||
1768 | * xtensa-tdep.c (xtensa_c0reg_t): Update comments. | |
c2a6b390 | 1769 | (xtensa_call0_frame_cache_t): Update comments. New fields added. |
dbab50de MG |
1770 | (xtensa_alloc_frame_cache): Add initialization for new fields. |
1771 | (xtensa_frame_cache): Change the way how call0_frame_cache () is called. | |
1772 | (warning_once): New function. | |
1773 | (xtensa_insn_kind): New item c0opc_and. | |
1774 | (call0_classify_opcode): Add the case for AND instruction. | |
c2a6b390 MG |
1775 | (call0_track_op): Change arguments. New local variable litbase. |
1776 | Add the case to handle c0opc_and. Update algorithms for c0opc_mov, | |
1777 | c0opc_l32r, c0opc_s32i to take into account dynamic stack adjustments | |
1778 | in the prologue. | |
dbab50de | 1779 | Add cases for c0opc_l32e, c0opc_s32e, c0opc_rfwo, c0opc_rfwu. |
c2a6b390 | 1780 | (call0_analyze_prologue): Update the comments. Change arguments. |
dbab50de MG |
1781 | Add the variety of updates to handle extended prologues, which now can |
1782 | conduct dynamic stack adjustments. | |
1783 | (call0_frame_cache): Likewise. | |
1784 | (xtensa_skip_prologue): Update call0_analyze_prologue () function call. | |
1785 | (xtensa_gdbarch_init): Initialize xtensa_session_once_reported. | |
1786 | ||
b2c04452 MS |
1787 | 2011-03-10 Michael Snyder <[email protected]> |
1788 | ||
f8f67713 MS |
1789 | * tracepoint.c (cmd_qtv): Discard unused value 'packet'. |
1790 | (cmd_qtframe): Ditto. | |
1791 | (cmd_qtbuffer): Ditto. | |
1792 | (cmd_bigqtbuffer): Ditto. | |
1793 | ||
197f0a60 TT |
1794 | 2011-03-10 Tom Tromey <[email protected]> |
1795 | ||
1796 | * tracepoint.c (trace_actions_command): Update. | |
1797 | * thread.c (thread_apply_command): Update. | |
1798 | * reverse.c (delete_bookmark_command): Update. | |
1799 | (bookmarks_info): Update. | |
1800 | * printcmd.c (undisplay_command): Update. | |
1801 | * memattr.c (mem_enable_command): Update. | |
1802 | (mem_disable_command): Update. | |
1803 | (mem_delete_command): Update. | |
1804 | * inferior.c (detach_inferior_command): Update. | |
1805 | (kill_inferior_command): Update. | |
1806 | (remove_inferior_command): Update. | |
1807 | * cli/cli-utils.h (struct get_number_or_range_state): New. | |
1808 | (init_number_or_range): Declare. | |
1809 | (get_number_or_range): Update. | |
1810 | * cli/cli-utils.c (init_number_or_range): New function. | |
1811 | (get_number_or_range): Change 'pp' parameter to 'state'. Remove | |
1812 | static variables. | |
1813 | (number_is_in_list): Update. | |
1814 | * breakpoint.h (get_tracepoint_by_number): Update. | |
1815 | * breakpoint.c (map_breakpoint_numbers): Update for change to | |
1816 | get_number_or_range. | |
1817 | (find_location_by_number): Use get_number, not | |
1818 | get_number_or_range. | |
1819 | (trace_pass_set_count): New function. | |
1820 | (trace_pass_command): Update for change to get_number_or_range. | |
1821 | Rework loop logic. | |
1822 | (get_tracepoint_by_number): Remove 'multi_p' parameter; add | |
1823 | 'state' parameter. | |
1824 | ||
ecec24e6 PM |
1825 | 2011-03-10 Phil Muldoon <[email protected]> |
1826 | ||
1827 | * python/py-param.c (add_setshow_generic): Add set/show callback | |
1828 | parameters. Register Python object context. | |
1829 | (get_show_value): New function. | |
1830 | (get_set_value): New function. | |
1831 | (call_doc_function): New function. | |
1832 | (get_doc_string): Move behind get_show_value/get_set_value. | |
1833 | ||
6d6c6b1f JK |
1834 | 2011-03-10 Andreas Tobler <[email protected]> |
1835 | ||
1836 | * fbsd-nat.c (fbsd_make_corefile_notes): Constify local `fname'. | |
1837 | ||
68d6df83 MG |
1838 | 2011-03-09 Maxim Grigoriev <[email protected]> |
1839 | ||
dbab50de | 1840 | * xtensa-tdep.c (xtensa_read_register): Add comment. |
68d6df83 MG |
1841 | (xtensa_write_register): Likewise. |
1842 | (xtensa_hextochar): Add comment and update to match coding conventions. | |
1843 | (xtensa_frame_cache, xtensa_return_value): Follow coding conventions. | |
1844 | (execute_l32e, execute_s32e, execute_code): Update comments. | |
1845 | (xtensa_exception_handler_t): Update to match coding conventions. | |
1846 | (xtensa_insn_kind): Likewise. | |
1847 | ||
85c9d6a6 MS |
1848 | 2011-03-09 Michael Snyder <[email protected]> |
1849 | ||
1850 | * mi-cmd-disas.c (mi_cmd_disassemble): Fix memory leak. | |
1851 | ||
91495617 PA |
1852 | 2011-03-09 Pedro Alves <[email protected]> |
1853 | ||
1854 | * nto-tdep.c (nto_find_and_open_solib): Constify local `base'. | |
1855 | ||
eb8c0621 TT |
1856 | 2011-03-09 Tom Tromey <[email protected]> |
1857 | ||
1858 | * thread.c (restore_selected_frame): Handle frame_level == -1. | |
1859 | (make_cleanup_restore_current_thread): Use | |
1860 | get_selected_frame_if_set. | |
1861 | * frame.h (get_selected_frame_if_set): Declare. | |
1862 | * frame.c (get_selected_frame_if_set): New function. | |
1863 | ||
9f37bbcc PA |
1864 | 2011-03-09 Pedro Alves <[email protected]> |
1865 | ||
1866 | * cli/cli-cmds.c (shell_escape): Use lbasename. | |
1867 | * coffread.c (coff_start_symtab): Constify parameter. | |
1868 | (complete_symtab): Constify `name' parameter. | |
1869 | (coff_symtab_read): Constify `filestring' local. | |
1870 | (coff_getfilename): Constify return and `result' local. | |
1871 | Use lbasename. | |
1872 | * fbsd-nat.c (fbsd_make_corefile_notes): Use lbasename. | |
1873 | * linux-fork.c (info_checkpoints_command): Use lbasename. | |
1874 | * linux-nat.c (linux_nat_make_corefile_notes): Use lbasename. | |
1875 | * minsyms.c (lookup_minimal_symbol): Use lbasename. | |
1876 | * nto-tdep.c (nto_find_and_open_solib): Use lbasename. | |
1877 | * procfs.c (procfs_make_note_section): Use lbasename. | |
1878 | * tui/tui-io.c (printable_part): Constity return and parameter. | |
1879 | Use lbasename. | |
1880 | (print_filename): Constify parameters, and local `s'. | |
1881 | (tui_rl_display_match_list): Constify local `temp'. | |
1882 | ||
f8de3c55 JK |
1883 | 2011-03-09 Jan Kratochvil <[email protected]> |
1884 | ||
1885 | Revert: | |
1886 | 2011-03-08 Jan Kratochvil <[email protected]> | |
1887 | Fix DWARF-3+ DW_AT_accessibility default assumption. | |
1888 | * dwarf2read.c (dwarf2_add_field): Fix new_field->accessibility for | |
1889 | cu->header.version >= 3. | |
1890 | ||
d9837b00 YQ |
1891 | 2011-03-09 Yao Qi <[email protected]> |
1892 | ||
1893 | * common/Makefile.in: Remove. | |
1894 | * common/configure: Remove. | |
1895 | * common/configure.ac: Remove. | |
1896 | ||
e637a4f5 YQ |
1897 | 2011-03-09 Yao Qi <[email protected]> |
1898 | ||
1899 | Revert: | |
1900 | 2011-02-11 Yao Qi <[email protected]> | |
1901 | ||
1902 | * common/Makefile.in: Add copyright header. | |
1903 | ||
1904 | 2011-02-11 Yao Qi <[email protected]> | |
1905 | ||
1906 | * Makefile.in: Remove signals.o from COMMON_OBS. Link | |
1907 | libcommon.a. | |
1908 | * configure.ac: Add common to sub dir. | |
1909 | * configure: Regenerate. | |
1910 | ||
f976a05d MG |
1911 | 2011-03-08 Maxim Grigoriev <[email protected]> |
1912 | ||
1913 | * xtensa-tdep.c (call0_ret): New function. | |
1914 | (xtensa_skip_prologue): Speed up analysis. | |
1915 | ||
57041825 MG |
1916 | 2011-03-08 Maxim Grigoriev <[email protected]> |
1917 | ||
1918 | * xtensa-tdep.c (xtensa_register_reggroup_p): Count in all registers | |
1919 | while executing MI command -data-list-changed-registers. | |
1920 | ||
08b9c608 MG |
1921 | 2011-03-08 Maxim Grigoriev <[email protected]> |
1922 | ||
1923 | * xtensa-tdep.c (xtensa_read_register): New function. | |
1924 | (xtensa_write_register): New function. | |
1925 | (xtensa_find_register_by_name): New function. | |
1926 | (xtensa_windowed_frame_cache): Update comments in type description. | |
1927 | (xtensa_frame_cache): Likewise. | |
1928 | (xtensa_window_interrupt_insn): New function. | |
1929 | (xtensa_frame_cache): Add analysis for Xtensa Window Exception frames. | |
1930 | (xtensa_insn_kind): Add new instructions. | |
1931 | (rwx_special_register): New function. | |
1932 | (call0_classify_opcode): Add new instructions to the analysis. | |
1933 | (a0_saved, a7_saved, a11_saved): New variables. | |
1934 | (a0_was_saved, a7_was_saved, a11_was_saved): New variables. | |
1935 | (execute_l32e): New function. | |
1936 | (execute_s32e): New function. | |
1937 | (xtensa_exception_handler_t): New type. | |
1938 | (execute_code): New function. | |
1939 | (xtensa_window_interrupt_frame_cache): New function to conduct frame | |
1940 | analysis for Xtensa Window Exception handlers. | |
1941 | ||
4d1acb11 MG |
1942 | 2011-03-08 Maxim Grigoriev <[email protected]> |
1943 | ||
98689b25 MG |
1944 | * xtensa-tdep.c (TX_PS): New. |
1945 | (windowing_enabled): Update to count for Call0 ABI. | |
1946 | (xtensa_hextochar): New. | |
1947 | (xtensa_init_reggroups): Make algorithm generic. | |
1948 | (xtensa_frame_cache): Use TX_PS on Tiny Xtensa. | |
1949 | ||
1950 | 2011-03-08 Maxim Grigoriev <[email protected]> | |
1951 | ||
1952 | * xtensa-tdep.h (XTENSA_MAX_COPROCESSOR): Update. | |
4d1acb11 | 1953 | |
d3f323f3 MS |
1954 | 2011-03-08 Michael Snyder <[email protected]> |
1955 | ||
3dcabaa8 MS |
1956 | * i386-tdep.c (i386_follow_jump): Check return value of |
1957 | target_read_memory. | |
1958 | (i386_analyze_struct_return): Ditto. | |
1959 | (i386_skip_probe): Ditto. | |
1960 | (i386_match_insn): Ditto. | |
1961 | (i386_skip_noop): Ditto. | |
1962 | (i386_analyze_frame_setup): Ditto. | |
1963 | (i386_analyze_register_saves): Ditto. | |
1964 | (i386_skip_prologue): Ditto. | |
1965 | (i386_skip_main_prologue): Ditto. | |
1966 | ||
13b3fd9b MS |
1967 | * target.c (read_whatever_is_readable): Fix memory leak. |
1968 | ||
d3f323f3 MS |
1969 | * i386-tdep.c (i386_process_record): Document fall through. |
1970 | ||
421d5c74 JK |
1971 | 2011-03-08 Jan Kratochvil <[email protected]> |
1972 | ||
1973 | Fix DWARF-3+ DW_AT_accessibility default assumption. | |
1974 | * dwarf2read.c (dwarf2_add_field): Fix new_field->accessibility for | |
1975 | cu->header.version >= 3. | |
1976 | ||
63154eca PA |
1977 | 2011-03-08 Pedro Alves <[email protected]> |
1978 | ||
1979 | * remote.c (remote_check_symbols): Skip if the target has no | |
1980 | execution. | |
1981 | ||
f1a507a1 JB |
1982 | 2011-03-08 Joel Brobecker <[email protected]> |
1983 | ||
1984 | * target.c (read_whatever_is_readable): Reformat comment, | |
1985 | with a minor typo fix. Minor reformatting of the code. | |
1986 | ||
36073a92 YQ |
1987 | 2011-03-08 Yao Qi <[email protected]> |
1988 | ||
1989 | * arm-tdep.c: Remove prototype declaration displaced_in_arm_mode. | |
1990 | (displaced_read_reg): Add `dsc' parameter, remove `from' parameter. | |
1991 | Use cached result instead of calling displaced_in_arm_mode again. | |
1992 | (branch_write_pc, alu_write_pc, load_write_pc): Add `dsc' parameter. | |
1993 | (displaced_write_reg, copy_preload, copy_preload_reg): Callers update. | |
1994 | (cleanup_copro_load_store, copy_copro_load_store): Likewise. | |
1995 | (cleanup_branch, copy_bx_blx_reg, copy_alu_imm): Likewise. | |
1996 | (cleanup_alu_reg, copy_alu_reg, cleanup_alu_shifted_reg): Likewise. | |
1997 | (copy_alu_shifted_reg, cleanup_load, cleanup_store): Likewise. | |
1998 | (copy_extra_ld_st, copy_ldr_str_ldrb_strb): Likewise. | |
1999 | (cleanup_block_load_all, cleanup_block_store_pc): Likewise. | |
2000 | (cleanup_block_load_pc, copy_block_xfer): Likewise. | |
2001 | * arm-linux-tdep.c (arm_linux_copy_svc): Callers update. | |
2002 | (arm_catch_kernel_helper_return): Likewise. | |
2003 | * gdb/arm-tdep.h : Update function declarations. | |
2004 | ||
d3f323f3 | 2005 | 2011-03-07 Michael Snyder <[email protected]> |
e6040cbd | 2006 | |
e0e40094 MS |
2007 | * dwarf2loc.c (indirect_pieced_value): Assert 'piece' not null. |
2008 | ||
0b2381f5 MS |
2009 | * ser-unix.c (hardwire_get_tty_state): Stop memory leak. |
2010 | ||
0350914a MS |
2011 | * mi/mi-cmd-env.c (_initialize_mi_cmd_env): Free environment. |
2012 | ||
69feea6f MS |
2013 | * elfread.c (elf_symtab_read): Stop memory leak. |
2014 | ||
e6040cbd MS |
2015 | * main.c (captured_main): Fix memory leak. |
2016 | ||
052874e8 AS |
2017 | 2011-03-07 Andreas Schwab <[email protected]> |
2018 | ||
2019 | * ada-lang.c (compare_names): Call is_name_suffix with string1 | |
2020 | instead of string2. | |
2021 | ||
b11896a5 TT |
2022 | 2011-03-07 Tom Tromey <[email protected]> |
2023 | ||
2024 | * xcoffread.c (xcoff_sym_fns): Update. | |
2025 | * symfile.h (struct sym_fns) <sym_read_psymbols>: New field. | |
2026 | (enum symfile_add_flags) <SYMFILE_NO_READ>: New constant. | |
2027 | * symfile.c (syms_from_objfile): Handle SYMFILE_NO_READ. | |
2028 | (symbol_file_add_with_addrs_or_offsets): Likewise. | |
2029 | (reread_symbols): Handle OBJF_PSYMTABS_READ. | |
2030 | * somread.c (som_sym_fns): Update. | |
2031 | * psymtab.h (require_partial_symbols): Declare. | |
2032 | * psymtab.c (require_partial_symbols): New function. | |
2033 | (ALL_OBJFILE_PSYMTABS_REQUIRED): New macro. | |
2034 | (ALL_OBJFILE_PSYMTABS): Undef. | |
2035 | (ALL_PSYMTABS): Move from psympriv.h. | |
2036 | (lookup_partial_symtab, find_pc_sect_psymtab) | |
2037 | (lookup_symbol_aux_psymtabs, relocate_psymtabs) | |
2038 | (find_last_source_symtab_from_partial) | |
2039 | (forget_cached_source_info_partial) | |
2040 | (print_psymtab_stats_for_objfile, read_symtabs_for_function) | |
2041 | (expand_partial_symbol_tables, read_psymtabs_with_filename) | |
2042 | (map_symbol_names_psymtab, map_symbol_filenames_psymtab) | |
2043 | (find_symbol_file_from_partial, map_matching_symbols_psymtab) | |
2044 | (expand_symtabs_matching_via_partial, maintenance_info_psymtabs): | |
2045 | Use ALL_OBJFILE_PSYMTABS_REQUIRED. | |
2046 | * psympriv.h (ALL_PSYMTABS): Move to psymtab.c. | |
2047 | * objfiles.h (OBJF_PSYMTABS_READ): New macro. | |
2048 | * objfiles.c (objfile_has_partial_symbols): Handle lazily-read | |
2049 | psymtabs. | |
2050 | * mipsread.c (ecoff_sym_fns): Update. | |
2051 | * machoread.c (macho_sym_fns): Update. | |
2052 | * elfread.c (elf_symfile_read): Set up for lazy psymtab reading. | |
2053 | (read_psyms): New function. | |
2054 | (elf_sym_fns, elf_sym_fns_gdb_index): Update. | |
2055 | (elf_sym_fns_lazy_psyms): New global. | |
2056 | * dwarf2read.c (dwarf2_initialize_objfile): Don't call | |
2057 | dwarf2_build_psymtabs. | |
2058 | * dbxread.c (aout_sym_fns): Update. | |
2059 | * coffread.c (coff_sym_fns): Update. | |
2060 | ||
fda326dd TT |
2061 | 2011-03-07 Tom Tromey <[email protected]> |
2062 | ||
2063 | * infrun.c (print_exited_reason): Include inferior id and pid in | |
2064 | message. | |
2065 | ||
aeaec162 TT |
2066 | 2011-03-07 Tom Tromey <[email protected]> |
2067 | ||
2068 | * target.h (struct target_ops) <to_has_execution>: Add ptid_t | |
2069 | parameter. | |
2070 | (target_has_execution_1): Update. | |
2071 | (target_has_execution_current): Declare. | |
2072 | (target_has_execution): Call target_has_execution_current. | |
2073 | (default_child_has_execution): Update. | |
2074 | * target.c (default_child_has_execution): Add 'the_ptid' | |
2075 | parameter. | |
2076 | (target_has_execution_1): Likewise. | |
2077 | (target_has_execution_current): New function. | |
2078 | (add_target): Update. | |
2079 | (init_dummy_target): Update. | |
2080 | * remote-m32r-sdi.c (m32r_has_execution): New function. | |
2081 | (init_m32r_ops): Use it. | |
2082 | * record.c (record_core_has_execution): Now static. Add | |
2083 | 'the_ptid' parameter. | |
2084 | * inferior.c (have_live_inferiors): Don't save current thread. | |
2085 | Use target_has_execution_1. | |
2086 | ||
08e14083 YQ |
2087 | 2011-03-07 Yao Qi <[email protected]> |
2088 | ||
2089 | * Makefile.in (aclocal_m4_deps): Remove gnulib/m4/memcmp.m4. | |
2090 | ||
c05d19c5 JB |
2091 | 2011-03-07 Joel Brobecker <[email protected]> |
2092 | ||
2093 | * elfread.c (elf_symtab_read): Minor reformatting. | |
2094 | ||
3e6ef9e4 JB |
2095 | 2011-03-07 Joel Brobecker <[email protected]> |
2096 | ||
2097 | * objc-lang.c (selectors_info): Minor reformatting. | |
2098 | ||
dbb8534f JB |
2099 | 2011-03-07 Joel Brobecker <[email protected]> |
2100 | ||
2101 | * ada-lang.c (compare_names): Add FALLTHROUGH comment. | |
2102 | ||
dd70cc93 JB |
2103 | 2011-03-07 Joel Brobecker <[email protected]> |
2104 | Michael Snyder <[email protected]> | |
2105 | ||
2106 | * ada-valprint.c (ada_val_print_array): Move the declaration of | |
2107 | "byte_order" and "elttype" inside the block where these variables | |
2108 | are actually used. Remove some special handling for the case | |
2109 | where "elttype" and "eltlen" are null. Replace by a comment | |
2110 | and a couple of assertion checks. | |
2111 | ||
b27cf2b3 MS |
2112 | 2011-03-05 Michael Snyder <[email protected]> |
2113 | ||
2114 | * source.c (add_path): Replace semicolon at end of block. | |
2115 | * dwarf2expr.c (execute_stack_op): Ditto. | |
2116 | ||
5387a0c6 MF |
2117 | 2011-03-05 Mike Frysinger <[email protected]> |
2118 | ||
2119 | * bfin-tdep.c: Include sim-regno.h and gdb/sim-bfin.h. | |
2120 | * configure.tgt (bfin-*-*linux*): Define gdb_sim. | |
2121 | (bfin-*-*): Likewise. | |
2122 | ||
e3aa49af MS |
2123 | 2011-03-05 Michael Snyder <[email protected]> |
2124 | ||
82ae4854 MS |
2125 | * dwarf2expr.c (execute_stack_op): Delete superfluous semicolon. |
2126 | * mdebugread.c (parse_symbol): Ditto. | |
2127 | * parse.c (parse_exp_in_context): Ditto. | |
2128 | * source.c (add_path): Ditto. | |
2129 | * utils.c (gnu_debuglink_crc32): Ditto. | |
2130 | * varobj.c (variable_language): Ditto. | |
2131 | ||
e3aa49af MS |
2132 | * linux-tdep.c (linux_get_siginfo_type): Stop memory leak. |
2133 | ||
154f592e MS |
2134 | 2011-03-04 Michael Snyder <[email protected]> |
2135 | ||
da3ecdc6 MS |
2136 | * linux-fork.c (inferior_call_waitptid): Fix copy/paste error. |
2137 | ||
9cc89665 MS |
2138 | * symfile.c (simple_overlay_update): Check for null return value |
2139 | from lookup_minimal_symbol. | |
2140 | ||
154f592e MS |
2141 | * xml-syscall.c (syscall_start_syscall): Assert name is non null. |
2142 | ||
63ffa6ee TJB |
2143 | 2011-03-04 Thiago Jung Bauermann <[email protected]> |
2144 | ||
2145 | * eval.c (parse_and_eval_address_1): Remove function. | |
2146 | * linespec.c (decode_indirect): Call parse_to_comma_and_eval | |
2147 | instead of parse_and_eval_address_1. | |
2148 | * value.h (parse_and_eval_address_1): Remove prototype. | |
2149 | ||
a17d146e MS |
2150 | 2011-03-04 Michael Snyder <[email protected]> |
2151 | ||
2152 | * remote.c (putpkt_binary): Document that case stmt falls through. | |
2153 | ||
1a6a67de TJB |
2154 | 2011-03-04 Thiago Jung Bauermann <[email protected]> |
2155 | ||
2156 | * breakpointc (print_it_typical): Move NULL check from here... | |
2157 | (print_bp_stop_message): ... to here. | |
2158 | ||
488919c4 MS |
2159 | 2011-03-04 Michael Snyder <[email protected]> |
2160 | ||
2161 | * breakpoint.c (enable_command): Use break instead of continue, | |
2162 | and fill in a missing break. | |
2163 | (disable_command): Ditto. | |
2164 | ||
1e182ce8 UW |
2165 | 2011-03-04 Ulrich Weigand <[email protected]> |
2166 | ||
2167 | * inflow.c (terminal_init_inferior_with_pgrp): Copy ttystate. | |
2168 | (terminal_save_ours): Remove misleading comment. | |
2169 | (inflow_inferior_data_cleanup): Free ttystate. | |
2170 | (inflow_inferior_exit): Likewise. | |
2171 | (copy_terminal_info): Copy ttystate. | |
2172 | ||
2173 | * serial.c (serial_copy_tty_state): New function. | |
2174 | * serial.h (serial_copy_tty_state): Add prototype. | |
2175 | (struct serial_ops): Add copy_tty_state callback. | |
2176 | * ser-base.c (ser_base_copy_tty_state): New function. | |
2177 | * ser-base.h (ser_base_copy_tty_state): Add prototype. | |
2178 | * ser-go32.c (dos_copy_tty_state): New function. | |
2179 | (dos_ops): Install copy_tty_state callback. | |
2180 | * ser-mingw.c (_initialize_ser_windows): Likewise. | |
2181 | * ser-pipe.c (_initialize_ser_pipe): Likewise. | |
2182 | * ser-unix.c (hardwire_copy_tty_state): New function. | |
2183 | (_initialize_ser_hardwire): Install it. | |
2184 | ||
b2c5f112 MS |
2185 | 2011-03-04 Michael Snyder <[email protected]> |
2186 | ||
2abae994 MS |
2187 | * breakpoint.c (create_breakpoint): Add missing break statement. |
2188 | ||
7f5936f9 MS |
2189 | Reverting this patch: |
2190 | * infcall.c (call_function_by_hand): Add break statements for lint. | |
2191 | ||
b2c5f112 MS |
2192 | Reverting this patch: |
2193 | * cli/cli-script.c (script_from_file): Add break for lint. | |
2194 | ||
42b1321c MS |
2195 | 2011-03-04 Michael Snyder <[email protected]> |
2196 | ||
2197 | * solib.c (reload_shared_libraries_1): Close memory leak. | |
2198 | ||
3e2a0cee TT |
2199 | 2011-03-03 Tom Tromey <[email protected]> |
2200 | ||
2201 | PR gdb/12538: | |
2202 | * dwarf2read.c (process_psymtab_comp_unit): Handle case where | |
2203 | DW_STRING is NULL. | |
2204 | ||
58397cb7 MS |
2205 | 2011-03-03 Michael Snyder <[email protected]> |
2206 | ||
2e3fd767 MS |
2207 | * remote-fileio.c (remote_fileio_func_fstat): Initialize all |
2208 | fields of struct 'st' to zero. | |
2209 | ||
58397cb7 MS |
2210 | * tui/tui-winsource.c (tui_update_source_window_as_is): Initialize |
2211 | sal.pspace before calling set_current_source_symtab_and_line. | |
2212 | ||
ced54c8f YQ |
2213 | 2011-03-03 Yao Qi <[email protected]> |
2214 | ||
2215 | * Makefile.in (configure-common): Remove. Let Makefile | |
2216 | in dir common to rebuild itself. | |
2217 | (common/Makefile): Likewise. | |
2218 | ||
3351ea09 JB |
2219 | 2011-03-03 Joel Brobecker <[email protected]> |
2220 | ||
2221 | * utils.c (parse_escape): Add i18n markup in error message. | |
2222 | ||
bf9f652a YQ |
2223 | 2011-03-03 Yao Qi <[email protected]> |
2224 | ||
2225 | * gdb/arm-tdep.c (shifted_reg_val): Replace magic number 15 with | |
2226 | ARM_PC_REGNUM. | |
2227 | (thumb_get_next_pc_raw, arm_get_next_pc_raw): Likewise. | |
2228 | (displaced_write_reg, displaced_read_reg): Likewise. | |
2229 | (copy_ldr_str_ldrb_strb, cleanup_block_load_all): Likewise. | |
2230 | (cleanup_block_load_pc, copy_block_xfer): Likewise. | |
2231 | (cleanup_branch): Replace magic number 14 and 15 with | |
2232 | ARM_LR_REGNUM and ARM_PC_REGNUM respectively. | |
2233 | ||
d42de051 MS |
2234 | 2011-03-02 Michael Snyder <[email protected]> |
2235 | ||
240f9570 MS |
2236 | * maint.c (maintenance_do_deprecate): No need to check for NULL. |
2237 | ||
10dd8b54 MS |
2238 | * cli/cli-script.c (script_from_file): Add break for lint. |
2239 | ||
b98bd911 MS |
2240 | * mdebugread.c (parse_partial_symbols): Fix indent. |
2241 | ||
3494b66d MS |
2242 | * target-descriptions.c (tdesc_gdb_type): No need to call |
2243 | xstrdup, callee saves a copy. | |
2244 | ||
daac021a MS |
2245 | * printcmd.c (print_scalar_formatted): Use strncpy for safety. |
2246 | ||
c38d16a7 MS |
2247 | * infcall.c (call_function_by_hand): Add break statements for lint. |
2248 | ||
905b671b MS |
2249 | * utils.c (parse_escape): Escape the escape char. |
2250 | ||
f2eb0bc8 | 2251 | * python/py-inferior.c (build_inferior_list): Error out if |
2d565757 MS |
2252 | PyList_Append fails. |
2253 | (gdbpy_inferiors): Error out if build_inferior_list fails. | |
2254 | ||
8c6a60d1 MS |
2255 | * linux-nat.c (linux_nat_xfer_partial): Preserve errno around |
2256 | a function call. | |
2257 | ||
d42de051 MS |
2258 | * record.c (record_restore): Move printf to before error return. |
2259 | ||
4db71c0b YQ |
2260 | 2011-03-02 Yao Qi <[email protected]> |
2261 | ||
2262 | * arm-tdep.h (struct displaced_step_closure): Add two new fields | |
2263 | is_thumb and insn_size. | |
2264 | * arm-tdep.c (displaced_read_reg): Adjust correct pipeline offset | |
2265 | on both ARM and Thumb mode. | |
2266 | (arm_process_displaced_insn): Set is_thumb and insn_size. | |
2267 | (arm_displaced_init_closure): Handle both 16-bit and 32-bit. | |
2268 | (arm_displaced_step_fixup): Likewise. | |
2269 | ||
a9dc8dcc MS |
2270 | 2011-03-01 Michael Snyder <[email protected]> |
2271 | ||
53624a93 MS |
2272 | * cli/cli-dump.c (dump_bfd_file): Check error return and warn. |
2273 | ||
77766669 MS |
2274 | * jv-lang.c (evaluate_subexp_java): Conditional can't be true. |
2275 | ||
62d5b8da MS |
2276 | * dwarf2read.c (dwarf2_compute_name): NAME cannot be null here. |
2277 | ||
5e9e105f MS |
2278 | * cli/cli-dump.c (restore_binary_file): Validate ftell return value. |
2279 | ||
dc19db01 MS |
2280 | * ada-lang.c (ada_make_symbol_completion_list): Replace malloc |
2281 | with xmalloc. | |
2282 | ||
5ce64950 MS |
2283 | * ada-lang.c (aggregate_assign_others): Rename inner scope variable |
2284 | which shadows function parameter. | |
2285 | ||
a0aa2878 MS |
2286 | * tracepoint.c (create_tsv_from_upload): Superfluous call |
2287 | to xstrdup. Callee already calls xstrdup. | |
2288 | ||
e325fb69 MS |
2289 | * linespec.c (decode_line_1): Remove unnecessary null check. |
2290 | ||
21cbba77 MS |
2291 | * tracepoint.c (scope_info): Fix mem leak, remove underused |
2292 | variable. | |
2293 | ||
63360adc MS |
2294 | * python/py-prettyprint.c (apply_val_pretty_printer): Remove |
2295 | superfluous null check. | |
2296 | ||
18ea20ac | 2297 | * std-regs.c (value_of_builtin_frame_pc_reg): Frame can't be null. |
23ce9890 | 2298 | (value_of_builtin_frame_fp_reg): Ditto. |
18ea20ac | 2299 | |
d014929c MS |
2300 | * event-top.c (display_gdb_prompt): Remove superfluous null check. |
2301 | ||
6e9130cf MS |
2302 | * python/py-prettyprint.c (apply_val_pretty_printer): VAL may |
2303 | be null. | |
2304 | ||
5f01dbc0 MS |
2305 | * linespec.c (decode_line_1): Check for null before dereference. |
2306 | ||
d684ab85 MS |
2307 | * reverse.c (record_restore): Move null-check to before pointer |
2308 | dereference. | |
2309 | ||
bfffb7e3 MS |
2310 | * python/py-utils.c (gdbpy_obj_to_string): Delete unused variable. |
2311 | ||
a9dc8dcc MS |
2312 | * objc-lang.c (selectors_info): Add explanitory comment. |
2313 | (classes_info): Ditto. | |
2314 | ||
478fd957 UW |
2315 | 2011-03-01 Ulrich Weigand <[email protected]> |
2316 | ||
2317 | * arm-linux-tdep.c (ARM_LDR_PC_SP_4): Add define. | |
2318 | (arm_linux_restart_syscall_init): Handle both on-stack and in-kernel | |
2319 | versions of the trampoline. Handle Thumb vs. ARM addresses. | |
2320 | (arm_kernel_linux_restart_syscall_tramp_frame): New global. | |
2321 | (arm_linux_init_abi): Install it. | |
2322 | * arm-tdep.c (arm_psr_thumb_bit): Make global. | |
2323 | * arm-tdep.c (arm_psr_thumb_bit): Add prototype. | |
2324 | ||
0480cefa MS |
2325 | 2011-02-28 Michael Snyder <[email protected]> |
2326 | ||
ac50ab3b MS |
2327 | * ui-out.c (ui_out_field_core_addr): Make local char buffer |
2328 | a little bigger, to avoid possibility of an overflow. | |
2329 | ||
f63fbe86 MS |
2330 | * breakpoint.c (breakpoint_adjustment_warning): Make local char |
2331 | buffers a little bigger, to avoid possibility of an overflow. | |
2332 | ||
9e91a352 MS |
2333 | * coffread.c (coff_getfilename): Add check to avoid overflow. |
2334 | ||
f2eb0bc8 | 2335 | * objc-lang.c (selectors_info): Add a small safety margin to |
28288541 MS |
2336 | avoid overflow. |
2337 | (classes_info): Error out on too long REGEXP. | |
2338 | ||
098ab512 MS |
2339 | * infrun.c (handle_inferior_event): Remove unused function call. |
2340 | ||
bcbd1de9 MS |
2341 | * fork-child.c (fork_inferior): Remove ifdef'd code and |
2342 | unused variable. | |
2343 | ||
2e456570 MS |
2344 | * linux-thread-db.c (attach_thread): Discard unused value. |
2345 | ||
14571dad MS |
2346 | * linux-nat.c (linux_handle_extended_wait): Delete unused variable. |
2347 | ||
a9cbf802 MS |
2348 | * remote.c (remote_get_noisy_reply): Discard unused value. |
2349 | (remote_vcont_resume): Ditto. | |
2350 | (remote_stop_ns): Ditto. | |
2351 | ||
5715d26e MS |
2352 | * linespec.c (decode_objc): Delete unused variable. |
2353 | ||
4a9bca80 MS |
2354 | * tui/tui-regs.c (tui_register_format): Delete unused variable. |
2355 | ||
f47fb265 MS |
2356 | * dwarf2read.c (add_partial_symbol): Discard unused values. |
2357 | (read_base_type): Delete unused variable. | |
2358 | ||
e81cff30 MS |
2359 | * dbxread.c (read_dbx_symtab): Discard unused value. |
2360 | ||
262acaeb MS |
2361 | * eval.c (evaluate_subexp_standard): Delete unused variable, |
2362 | and discard unused values. | |
2363 | ||
df983543 MS |
2364 | * infcmd.c (_initialize_infcmd): Discard unused values. |
2365 | ||
89acf84d MS |
2366 | * stabsread.c (rs6000_builtin_type): Missing break statement. |
2367 | ||
ab8b8aca MS |
2368 | * dbxread.c (process_one_symbol): Discard unused value. |
2369 | ||
6b4511ab MS |
2370 | * coffread.c (coff_end_symtab): Delete unused variable. |
2371 | ||
e8e80198 MS |
2372 | * dwarf2read.c (dw2_get_file_names): Discard unused value. |
2373 | (dwarf2_add_typedef): Delete unused variable. | |
2374 | (read_namespace): Ditto. | |
2375 | (dwarf_decode_macros): Ditto. | |
2376 | ||
976aa66e MS |
2377 | * m2-lang.c (evaluate_subexp_modula2): Discard unused variable. |
2378 | ||
5b92b49f MS |
2379 | * opencl-lang.c (evaluate_subexp_opencl): Discard unused value. |
2380 | ||
91e8df85 MS |
2381 | * p-valprint.c (pascal_val_print): Discard unused value. |
2382 | ||
899500d6 MS |
2383 | * utils.c (nquery): Call va_end before return; |
2384 | (yquery): Ditto. | |
2385 | (query): Ditto. | |
2386 | ||
0480cefa MS |
2387 | * proc-service.c (ps_plog): Call va_end before return. |
2388 | ||
fb6a3ed3 TT |
2389 | 2011-02-28 Tom Tromey <[email protected]> |
2390 | ||
2391 | * python/python.c (gdbpy_value_cst): New global. | |
2392 | (_initialize_python): Initialize it. | |
2393 | * python/python-internal.h (gdbpy_value_cst): Declare. | |
2394 | * python/py-value.c (convert_value_from_python): Use | |
2395 | gdbpy_value_cst. | |
2396 | ||
c05202a1 MS |
2397 | 2011-02-28 Michael Snyder <[email protected]> |
2398 | ||
e463f587 MS |
2399 | * python/py-cmd.c (cmdpy_init): Fix memory leak. |
2400 | ||
c38eea1a MS |
2401 | * breakpoint.c (catch_syscall_completer): Free malloced list. |
2402 | ||
3ef09ab5 MS |
2403 | * jv-lang.c (java_primitive_type_from_name): Add missing break. |
2404 | ||
8f9a01ee MS |
2405 | * opencl-lang.c (lval_func_check_validity): Rename inner variables. |
2406 | (lval_func_check_synthetic_pointer): Ditto. | |
2407 | (lval_func_free_closure): Fix use-after-free. | |
c05202a1 | 2408 | |
477d0d57 TT |
2409 | 2011-02-28 Tom Tromey <[email protected]> |
2410 | ||
2411 | * psymtab.c (expand_partial_symbol_tables): Use | |
2412 | ALL_OBJFILE_PSYMTABS. | |
2413 | ||
20937029 JK |
2414 | 2011-02-28 Jan Kratochvil <[email protected]> |
2415 | ||
2416 | * objc-lang.c (selectors_info): Error on too long REGEXP. | |
2417 | ||
907b7f4f MS |
2418 | 2011-02-28 Michael Snyder <[email protected]> |
2419 | ||
92e96192 MS |
2420 | * python/py-param.c (set_parameter_value): Add missing |
2421 | break statement. | |
2422 | ||
907b7f4f MS |
2423 | * linux-record.c (record_linux_system_call): Add missing |
2424 | break statement. | |
2425 | ||
12c5a436 UW |
2426 | 2011-02-28 Ulrich Weigand <[email protected]> |
2427 | ||
2428 | * breakpoint.c (print_one_breakpoint_location): Remove unused | |
2429 | argument PRINT_ADDRESS_BITS. Update callers. | |
2430 | (print_one_breakpoint): Likewise. | |
2431 | ||
170b53b2 UW |
2432 | 2011-02-28 Ulrich Weigand <[email protected]> |
2433 | ||
2434 | * breakpoint.c (wrap_indent_at_field): New function. | |
2435 | (print_breakpoint_location): Use it instead of WRAP_INDENT argument. | |
2436 | Allocate ui_stream locally instead of using STB argument. | |
2437 | (print_one_breakpoint_location): Update call. | |
2438 | * ui-out.c (ui_out_query_field): New function. | |
2439 | * ui-out.h (ui_out_query_field): Add prototype. | |
2440 | ||
8ab1f94d JB |
2441 | 2011-02-28 Joel Brobecker <[email protected]> |
2442 | ||
2443 | From Michael Snyder <[email protected]> | |
2444 | * ada-exp.y (write_object_renaming): Add FALLTHROUGH comment. | |
2445 | ||
7d488639 MS |
2446 | 2011-02-27 Michael Snyder <[email protected]> |
2447 | ||
ae179fba MS |
2448 | * objc-lang.c (selectors_info): Prevent string overrun. |
2449 | ||
086dbf66 MS |
2450 | * tui/tui-stack.c (tui_get_function_from_frame): Fix off by one |
2451 | error in strncpy. | |
2452 | ||
f2eb0bc8 | 2453 | * symtab.c (rbreak_command): Move variable 'file_name' to |
9c1e305a MS |
2454 | outer scope. |
2455 | ||
7d488639 MS |
2456 | * d-valprint.c (dynamic_array_type): Avoid shadowing a function |
2457 | param with a local variable of the same name. | |
2458 | ||
3bd0f5ef MS |
2459 | 2011-02-27 Michael Snyder <[email protected]> |
2460 | ||
2461 | * value.c (value_from_history_ref): New function. | |
2462 | * value.h (value_from_history_ref): Export. | |
2463 | * cli/cli-utils.c (get_number_trailer): Use value_from_history_ref | |
2464 | to parse value history references. | |
2465 | * cli/cli-utils.h (get_number_trailer): Update comment. | |
2466 | ||
2467 | 2011-02-27 Michael Snyder <[email protected]> | |
2468 | ||
2469 | * inferior.c (detach_inferior_command): Use get_number_or_range. | |
2470 | (kill_inferior_command): Ditto. | |
2471 | (remove_inferior_command): Ditto. | |
2472 | (initialize_inferiors): Make command names plural. | |
2473 | Update help strings. | |
2474 | ||
766062f6 MS |
2475 | 2011-02-27 Michael Snyder <[email protected]> |
2476 | ||
2477 | * darwin-nat-info.c: Fix comment typo. | |
2478 | * dwarf2expr.h: Ditto. | |
2479 | * fbsd-nat.c: Ditto. | |
2480 | * fbsd-nat.h: Ditto. | |
2481 | * frame-unwind.h: Ditto. | |
2482 | * frame.h: Ditto. | |
2483 | * hppa-hpux-tdep.c: Ditto. | |
2484 | * i386-linux-nat.c: Ditto. | |
2485 | * linux-nat.c: Ditto. | |
2486 | * nbsd-nat.c: Ditto. | |
2487 | * nbsd-nat.h: Ditto. | |
2488 | * ppc-linux-tdep.c: Ditto. | |
2489 | * serial.c: Ditto. | |
2490 | * ui-file.h: Ditto. | |
2491 | * tui/tui-winsource.c: Ditto. | |
2492 | ||
f2c4ead5 MS |
2493 | 2011-02-26 Michael Snyder <[email protected]> |
2494 | ||
86b887df MS |
2495 | * breakpoint.c (reattach_breakpoints): Avoid resource leak (ui_file). |
2496 | ||
66fd3b1e MS |
2497 | * maint.c (maintenance_do_deprecate): Plug a memory leak. |
2498 | ||
8c814cdd MS |
2499 | * dwarf2loc.c (insert_bits): Avoid shadowing a function param |
2500 | with a local variable of the same name. | |
2501 | ||
6d5e094a | 2502 | * i387-tdep.c (i387_supply_fxsave): Avoid shadowing a function |
e5b3d7d6 | 2503 | param with a local variable of the same name. |
6d5e094a | 2504 | (i387_supply_xsave): Ditto. |
e5b3d7d6 | 2505 | |
5eee517d MS |
2506 | * linux-low.c (linux_nat_xfer_osdata): Rename local variable so |
2507 | that it does not shadow a function parameter. | |
2508 | ||
8fbf6b93 MS |
2509 | * i386-nat.c (i386_length_and_rw_bits): Document that case |
2510 | statement is meant to fall through. | |
2511 | ||
cb969d61 MS |
2512 | * expprint.c (dump_subexp_body_standard): Document that case |
2513 | statement is meant to fall through. | |
2514 | ||
f2c4ead5 MS |
2515 | * amd64-linux-tdep.c (amd64_linux_syscall_record): Delete |
2516 | dead if statement. Condition can't be false. | |
2517 | ||
b021a221 MS |
2518 | 2011-02-25 Michael Snyder <[email protected]> |
2519 | ||
2520 | * arm-tdep.c: Fix typos in comments. | |
2521 | * bsd-uthread.c: Ditto. | |
2522 | * completer.c: Ditto. | |
2523 | * corelow.c: Ditto. | |
2524 | * cp-namespace.c: Ditto. | |
2525 | * cp-support.c: Ditto. | |
2526 | * cris-tdep.c: Ditto. | |
2527 | * dbxread.c: Ditto. | |
2528 | * dwarf2read.c: Ditto. | |
2529 | * frame.h: Ditto. | |
2530 | * gdbtypes.h: Ditto. | |
2531 | * inferior.h: Ditto. | |
2532 | * mdebugread.c: Ditto. | |
2533 | * mips-tdep.c: Ditto. | |
2534 | * ppc-linux-nat.c: Ditto. | |
2535 | * ppc-linux-tdep.c: Ditto. | |
2536 | * printcmd.c: Ditto. | |
2537 | * sol-thread.c: Ditto. | |
2538 | * solib-frv.c: Ditto. | |
2539 | * solist.h: Ditto. | |
2540 | * sparc64-tdep.c: Ditto. | |
2541 | * spu-tdep.c: Ditto. | |
2542 | * stabsread.c: Ditto. | |
2543 | * symfile.c: Ditto. | |
2544 | * valops.c: Ditto. | |
2545 | * varobj.c: Ditto. | |
2546 | * vax-nat.c: Ditto. | |
2547 | * python/py-block.c: Ditto. | |
2548 | * python/py-symbol.c: Ditto. | |
2549 | * python/py-symtab.c: Ditto. | |
2550 | * python/py-value.c: Ditto. | |
2551 | * tui/tui-win.c: Ditto. | |
2552 | ||
c82c0b55 MS |
2553 | 2011-02-25 Michael Snyder <[email protected]> |
2554 | ||
2555 | * inferior.c (print_inferior): Accept a string instead of an int | |
2556 | for requested_inferiors, and use get_number_or_range to parse it. | |
2557 | (info_inferiors_command): Pass args string to print_inferior. | |
2558 | (initialize_inferiors): Change help string for info inferiors. | |
2559 | * inferior.h (print_inferior): Export prototype change. | |
2560 | ||
ee00cd23 TT |
2561 | 2011-02-25 Tom Tromey <[email protected]> |
2562 | ||
2563 | * common/ax.def (invalid2): Set to 0x31. | |
2564 | ||
0502ed8c JK |
2565 | 2011-02-25 Jan Kratochvil <[email protected]> |
2566 | ||
2567 | * dwarf2loc.c (disassemble_dwarf_expression) <DW_OP_breg[0-9]+>: Use | |
2568 | L and plongest. | |
2569 | (disassemble_dwarf_expression) <DW_OP_bregx>: Drop variable offset, | |
2570 | use L and plongest. | |
2571 | (disassemble_dwarf_expression) <DW_OP_fbreg>: Use L and plongest. | |
2572 | ||
2c9de912 MS |
2573 | 2011-02-24 Michael Snyder <[email protected]> |
2574 | ||
2575 | * Makefile.in (clean): Make clean should remove generated files | |
2576 | observer.h and observer.inc. | |
2577 | ||
a04b0428 JB |
2578 | 2011-02-24 Joel Brobecker <[email protected]> |
2579 | ||
2580 | Revert the following patch (not approved yet): | |
2581 | 2011-02-21 Hui Zhu <[email protected]> | |
2582 | * Makefile.in (HFILES_NO_SRCDIR): Add printcmd.h. | |
2583 | * ax-gdb.c (gen_printf_expr_callback): New function. | |
2584 | * ax-gdb.h (gen_printf_expr_callback): Forward declare. | |
2585 | * ax-general.c (ax_memcpy): New function. | |
2586 | (ax_print): Handle "printf". | |
2587 | (ax_reqs): Ditto. | |
2588 | * ax.h (ax_memcpy): Forward declare. | |
2589 | * common/ax.def (invalid2): Removed. | |
2590 | (printf): New entry. | |
2591 | * printcmd.c (printcmd.h): New include. | |
2592 | (string_printf): New function. | |
2593 | (ui_printf): Removed. | |
2594 | (printf_command): Remove static. Call string_printf. | |
2595 | (eval_command): Call string_printf. | |
2596 | * printcmd.h: New file. | |
2597 | * tracepoint.c (validate_actionline, | |
2598 | encode_actions_1): handle printf_command. | |
2599 | ||
2b52013f TT |
2600 | 2011-02-23 Tom Tromey <[email protected]> |
2601 | ||
2602 | * ax-general.c (ax_pick): Add missing newline. | |
2603 | ||
e5a67952 MS |
2604 | 2011-02-23 Michael Snyder <[email protected]> |
2605 | ||
2606 | * breakpoint.c (breakpoint_1): Change first argument from an int | |
2607 | to a char pointer, so that the function now accepts a list of | |
f2eb0bc8 | 2608 | breakpoints rather than just one. Use new function |
e5a67952 MS |
2609 | 'number_is_in_list' to implement. |
2610 | (breakpoints_info): Pass char * instead of int to breakpoint_1. | |
2611 | (watchpoints_info): Ditto. | |
2612 | (tracepoints_info): Ditto. | |
2613 | (maintenance_info_breakpoints): Ditto. | |
2614 | (_initialize_breakpoint): Update help strings to reflect the fact | |
2615 | that these functions can now take more than one argument. | |
2616 | * cli/cli-utils.c (number_is_in_list): New function. | |
2617 | * cli/cli-utils.h (number_is_in_list): Export. | |
2618 | ||
2619 | 2011-02-23 Michael Snyder <[email protected]> | |
fbcb778d MS |
2620 | |
2621 | * memattr.c (mem_enable_command): Use get_number_or_range. | |
2622 | (mem_disable_command): Ditto. | |
2623 | (mem_delete_command): Ditto. | |
2624 | (_initialize_mem): Tweak usage message to reflect multiple | |
2625 | arguments. | |
2626 | ||
6e6fbe60 DE |
2627 | 2011-02-22 Doug Evans <[email protected]> |
2628 | ||
2629 | Add gdb.lookup_global_symbol python function. | |
2630 | * NEWS: Add entry. | |
2631 | * python/py-symbol.c (gdbpy_lookup_global_symbol): New function. | |
2632 | * python/python-internal.h (gdbpy_lookup_global_symbol): Declare it. | |
2633 | * python/python.c (GdbMethods): Add entry for lookup_global_symbol. | |
2634 | ||
79b97fa8 TT |
2635 | 2011-02-22 Tom Tromey <[email protected]> |
2636 | ||
2637 | * language.c (language_class_name_from_physname): Rename | |
2638 | 'curr_language' argument to 'lang'; use in body. | |
2639 | ||
298f437a MS |
2640 | 2011-02-22 Michael Snyder <[email protected]> |
2641 | ||
2642 | * cli/cli-utils.c (number_is_in_list): Check for zero return. | |
2643 | ||
b7ea3126 PA |
2644 | 2011-02-22 Pedro Alves <[email protected]> |
2645 | ||
2646 | * frame-unwind.h: Fix comment to mention the this frame, not the | |
2647 | next. | |
2648 | ||
58ee6d60 TT |
2649 | 2011-02-22 Tom Tromey <[email protected]> |
2650 | ||
2651 | * symfile.c (auto_solib_limit): Remove. | |
2652 | * symfile.h (auto_solib_limit): Remove. | |
2653 | ||
36238dbc JB |
2654 | 2011-02-22 Joel Brobecker <[email protected]> |
2655 | ||
2656 | * Makefile.in (INSTALLED_LIBS): Delete. Update comment. | |
2657 | ||
aea5b279 MS |
2658 | 2011-02-21 Michael Snyder <[email protected]> |
2659 | ||
2660 | * gdbthread.h (print_thread_info): Change prototype. | |
2661 | * thread.c (print_thread_info): Accept char* instead of int for | |
2662 | requested_threads argument. Use new function number_is_in_list | |
2663 | to determine which threads to list. | |
2664 | (info_threads_command): Pass char* to print_thread_info. | |
2665 | * cli/cli-utils.c (number_is_in_list): New function. | |
2666 | * cli/cli-utils.h (number_is_in_list): Export. | |
f2eb0bc8 | 2667 | * mi/mi-main.c (mi_cmd_thread_info): Pass char* to |
aea5b279 MS |
2668 | print_thread_info. |
2669 | (print_one_inferior): Ditto. | |
2670 | (mi_cmd_list_thread_groups): Ditto. | |
2671 | ||
8caa75ee JK |
2672 | 2011-02-21 Jan Kratochvil <[email protected]> |
2673 | ||
2674 | * common/Makefile.in (CFLAGS): New. | |
2675 | (COMPILE): Add $(CFLAGS). | |
2676 | ||
ea666128 TT |
2677 | 2011-02-21 Tom Tromey <[email protected]> |
2678 | ||
2679 | * breakpoint.c (catch_syscall_command_1): Fix typo. | |
2680 | ||
e9cafbcc TT |
2681 | 2011-02-21 Tom Tromey <[email protected]> |
2682 | ||
2683 | * reverse.c: Include cli-utils.h. | |
2684 | * printcmd.c: Include cli-utils.h. | |
2685 | (string_printf): Use skip_spaces. | |
2686 | * cli/cli-utils.h: New file. | |
2687 | * cli/cli-utils.c: New file. | |
2688 | * cli/cli-dump.h (skip_spaces): Move to cli-utils.h. | |
2689 | * cli/cli-dump.c (skip_spaces): Move to cli-utils.c. | |
2690 | * breakpoint.h (get_number, get_number_or_range): Move to | |
2691 | cli-utils.h. | |
2692 | * breakpoint.c: Include cli-utils.h. | |
2693 | (get_number_trailer, get_number, get_number_or_range) | |
2694 | (ep_skip_leading_whitespace): Move to cli-utils.c. | |
2695 | (create_breakpoint_sal, find_condition_and_thread) | |
2696 | (decode_static_tracepoint_spec, watch_command_1) | |
2697 | (watch_maybe_just_location, ep_parse_optional_if_clause) | |
2698 | (catch_fork_command_1, catch_exec_command_1) | |
2699 | (catch_syscall_command_1): Use skip_spaces, skip_to_space. | |
2700 | * Makefile.in (SUBDIR_CLI_OBS): Add cli-utils.o. | |
2701 | (SUBDIR_CLI_SRCS): Add cli-utils.c. | |
2702 | (HFILES_NO_SRCDIR): Add cli-utils.h. | |
2703 | (cli-utils.o): New target. | |
2704 | ||
f67fd822 PM |
2705 | 2011-02-18 Pierre Muller <[email protected]> |
2706 | ||
2707 | * remote.c (remote_close): Reset INFERIOR_PTID to NULL_PTID | |
2708 | before calling discard_all_inferiors. | |
2709 | ||
c9def01d UW |
2710 | 2011-02-21 Ulrich Weigand <[email protected]> |
2711 | ||
2712 | * opencl-lang.c (STRUCT_OCL_TYPE): Remove. | |
2713 | (struct builtin_opencl_type): Remove. | |
2714 | (builtin_opencl_type): Change return type to "struct type **". | |
2715 | (lookup_opencl_vector_type): Update caller. | |
2716 | (opencl_language_arch_info): Copy primitive type vector from gdbarch. | |
2717 | (build_opencl_types): Install plain array of "struct type *" | |
2718 | instead of "struct builtin_opencl_type". | |
2719 | ||
e3039479 UW |
2720 | 2011-02-21 Matthew Gretton-Dann <[email protected]> |
2721 | Ulrich Weigand <[email protected]> | |
2722 | ||
2723 | * arm-linux-nat.c: Include "observer.h" and "gdbthread.h". | |
2724 | (PTRACE_GETHBPREGS, PTRACE_SETHBPREGS): Define. | |
2725 | (struct arm_linux_hwbp_cap): New type. | |
2726 | (arm_linux_get_hwbp_cap): New function. | |
2727 | (arm_linux_get_hw_breakpoint_count): Likewise. | |
2728 | (arm_linux_get_hw_watchpoint_count): Likewise. | |
2729 | (arm_linux_can_use_hw_breakpoint): Likewise. | |
2730 | (arm_hwbp_type): New type. | |
2731 | (arm_hwbp_control_t): Likewise. | |
2732 | (struct arm_linux_hw_breakpoint): Likewise. | |
2733 | (struct arm_linux_thread_points): Likewise. | |
2734 | (arm_threads): New global variable. | |
2735 | (arm_linux_find_breakpoints_by_tid): New function. | |
2736 | (arm_hwbp_control_initialize): Likewise. | |
2737 | (arm_hwbp_control_is_enabled): Likewise. | |
2738 | (arm_hwbp_control_disable): Likewise. | |
2739 | (arm_linux_hw_breakpoint_initialize): Likewise. | |
2740 | (arm_linux_get_hwbp_type): Likewise. | |
2741 | (arm_linux_hw_watchpoint_initialize): Likewise. | |
2742 | (arm_linux_hw_breakpoint_equal): Likewise. | |
2743 | (arm_linux_insert_hw_breakpoint1): Likewise. | |
2744 | (arm_linux_remove_hw_breakpoint1): Likewise. | |
2745 | (arm_linux_insert_hw_breakpoint): Likewise. | |
2746 | (arm_linux_remove_hw_breakpoint): Likewise. | |
2747 | (arm_linux_region_ok_for_hw_watchpoint): Likewise. | |
2748 | (arm_linux_insert_watchpoint): Likewise. | |
2749 | (arm_linux_remove_watchpoint): Likewise. | |
2750 | (arm_linux_stopped_data_address): Likewise. | |
2751 | (arm_linux_stopped_by_watchpoint): Likewise. | |
2752 | (arm_linux_watchpoint_addr_within_range): Likewise. | |
2753 | (arm_linux_new_thread): Likewise. | |
2754 | (arm_linux_thread_exit): Likewise. | |
2755 | (_initialize_arm_linux_nat): Install hardware breakpoint/watchpoint | |
2756 | related target callbacks. Register arm_linux_new_thread and | |
2757 | arm_linux_thread_exit. | |
2758 | * arm-tdep.h (arm_pc_is_thumb): Add prototype. | |
2759 | * arm-tdep.c (arm_pc_is_thumb): Make global. | |
2760 | (arm_gdbarch_init): Call set_gdbarch_have_nonsteppable_watchpoint. | |
2761 | ||
b5db5dfc UW |
2762 | 2011-02-21 Ulrich Weigand <[email protected]> |
2763 | ||
2764 | * breakpoint.c (update_watchpoint): Do not attempt to recreate | |
2765 | per-frame locations while within a function epilogue. | |
2766 | ||
e25b2cfa PM |
2767 | 2011-02-21 Pierre Muller <[email protected]> |
2768 | ||
2769 | * ser-mingw.c (ser_windows_close): Reformat comment to better conform | |
2770 | to GNU coding standards. | |
2771 | ||
4af53f97 PM |
2772 | 2011-02-21 Pierre Muller <[email protected]> |
2773 | ||
2774 | Allow use of mingw native on Windows 95 OS. | |
e25b2cfa | 2775 | * ser-mingw.c (CancelIo): New macro for dynamically loaded DLL entry. |
4af53f97 PM |
2776 | (ser_windows_close): Only call CancelIo if function exists. |
2777 | (_initialize_ser_windows): Use LoadLirary/GetProcAddress | |
2778 | to check for existence of CancelIo function in kernel32 DLL. | |
2779 | ||
d0e92d82 HZ |
2780 | 2011-02-21 Hui Zhu <[email protected]> |
2781 | ||
2782 | * Makefile.in (HFILES_NO_SRCDIR): Add printcmd.h. | |
2783 | * ax-gdb.c (gen_printf_expr_callback): New function. | |
2784 | * ax-gdb.h (gen_printf_expr_callback): Forward declare. | |
2785 | * ax-general.c (ax_memcpy): New function. | |
2786 | (ax_print): Handle "printf". | |
2787 | (ax_reqs): Ditto. | |
2788 | * ax.h (ax_memcpy): Forward declare. | |
2789 | * common/ax.def (invalid2): Removed. | |
2790 | (printf): New entry. | |
2791 | * printcmd.c (printcmd.h): New include. | |
2792 | (string_printf): New function. | |
2793 | (ui_printf): Removed. | |
2794 | (printf_command): Remove static. Call string_printf. | |
2795 | (eval_command): Call string_printf. | |
2796 | * printcmd.h: New file. | |
2797 | * tracepoint.c (validate_actionline, | |
2798 | encode_actions_1): handle printf_command. | |
2799 | ||
7d357efd MS |
2800 | 2011-02-19 Michael Snyder <[email protected]> |
2801 | ||
2802 | * reverse.c (delete_one_bookmark): Argument is now bookmark | |
2803 | id rather than pointer to bookmark struct. | |
2804 | (delete_bookmark_command): Use get_number_or_range. | |
2805 | (goto_bookmark_command): Parse with get_number instead of strtoul. | |
2806 | (bookmark_1): New function. Print info for one bookmark. | |
2807 | (bookmarks_info): Use get_number_or_range and bookmark_1. | |
2808 | ||
7a45ebd7 MS |
2809 | 2011-02-18 Michael Snyder <[email protected]> |
2810 | ||
f2eb0bc8 | 2811 | * thread.c (info_threads_command): Re-implement using |
7a45ebd7 | 2812 | get_number_or_range. |
65ebfb52 | 2813 | (thread_apply_command): Ditto. |
7a45ebd7 | 2814 | |
94d5e490 TT |
2815 | 2011-02-18 Tom Tromey <[email protected]> |
2816 | ||
2817 | * common/ax.def: New file. | |
2818 | * ax.h (enum agent_op): Use ax.def. | |
2819 | * ax-general.c (aop_map): Use ax.def. | |
2820 | ||
c7f96d2b TT |
2821 | 2011-02-18 Tom Tromey <[email protected]> |
2822 | ||
2823 | * ax-general.c (aop_map): Add pick and rot. | |
2824 | * dwarf2loc.c (compile_dwarf_to_ax) <DW_OP_over>: Reimplement. | |
2825 | <DW_OP_rot>: Implement. | |
2826 | * ax.h (enum agent_op) <aop_pick, aop_rot>: New constants. | |
2827 | (ax_pick): Declare. | |
2828 | * ax-general.c (ax_pick): New function. | |
2829 | ||
66694b75 TT |
2830 | 2011-02-18 Tom Tromey <[email protected]> |
2831 | ||
2832 | * Makefile.in (HFILES_NO_SRCDIR): Don't mention ada-operator.inc. | |
2833 | ||
eeaafae2 JK |
2834 | 2011-02-18 Jan Kratochvil <[email protected]> |
2835 | Tom Tromey <[email protected]> | |
2836 | ||
2837 | * cp-support.c (make_symbol_overload_list_namespace): Do not call | |
2838 | make_symbol_overload_list_block with NULL BLOCK. | |
2839 | * valarith.c (unop_user_defined_p): Resolve also TYPE_CODE_TYPEDEF. | |
2840 | ||
3c3fe74c PA |
2841 | 2011-02-18 Pedro Alves <[email protected]> |
2842 | ||
2843 | * breakpoint.c (get_number_trailer): No longer accept a NULL PP. | |
2844 | * breakpoint.h (get_number_or_range): Declare. | |
2845 | * printcmd.c (ALL_DISPLAYS): Declare. | |
2846 | (delete_display): Reimplement taking a display pointer. | |
2847 | (undisplay_command): Accept a range of displays to delete, using | |
2848 | get_number_or_range. | |
2849 | ||
13163d80 PM |
2850 | 2011-02-18 Pierre Muller <[email protected]> |
2851 | ||
2852 | * c-valprint.c (c_val_print): Add embedded_offset to address | |
2853 | for arrays of unspecified length. | |
2854 | * p-valprint.c (pascal_val_print): Likewise. | |
2855 | ||
b434a28f YQ |
2856 | 2011-02-18 Yao Qi <[email protected]> |
2857 | ||
2858 | * gdb/arm-tdep.c (arm_displaced_step_copy_insn): Move code to ... | |
2859 | (arm_process_displaced_insn): .. here. Remove parameter INSN. | |
2860 | (thumb_process_displaced_insn): New. | |
2861 | * gdb/arm-linux-tdep.c (arm_linux_displaced_step_copy_insn): Update | |
2862 | call to arm_process_displaced_insn. | |
2863 | * gdb/arm-tdep.h : Update declaration of arm_process_displaced_insn. | |
2864 | ||
9f6f94ff TT |
2865 | 2011-02-17 Tom Tromey <[email protected]> |
2866 | ||
2867 | * dwarf2loc.h (dwarf2_compile_expr_to_ax): Declare. | |
2868 | * dwarf2loc.c (dwarf2_compile_expr_to_ax): Rename from | |
2869 | compile_dwarf_to_ax. No longer static. Call | |
2870 | dwarf2_compile_cfa_to_ax. | |
2871 | (locexpr_tracepoint_var_ref): Update. | |
2872 | (loclist_tracepoint_var_ref): Update. | |
2873 | * dwarf2-frame.h (dwarf2_compile_cfa_to_ax): Declare. | |
2874 | * dwarf2-frame.c (execute_cfa_program): Remove 'this_frame' | |
2875 | argument; add 'gdbarch' and 'pc'. | |
2876 | (dwarf2_compile_cfa_to_ax): New function. | |
2877 | (dwarf2_frame_cache): Update. | |
2878 | ||
e67ad678 JB |
2879 | 2011-02-17 Joel Brobecker <[email protected]> |
2880 | ||
2881 | * ada-lang.c (ada_type_of_array): Fix the size of the array | |
2882 | in the case of an unconstrained packed array. | |
2883 | ||
946ebb0d YQ |
2884 | 2011-02-17 Yao Qi <[email protected]> |
2885 | ||
2886 | * common/Makefile.in: Add more targets for make. | |
2887 | ||
1ba1b353 TT |
2888 | 2011-02-16 Tom Tromey <[email protected]> |
2889 | ||
2890 | * dwarf2loc.c (unimplemented): Fix typo. | |
2891 | ||
b1bfef65 TT |
2892 | 2011-02-16 Tom Tromey <[email protected]> |
2893 | ||
2894 | * dwarf2loc.c (unimplemented): Handle unnamed opcodes. | |
2895 | (compile_dwarf_to_ax) <default>: Use unimplemented. | |
2896 | <DW_OP_deref>: Update. | |
2897 | (disassemble_dwarf_expression): Update. | |
2898 | * dwarf2read.c (dwarf_stack_op_name): Remove 'def' argument. | |
2899 | (decode_locdesc): Update. | |
2900 | * dwarf2expr.h (dwarf_stack_op_name): Update. | |
2901 | ||
5f1e6f19 TT |
2902 | 2011-02-16 Tom Tromey <[email protected]> |
2903 | ||
2904 | * ax.h (struct aop_map) <name>: Now const. | |
2905 | ||
a0c78a73 PA |
2906 | 2011-02-16 Tom Tromey <[email protected]> |
2907 | ||
2908 | * ax-gdb.c.c (gen_expr) <UNOP_MEMVAL>: Handle value kinds other | |
2909 | than axs_rvalue. | |
2910 | ||
946ebb0d | 2911 | 2011-02-16 Yao Qi <[email protected]> |
a42244db YQ |
2912 | |
2913 | * infrun.c (get_displaced_step_closure_by_addr): New. | |
2914 | * inferior.h: Declare it. | |
2915 | * arm-tdep.c: (arm_pc_is_thumb): Call | |
2916 | get_displaced_step_closure_by_addr. Adjust MEMADDR if it | |
2917 | returns non-NULL. | |
2918 | ||
08807d5a PA |
2919 | 2011-02-16 Pedro Alves <[email protected]> |
2920 | Jan Kratochvil <[email protected]> | |
2921 | ||
2922 | gdb/ | |
2923 | * tracepoint.c (memrange_sortmerge): Fix list A's end calculation. | |
2924 | ||
29976f3f PA |
2925 | 2011-02-16 Pedro Alves <[email protected]> |
2926 | Jan Kratochvil <[email protected]> | |
2927 | ||
2928 | * value.c (value_contents_copy_raw): Extend describing comment. | |
2929 | Assert that the destination contents we're overwriting are wholly | |
2930 | available. | |
fb68ae73 | 2931 | (value_contents_copy): Extend describing comment. |
29976f3f | 2932 | |
cd24cfaa PA |
2933 | 2011-02-16 Pedro Alves <[email protected]> |
2934 | Jan Kratochvil <[email protected]> | |
2935 | ||
2936 | * value.c (value_available_contents_eq): Remove redundant local | |
2937 | variables. Fix available contents comparision. | |
2938 | * value.h (value_available_contents_eq): Extend describing | |
2939 | comment. | |
2940 | ||
60bbf338 YQ |
2941 | 2011-02-16 Yao Qi <[email protected]> |
2942 | ||
2943 | * thread.c (info_threads_command): Add missing i18n markup and remove | |
2944 | trailing newline. | |
2945 | ||
17450429 PP |
2946 | 2011-02-15 Paul Pluzhnikov <[email protected]> |
2947 | ||
2948 | * breakpoint.c (longjmp_names): New variable. | |
2949 | (struct breakpoint_objfile_data): New type. | |
2950 | (breakpoint_objfile_key): New variable. | |
2951 | (msym_not_found): New variable. | |
2952 | (msym_not_found_p): New predicate. | |
2953 | (get_breakpoint_objfile_data): New function. | |
2954 | (create_overlay_event_breakpoint): Check per-objfile cache for | |
2955 | symbols first. | |
2956 | (create_longjmp_master_breakpoint): Likewise. | |
2957 | (create_std_terminate_master_breakpoint): Likewise. | |
2958 | (create_exception_master_breakpoint): Likewise. | |
2959 | (_initialize_breakpoint): Register per-objfile data key. | |
2960 | ||
af02033e PP |
2961 | 2011-02-15 Paul Pluzhnikov <[email protected]> |
2962 | ||
2963 | * breakpoint.c ((create_overlay_event_breakpoint): Const-propagate | |
2964 | parameter value. | |
2965 | (create_longjmp_master_breakpoint): Loop over longjmp names. | |
2966 | (create_std_terminate_master_breakpoint): Const-propagate parameter | |
2967 | value. | |
2968 | (update_breakpoints_after_exec): Adjust. | |
2969 | (breakpoint_re_set): Adjust. | |
2970 | ||
60f98dde MS |
2971 | 2011-02-15 Michael Snyder <[email protected]> |
2972 | ||
cdf99611 MS |
2973 | * thread.c (info_threads_command): Process arg as thread id, |
2974 | or list of thread ids. | |
2975 | (thread_find_command): New command. | |
2976 | (_initialize_thread): Document argument for info threads. | |
2977 | Document 'thread find' command. | |
2978 | * NEWS: Document new command "thread find". | |
60f98dde | 2979 | |
0feedb2c JK |
2980 | 2011-02-15 Jan Kratochvil <[email protected]> |
2981 | ||
2982 | * Makefile.in (ACLOCAL_AMFLAGS): Add `-I ../config'. | |
2983 | * aclocal.m4: Regenerated with aclocal-1.11.1. | |
2984 | * common/configure: Regenerate with autoconf-2.64. | |
2985 | ||
648cd113 KW |
2986 | 2011-02-15 Ken Werner <[email protected]> |
2987 | ||
2988 | * opencl-lang.c (build_opencl_types): Set the size of the built-in | |
2989 | bool data type to a size of one byte. | |
2990 | ||
5657161f PA |
2991 | 2011-02-15 Pedro Alves <[email protected]> |
2992 | Jan Kratochvil <[email protected]> | |
2993 | ||
2994 | * target.c (memory_xfer_live_readonly_partial): Document where to | |
2995 | look for interface description. | |
2996 | ||
494e194e YQ |
2997 | 2011-02-15 Yao Qi <[email protected]> |
2998 | ||
2999 | PR tdep/12352 | |
3000 | * arm-tdep.c (copy_ldr_str_ldrb_strb): Replace PC with SP in | |
3001 | order to store PC value on stack instead of text section. | |
3002 | ||
d9492458 TJB |
3003 | 2011-02-15 Thiago Jung Bauermann <[email protected]> |
3004 | ||
3005 | * rs6000-tdep.c (IS_EFP_PSEUDOREG): Use correct constant for | |
3006 | the EFP register set size. | |
3007 | (efpr_pseudo_register_read): Use regcache_raw_read_part to read | |
3008 | data from the VMX register. | |
3009 | (efpr_pseudo_register_write): Use regcache_raw_write_part to read | |
3010 | and write data from/to the VMX register. | |
3011 | ||
cdf99611 MS |
3012 | 2011-02-14 Michael Snyder <[email protected]> |
3013 | ||
3014 | * command.h (enum command_class): New class 'no_set_class', for | |
3015 | "show" commands without a corresponding "set" command. | |
3016 | * value.c (_initialize_values): Use 'no_set_class' for "show values". | |
3017 | * copying.c (_initialize_copying): Ditto for "show copying" and | |
3018 | "show warranty". | |
3019 | * cli/cli-cmds.c (init_cli_cmds): Ditto for "show commands" and | |
3020 | "show version". | |
3021 | * cli/cli-setshow.c (cmd_show_list): Skip "show" commands for | |
3022 | which there is no corresponding "set" command (eg. "show copying"). | |
3023 | ||
424447ee PA |
3024 | 2011-02-14 Pedro Alves <[email protected]> |
3025 | Jan Kratochvil <[email protected]> | |
3026 | ||
3027 | * exec.c (section_table_available_memory): Change `len' parameter | |
3028 | type to ULONGEST. | |
3029 | * exec.h (section_table_available_memory): Ditto. | |
3030 | * value.h (read_value_memory): Rename the `offset' parameter to | |
3031 | `embedded_offset'. | |
3032 | ||
c0f61f9c | 3033 | 2011-02-14 Pedro Alves <[email protected]> |
e0ccc0c7 | 3034 | Jan Kratochvil <[email protected]> |
c0f61f9c PA |
3035 | |
3036 | * memrange.c (compare_mem_ranges): Mention sort order in | |
3037 | describing comment. | |
3038 | (normalize_mem_ranges): Add comment. Fix ra->length calculation. | |
3039 | * tracepoint.c (traceframe_available_memory): Extend comment to | |
3040 | mention what happens to RESULT when the target does not support | |
3041 | the query. | |
3042 | ||
6bfc80c7 PA |
3043 | 2011-02-14 Pedro Alves <[email protected]> |
3044 | Jan Kratochvil <[email protected]> | |
3045 | ||
3046 | * value.c (mark_value_bytes_unavailable): Fix indexing the `bef' | |
3047 | range. | |
3048 | ||
e7303042 PA |
3049 | 2011-02-14 Pedro Alves <[email protected]> |
3050 | ||
3051 | * value.c (value_bits_valid, value_bits_synthetic_pointer): | |
3052 | No longer handle NULL values. | |
3053 | ||
8af8e3bc PA |
3054 | 2011-02-14 Pedro Alves <[email protected]> |
3055 | ||
3056 | * exceptions.h (NOT_AVAILABLE_ERROR): New error. | |
3057 | * value.c: Include "exceptions.h". | |
3058 | (require_available): Throw NOT_AVAILABLE_ERROR instead of a | |
3059 | generic error. | |
3060 | * cp-abi.c: Include gdb_assert.h. | |
3061 | (baseclass_offset): Add `embedded_offset' and `val' parameters. | |
3062 | Assert the method is implemented. Wrap NOT_AVAILABLE_ERROR | |
3063 | errors. | |
3064 | * cp-abi.h (baseclass_offset): Add `embedded_offset' and `val' | |
3065 | parameters. No longer returns -1 on error. | |
3066 | (struct cp_abi_ops) <baseclass_offset>: Add `embedded_offset' and | |
3067 | `val' parameters. | |
3068 | * cp-valprint.c: Include exceptions.h. | |
3069 | (cp_print_value): Handle NOT_AVAILABLE_ERROR errors when fetching | |
3070 | the baseclass_offset. Handle unavailable base classes. Use | |
3071 | val_print_invalid_address. | |
3072 | * p-valprint.c: Include exceptions.h. | |
3073 | (pascal_object_print_value): Handle NOT_AVAILABLE_ERROR errors | |
3074 | when fetching the baseclass_offset. No longer expect | |
3075 | baseclass_offset returning -1. Handle unavailable base classes. | |
3076 | Use val_print_invalid_address. | |
3077 | * valops.c (dynamic_cast_check_1): Rename `contents' parameter to | |
3078 | `valaddr' parameter, and change its type to gdb_byte pointer. Add | |
3079 | `embedded_offset' and `val' parameters. Adjust. | |
3080 | (dynamic_cast_check_2): Rename `contents' parameter to `valaddr' | |
3081 | parameter, and change its type to gdb_byte pointer. Add | |
3082 | `embedded_offset' and `val' parameters. Adjust. No longer expect | |
3083 | baseclass_offset returning -1. | |
3084 | (value_dynamic_cast): Use value_contents_for_printing rather than | |
3085 | value_contents. Adjust. | |
3086 | (search_struct_field): No longer expect baseclass_offset returning | |
3087 | -1. | |
3088 | (search_struct_method): If reading memory from the target is | |
3089 | necessary, wrap it in a new value to pass to baseclass_offset. No | |
3090 | longer expect baseclass_offset returning -1. | |
3091 | (find_method_list): No longer expect baseclass_offset returning | |
3092 | -1. Use value_contents_for_printing rather than value_contents. | |
3093 | * valprint.c (val_print_invalid_address): New function. | |
3094 | * valprint.h (val_print_invalid_address): Declare. | |
3095 | * gdbtypes.c (is_unique_ancestor_worker): New `embedded_offset' | |
3096 | and `val' parameters. No longer expect baseclass_offset returning | |
3097 | -1. Adjust. | |
3098 | * gnu-v2-abi.c: Include "exceptions.h". | |
3099 | (gnuv2_baseclass_offset): Add `embedded_offset' and `val' | |
3100 | parameters. Handle unavailable memory. Recurse through | |
3101 | gnuv2_baseclass_offset directly, rather than through | |
3102 | baseclass_offset. No longer returns -1 on not found, instead | |
3103 | throw an error. | |
3104 | * gnu-v3-abi.c (gnuv3_baseclass_offset): Add `embedded_offset' and | |
3105 | `val' parameters. Adjust. | |
3106 | ||
1b28d0b3 PA |
3107 | 2011-02-14 Pedro Alves <[email protected]> |
3108 | ||
3109 | * tracepoint.c (memrange_sortmerge): Don't merge ranges that are | |
3110 | almost but not quite adjacent. | |
3111 | ||
ec0a52e1 PA |
3112 | 2011-02-14 Pedro Alves <[email protected]> |
3113 | ||
3114 | * value.h (value_entirely_available): Declare. | |
3115 | * value.c (value_entirely_available): New function. | |
3116 | * c-valprint.c (c_value_print): Don't try fetching the pointer's | |
3117 | real type if the pointer is unavailable. | |
3118 | ||
24e6bcee PA |
3119 | 2011-02-14 Pedro Alves <[email protected]> |
3120 | ||
3121 | * valops.c (value_repeat): Use read_value_memory instead of | |
3122 | read_memory. | |
3123 | ||
39d37385 PA |
3124 | 2011-02-14 Pedro Alves <[email protected]> |
3125 | ||
3126 | * value.h (value_contents_copy, value_contents_copy_raw): Declare. | |
3127 | * value.c (value_contents_copy_raw, value_contents_copy): New | |
3128 | functions. | |
3129 | (value_primitive_field): Use value_contents_copy_raw instead of | |
3130 | memcpy. | |
3131 | * valops.c (value_fetch_lazy): Use value_contents_copy instead of | |
3132 | memcpy. | |
3133 | (value_array, value_slice): Ditto. | |
3134 | * valarith.c (value_subscripted_rvalue): Use | |
3135 | value_contents_copy_raw instead of memcpy. | |
3136 | ||
a3d34bf4 PA |
3137 | 2011-02-14 Pedro Alves <[email protected]> |
3138 | ||
3139 | <unavailable> references. | |
3140 | ||
3141 | * valops.c (get_value_at): Use value_from_contents_and_address, | |
3142 | avoiding read_memory. | |
3143 | ||
9fc6d940 PA |
3144 | 2011-02-14 Pedro Alves <[email protected]> |
3145 | ||
3146 | * c-valprint.c (c_val_print): Print a string with unavailable | |
3147 | contents as an array. | |
3148 | ||
5467c6c8 PA |
3149 | 2011-02-14 Pedro Alves <[email protected]> |
3150 | ||
3151 | * value.h (unpack_bits_as_long): Delete declaration. | |
3152 | (unpack_value_bits_as_long): Declare. | |
3153 | (unpack_value_field_as_long): Declare. | |
3154 | (value_field_bitfield): Declare. | |
3155 | * value.c (unpack_bits_as_long): Rename to... | |
3156 | (unpack_value_bits_as_long_1): ... this. Add embedded_offset and | |
3157 | value parameters. Return the extracted result in a new output | |
3158 | parameter. If the value contents are unavailable, return false, | |
3159 | otherwise return true. | |
3160 | (unpack_value_bits_as_long): New. | |
3161 | (unpack_field_as_long): Rename to... | |
3162 | (unpack_value_field_as_long_1): ... this. Add embedded_offset and | |
3163 | Add embedded_offset and value parameters. Return the extracted | |
3164 | result in a new output parameter. If the value contents are | |
3165 | unavailable, return false, otherwise return true. | |
3166 | (unpack_value_field_as_long): New. | |
3167 | (unpack_field_as_long_1): New. | |
3168 | (unpack_field_as_long): Reimplement as wrapper around | |
3169 | unpack_value_field_as_long_1. | |
3170 | (value_field_bitfield): New function. | |
3171 | * valops.c (value_fetch_lazy): When fetching a bitfield, use | |
3172 | unpack_value_bits_as_long. Mark the value as unavailable, if it | |
3173 | is unavailable. | |
3174 | * jv-valprint.c (java_print_value_fields): Use | |
3175 | value_field_bitfield. | |
3176 | * p-valprint.c (pascal_object_print_value_fields): Use | |
3177 | value_field_bitfield. | |
3178 | * cp-valprint.c (cp_print_value_fields): Use value_field_bitfield. | |
3179 | ||
3158c6ed PA |
3180 | 2011-02-14 Pedro Alves <[email protected]> |
3181 | ||
3182 | * value.c (get_internalvar_integer): Also return the int value of | |
3183 | TYPE_CODE_INT INTERNALVAR_VALUE values. | |
3184 | (set_internalvar): Don't special case TYPE_CODE_INT. | |
3185 | ||
9fbdca0d PA |
3186 | 2011-02-14 Pedro Alves <[email protected]> |
3187 | ||
3188 | * value.c (struct internalvar) <enum internalvar_kind>: Remove | |
3189 | INTERNALVAR_POINTER. | |
3190 | <pointer>: Delete. | |
3191 | (value_of_internalvar): Remove INTERNALVAR_POINTER handling. | |
3192 | (set_internalvar): Remove special TYPE_CODE_PTR handling. | |
3193 | (preserve_one_internalvar): Remove INTERNALVAR_POINTER handling. | |
3194 | ||
c8c1c22f PA |
3195 | 2011-02-14 Pedro Alves <[email protected]> |
3196 | ||
3197 | * value.h (value_available_contents_eq): Declare. | |
3198 | * value.c (find_first_range_overlap): New function. | |
3199 | (value_available_contents_eq): New function. | |
3200 | * valprint.c (val_print_array_elements): Use | |
3201 | value_available_contents_eq. | |
3202 | * ada-valprint.c (val_print_packed_array_elements): Use | |
3203 | value_available_contents_eq. | |
3204 | * jv-valprint.c (java_value_print): Use | |
3205 | value_available_contents_eq. | |
3206 | ||
e6e4e701 PA |
3207 | 2011-02-14 Pedro Alves <[email protected]> |
3208 | ||
3209 | * target.c (target_read_live_memory): New function. | |
3210 | (memory_xfer_live_readonly_partial): New. | |
3211 | (memory_xfer_partial): If reading from a traceframe, fallback to | |
3212 | reading unavailable read-only memory from read-only regions of | |
3213 | live target memory. | |
3214 | * tracepoint.c (disconnect_tracing): Adjust. | |
3215 | (set_current_traceframe): New, factored out from | |
3216 | set_traceframe_number. | |
3217 | (set_traceframe_number): Reimplement to only change the traceframe | |
3218 | number on the GDB side. | |
3219 | (do_restore_current_traceframe_cleanup): Adjust. | |
3220 | (make_cleanup_restore_traceframe_number): New. | |
3221 | (cur_traceframe_number): New global. | |
3222 | (tfile_open): Set cur_traceframe_number to no traceframe. | |
3223 | (set_tfile_traceframe): New function. | |
3224 | (tfile_trace_find): If looking up a traceframe using any method | |
3225 | other than by number, make sure the current tfile traceframe | |
3226 | matches gdb's current traceframe. Update the current tfile | |
3227 | traceframe if the lookup succeeded. | |
3228 | (tfile_fetch_registers, tfile_xfer_partial) | |
3229 | (tfile_get_trace_state_variable_value): Make sure the remote | |
3230 | traceframe matches gdb's current traceframe. | |
3231 | * remote.c (remote_traceframe_number): New global. | |
3232 | (remote_open_1): Set it to -1. | |
3233 | (set_remote_traceframe): New function. | |
3234 | (remote_fetch_registers, remote_store_registers) | |
3235 | (remote_xfer_memory, remote_xfer_partial) | |
3236 | (remote_get_trace_state_variable_value): Make sure the remote | |
3237 | traceframe matches gdb's current traceframe. | |
3238 | (remote_trace_find): If looking up a traceframe using any method | |
3239 | other than by number, make sure the current remote traceframe | |
3240 | matches gdb's current traceframe. Update the current remote | |
3241 | traceframe if the lookup succeeded. | |
3242 | * infrun.c (fetch_inferior_event): Adjust. | |
3243 | * tracepoint.h (set_current_traceframe): Declare. | |
3244 | (get_traceframe_number, set_traceframe_number): Add describing | |
3245 | comments. | |
3246 | ||
e6ca34fc PA |
3247 | 2011-02-14 Pedro Alves <[email protected]> |
3248 | ||
3249 | Mark pieces of values as unavailable if the corresponding memory | |
3250 | is unavailable. | |
3251 | ||
3252 | * valops.c: Include tracepoint.h. | |
3253 | (value_fetch_lazy): Use read_value_memory. | |
3254 | (read_value_memory): New. | |
3255 | * value.h (read_value_memory): Declare. | |
3256 | * dwarf2loc.c (read_pieced_value): Use read_value_memory. | |
3257 | * exec.c (section_table_available_memory): New function. | |
3258 | * exec.h (section_table_available_memory): Declare. | |
3259 | ||
2a7498d8 PA |
3260 | 2011-02-14 Pedro Alves <[email protected]> |
3261 | ||
3262 | * Makefile.in (SFILES): Add memrange.c. | |
3263 | (HFILES_NO_SRCDIR): Add memrange.h. | |
3264 | (COMMON_OBS): Add memrange.o. | |
3265 | * memrange.c: New file. | |
3266 | * memrange.h: New file. | |
3267 | * tracepoint.c: Include memrange.h. | |
3268 | (struct mem_range): Delete. | |
3269 | (mem_range_s): Delete. | |
3270 | (traceframe_available_memory): New function. | |
3271 | * tracepoint.h (traceframe_available_memory): Declare. | |
3272 | ||
b3b9301e PA |
3273 | 2011-02-14 Pedro Alves <[email protected]> |
3274 | ||
3275 | * target.h (struct traceframe_info): Forward declare. | |
3276 | (enum target_object): Add TARGET_OBJECT_TRACEFRAME_INFO. | |
3277 | (struct target_ops) <to_traceframe_info>: New field. | |
3278 | (target_traceframe_info): New. | |
3279 | * target.c (update_current_target): Inherit and default | |
3280 | to_traceframe_info. | |
3281 | * remote.c (PACKET_qXfer_traceframe_info): New. | |
3282 | (remote_protocol_features): Register qXfer:traceframe-info:read. | |
3283 | (remote_xfer_partial): Handle TARGET_OBJECT_TRACEFRAME_INFO. | |
3284 | (remote_traceframe_info): New. | |
3285 | (init_remote_ops): Install it. | |
3286 | (_initialize_remote): Install "set/show remote traceframe-info" | |
3287 | commands. | |
3288 | * tracepoint.h (parse_traceframe_info): Declare. | |
3289 | * tracepoint.c (struct mem_range): New. | |
3290 | (mem_range_s): New typedef. | |
3291 | (struct traceframe_info): New. | |
3292 | (traceframe_info): New global. | |
3293 | (free_traceframe_info): New function. | |
3294 | (clear_traceframe_info): New function. | |
3295 | (start_tracing, tfind_1, set_traceframe_number): Clear traceframe | |
3296 | info. | |
3297 | (build_traceframe_info): New function. | |
3298 | (tfile_traceframe_info): New function. | |
3299 | (init_tfile_ops): Install tfile_traceframe_info. | |
3300 | (traceframe_info_start_memory, free_result): New functions. | |
3301 | (memory_attributes, traceframe_info_elements): New globals. | |
3302 | (parse_traceframe_info, get_traceframe_info): New functions. | |
3303 | * features/traceframe-info.dtd: New file. | |
3304 | * Makefile.in (XMLFILES): Add traceframe-info.dtd. | |
3305 | ||
4e07d55f PA |
3306 | 2011-02-14 Pedro Alves <[email protected]> |
3307 | ||
3308 | Base support for <unavailable> value contents. | |
3309 | ||
4e07d55f PA |
3310 | * value.h (value_bytes_available): Declare. |
3311 | (mark_value_bytes_unavailable): Declare. | |
3312 | * value.c (struct range): New struct. | |
3313 | (range_s): New typedef. | |
3314 | (ranges_overlap): New function. | |
3315 | (range_lessthan): New function. | |
3316 | (ranges_contain_p): New function. | |
3317 | (struct value) <unavailable>: New field. | |
3318 | (value_bytes_available): New function. | |
3319 | (mark_value_bytes_unavailable): New function. | |
3320 | (require_not_optimized_out): Constify parameter. | |
3321 | (require_available): New function. | |
3322 | (value_contents_all, value_contents): Require all bytes be | |
3323 | available. | |
3324 | (value_free): Free `unavailable'. | |
3325 | (value_copy): Copy `unavailable'. | |
3326 | * valprint.h (val_print_unavailable): Declare. | |
3327 | * valprint.c (valprint_check_validity): Rename `offset' parameter | |
3328 | to `embedded_offset'. If printing a scalar, check whether the | |
3329 | value chunk is available. | |
3330 | (val_print_unavailable): New. | |
3331 | (val_print_scalar_formatted): Check whether the value is | |
3332 | available. | |
3333 | * python/py-prettyprint.c (apply_val_pretty_printer): Refuse | |
3334 | pretty-printing unavailable values. | |
3335 | ||
bc9a5551 JK |
3336 | 2011-02-13 Jan Kratochvil <[email protected]> |
3337 | ||
3338 | Fix const/volatile qualifiers of C++ types, PR c++/12328. | |
3339 | * c-typeprint.c (c_type_print_args): Update the function comment. New | |
3340 | variable param_type, initialize it. Remove const/volatile qualifiers | |
3341 | for language_cplus and !show_artificial. Use param_type. | |
3342 | ||
93b55aa1 JK |
3343 | 2011-02-13 Jan Kratochvil <[email protected]> |
3344 | ||
3345 | * symtab.c (find_pc_sect_line): New variable objfile, initialize it | |
3346 | from S. Iterate S using ALL_OBJFILE_SYMTABS. Verify BV for each S. | |
3347 | * symtab.h (struct symtab) <next>: Comment extension. | |
3348 | ||
181d9476 YQ |
3349 | 2011-02-12 Yao Qi <[email protected]> |
3350 | ||
3351 | * Makefile.in (CLEANDIRS): Remove duplicated common dir. | |
3352 | ||
b708a5c7 JK |
3353 | 2011-02-11 Yao Qi <[email protected]> |
3354 | ||
3355 | * common/Makefile.in: Add copyright header. | |
3356 | ||
c5187ac6 PA |
3357 | 2011-02-11 Pedro Alves <[email protected]> |
3358 | ||
3359 | * infrun.c (proceed): Move switching out and in of tfind mode from | |
3360 | here ... | |
3361 | (fetch_inferior_event): ... to here. | |
3362 | ||
4f3e6fb7 YQ |
3363 | 2011-02-11 Yao Qi <[email protected]> |
3364 | ||
3365 | * Makefile.in: Remove signals.o from COMMON_OBS. Link | |
3366 | libcommon.a. | |
3367 | * configure.ac: Add common to sub dir. | |
3368 | * configure: Regenerate. | |
3369 | ||
b708a5c7 JK |
3370 | 2011-02-11 Yao Qi <[email protected]> |
3371 | ||
3372 | Build libcommon.a. | |
3373 | ||
3374 | * common/Makefile.in: New. | |
3375 | * common/configure.ac: New. | |
3376 | * common/aclocal.m4: New. | |
3377 | * common/configure: Generate. | |
3378 | ||
2287cc7e PA |
3379 | 2011-02-10 Pedro Alves <[email protected]> |
3380 | ||
3381 | * vec.h (VEC_block_remove): Place VEC_ASSERT_INFO on the right | |
3382 | side of the parenthesis. | |
3383 | ||
3384 | Merge from GCC: | |
3385 | 2010-07-13 Jakub Jelinek <[email protected]> | |
fc013618 | 3386 | * vec.h (VEC_block_remove): Fix comment. |
2287cc7e | 3387 | |
fd62cb89 MS |
3388 | 2011-02-08 Michael Snyder <[email protected]> |
3389 | ||
3390 | * linux-nat.c (linux_nat_filter_event): Fix typo in comment. | |
3391 | ||
56d2815c JK |
3392 | 2011-02-08 Jan Kratochvil <[email protected]> |
3393 | ||
3394 | * i386-tdep.c (i386_process_record): Rename l suffixes to d suffixes | |
3395 | in comments for pcmpgtd, pcmpeqd, psubd, paddd, pcmpgtd, pcmpeqd, | |
3396 | psubd and paddd. | |
3397 | ||
4f7d61a8 JK |
3398 | 2011-02-08 Jan Kratochvil <[email protected]> |
3399 | ||
3400 | PR 12361. | |
3401 | * i386-tdep.c (i386_process_record) <0x660f3807>: Fix the comment to | |
3402 | phsubsw. | |
3403 | (i386_process_record) <lddqu>: Fix the opcode to 0xf20ff0. | |
3404 | (i386_process_record) <0x0f3807>: Fix the comment to phsubsw. | |
3405 | ||
54fcddd0 UW |
3406 | 2011-02-08 Ulrich Weigand <[email protected]> |
3407 | ||
3408 | * dwarf2read.c (read_subroutine_type): Set special calling | |
3409 | convention flag for functions compiled by IBM XL C for OpenCL. | |
3410 | * ppc-sysv-tdep.c: Include "dwarf2.h" | |
3411 | (ppc_sysv_abi_push_dummy_call): Implement IBM OpenCL vector types | |
3412 | calling convention. | |
3413 | (do_ppc_sysv_return_value): Add FUNC_TYPE argument. Implement | |
3414 | IBM OpenCL vector types calling convention. | |
3415 | (ppc_sysv_abi_return_value): Pass through FUNC_TYPE. | |
3416 | (ppc_sysv_abi_broken_return_value): Likewise. | |
3417 | (ppc64_sysv_abi_push_dummy_call): Implement IBM OpenCL vector | |
3418 | types calling convention. | |
3419 | (ppc64_sysv_abi_return_value): Likewise. | |
3420 | * spu-tdep.c: Include "dwarf2.h" | |
3421 | (spu_return_value): Implement IBM OpenCL vector types calling | |
3422 | convention. | |
3423 | ||
d6dafb7c UW |
3424 | 2011-02-08 Ulrich Weigand <[email protected]> |
3425 | ||
3426 | * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Implement | |
3427 | correct ABI for AltiVec vector arguments. | |
3428 | ||
32b72a42 PA |
3429 | 2011-02-07 Pedro Alves <[email protected]> |
3430 | ||
3431 | * valprint.c (val_print): Extend comment. | |
3432 | * ada-valprint.c (ada_valprint): Rewrite comment deferring | |
3433 | interface explanation to val_print. | |
3434 | (ada_val_print_array): Adjust comment to current interface. | |
3435 | (print_field_values): Adjust comment to current interface. | |
3436 | * c-valprint.c (c_val_print): Rewrite comment deferring interface | |
3437 | explanation to val_print. | |
3438 | * f-valprint.c (f_val_print): Ditto. | |
3439 | * jv-valprint.c (java_val_print): Ditto. | |
3440 | * m2-valprint.c (m2_val_print): Ditto. | |
3441 | * p-valprint.c (pascal_val_print): Ditto. | |
3442 | ||
9998af43 TJB |
3443 | 2011-02-07 Thiago Jung Bauermann <[email protected]> |
3444 | ||
3445 | * breakpoint.c (parse_breakpoint_sals): Fix description. | |
3446 | ||
505500db | 3447 | 2011-02-04 Sami Wagiaalla <[email protected]> |
9998af43 | 3448 | Oguz Kayral <[email protected]> |
505500db SW |
3449 | |
3450 | * python/py-inferior.c (python_on_normal_stop): New function. | |
3451 | (python_on_resume): New function. | |
3452 | (python_inferior_exit): New function. | |
3453 | (gdbpy_initialize_inferior): Add normal_stop, target_resumed, and | |
3454 | inferior_exit observers. | |
3455 | * python/py-evtregistry.c: New file. | |
3456 | * python/py-threadevent.c : New file. | |
3457 | * python/py-event.c: New file. | |
3458 | * python/py-evts.c: New file. | |
3459 | * python/py-continueevent.c: New file. | |
3460 | * python/py-bpevent.c: New file. | |
3461 | * python/py-signalevent.c: New file. | |
3462 | * python/py-exetiedevent.c: New file. | |
3463 | * python/py-breakpoint.c (gdbpy_breakpoint_from_bpstats): New function. | |
3464 | Move struct breakpoint_object from here... | |
3465 | * python/python-internal.h: ... to here. | |
3466 | * python/py-event.h: New file. | |
3467 | * python/py-events.h: New file. | |
3468 | * Makefile.in (SUBDIR_PYTHON_OBS): Add py-breakpointstopevent.o, | |
3469 | py-continueevent.o, py-event.o, py-eventregistry.o, py-events.o, | |
3470 | py-exitedevent.o, py-signalstopevent.o, and py-stopevent.o. | |
3471 | (SUBDIR_PYTHON_SRCS): Add py-breakpointstopevent.c, | |
3472 | py-continueevent.c, py-event.c, py-eventregistry.c, py-events.c, | |
3473 | py-exitedevent.c, py-signalstopevent.c, and py-stopevent.c. | |
3474 | Add build rules for all the above. | |
3475 | ||
9e0ac564 TT |
3476 | 2011-02-04 Tom Tromey <[email protected]> |
3477 | ||
3478 | * dwarf2read.c (dwarf2_section_empty_p): New function. | |
3479 | (dwarf2_read_section): Use dwarf2_section_empty_p. | |
3480 | (dwarf2_section_size): New function. | |
3481 | (dwarf2_get_section_info): Unconditionally read section. | |
3482 | (dwarf2_read_index): Use dwarf2_section_empty_p. | |
3483 | (partial_read_comp_unit_head): Use dwarf2_section_size. | |
3484 | (dwarf2_symbol_mark_computed): Likewise. | |
3485 | ||
eee5b35e DD |
3486 | 2011-02-04 David Daney <[email protected]> |
3487 | ||
3488 | * NEWS: Add item for "catch syscall" on mips*-linux* targets. | |
3489 | ||
385203ed DD |
3490 | 2011-02-04 David Daney <[email protected]> |
3491 | ||
3492 | * mips-linux-tdep.c: Include xml-syscall.h. | |
3493 | (mips_linux_get_syscall_number): New function. | |
3494 | (mips_linux_init_abi): Add calls to | |
3495 | mips_linux_get_syscall_number() and set_xml_syscall_file_name(). | |
3496 | * data-directory/Makefile.in (SYSCALLS_FILES): Add | |
3497 | mips-o32-linux.xml, mips-n32-linux.xml and mips-n64-linux.xml | |
3498 | * syscalls/mips-n32-linux.xml: New file. | |
3499 | * syscalls/mips-n64-linux.xml: New file. | |
3500 | * syscalls/mips-o32-linux.xml: New file. | |
3501 | ||
9277c30c UW |
3502 | 2011-02-04 Ulrich Weigand <[email protected]> |
3503 | ||
3504 | * dwarf2read.c (dwarf2_ranges_read): Skip empty range entries. | |
3505 | Complain about inverted range entries. | |
3506 | (dwarf2_record_block_ranges): Likewise. | |
3507 | ||
a3be7890 TJB |
3508 | 2011-02-04 Thiago Jung Bauermann <[email protected]> |
3509 | ||
3510 | Fix some typos. | |
3511 | * breakpoint.c (update_watchpoint): Fix name of the | |
3512 | update_global_location_list function. | |
3513 | (print_one_breakpoint): Fix typo. | |
3514 | (_initialize_breakpoint): Remove extra space in hbreak help | |
3515 | string. | |
3516 | * breakpoint.h (struct bp_location) <length>: Fix field | |
3517 | description. | |
3518 | ||
041274d8 PA |
3519 | 2011-02-04 Pedro Alves <[email protected]> |
3520 | ||
3521 | * regcache.c (registers_changed_ptid): Don't explictly always | |
3522 | clear `current_regcache'. Only clear current_thread_ptid and | |
3523 | current_thread_arch when PTID matches. Only reinit the frame | |
3524 | cache if PTID matches the current inferior_ptid. Move alloca(0) | |
3525 | call to ... | |
3526 | (registers_changed): ... here. | |
3527 | ||
c1c2ab58 UW |
3528 | 2011-02-03 Ulrich Weigand <[email protected]> |
3529 | ||
3530 | * arm-tdep.c (arm_skip_stack_protector): Accept any symbol that | |
3531 | starts with __stack_chk_guard as stack guard symbol. | |
3532 | ||
9011945e AB |
3533 | 2011-02-03 Andrew Burgess <[email protected]> |
3534 | ||
3535 | * disasm.c (compare_lines): Handle the end of sequence markers | |
3536 | within the line table to better support disassembling over | |
3537 | compilation unit boundaries. | |
3538 | ||
e0634ccf UW |
3539 | 2011-02-02 Ulrich Weigand <[email protected]> |
3540 | ||
3541 | * arm-tdep.c (skip_prologue_function): Add GDBARCH and IS_THUMB | |
3542 | arguments. Skip in-prologue calls to glibc __aeabi_read_tp | |
3543 | implementation even if no symbols are available. | |
3544 | (thumb_analyze_prologue): Update call to skip_prologue_function. | |
3545 | (arm_analyze_prologue): Likewise. | |
3546 | ||
0e9e9abd UW |
3547 | 2011-02-02 Ulrich Weigand <[email protected]> |
3548 | ||
3549 | * arm-tdep.c: Include "observer.h". | |
3550 | (arm_prologue_this_id): Use frame PC if get_frame_func returns 0. | |
3551 | (arm_exidx_data_key): New static variable. | |
3552 | (struct arm_exidx_entry, arm_exidx_entry_s): New data types. | |
3553 | (struct arm_exidx_data): Likewise. | |
3554 | (arm_exidx_data_free): New function. | |
3555 | (arm_compare_exidx_entries): Likewise. | |
3556 | (arm_obj_section_from_vma): Likewise. | |
3557 | (arm_exidx_new_objfile): Likewise. | |
3558 | (arm_find_exidx_entry): Likewise. | |
3559 | (arm_exidx_fill_cache): Likewise. | |
3560 | (arm_exidx_unwind_sniffer): Likewise. | |
3561 | (arm_exidx_unwind): New global variable. | |
3562 | (arm_gdbarch_init): Append unwinder arm_exidx_unwind. | |
3563 | (_initialize_arm_tdep): Attach arm_exidx_new_objfile to new_objfile | |
3564 | observer. Register arm_exidx_data_key as objfile data. | |
3565 | ||
2e9e421f UW |
3566 | 2011-02-02 Ulrich Weigand <[email protected]> |
3567 | ||
3568 | * arm-tdep.c (arm_analyze_load_stack_chk_guard): Avoid build break | |
3569 | due to accessing uninitialized variable. Fix indentation. | |
3570 | ||
580688f3 PA |
3571 | 2011-02-02 Pedro Alves <[email protected]> |
3572 | ||
3573 | * c-valprint.c (c_value_print): When doing virtual base pointer | |
3574 | adjustment, create a new value with adjusted contents rather than | |
3575 | changing the contents of the value being printed (and getting it | |
3576 | wrong). | |
3577 | ||
3d2c1d41 PA |
3578 | 2011-02-02 Pedro Alves <[email protected]> |
3579 | ||
3580 | * xml-support.c (xml_find_attribute): New. | |
3581 | (xinclude_start_include): Use it. | |
3582 | * xml-support.h (xml_find_attribute): Declare. | |
3583 | * memory-map.c (memory_map_start_memory) | |
3584 | (memory_map_start_property): Use xml_find_attribute. | |
3585 | * osdata.c (osdata_start_osdata, osdata_start_column): Use | |
3586 | xml_find_attribute. | |
3587 | * remote.c (start_thread): Use xml_find_attribute. | |
3588 | * solib-target.c (library_list_start_segment) | |
3589 | (library_list_start_section, library_list_start_library) | |
3590 | (library_list_start_list): Use xml_find_attribute. | |
3591 | * xml-tdesc.c (tdesc_start_target, tdesc_start_feature) | |
3592 | (tdesc_start_union, tdesc_start_struct, tdesc_start_flags) | |
3593 | (tdesc_start_field): Use xml_find_attribute. | |
3594 | ||
0af3e2db UW |
3595 | 2011-02-02 Ulrich Weigand <[email protected]> |
3596 | ||
3597 | * opencl-lang.c (STRINGIFY): Rename to OCL_STRING. | |
3598 | (BUILD_OCL_VTYPES): Update. | |
3599 | ||
c1039e3c JB |
3600 | 2011-02-02 Joel Brobecker <[email protected]> |
3601 | ||
3602 | * configure.ac: Work around non-GNU sed limitation when computing | |
3603 | python version number. | |
3604 | * configure: Regenerate. | |
3605 | ||
600ea1be JK |
3606 | 2011-02-01 Jan Kratochvil <[email protected]> |
3607 | ||
3608 | Fix debug printing of TYPE_INSTANCE. | |
3609 | * expprint.c (print_subexp_standard) <TYPE_INSTANCE>: New. | |
3610 | (dump_subexp_body_standard) <TYPE_INSTANCE>: New. | |
3611 | ||
56c12414 JK |
3612 | 2011-02-01 Jan Kratochvil <[email protected]> |
3613 | ||
3614 | Fix debug printing of BINOP_IN, OP_OBJC_MSGCALL, | |
3615 | OP_F77_UNDETERMINED_ARGLIST, OP_COMPLEX, OP_OBJC_SELECTOR, OP_NAME, | |
3616 | OP_OBJC_NSSTRING, OP_F90_RANGE and OP_DECFLOAT. | |
3617 | * ada-operator.inc: Rename the file to ... | |
3618 | * ada-operator.def: ... here, wrap all the entries by macro OP. | |
3619 | * expprint.c (op_name_standard): Remove all the entries. Include | |
3620 | "std-operator.def" instead. | |
3621 | * expression.h (enum exp_opcode): Include "std-operator.def" and | |
3622 | "ada-operator.def". Move all the entries ... | |
3623 | * std-operator.def: ... here, wrap all the entries by macro OP. | |
3624 | ||
c52b559d PP |
3625 | 2011-01-31 Paul Pluzhnikov <[email protected]> |
3626 | ||
3627 | * breakpoint.h (remove_jit_event_breakpoints): New prototype. | |
3628 | * breakpoint.c (remove_jit_event_breakpoints): New function. | |
3629 | * jit.c (jit_descriptor_addr): Delete. | |
3630 | (registering_code): Delete. | |
3631 | (clear_int): Delete. | |
3632 | (jit_inferior_data): New variable. | |
3633 | (struct jit_inferior_data): New type. | |
3634 | (get_jit_inferior_data): New function. | |
3635 | (jit_inferior_data_cleanup): New function. | |
3636 | (jit_read_descriptor): Adjust. | |
3637 | (jit_register_code): Adjust. | |
3638 | (jit_breakpoint_re_set_internal): New function; move code here ... | |
3639 | (jit_inferior_init): ... from here. | |
3640 | (jit_breakpoint_re_set): Adjust. | |
3641 | (jit_reset_inferior_data_and_breakpoints): New function. | |
3642 | (jit_inferior_created_observer): Adjust. | |
3643 | (jit_inferior_exit_hook): Adjust. | |
3644 | (jit_executable_changed_observer): New function. | |
3645 | (jit_event_handler): Adjust. | |
3646 | (_initialize_jit): Adjust. | |
3647 | ||
e839132d MS |
3648 | 2011-01-31 Michael Snyder <[email protected]> |
3649 | ||
3650 | * m32r-tdep.c (m32r_gdbarch_init): Replace accidentally deleted | |
3651 | line. | |
3652 | ||
47a80e90 TT |
3653 | 2011-01-31 Tom Tromey <[email protected]> |
3654 | ||
3655 | PR python/12216: | |
3656 | * python/python.c (execute_gdb_command): Call | |
3657 | prevent_dont_repeat. | |
3658 | * top.c (suppress_dont_repeat): New global. | |
3659 | (dont_repeat): Use it. | |
3660 | (prevent_dont_repeat): New function. | |
3661 | * command.h (prevent_dont_repeat): Declare. | |
3662 | ||
45a43567 TT |
3663 | 2011-01-31 Tom Tromey <[email protected]> |
3664 | ||
3665 | * infcmd.c (finish_backward): Use breakpoint_set_silent. | |
3666 | * python/py-breakpoint.c (bppy_set_silent): Use | |
3667 | breakpoint_set_silent. | |
3668 | (bppy_set_thread): Use breakpoint_set_thread. | |
3669 | (bppy_set_task): Use breakpoint_set_task. | |
3670 | * breakpoint.h (breakpoint_set_silent, breakpoint_set_thread) | |
3671 | (breakpoint_set_task): Declare. | |
3672 | (make_breakpoint_silent): Remove. | |
3673 | * breakpoint.c (breakpoint_set_silent): New function. | |
3674 | (breakpoint_set_thread): Likewise. | |
3675 | (breakpoint_set_task): Likewise. | |
3676 | (make_breakpoint_silent): Remove. | |
3677 | ||
09d682a4 TT |
3678 | 2011-01-31 Tom Tromey <[email protected]> |
3679 | ||
3680 | * breakpoint.h (user_breakpoint_p): Declare. | |
3681 | * breakpoint.c (user_breakpoint_p): New function. | |
3682 | (breakpoint_1): Use it. | |
3683 | (save_breakpoints): Likewise. | |
3684 | ||
9c4ea6c5 JB |
3685 | 2011-01-31 Joel Brobecker <[email protected]> |
3686 | ||
3687 | * configure.ac: Add handling of Python distribution on Windows. | |
3688 | * python-config.py: If the LIBS, SYSLIBS, LIBPL and/or LINKFORSHARED | |
3689 | sysconfig variables are not defined, then do not use them. | |
3690 | On Windows, if LIBPL is not defined, then use prefix + '/libs' | |
3691 | instead. On Windows, return all paths using forward-slashes | |
3692 | rather than backslashes. | |
3693 | ||
ac534cba JB |
3694 | 2011-01-31 Joel Brobecker <[email protected]> |
3695 | ||
3696 | * configure.ac: Remove fallback behavior for building | |
3697 | against Python. Remove tweaking of Python include path. | |
3698 | Add PYTHON_CPPFLAGS and PYTHON_LIBS substitution. | |
3699 | (AC_TRY_LIBPYTHON): Adjust program used in linking test. | |
3700 | If link is successful, set PYTHON_CPPFLAGS and PYTHON_LIBS. | |
3701 | Always restore CPPFLAGS and LIBS after linking test. | |
3702 | * configure: Regenerated. | |
3703 | * Makefile.in (INTERNAL_CPPFLAGS): Add @PYTHON_CPPFLAGS@. | |
3704 | (INSTALLED_LIBS, CLIBS): Add @PYTHON_LIBS@. | |
3705 | * python/python-internal.h: Adjust includes of Python .h files. | |
3706 | ||
c2f0d045 JB |
3707 | 2011-01-31 Joel Brobecker <[email protected]> |
3708 | ||
3709 | * tracepoint.c (traceframe_walk_blocks): Add missing i18n markup | |
3710 | in error message. | |
3711 | ||
6b0c4c1f JB |
3712 | 2011-01-31 Joel Brobecker <[email protected]> |
3713 | ||
3714 | * inflow.c (gdb_has_a_terminal): Fix typo in interactive_mode | |
3715 | value test. | |
3716 | ||
672c9795 YQ |
3717 | 2011-01-31 Yao Qi <[email protected]> |
3718 | ||
3719 | * arm-linux-nat.c: Update calls to regcache_register_status | |
3720 | instead of regcache_valid_p. | |
3721 | * aix-thread.c: Likewise. | |
3722 | * i386gnu-nat.c: Likewise. | |
3723 | ||
80b23b6a JK |
3724 | 2011-01-29 Jan Kratochvil <[email protected]> |
3725 | ||
3726 | Fix crash. | |
3727 | * valops.c (compare_parameters): Verify TYPE_NFIELDS before | |
3728 | touching TYPE_FIELD_ARTIFICIAL. | |
3729 | ||
4cd712bd RE |
3730 | 2011-01-28 Richard Earnshaw <[email protected]> |
3731 | ||
3732 | * MAINTAINERS: Move myself from Responsible Maintainers to Authorized | |
3733 | Committers. | |
3734 | ||
ffd5ec24 PA |
3735 | 2011-01-28 Pedro Alves <[email protected]> |
3736 | ||
3737 | * tracepoint.c (tfile_xfer_partial): If there's no traceframe | |
3738 | selected, don't try iterating over the traceframe's blocks. | |
3739 | (tfile_has_stack): If there's no traceframe selected, then there's | |
3740 | no stack. | |
3741 | (tfile_has_registers): If there's no traceframe selected, then | |
3742 | there's no registers. | |
3743 | ||
e8c9e0a1 PA |
3744 | 2011-01-28 Pedro Alves <[email protected]> |
3745 | ||
3746 | * target.c (memory_xfer_partial): No need to restore shadows if we | |
3747 | haven't read anything. | |
3748 | ||
de15c4ab PA |
3749 | 2011-01-28 Pedro Alves <[email protected]> |
3750 | ||
3751 | * mips-tdep.c (mips_print_register): Use get_frame_register_value | |
3752 | and val_print_scalar_formatted. | |
3753 | ||
9f41c731 PA |
3754 | 2011-01-27 Pedro Alves <[email protected]> |
3755 | ||
3756 | * tracepoint.c (tfile_read): New. | |
3757 | (tfile_open): Use it. | |
3758 | (tfile_get_traceframe_address): Use it. | |
3759 | (tfile_trace_find): Use it. | |
3760 | (walk_blocks_callback_func): New typedef. | |
3761 | (match_blocktype): New function. | |
3762 | (traceframe_walk_blocks): New function. | |
3763 | (traceframe_find_block_type): New function. | |
3764 | (tfile_fetch_registers, tfile_xfer_partial) | |
3765 | (tfile_get_trace_state_variable_value): Use | |
3766 | traceframe_find_block_type and tfile_read. | |
3767 | ||
cdefc55d KB |
3768 | 2011-01-26 Kevin Buettner <[email protected]> |
3769 | ||
3770 | * remote-mips.c: Add internationalization mark ups. Remove | |
3771 | trailing \n from already marked up strings. | |
3772 | ||
a81766d8 TT |
3773 | 2011-01-26 Tom Tromey <[email protected]> |
3774 | ||
3775 | * python/py-prettyprint.c (print_string_repr): Clear | |
3776 | 'addressprint' option when calling val_print_string. | |
3777 | (print_children): Handle Val_pretty_default. Clear 'addressprint' | |
3778 | option when calling val_print_string. | |
3779 | ||
74aedc46 TT |
3780 | 2011-01-26 Tom Tromey <[email protected]> |
3781 | ||
3782 | * python/python.c (gdbpy_solib_name): Use gdb_py_longest and | |
3783 | GDB_PY_LL_ARG. | |
3784 | * python/python-internal.h (GDB_PY_LL_ARG, GDB_PY_LLU_ARG): New | |
3785 | macros. | |
3786 | (gdb_py_longest, gdb_py_ulongest): New typedefs. | |
3787 | (gdb_py_long_from_longest, gdb_py_long_from_ulongest) | |
3788 | (gdb_py_long_as_ulongest): New defines. | |
3789 | (gdb_py_object_from_longest, gdb_py_object_from_ulongest) | |
3790 | (gdb_py_int_as_long): Declare. | |
3791 | * python/py-value.c (valpy_lazy_string): Use gdb_py_longest, | |
3792 | GDB_PY_LL_ARG, gdb_py_object_from_longest. | |
3793 | (valpy_long): Add comment. | |
3794 | * python/py-utils.c (get_addr_from_python): Use | |
3795 | gdb_py_long_as_ulongest. Handle overflow properly. | |
3796 | (gdb_py_object_from_longest): New function. | |
3797 | (gdb_py_object_from_ulongest): Likewise. | |
3798 | (gdb_py_int_as_long): Likewise. | |
3799 | * python/py-type.c (typy_array): Use gdb_py_int_as_long. | |
3800 | * python/py-symtab.c (salpy_get_pc): Use | |
3801 | gdb_py_long_from_ulongest. | |
3802 | (salpy_get_line): Use PyInt_FromLong. | |
3803 | * python/py-param.c (set_parameter_value): Use | |
3804 | gdb_py_int_as_long. | |
3805 | * python/py-lazy-string.c (stpy_get_address): Use | |
3806 | gdb_py_long_from_ulongest. | |
3807 | * python/py-frame.c (frapy_pc): Use gdb_py_long_from_ulongest. | |
3808 | * python/py-cmd.c (cmdpy_completer): Use gdb_py_int_as_long. | |
3809 | * python/py-breakpoint.c (bppy_set_thread): Use | |
3810 | gdb_py_int_as_long. | |
3811 | (bppy_set_task): Likewise. | |
3812 | (bppy_set_ignore_count): Likewise. | |
3813 | (bppy_set_hit_count): Likewise. | |
3814 | * python/py-block.c (blpy_get_start): Use | |
3815 | gdb_py_object_from_ulongest. | |
3816 | (blpy_get_end): Likewise. | |
3817 | (gdbpy_block_for_pc): Use gdb_py_ulongest and GDB_PY_LLU_ARG. | |
3818 | ||
e4f6d2ec TJB |
3819 | 2011-01-25 Mathieu Lacage <[email protected]> |
3820 | ||
3821 | PR/symtab 11766: | |
3822 | * gdb/objfiles.h (struct objfile) <addr_low>: New field. | |
3823 | * gdb/solib.c (solib_read_symbols): Check for addr_low in | |
3824 | equality test for objfile, initialize addr_low if needed. | |
3825 | ||
b30aa278 PA |
3826 | 2011-01-25 Pedro Alves <[email protected]> |
3827 | ||
3828 | * tui/tui-regs.c (tui_register_format): Remove dead code. | |
3829 | ||
ab2188aa PA |
3830 | 2011-01-25 Pedro Alves <[email protected]> |
3831 | ||
3832 | * printcmd.c (print_formatted): Use val_print_scalar_formatted | |
3833 | instead of print_scalar_formatted. | |
3834 | (print_scalar_formatted): Don't handle 's' format strings here, | |
3835 | and add an assertion that we never see such format here. | |
3836 | * valprint.h (val_print_scalar_formatted): Declare. | |
3837 | * valprint.c (val_print_scalar_formatted): New. | |
3838 | * c-valprint.c (c_val_print): Use val_print_scalar_formatted | |
3839 | instead of print_scalar_formatted. | |
3840 | * jv-valprint.c (java_val_print): Ditto. | |
3841 | * p-valprint.c (pascal_val_print): Ditto. | |
3842 | * ada-valprint.c (ada_val_print_1): Ditto. | |
3843 | * f-valprint.c (f_val_print): Ditto. | |
3844 | * infcmd.c (registers_info): Ditto. | |
3845 | * m2-valprint.c (m2_val_print): Ditto. | |
3846 | ||
66d61a4c PA |
3847 | 2011-01-25 Pedro Alves <[email protected]> |
3848 | ||
3849 | * m2-valprint.c (print_unbounded_array): Pass | |
3850 | value_contents_for_printing rather than value_contents, to | |
3851 | m2_print_array_contents. Also pass in the value. | |
3852 | ||
831adc1f JK |
3853 | 2011-01-25 Jan Kratochvil <[email protected]> |
3854 | ||
3855 | * dwarf2read.c (dwarf2_read_index, write_psymtabs_to_index) | |
3856 | (save_gdb_index_command): Switch to .gdb_index version 4. | |
3857 | ||
20622269 PA |
3858 | 2011-01-25 Pedro Alves <[email protected]> |
3859 | ||
3860 | * mi/mi-main.c (get_register): Use get_frame_register_value rather | |
3861 | than frame_register, and always pass a valid value to val_print. | |
3862 | ||
585fdaa1 PA |
3863 | 2011-01-25 Pedro Alves <[email protected]> |
3864 | ||
3865 | Centralize printing "<optimized out>". | |
3866 | ||
3867 | * valprint.h (val_print_optimized_out): Declare. | |
3868 | * cp-valprint.c (cp_print_value_fields): Use | |
3869 | val_print_optimized_out. | |
3870 | * jv-valprint.c (java_print_value_fields): Ditto. | |
3871 | * p-valprint.c (pascal_object_print_value_fields): Ditto. | |
3872 | * printcmd.c (print_formatted): Ditto. | |
3873 | * valprint.c (valprint_check_validity): Ditto. | |
3874 | (value_check_printable): Ditto. | |
3875 | (val_print_optimized_out): New. | |
3876 | ||
29ec5263 PA |
3877 | 2011-01-25 Pedro Alves <[email protected]> |
3878 | ||
3879 | * infcmd.c (default_print_registers_info): Allocate values so to | |
3880 | never pass a NULL value to val_print. | |
3881 | ||
de4127a3 PA |
3882 | 2011-01-25 Pedro Alves <[email protected]> |
3883 | ||
3884 | * cp-valprint.c (cp_print_value): Treat the 'skip' local as | |
3885 | boolean. Make sure to always pass a value that matches the | |
3886 | contents buffer to callees. Preserve `address' for following | |
3887 | iterations. | |
3888 | * value.c (value_contents_for_printing_const): New. | |
3889 | (value_address): Constify value argument. | |
3890 | * value.h (value_contents_for_printing_const): Declare. | |
3891 | (value_address): Constify value argument. | |
3892 | ||
ee99023e PA |
3893 | 2011-01-25 Pedro Alves <[email protected]> |
3894 | ||
3895 | * regcache.c (struct regcache_descr): Rename | |
3896 | sizeof_raw_register_valid_p field to sizeof_raw_register_status, | |
3897 | and sizeof_cooked_register_valid_p to | |
3898 | sizeof_cooked_register_status. | |
3899 | (init_regcache_descr): Adjust. | |
3900 | (struct regcache): Rename register_valid_p field to | |
3901 | register_status. | |
3902 | (regcache_xmalloc_1, regcache_xfree, regcache_save) | |
3903 | (do_cooked_read): Adjust. | |
3904 | (regcache_valid_p): Rename to ... | |
3905 | (regcache_register_status): ... this. Adjust. | |
3906 | (regcache_invalidate): Adjust. | |
3907 | (regcache_raw_read, regcache_cooked_read, regcache_raw_write): | |
3908 | Adjust. | |
3909 | (regcache_raw_supply): Adjust. If buf i NULL, mark the register | |
3910 | as unavailable, not valid. | |
3911 | (regcache_dump): Adjust. | |
3912 | * regcache.h (enum register_status): New. | |
3913 | (regcache_register_status): Declare. | |
3914 | (regcache_invalidate): Delete declaration. | |
3915 | * corelow.c (get_core_registers): Adjust. | |
3916 | * tracepoint.c (tfile_fetch_registers): Adjust. | |
3917 | * trad-frame.c (REG_VALUE): Rename to ... | |
3918 | (TF_REG_VALUE): ... this. | |
3919 | (REG_UNKNOWN): Rename to ... | |
3920 | (TF_REG_UNKNOWN): ... this. | |
3921 | (trad_frame_set_value, trad_frame_set_unknown): Adjust. | |
3922 | * mi/mi-main.c (register_changed_p): Adjust. | |
3923 | ||
99e42fd8 PA |
3924 | 2011-01-25 Pedro Alves <[email protected]> |
3925 | ||
3926 | * regcache.c (struct regcache_descr): Remove outdated comment. | |
3927 | (init_regcache_descr): Remove sizeof_raw_register_valid_p | |
3928 | overallocate hack. | |
3929 | (regcache_xmalloc): Rename to ... | |
3930 | (regcache_xmalloc_1): ... this. Add `readonly_p' parameter. | |
3931 | Allocate the regcache type accordingly. | |
3932 | (regcache_xmalloc): New as wrapper around regcache_xmalloc_1. | |
3933 | (regcache_xfree): Asser the source is also readonly. Copy sizeof | |
3934 | cooked registers, not raw. | |
3935 | (regcache_dup_no_passthrough): Delete. | |
3936 | (get_thread_arch_regcache): Use regcache_xmalloc_1. | |
3937 | * h8300-tdep.c (h8300_push_dummy_call): Tweak comment to not | |
3938 | mention obsolete write_register_bytes. | |
3939 | * regcache.h (regcache_dup_no_passthrough): Delete declaration. | |
3940 | ||
f7605bc2 PA |
3941 | 2011-01-25 Pedro Alves <[email protected]> |
3942 | ||
3943 | Stop remote_read_bytes from handling partial reads itself. | |
3944 | ||
3945 | * remote-fileio.c: Include target.h. | |
3946 | (remote_fileio_write_bytes): Delete. | |
3947 | (remote_fileio_func_open, remote_fileio_func_write) | |
3948 | (remote_fileio_func_rename, remote_fileio_func_unlink): Use | |
3949 | target_read_memory. | |
3950 | (remote_fileio_func_stat): Use target_read_memory and | |
3951 | target_write_memory. | |
3952 | (remote_fileio_func_gettimeofday): Use target_write_memory. | |
3953 | (remote_fileio_func_system): Use target_read_memory. | |
3954 | * remote.c (remote_write_bytes): Make it static. | |
3955 | (remote_read_bytes): Don't handle partial reads here. | |
3956 | * remote.h (remote_read_bytes): Delete declaration. | |
3957 | ||
efc0eabd PA |
3958 | 2011-01-25 Pedro Alves <[email protected]> |
3959 | ||
3960 | Simplify XML parsing a bit. | |
3961 | ||
3962 | * xml-support.h (gdb_xml_parse_quick): Declare. | |
3963 | * xml-support.c (gdb_xml_create_parser_and_cleanup_1): Renamed | |
3964 | from gdb_xml_create_parser_and_cleanup, and added `old_chain' | |
3965 | parameter. | |
3966 | (gdb_xml_create_parser_and_cleanup): Reimplement on top of | |
3967 | gdb_xml_create_parser_and_cleanup_1. | |
3968 | (gdb_xml_parse_quick): New. | |
3969 | * memory-map.c (parse_memory_map): Use gdb_xml_parse_quick. | |
3970 | * osdata.c (osdata_parse): Ditto. | |
3971 | * remote.c (remote_threads_info): Ditto. | |
3972 | * solib-target.c (solib_target_parse_libraries): Ditto. | |
3973 | * xml-syscall.c (syscall_parse_xml): Ditto. | |
3974 | * xml-tdesc.c (tdesc_parse_xml): Ditto. | |
3975 | ||
314d366a KB |
3976 | 2011-01-24 Kevin Buettner <[email protected]> |
3977 | ||
3978 | * configure.tgt (mips*-*-elf): New; just like mips*-*-*, but | |
3979 | with remote-mips.o added to gdb_target_obs. | |
3980 | * Makefile.in (ALL_TARGET_OBS): Add remote-mips.o. | |
3981 | ||
a491d753 PA |
3982 | 2011-01-24 Pedro Alves <[email protected]> |
3983 | ||
3984 | * ada-valprint.c (val_print_packed_array_elements): Pass the | |
3985 | correct struct value to val_print. | |
3986 | (ada_val_print_1): Ditto. | |
3987 | ||
490f124f PA |
3988 | 2011-01-24 Pedro Alves <[email protected]> |
3989 | ||
3990 | Don't lose embedded_offset in printing routines throughout. | |
3991 | ||
3992 | * valprint.h (val_print_array_elements): Change prototype. | |
3993 | * valprint.c (val_print_array_elements): Add `embedded_offset' | |
3994 | parameter, and adjust to pass it down to val_print, while passing | |
3995 | `valaddr' or `address' unmodified. Take embedded_offset into | |
3996 | account when checking repetitions. | |
3997 | * c-valprint.c (c_val_print): Pass embedded_offset to | |
3998 | val_print_array_elements instead of adjusting `valaddr' and | |
3999 | `address'. | |
4000 | * m2-valprint.c (m2_print_array_contents, m2_val_print): Pass | |
4001 | embedded_offset to val_print_array_elements instead of adjusting | |
4002 | `valaddr'. | |
4003 | * p-lang.h (pascal_object_print_value_fields): Adjust prototype. | |
4004 | * p-valprint.c (pascal_val_print): Pass embedded_offset to | |
4005 | val_print_array_elements and pascal_object_print_value_fields | |
4006 | instead of adjusting `valaddr'. | |
4007 | (pascal_object_print_value_fields): Add `offset' parameter, and | |
4008 | adjust to use it. | |
4009 | (pascal_object_print_value): Add `offset' parameter, and adjust to | |
4010 | use it. | |
4011 | (pascal_object_print_static_field): Use | |
4012 | value_contents_for_printing/value_embedded_offset, rather than | |
4013 | value_contents. | |
4014 | * ada-valprint.c (val_print_packed_array_elements): Add `offset' | |
4015 | parameter, and adjust to use it. Use | |
4016 | value_contents_for_printing/value_embedded_offset, rather than | |
4017 | value_contents. | |
4018 | (ada_val_print): Rename `valaddr0' parameter to `valaddr'. | |
4019 | (ada_val_print_array): Add `offset' parameter, and adjust to use | |
4020 | it. | |
4021 | (ada_val_print_1): Rename `valaddr0' parameter to `valaddr', and | |
4022 | `embedded_offset' to `offset'. Don't re-adjust `valaddr'. | |
4023 | Instead work with offsets. Use | |
4024 | value_contents_for_printing/value_embedded_offset, rather than | |
4025 | value_contents. Change `defer_val_int' local type to CORE_ADDR, | |
4026 | and use value_from_pointer to extract a target pointer, rather | |
4027 | than value_from_longest. | |
4028 | (print_variant_part): Add `offset' parameter. Replace | |
4029 | `outer_valaddr' parameter by a new `outer_offset' parameter. | |
4030 | Don't re-adjust `valaddr'. Instead pass down adjusted offsets. | |
4031 | (ada_value_print): Use | |
4032 | value_contents_for_printing/value_embedded_offset, rather than | |
4033 | value_contents. | |
4034 | (print_record): Add `offset' parameter, and adjust to pass it | |
4035 | down. | |
4036 | (print_field_values): Add `offset' parameter. Replace | |
4037 | `outer_valaddr' parameter by a new `outer_offset' parameter. | |
4038 | Don't re-adjust `valaddr'. Instead pass down adjusted offsets. | |
4039 | Use value_contents_for_printing/value_embedded_offset, rather than | |
4040 | value_contents. | |
4041 | * d-valprint.c (dynamic_array_type): Use | |
4042 | value_contents_for_printing/value_embedded_offset, rather than | |
4043 | value_contents. | |
4044 | * jv-valprint.c (java_print_value_fields): Add `offset' parameter. | |
4045 | Don't re-adjust `valaddr'. Instead pass down adjusted offsets. | |
4046 | (java_print_value_fields): Take `offset' into account. Don't | |
4047 | re-adjust `valaddr'. Instead pass down adjusted offsets. | |
4048 | (java_val_print): Take `embedded_offset' into account. Pass it to | |
4049 | java_print_value_fields. | |
4050 | * f-valprint.c (f77_print_array_1): Add `embedded_offset' | |
4051 | parameter. Don't re-adjust `valaddr' or `address'. Instead pass | |
4052 | down adjusted offsets. | |
4053 | (f77_print_array): Add `embedded_offset' parameter. Pass it down. | |
4054 | (f_val_print): Take `embedded_offset' into account. | |
4055 | ||
7bfc9434 JB |
4056 | 2011-01-21 Joel Brobecker <[email protected]> |
4057 | ||
4058 | * inflow.c: Include "gdbcmd.h". | |
4059 | (interactive_mode): New static global, moved here from top.c. | |
4060 | (show_interactive_mode): New function, moved here from top.c. | |
4061 | use gdb_has_a_terminal instead of input_from_terminal_p to | |
4062 | determine the current mode. | |
4063 | (gdb_has_a_terminal): Add handling of the "iteractive-mode" | |
4064 | setting. | |
4065 | (_initialize_inflow): Add the "set/show interactive-mode" | |
4066 | commands. Moved here from top.c, after having adjusted slightly | |
4067 | the help text. | |
4068 | * top.c (interactive_mode, show_interactive_mode): Delete, moved | |
4069 | to inflow.c. | |
4070 | (input_from_terminal_p): Remove handling of "interactive-mode" | |
4071 | setting, moved to infow.c. | |
4072 | (init_main): Remove creation of the "set/show interactive-mode" | |
4073 | commands, moved to inflow.c. | |
4074 | ||
44603653 JB |
4075 | 2011-01-19 Joel Brobecker <[email protected]> |
4076 | ||
4077 | * NEWS: Add entry for native ia64-hpux support. | |
4078 | ||
4694da01 TT |
4079 | 2011-01-19 Tom Tromey <[email protected]> |
4080 | ||
4081 | PR mi/8618: | |
4082 | * thread.c (free_thread): Free 'name'. | |
4083 | (print_thread_info): Emit thread name. Change CLI output. | |
4084 | (thread_name_command): New function. | |
4085 | (do_captured_thread_select): Emit newline. | |
4086 | (_initialize_thread): Register 'thread name' command. | |
4087 | * target.h (struct target_ops) <to_thread_name>: New field. | |
4088 | (target_thread_name): New macro. | |
4089 | * target.c (update_current_target): Handle to_thread_name. | |
4090 | * python/py-infthread.c (thpy_get_name): New function. | |
4091 | (thpy_set_name): Likewise. | |
4092 | (thread_object_getset): Add "name". | |
4093 | * linux-nat.c (linux_nat_thread_name): New function. | |
4094 | (linux_nat_add_target): Set to_thread_name. | |
4095 | * gdbthread.h (struct thread_info) <name>: New field. | |
4096 | ||
10d44370 JB |
4097 | 2011-01-18 Joel Brobecker <[email protected]> |
4098 | ||
4099 | * ada-valprint.c (ada_print_scalar): Remove unsigned char downcast. | |
4100 | (ada_val_print_1): Likewise. | |
4101 | ||
e3acb115 JB |
4102 | 2011-01-18 Joel Brobecker <[email protected]> |
4103 | ||
4104 | * rs6000-tdep.c (rs6000_skip_prologue): Make sure that the prologue | |
4105 | upper limit address is not greater than the function end address | |
4106 | when the upper limit could not be computed using the debugging | |
4107 | info. | |
4108 | ||
dc92e161 TT |
4109 | 2011-01-17 Tom Tromey <[email protected]> |
4110 | ||
4111 | * cli/cli-cmds.c (apropos_command): Free the compiled regex. Use | |
4112 | get_regcomp_error. | |
4113 | * utils.c: Include gdb_regex.h. | |
4114 | (do_regfree_cleanup): New function. | |
4115 | (make_regfree_cleanup): Likewise. | |
4116 | (get_regcomp_error): Likewise. | |
4117 | * gdb_regex.h (make_regfree_cleanup, get_regcomp_error): Declare. | |
4118 | ||
f55af66d TT |
4119 | 2011-01-17 Tom Tromey <[email protected]> |
4120 | ||
4121 | * cli/cli-cmds.c (apropos_command): Fix formatting. Don't call | |
4122 | re_compile_fastmap. | |
4123 | ||
a5a44b53 PM |
4124 | 2011-01-17 Pierre Muller <[email protected]> |
4125 | ||
4126 | * p-exp.y (intvar): New static variable, used to set CURRENT_TYPE | |
4127 | for internal variables. | |
4128 | (last_was_structop): New static variable. | |
4129 | (COMPLETE): New token. | |
4130 | (field_exp): New rule to group all '.' suffix handling. | |
4131 | Add mark_struct_expression calls when approriate to be able | |
4132 | to correctly find fields for completion. | |
4133 | (yylex): Adapt to handle field completion and set INTVAR when | |
4134 | required. | |
4135 | ||
2c291032 YQ |
4136 | 2011-01-14 Yao Qi <[email protected]> |
4137 | ||
4138 | * arm-tdep.c (arm_register_reggroup_p): FPS register is in | |
4139 | save_reggroup, restore_reggroup and all_reggroup. | |
4140 | ||
447b483c JB |
4141 | 2011-01-14 Joel Brobecker <[email protected]> |
4142 | ||
4143 | * ada-valprint. (ada_printchar): Use the correct type length | |
4144 | in call to ada_emit_char. | |
4145 | * c-valprint.c (c_val_print): Remove cast in call to LA_PRINT_CHAR. | |
4146 | ||
7b64a93b PM |
4147 | 2011-01-14 Pierre Muller <[email protected]> |
4148 | ||
4149 | * solib-som.h (hpux_major_release): Declare variable here. | |
4150 | * solib-som.c: Remove <sys/utsname.h> header. | |
4151 | (DEFAULT_HPUX_MAJOR_RELEASE): New macro. | |
4152 | (hpux_major_release): Make global, change default value to | |
4153 | DEFAULT_HPUX_MAJOR_RELEASE. | |
f2eb0bc8 | 4154 | (get_hpux_major_release): Simply return HPUX_MAJOR_RELEASE. |
7b64a93b PM |
4155 | * hppa-hpux-nat.c: Add <sys/utsname.h> include. |
4156 | Add "solib-som.h" header. | |
4157 | (set_hpux_major_release): New function. | |
4158 | (_initialize_hppa_hpux_nat): Call set_hpux_major_release. | |
4159 | ||
4e18c053 MF |
4160 | 2011-01-14 Mike Frysinger <[email protected]> |
4161 | ||
4162 | * configure.tgt (*-*-uclinux*): Match more Linux os targets | |
4163 | ||
a9df6b22 JB |
4164 | 2011-01-14 Joel Brobecker <[email protected]> |
4165 | ||
4166 | * ia64-hpux-nat.c (ia64_hpux_fetch_register): Remove trailing | |
4167 | new-line at end of warning message. | |
4168 | (ia64_hpux_store_register): Remove trailing new-line at end of | |
4169 | error message. | |
4170 | * ia64-hpux-tdep.c: Rephrase comment. | |
4171 | * solib-ia64-hpux.c (struct dld_info): Change type of field | |
4172 | dld_flags from "long long" to ULONGEST. | |
4173 | ||
ecb956dd PA |
4174 | 2011-01-14 Pedro Alves <[email protected]> |
4175 | ||
4176 | * target.h (deprecated_child_ops): Delete declaration. | |
4177 | * target.c (deprecated_child_ops): Delete definition. | |
4178 | ||
76adfcae PA |
4179 | 2011-01-14 Pedro Alves <[email protected]> |
4180 | ||
4181 | * Makefile.in (hpux-thread.o): Delete rule. | |
4182 | * configure.ac: Don't check for HPUX DCE threads support. | |
4183 | * configure, config.in: Regenerate. | |
4184 | * hppa-hpux-nat.c (child_suppress_run): Delete. | |
4185 | (hppa_hpux_child_can_run): Delete. | |
4186 | (_initialize_hppa_hpux_nat): Don't override to_can_run. | |
4187 | * hpux-thread.c: Delete. | |
4188 | ||
042e866e JB |
4189 | 2011-01-13 Joel Brobecker <[email protected]> |
4190 | ||
4191 | * hpux-thread.c (hpux_pid_to_str): Delete. | |
4192 | ||
4ffa5a33 JB |
4193 | 2011-01-13 Joel Brobecker <[email protected]> |
4194 | ||
4195 | * ada-valprint.c (ada_emit_char): Remove strange code. | |
4196 | Check that c is <= UCHAR_MAX before passing it to isascii. | |
4197 | (char_at): Do not assume that TYPE_LEN is either 1 or 2. | |
4198 | ||
de8fa76c JB |
4199 | 2011-01-13 Joel Brobecker <[email protected]> |
4200 | ||
4201 | * top.c (input_from_terminal_p): Restrict the use of interactive_mode | |
4202 | to the case where instream is stdin. | |
4203 | ||
c4de7027 JB |
4204 | 2011-01-13 Joel Brobecker <[email protected]> |
4205 | ||
4206 | * ia64-tdep.h (struct regcache): Forward declare. | |
4207 | (struct ia64_infcall_ops): New struct type. | |
4208 | (struct gdbarch_tdep): New fields "find_global_pointer_from_solib" | |
4209 | and "infcall_ops". | |
4210 | * ia64-tdep.c (ia64_find_global_pointer_from_dynamic_section): | |
4211 | Renames ia64_find_global_pointer. | |
4212 | (ia64_find_global_pointer, ia64_allocate_new_rse_frame) | |
4213 | (ia64_store_argument_in_slot, ia64_set_function_addr: New function. | |
4214 | (ia64_push_dummy_call): Adjust to use the new tdep ia64_infocall_ops | |
4215 | methods. | |
4216 | (ia64_infcall_ops): New static global constant. | |
4217 | (ia64_gdbarch_init): Set tdep->infcall_ops. | |
4218 | * ia64-hpux-nat.c (ia64_hpux_xfer_solib_got): New function. | |
4219 | (ia64_hpux_xfer_partial): Add TARGET_OBJECT_HPUX_SOLIB_GOT handing. | |
4220 | * ia64-hpux-tdep.c: Include "regcache.h", "gdbcore.h" and "inferior.h". | |
4221 | (ia64_hpux_dummy_code): New static global constant. | |
4222 | (ia64_hpux_push_dummy_code, ia64_hpux_allocate_new_rse_frame) | |
4223 | (ia64_hpux_store_argument_in_slot, ia64_hpux_set_function_addr) | |
4224 | (ia64_hpux_dummy_id, ia64_hpux_find_global_pointer_from_solib): | |
4225 | New function. | |
4226 | (ia64_hpux_infcall_ops): New static global constant. | |
4227 | (ia64_hpux_init_abi): Install gdbarch and tdep methods needed | |
4228 | for inferior function calls to work properly on ia64-hpux. | |
4229 | ||
77ca787b JB |
4230 | 2011-01-13 Joel Brobecker <[email protected]> |
4231 | ||
4232 | * target.h (enum target_object): Add TARGET_OBJECT_HPUX_UREGS. | |
4233 | * ia64-tdep.h (struct frame_info): forward declaration. | |
4234 | (struct gdbarch_tdep): Add field size_of_register_frame. | |
4235 | * ia64-tdep.c (ia64_access_reg): Use tdep->size_of_register_frame | |
4236 | to determine the size of the register frame. | |
4237 | (ia64_size_of_register_frame): New function. | |
4238 | (ia64_gdbarch_init): Set tdep->size_of_register_frame. | |
4239 | * ia64-hpux-tdep.c: Include "target.h" and "frame.h". | |
4240 | (IA64_HPUX_UREG_REASON): New macro. | |
4241 | (ia64_hpux_stopped_in_syscall, ia64_hpux_size_of_register_frame): | |
4242 | New functions. | |
4243 | (ia64_hpux_init_abi): Set tdep->size_of_register_frame. | |
4244 | * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): New function. | |
4245 | (ia64_hpux_xfer_partial): Add handling of TARGET_OBJECT_HPUX_UREGS | |
4246 | objects. | |
4247 | ||
92c9a463 JB |
4248 | 2011-01-13 Joel Brobecker <[email protected]> |
4249 | ||
4250 | Add support for ia64-hpux. | |
4251 | * config/ia64/hpux.mh, ia64-hpux-nat.c, ia64-hpux-tdep.c, | |
4252 | ia64-hpux-tdep.h, solib-ia64-hpux.c, solib-ia64-hpux.h: New files. | |
4253 | ||
4254 | * configure.host: Add handling for ia64-hpux hosts. Add associated | |
4255 | floatformats. | |
4256 | * configure.tgt: Add handling for ia64-hpux targets. | |
4257 | * Makefile.in (ALL_64_TARGET_OBS): Add ia64-hpux-tdep.o. | |
4258 | (HFILES_NO_SRCDIR): Add ia64-hpux-tdep.h. | |
4259 | (ALLDEPFILES): Add ia64-hpux-nat.c ia64-hpux-tdep.c. | |
4260 | ||
f688d93f JB |
4261 | 2011-01-13 Joel Brobecker <[email protected]> |
4262 | ||
4263 | [ttrace] Compute thread list immediately after attach. | |
4264 | * inf_ttrace_attach (inf_ttrace_create_threads_after_attach): | |
4265 | New subprogram. | |
4266 | (inf_ttrace_attach): Use it. | |
4267 | ||
1b89e62f JB |
4268 | 2011-01-13 Joel Brobecker <[email protected]> |
4269 | ||
4270 | * libunwind-frame.c (libunwind_frame_cache): Do not return NULL | |
4271 | if we could not determine the frame's function address. Instead, | |
4272 | use the frame's PC, and then continue. | |
4273 | ||
3e5e6e2a JB |
4274 | 2011-01-13 Joel Brobecker <[email protected]> |
4275 | ||
4276 | * libunwind-frame.c (__LITTLE_ENDIAN, __BIG_ENDIAN): Define if | |
4277 | not already defined. | |
4278 | ||
825d6d8a JB |
4279 | 2011-01-13 Joel Brobecker <[email protected]> |
4280 | ||
4281 | * ia64-tdep.c (ia64_struct_type_p): New function. | |
4282 | (ia64_extract_return_value): Handle integral values that are | |
4283 | less than 8 bytes long. | |
4284 | (ia64_push_dummy_call): Likewise. | |
4285 | ||
7458e667 JB |
4286 | 2011-01-13 Joel Brobecker <[email protected]> |
4287 | ||
4288 | * ia64-tdep.c (floatformat_ia64_ext_little): Renames | |
4289 | floatformat_ia64_ext. | |
4290 | (floatformat_ia64_ext_big): New static const. | |
4291 | (floatformats_ia64_ext): Set first entry to &floatformat_ia64_ext_big. | |
4292 | ||
1b05df00 TT |
4293 | 2011-01-12 Tom Tromey <[email protected]> |
4294 | ||
4295 | * mi/mi-symbol-cmds.c (mi_cmd_symbol_list_lines): Fix error | |
4296 | messages. | |
4297 | * mi/mi-main.c (mi_cmd_thread_select): Fix error messages. | |
4298 | (mi_cmd_thread_list_ids): Likewise. | |
4299 | (mi_cmd_data_list_changed_registers): Likewise. | |
4300 | (mi_cmd_data_list_register_values): Likewise. | |
4301 | (mi_cmd_data_write_register_values): Likewise. | |
4302 | (mi_cmd_data_evaluate_expression): Likewise. | |
4303 | (mi_cmd_data_read_memory): Likewise. | |
4304 | (mi_cmd_data_read_memory_bytes): Likewise. | |
4305 | (mi_cmd_data_write_memory): Likewise. | |
4306 | (mi_cmd_enable_timings): Likewise. | |
4307 | * mi/mi-interp.c (mi_cmd_interpreter_exec): Fix error messages. | |
4308 | * mi/mi-cmd-var.c (mi_cmd_var_create): Fix error messages. | |
4309 | (mi_cmd_var_delete): Likewise. | |
4310 | (mi_cmd_var_set_format): Likewise. | |
4311 | (mi_cmd_var_show_format): Likewise. | |
4312 | (mi_cmd_var_info_num_children): Likewise. | |
4313 | (mi_cmd_var_list_children): Likewise. | |
4314 | (mi_cmd_var_info_type): Likewise. | |
4315 | (mi_cmd_var_info_expression): Likewise. | |
4316 | (mi_cmd_var_show_attributes): Likewise. | |
4317 | (mi_cmd_var_assign): Likewise. | |
4318 | (mi_cmd_var_update): Likewise. | |
4319 | (mi_cmd_enable_pretty_printing): Likewise. | |
4320 | (mi_cmd_var_set_update_range): Likewise. | |
4321 | * mi/mi-cmd-target.c (mi_cmd_target_file_get): Fix error | |
4322 | messages. | |
4323 | (mi_cmd_target_file_put): Likewise. | |
4324 | (mi_cmd_target_file_delete): Likewise. | |
4325 | * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Fix error | |
4326 | messages. | |
4327 | (mi_cmd_stack_info_depth): Likewise. | |
4328 | (mi_cmd_stack_list_locals): Likewise. | |
4329 | (mi_cmd_stack_list_args): Likewise. | |
4330 | (mi_cmd_stack_select_frame): Likewise. | |
4331 | (mi_cmd_stack_select_frame): Likewise. | |
4332 | (mi_cmd_stack_info_frame): Likewise. | |
4333 | * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_file): Fix error | |
4334 | messages. | |
4335 | (mi_cmd_file_list_exec_source_files): Likewise. | |
4336 | * mi/mi-cmd-env.c (mi_cmd_env_pwd): Fix error messages. | |
4337 | (mi_cmd_env_cd): Likewise. | |
4338 | (mi_cmd_env_path): Likewise. | |
4339 | (mi_cmd_env_dir): Likewise. | |
4340 | (mi_cmd_inferior_tty_show): Likewise. | |
4341 | * mi/mi-cmd-disas.c (mi_cmd_disassemble): Fix error messages. | |
4342 | * mi/mi-cmd-break.c (mi_cmd_break_insert): Fix error messages. | |
4343 | (mi_cmd_break_watch): Likewise. | |
4344 | ||
ad422571 TJB |
4345 | 2011-01-12 Thiago Jung Bauermann <[email protected]> |
4346 | ||
4347 | * ppc-linux-nat.c (booke_cmp_hw_point): Fix whitespace. | |
4348 | (ppc_linux_insert_hw_breakpoint): Likewise. | |
4349 | (ppc_linux_remove_hw_breakpoint): Likewise. | |
4350 | (ppc_linux_insert_watchpoint): Likewise. | |
4351 | ||
c2ff108b JK |
4352 | 2011-01-12 Andrew Burgess <[email protected]> |
4353 | Jan Kratochvil <[email protected]> | |
4354 | ||
4355 | PR fortran/11104 and DWARF unbound arrays detection. | |
4356 | * dwarf2read.c (read_subrange_type): Set zero length on unspecified | |
4357 | upper bound. Set TYPE_HIGH_BOUND_UNDEFINED if not language_ada on | |
4358 | unspecified upper bound. | |
4359 | * eval.c (evaluate_subexp_standard) <multi_f77_subscript>: Remove | |
4360 | variables array_size_array, tmp_type and offset_item. New variable | |
4361 | array. Remove call to f77_get_upperbound. New variables array_type | |
4362 | and index. Call value_subscripted_rvalue for each dimenasion. Remove | |
4363 | the final call to deprecated_set_value_type. | |
4364 | ||
41e8491f JK |
4365 | 2011-01-12 Jan Kratochvil <[email protected]> |
4366 | ||
4367 | Make value allocations more lazy. | |
4368 | * ada-lang.c (coerce_unspec_val_to_type): Use allocate_value_lazy | |
4369 | instead of allocate_value and set_value_lazy when possible. | |
f2eb0bc8 | 4370 | * dwarf2loc.c (dwarf2_evaluate_loc_desc_full): Use allocate_value_lazy |
41e8491f JK |
4371 | instead of allocate_value and set_value_lazy. |
4372 | * findvar.c (value_of_register_lazy): Likewise. | |
4373 | (read_var_value): Remove V preallocation, call just check_typedef in | |
f2eb0bc8 | 4374 | advance. Move allocate_value to LOC_CONST, LOC_LABEL, |
41e8491f JK |
4375 | LOC_CONST_BYTES. Use allocate_value_lazy in LOC_STATIC, LOC_ARG, |
4376 | LOC_REF_ARG, LOC_LOCAL, LOC_BLOCK. Set ADDR instead of | |
4377 | set_value_address and break in LOC_BLOCK. Use allocate_value_lazy and | |
4378 | remove lval_memory set in LOC_REGPARM_ADDR. Use allocate_value_lazy | |
4379 | in LOC_UNRESOLVED and LOC_OPTIMIZED_OUT. Add setting lval_memory at | |
4380 | the end, remove set_value_lazy there. | |
4381 | * valarith.c (value_subscripted_rvalue): Use allocate_value_lazy | |
4382 | instead of allocate_value and set_value_lazy when possible. | |
4383 | * valops.c (value_fetch_lazy): Do nop for value_optimized_out VAL. | |
4384 | * value.c (allocate_computed_value): Use allocate_value_lazy instead | |
4385 | of allocate_value and set_value_lazy. | |
4386 | (value_from_contents_and_address): Use allocate_value_lazy instead of | |
4387 | allocate_value and set_value_lazy when possible. | |
4388 | ||
b716877b AB |
4389 | 2011-01-12 Andrew Burgess <[email protected]> |
4390 | ||
4391 | * disasm.c (dump_insns): Support dumping opcodes for MI. | |
4392 | * mi/mi-cmd-disas.c (mi_cmd_disassemble): Allow mode to control | |
4393 | dumping of instruction opcodes. | |
4394 | ||
d5ae309f JB |
4395 | 2011-01-09 Robert Millan <[email protected]> (tiny patch) |
4396 | ||
4397 | * configure.tgt: Detect GNU/kFreeBSD and set `gdb_osabi' | |
4398 | appropiately. | |
4399 | ||
98871305 TT |
4400 | 2011-01-11 Tom Tromey <[email protected]> |
4401 | ||
4402 | * thread.c (do_captured_thread_select): Emit newline before | |
4403 | printing frame. | |
4404 | ||
c378eb4e MS |
4405 | 2011-01-11 Michael Snyder <[email protected]> |
4406 | ||
4407 | * s390-tdep.c: Comment cleanup, mostly periods and spaces. | |
4408 | * score-tdep.c: Ditto. | |
4409 | * score-tdep.h: Ditto. | |
4410 | * ser-base.c: Ditto. | |
4411 | * ser-go32.c: Ditto. | |
4412 | * serial.c: Ditto. | |
4413 | * serial.h: Ditto. | |
4414 | * ser-mingw.c: Ditto. | |
4415 | * ser-pipe.c: Ditto. | |
4416 | * ser-tcp.c: Ditto. | |
4417 | * ser-unix.c: Ditto. | |
4418 | * sh64-tdep.c: Ditto. | |
4419 | * shnbsd-nat.c: Ditto. | |
4420 | * sh-tdep.c: Ditto. | |
4421 | * sh-tdep.h: Ditto. | |
4422 | * solib.c: Ditto. | |
4423 | * solib-darwin.c: Ditto. | |
4424 | * solib-frv.c: Ditto. | |
4425 | * solib.h: Ditto. | |
4426 | * solib-irix.c: Ditto. | |
4427 | * solib-osf.c: Ditto. | |
4428 | * solib-pa64.c: Ditto. | |
4429 | * solib-som.c: Ditto. | |
4430 | * solib-spu.c: Ditto. | |
4431 | * solib-sunos.c: Ditto. | |
4432 | * solib-svr4.c: Ditto. | |
4433 | * solist.h: Ditto. | |
4434 | * sol-thread.c: Ditto. | |
4435 | * somread.c: Ditto. | |
4436 | * source.c: Ditto. | |
4437 | * source.h: Ditto. | |
4438 | * sparc64-linux-tdep.c: Ditto. | |
4439 | * sparc64-tdep.c: Ditto. | |
4440 | * sparc-linux-nat.c: Ditto. | |
4441 | * sparc-linux-tdep.c: Ditto. | |
4442 | * sparc-sol2-nat.c: Ditto. | |
4443 | * sparc-sol2-tdep.c: Ditto. | |
4444 | * sparc-tdep.c: Ditto. | |
4445 | * sparc-tdep.h: Ditto. | |
4446 | * spu-tdep.c: Ditto. | |
4447 | * stabsread.c: Ditto. | |
4448 | * stabsread.h: Ditto. | |
4449 | * stack.c: Ditto. | |
4450 | * symfile.c: Ditto. | |
4451 | * symfile.h: Ditto. | |
4452 | * symmisc.c: Ditto. | |
4453 | * symtab.c: Ditto. | |
4454 | * symtab.h: Ditto. | |
4455 | * target.c: Ditto. | |
4456 | * target-descriptions.c: Ditto. | |
4457 | * target-descriptions.h: Ditto. | |
4458 | * target.h: Ditto. | |
4459 | * target-memory.c: Ditto. | |
4460 | * terminal.h: Ditto. | |
4461 | * thread.c: Ditto. | |
4462 | * top.c: Ditto. | |
4463 | * tracepoint.c: Ditto. | |
4464 | * tracepoint.h: Ditto. | |
4465 | * trad-frame.h: Ditto. | |
4466 | * typeprint.c: Ditto. | |
4467 | ||
581e13c1 MS |
4468 | 2011-01-11 Michael Snyder <[email protected]> |
4469 | ||
4470 | * ui-file.c: Comment cleanup, mostly periods and spaces. | |
4471 | * ui-file.h: Ditto. | |
4472 | * ui-out.c: Ditto. | |
4473 | * ui-out.h: Ditto. | |
4474 | * utils.c: Ditto. | |
4475 | * v850-tdep.c: Ditto. | |
4476 | * valarith.c: Ditto. | |
4477 | * valops.c: Ditto. | |
4478 | * valprint.c: Ditto. | |
4479 | * valprint.h: Ditto. | |
4480 | * value.c: Ditto. | |
4481 | * value.h: Ditto. | |
4482 | * varobj.c: Ditto. | |
4483 | * varobj.h: Ditto. | |
4484 | * vax-tdep.c: Ditto. | |
4485 | * vec.c: Ditto. | |
4486 | * vec.h: Ditto. | |
4487 | * version.h: Ditto. | |
4488 | * windows-nat.c: Ditto. | |
4489 | * windows-tdep.c: Ditto. | |
4490 | * xcoffread.c: Ditto. | |
4491 | * xcoffsolib.c: Ditto. | |
4492 | * xml-support.c: Ditto. | |
4493 | * xstormy16-tdep.c: Ditto. | |
4494 | * xtensa-tdep.c: Ditto. | |
4495 | * xtensa-tdep.h: Ditto. | |
4496 | ||
90e4670f TJB |
4497 | 2011-01-11 Thiago Jung Bauermann <[email protected]> |
4498 | ||
4499 | * breakpoint.c (resources_needed_watchpoint): Fix indentation. | |
4500 | * gdbtypes.c (is_scalar_type_recursive): Fix formatting. | |
4501 | ||
e09342b5 TJB |
4502 | 2011-01-11 Sergio Durigan Junior <[email protected]> |
4503 | Thiago Jung Bauermann <[email protected]> | |
4504 | ||
4505 | Implement support for PowerPC BookE ranged watchpoints. | |
f2eb0bc8 | 4506 | * breakpoint.h |
e09342b5 TJB |
4507 | (struct breakpoint_ops) <resources_needed>: New method. |
4508 | Initialize to NULL in all existing breakpoint_ops instances. | |
4509 | (struct breakpoint) <exact>: New field. | |
4510 | (target_exact_watchpoints): Declare external global. | |
4511 | * breakpoint.c (target_exact_watchpoints): New global flag. | |
4512 | (update_watchpoint): Set b->type to bp_hardware_watchpoint and | |
4513 | b->enable_state to bp_enabled before calling | |
4514 | hw_watchpoint_used_count. | |
4515 | (hw_watchpoint_used_count): Iterate over all bp_locations in a | |
4516 | watchpoint. Call breakpoint's breakpoint_ops.resources_needed | |
4517 | if available. | |
4518 | (insert_watchpoint, remove_watchpoint): Use fixed length of 1 byte | |
4519 | if the watchpoint is exact. | |
4520 | (resources_needed_watchpoint): New function. | |
4521 | (watchpoint_breakpoint_ops): Add resources_needed_watchpoint. | |
4522 | (watch_command_1): Set b->exact if the user asked for an exact | |
4523 | watchpoint and one can be set. | |
4524 | (can_use_hardware_watchpoint): Add exact_watchpoints argument. | |
4525 | Pass fixed length of 1 to target_region_ok_for_hw_watchpoint if | |
4526 | the user asks for an exact watchpoint and one can be set. Return | |
4527 | number of needed debug registers to watch the expression. | |
4528 | * gdbtypes.c (is_scalar_type): New function, based on | |
4529 | valprint.c:scalar_type_p. | |
4530 | (is_scalar_type_recursive): New function. | |
4531 | * gdbtypes.h (is_scalar_type_recursive): Declare. | |
4532 | * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Always | |
4533 | handle regions when ranged watchpoints are available. | |
4534 | (create_watchpoint_request): New function. | |
4535 | (ppc_linux_insert_watchpoint, ppc_linux_remove_watchpoint): Use | |
4536 | create_watchpoint_request. | |
4537 | * rs6000-tdep.c (show_powerpc_exact_watchpoints): New function. | |
4538 | (_initialize_rs6000_tdep): Add `exact-watchpoints' boolean to the | |
4539 | `set powerpc' and `show powerpc' commands. | |
4540 | * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>: | |
4541 | Mention documentation comment in the target macro. | |
4542 | (target_region_ok_for_hw_watchpoint): Document return value. | |
4543 | ||
9fa40276 TJB |
4544 | 2011-01-11 Thiago Jung Bauermann <[email protected]> |
4545 | ||
4546 | * breakpoint.c (update_watchpoint): Decide on using a software or | |
4547 | hardware watchpoint after the bp_locations are created. | |
4548 | ||
77b06cd7 TJB |
4549 | 2010-01-11 Thiago Jung Bauermann <[email protected]> |
4550 | ||
4551 | Convert hardware watchpoints to use breakpoint_ops. | |
4552 | * breakpoint.h (breakpoint_ops) <insert>: Rename to... | |
4553 | <insert_location>: ... this. Return int instead of void. | |
4554 | Accept pointer to struct bp_location instead of pointer to | |
4555 | struct breakpoint. Adapt all implementations. | |
f2eb0bc8 | 4556 | (breakpoint_ops) <remove>: Rename to... |
77b06cd7 TJB |
4557 | <remove_location>: ... this. Accept pointer to struct bp_location |
4558 | instead of pointer to struct breakpoint. Adapt all implementations. | |
4559 | * breakpoint.c (insert_catchpoint): Delete function. | |
4560 | (insert_bp_location): Call the watchpoint or catchpoint's | |
4561 | breakpoint_ops.insert method. | |
4562 | (remove_breakpoint_1): Call the watchpoint or catchpoint's | |
4563 | breakpoint_ops.remove method. | |
4564 | (insert_watchpoint, remove_watchpoint): New functions. | |
4565 | (watchpoint_breakpoint_ops): New structure. | |
4566 | (watch_command_1): Initialize the OPS field. | |
4567 | * inf-child.c (inf_child_insert_fork_catchpoint) | |
4568 | (inf_child_remove_fork_catchpoint, inf_child_insert_vfork_catchpoint) | |
4569 | (inf_child_remove_vfork_catchpoint, inf_child_insert_exec_catchpoint) | |
4570 | (inf_child_remove_exec_catchpoint, inf_child_set_syscall_catchpoint): | |
4571 | Delete functions. | |
4572 | (inf_child_target): Remove initialization of to_insert_fork_catchpoint, | |
4573 | to_remove_fork_catchpoint, to_insert_vfork_catchpoint, | |
4574 | to_remove_vfork_catchpoint, to_insert_exec_catchpoint, | |
4575 | to_remove_exec_catchpoint and to_set_syscall_catchpoint. | |
4576 | * target.c (update_current_target): Change default implementation of | |
4577 | to_insert_fork_catchpoint, to_remove_fork_catchpoint, | |
4578 | to_insert_vfork_catchpoint, to_remove_vfork_catchpoint, | |
4579 | to_insert_exec_catchpoint, to_remove_exec_catchpoint and | |
4580 | to_set_syscall_catchpoint to return_one. | |
4581 | (debug_to_insert_fork_catchpoint, debug_to_insert_vfork_catchpoint) | |
4582 | (debug_to_insert_exec_catchpoint): Report return value. | |
4583 | * target.h (to_insert_fork_catchpoint, to_insert_vfork_catchpoint) | |
4584 | (to_insert_exec_catchpoint): Change declaration to return int instead | |
4585 | of void. | |
4586 | ||
9b20d036 MS |
4587 | 2011-01-11 Michael Snyder <[email protected]> |
4588 | ||
4589 | * arm-tdep.c: Internationalization. | |
4590 | * c-lang.c: Ditto. | |
4591 | * charset.c: Ditto. | |
4592 | * fork-child.c: Ditto. | |
4593 | * nto-procfs.c: Ditto. | |
4594 | * ppc-sysv-tdep.c: Ditto. | |
4595 | * procfs.c: Ditto. | |
4596 | * remote-mips.c: Ditto. | |
4597 | * remote.c: Ditto. | |
4598 | * rs6000-nat.c: Ditto. | |
4599 | * rs6000-tdep.c: Ditto. | |
4600 | * target.c: Ditto. | |
4601 | * valops.c: Ditto. | |
4602 | * value.c: Ditto. | |
4603 | * xml-support.c: Ditto. | |
4604 | * mi/mi-cmd-break.c: Ditto. | |
4605 | * mi/mi-cmd-var.c: Ditto. | |
4606 | * mi/mi-interp.c: Ditto. | |
4607 | * mi/mi-main.c: Ditto. | |
4608 | ||
dae477fe AB |
4609 | 2011-01-11 Andrew Burgess <[email protected]> |
4610 | ||
4611 | * remote-sim.c (gdbsim_store_register): Update API to | |
4612 | sim_store_register to check more error conditions. | |
4613 | ||
0df8b418 MS |
4614 | 2011-01-10 Michael Snyder <[email protected]> |
4615 | ||
4616 | * nto-procfs.c: Comment cleanup, mostly periods and spaces. | |
4617 | * nto-tdep.c: Ditto. | |
4618 | * nto-tdep.h: Ditto. | |
4619 | * objc-exp.y: Ditto. | |
4620 | * objc-lang.c: Ditto. | |
4621 | * objfiles.c: Ditto. | |
4622 | * objfiles.h: Ditto. | |
4623 | * observer.c: Ditto. | |
4624 | * opencl-lang.c: Ditto. | |
4625 | * osabi.c: Ditto. | |
4626 | * parse.c: Ditto. | |
4627 | * parser-defs.h: Ditto. | |
4628 | * p-exp.y: Ditto. | |
4629 | * p-lang.c: Ditto. | |
4630 | * posix-hdep.c: Ditto. | |
4631 | * ppcbug-rom.c: Ditto. | |
4632 | * ppc-linux-nat.c: Ditto. | |
4633 | * ppc-linux-tdep.c: Ditto. | |
4634 | * ppc-linux-tdep.h: Ditto. | |
4635 | * ppcnbsd-tdep.c: Ditto. | |
4636 | * ppcobsd-tdep.c: Ditto. | |
4637 | * ppcobsd-tdep.h: Ditto. | |
4638 | * ppc-sysv-tdep.c: Ditto. | |
4639 | * ppc-tdep.h: Ditto. | |
4640 | * printcmd.c: Ditto. | |
4641 | * proc-abi.c: Ditto. | |
4642 | * proc-flags.c: Ditto. | |
4643 | * procfs.c: Ditto. | |
4644 | * proc-utils.h: Ditto. | |
4645 | * progspace.h: Ditto. | |
4646 | * prologue-value.c: Ditto. | |
4647 | * prologue-value.h: Ditto. | |
4648 | * psympriv.h: Ditto. | |
4649 | * psymtab.c: Ditto. | |
4650 | * p-typeprint.c: Ditto. | |
4651 | * p-valprint.c: Ditto. | |
4652 | * ravenscar-sparc-thread.c: Ditto. | |
4653 | * ravenscar-thread.c: Ditto. | |
4654 | * ravenscar-thread.h: Ditto. | |
4655 | * record.c: Ditto. | |
4656 | * regcache.c: Ditto. | |
4657 | * regcache.h: Ditto. | |
4658 | * remote.c: Ditto. | |
4659 | * remote-fileio.c: Ditto. | |
4660 | * remote-fileio.h: Ditto. | |
4661 | * remote.h: Ditto. | |
4662 | * remote-m32r-sdi.c: Ditto. | |
4663 | * remote-mips.c: Ditto. | |
4664 | * remote-sim.c: Ditto. | |
4665 | * rs6000-aix-tdep.c: Ditto. | |
4666 | * rs6000-nat.c: Ditto. | |
4667 | * rs6000-tdep.c: Ditto. | |
4668 | ||
0d7a18f7 MS |
4669 | 2011-01-10 Michael Snyder <[email protected]> |
4670 | ||
4671 | * charset.c (validate): Internationalization. | |
4672 | * coffread.c (read_one_sym): Ditto. | |
4673 | * dwarf2read.c (dwarf2_attach_fields_to_type): Ditto. | |
4674 | * h8300-tdep.c (H8300_extract_return_value): Ditto. | |
4675 | * inflow.c (new_tty): Ditto. | |
4676 | * iq2000-tdep.c (iq2000_breakpoint_from_pc): Ditto. | |
4677 | * m32c-tdep.c (m32c_return_value): Ditto. | |
4678 | * mep-tdep.c (mep_store_return_value): Ditto. | |
4679 | * score-tdep.c (score7_fetch_insn): Ditto. | |
4680 | * ser-mingw.c (pipe_windows_open): Ditto. | |
4681 | * sh64-tdep.c (sh64_extract_return_value): Ditto. | |
4682 | * spu-tdep.c (spu_register_type): Ditto. | |
4683 | * tracepoint.c (trace_find_command): Ditto. | |
4684 | * valarith.c (value_pos): Ditto. | |
4685 | ||
9a153e0b JB |
4686 | 2011-01-10 Joel Brobecker <[email protected]> |
4687 | ||
4688 | * ada-valprint.c (printstr): Minor comment reformatting. | |
4689 | ||
35ecd2d6 MS |
4690 | 2011-01-08 Michael Snyder <[email protected]> |
4691 | ||
4692 | * m32r-rom.c (m32r_upload_command): Fix up ARI warnings for _ | |
4693 | markup. | |
4694 | ||
1777feb0 MS |
4695 | 2011-01-08 Michael Snyder <[email protected]> |
4696 | ||
4697 | * h8300-tdep.c: Comment cleanup, mostly periods and spaces. | |
4698 | * hppa-hpux-tdep.c: Ditto. | |
4699 | * hppa-linux-nat.c: Ditto. | |
4700 | * hppa-linux-tdep.c: Ditto. | |
4701 | * hppanbsd-tdep.c: Ditto. | |
4702 | * hppa-tdep.c: Ditto. | |
4703 | * hppa-tdep.h: Ditto. | |
4704 | * hpux-thread.c: Ditto. | |
4705 | * i386-cygwin-tdep.c: Ditto. | |
4706 | * i386-darwin-nat.c: Ditto. | |
4707 | * i386gnu-nat.c: Ditto. | |
4708 | * i386-linux-nat.c: Ditto. | |
4709 | * i386-linux-tdep.c: Ditto. | |
4710 | * i386-nat.c: Ditto. | |
4711 | * i386-nat.h: Ditto. | |
4712 | * i386nbsd-tdep.c: Ditto. | |
4713 | * i386-sol2-nat.c: Ditto. | |
4714 | * i386-stub.c: Ditto. | |
4715 | * i386-tdep.c: Ditto. | |
4716 | * i386-tdep.h: Ditto. | |
4717 | * i387-tdep.c: Ditto. | |
4718 | * ia64-linux-nat.c: Ditto. | |
4719 | * ia64-linux-tdep.c: Ditto. | |
4720 | * ia64-tdep.c: Ditto. | |
4721 | * infcall.c: Ditto. | |
4722 | * infcall.h: Ditto. | |
4723 | * infcmd.c: Ditto. | |
4724 | * inferior.c: Ditto. | |
4725 | * inferior.h: Ditto. | |
4726 | * infloop.c: Ditto. | |
4727 | * inflow.c: Ditto. | |
4728 | * infrun.c: Ditto. | |
4729 | * interps.c: Ditto. | |
4730 | * interps.h: Ditto. | |
4731 | * iq2000-tdep.c: Ditto. | |
4732 | * irix5-nat.c: Ditto. | |
4733 | * jit.c: Ditto. | |
4734 | * jit.h: Ditto. | |
4735 | * jv-exp.y: Ditto. | |
4736 | * jv-lang.c: Ditto. | |
4737 | * jv-lang.h: Ditto. | |
4738 | * jv-typeprint.c: Ditto. | |
4739 | * jv-valprint.c: Ditto. | |
4740 | * language.c: Ditto. | |
4741 | * language.h: Ditto. | |
4742 | * linespec.c: Ditto. | |
4743 | * linux-fork.c: Ditto. | |
4744 | * linux-nat.c: Ditto. | |
4745 | * linux-thread-db.c: Ditto. | |
4746 | * lm32-tdep.c: Ditto. | |
4747 | ||
025bb325 MS |
4748 | 2011-01-08 Michael Snyder <[email protected]> |
4749 | ||
4750 | * m2-exp.y: Comment cleanup, mostly periods and spaces. | |
4751 | * m2-lang.c: Ditto. | |
4752 | * m2-typeprint.c: Ditto. | |
4753 | * m2-valprint.c: Ditto. | |
4754 | * m32c-tdep.c: Ditto. | |
4755 | * m32r-linux-nat.c: Ditto. | |
4756 | * m32r-rom.c: Ditto. | |
4757 | * m32r-tdep.c: Ditto. | |
4758 | * m32r-tdep.h: Ditto. | |
4759 | * m68hc11-tdep.c: Ditto. | |
4760 | * m58klinux-nat.c: Ditto. | |
4761 | * m68k-tdep.c: Ditto. | |
4762 | * m88k-tdep.c: Ditto. | |
4763 | * m88k-tdep.h: Ditto. | |
4764 | * machoread.c: Ditto. | |
4765 | * macrocmd.c: Ditto. | |
4766 | * macroexp.c: Ditto. | |
4767 | * macrotab.c: Ditto. | |
4768 | * main.c: Ditto. | |
4769 | * maint.c: Ditto. | |
4770 | * mdebugread.c: Ditto. | |
4771 | * mdebugread.h: Ditto. | |
4772 | * memattr.c: Ditto. | |
4773 | * memattr.h: Ditto. | |
4774 | * memory-map.h: Ditto. | |
4775 | * mep-tdep.c: Ditto. | |
4776 | * microblaze-rom.c: Ditto. | |
4777 | * microblaze-tdep.c: Ditto. | |
4778 | * minsyms.c: Ditto. | |
4779 | * mips-irix-tdep.c: Ditto. | |
4780 | * mips-linux-nat.c: Ditto. | |
4781 | * mips-linux-tdep.c: Ditto. | |
4782 | * mips-linux-tdep.h: Ditto. | |
4783 | * mipsnbsd-nat.c: Ditto. | |
4784 | * mipsnbsd-tdep.c: Ditto. | |
4785 | * mipsread.c: Ditto. | |
4786 | * mips-tdep.c: Ditto. | |
4787 | * mips-tdep.h: Ditto. | |
4788 | * mn10300-linux-tdep.c: Ditto. | |
4789 | * mn10300-tdep.c: Ditto. | |
4790 | * mn10300-tdep.h: Ditto. | |
4791 | * monitor.c: Ditto. | |
4792 | * monitor.h: Ditto. | |
4793 | * moxie-tdep.c: Ditto. | |
4794 | * moxie-tdep.h: Ditto. | |
4795 | * mt-tdep.c: Ditto. | |
4796 | ||
1642781b MF |
4797 | 2011-01-08 Mike Frysinger <[email protected]> |
4798 | ||
4799 | * bfin-tdep.h (BFIN_A0_DOT_W_REGNUM): Fix typo in name. | |
4800 | ||
394b0adb JB |
4801 | 2011-01-08 Robert Millan <[email protected]> |
4802 | ||
4803 | * fbsd-nat.c (fbsd_find_memory_regions): Fix typo. | |
4804 | ||
b670013c MS |
4805 | 2011-01-07 Michael Snyder <[email protected]> |
4806 | ||
4807 | * charset.c (_initialize_charset): Fix typo in string. | |
4808 | ||
a743e542 MS |
4809 | 2011-01-07 Michael Snyder <[email protected]> |
4810 | ||
4811 | * mi/mi-cmd-disas.c (mi_cmd_disassemble): Mark up error message | |
4812 | for i18n. | |
f2eb0bc8 | 4813 | * tui/tui-layout.c (tui_set_layout_for_display_command): |
a743e542 MS |
4814 | Split line so that operator goes to beginning of line. |
4815 | * tui/tui-winsource.c (tui_horizontal_source_scroll): Move | |
4816 | assignment out of if statement. | |
4817 | ||
0963b4bd MS |
4818 | 2011-01-07 Michael Snyder <[email protected]> |
4819 | ||
4820 | * ada-lang.c: Comment cleanup, mostly periods and spaces. | |
4821 | * ada-lang.h: Ditto. | |
4822 | * ada-tasks.c: Ditto. | |
4823 | * ada-valprint.c: Ditto. | |
4824 | * aix-threads.c: Ditto. | |
4825 | * alpha-linux-nat.c: Ditto. | |
4826 | * alpha-linux-tdep.c: Ditto. | |
4827 | * alpha-mdebug-tdep.c: Ditto. | |
4828 | * alpha-nat.c: Ditto. | |
4829 | * alpha-osf1-tdep.c: Ditto. | |
4830 | * alpha-tdep.c: Ditto. | |
4831 | * alphabsd-nat.c: Ditto. | |
4832 | * alphabsd-tdep.c: Ditto. | |
4833 | * amd64-darwin-tdep.c: Ditto. | |
4834 | * amd64-linux-nat.c: Ditto. | |
4835 | * amd64-linux-tdep.c: Ditto. | |
4836 | * amd64-sol2-tdep.c: Ditto. | |
4837 | * amd64-tdep.c: Ditto. | |
4838 | * amd64-fbsd-tdep.c: Ditto. | |
4839 | * amd64-nbsd-tdep.c: Ditto. | |
4840 | * amd64-obsd-tdep.c: Ditto. | |
4841 | * amd64-linux-nat.c: Ditto. | |
4842 | * amd64-linux-tdep.c: Ditto. | |
4843 | * arm-tdep.c: Ditto. | |
4844 | * arm-tdep.h: Ditto. | |
4845 | * armnbsd-nat.c: Ditto. | |
4846 | * avr-tdep.c: Ditto. | |
4847 | * bfin-tdep.c: Ditto. | |
4848 | * bsd-kvm.c: Ditto. | |
4849 | * c-typeprintc: Ditto. | |
4850 | * c-valprint.c: Ditto. | |
4851 | * coff-pe-read.h: Ditto. | |
4852 | * coffreead.c: Ditto. | |
4853 | * cris-tdep.c: Ditto. | |
4854 | * d-lang.c: Ditto. | |
4855 | * darwin-nat-info.c: Ditto. | |
4856 | * darwin-nat.c: Ditto. | |
4857 | * dbug-rom.c: Ditto. | |
4858 | * dbxread.c: Ditto. | |
4859 | * dcache.c: Ditto. | |
4860 | * dcache.h: Ditto. | |
4861 | * dec-thread.c: Ditto. | |
4862 | * defs.h: Ditto. | |
4863 | * demangle.c: Ditto. | |
4864 | * dicos-tdep.c: Ditto. | |
4865 | * dictionary.c: Ditto. | |
4866 | * dictionary.h: Ditto. | |
4867 | * dink32-rom.c: Ditto. | |
4868 | * disasm.c: Ditto. | |
4869 | * doublest.c: Ditto. | |
4870 | * dsrec.c: Ditto. | |
4871 | * dummy-frame.c: Ditto. | |
4872 | * dwarf2-frame.c: Ditto. | |
4873 | * dwarf2expr.c: Ditto. | |
4874 | * dwarf2loc.c: Ditto. | |
4875 | * dwarf2read.c: Ditto. | |
4876 | * elfread.c: Ditto. | |
4877 | * environ.c: Ditto. | |
4878 | * eval.c: Ditto. | |
4879 | * event-top.h: Ditto. | |
4880 | * exceptions.c: Ditto. | |
4881 | * exceptions.h: Ditto. | |
4882 | * exec.c: Ditto. | |
4883 | * expprint.c: Ditto. | |
4884 | * expression.h: Ditto. | |
4885 | * f-exp.y: Ditto. | |
4886 | * f-lang.c: Ditto. | |
4887 | * f-lang.h: Ditto. | |
4888 | * f-typeprint.c: Ditto. | |
4889 | * f-valprint.c: Ditto. | |
4890 | * fbsd-nat.c: Ditto. | |
4891 | * findvar.c: Ditto. | |
4892 | * fork-child.c: Ditto. | |
4893 | * frame.c: Ditto. | |
4894 | * frame.h: Ditto. | |
4895 | * frv-linux-tdep.c: Ditto. | |
4896 | * frv-tdep.c: Ditto. | |
4897 | * gcore.c: Ditto. | |
4898 | * gdb-stabs.h: Ditto. | |
4899 | * gdb_assert.h: Ditto. | |
4900 | * gdb_string.h: Ditto. | |
4901 | * gdb_thread_db.h: Ditto. | |
4902 | * gdb_wait.h: Ditto. | |
4903 | * gdbarch.sh: Ditto. | |
4904 | * gdbcore.h: Ditto. | |
4905 | * gdbthread.h: Ditto. | |
4906 | * gdbtypes.c: Ditto. | |
4907 | * gdbtypes.h: Ditto. | |
4908 | * gnu-nat.c: Ditto. | |
4909 | * gnu-nat.h: Ditto. | |
4910 | * gnu-v2-abi.c: Ditto. | |
4911 | * gnu-v3-abi.c: Ditto. | |
4912 | * go32-nat.c: Ditto. | |
4913 | * gdbarch.c: Regenerate. | |
4914 | * gdbarch.h: Regenerate. | |
4915 | ||
ac74f770 MS |
4916 | 2011-01-07 Michael Snyder <[email protected]> |
4917 | ||
4918 | * ax-gdb.c: Adjust some long output strings. | |
4919 | * breakpoint.c: Ditto. | |
4920 | * charset.c: Ditto. | |
4921 | * cp-abi.c: Ditto. | |
4922 | * infcall.c: Ditto. | |
4923 | * infrun.c: Ditto. | |
4924 | * linux-nat.c: Ditto. | |
4925 | * solib-pa64.c: Ditto. | |
4926 | * solib-som.c: Ditto. | |
4927 | ||
d8e22779 TT |
4928 | 2011-01-06 Tom Tromey <[email protected]> |
4929 | ||
4930 | PR python/12367: | |
4931 | * NEWS: Add item. | |
4932 | * python/python.c (GdbMethods): Add "newest_frame" method. | |
4933 | * python/python-internal.h (gdbpy_newest_frame): Declare. | |
4934 | * python/py-frame.c (gdbpy_newest_frame): New function. | |
4935 | ||
a255712f PP |
4936 | 2010-01-06 Paul Pluzhnikov <[email protected]> |
4937 | ||
4938 | * jit.h (struct jit_code_entry): use ULONGEST for symfile_size. | |
4939 | * jit.c (jit_debug): New variable. | |
4940 | (show_jit_debug): New function. | |
4941 | (struct target_buffer): Use ULONGEST. | |
4942 | (bfd_open_from_target_memory): Likewise. | |
4943 | (jit_register_code, jit_inferior_init): Add debug output. | |
4944 | (_initialize_jit): Register "debug jit" command. | |
4945 | ||
ccfc3d6e TT |
4946 | 2011-01-06 Tom Tromey <[email protected]> |
4947 | ||
4948 | * frame.h (enum frame_type) <INLINE_FRAME>: Fix comment. | |
4949 | * python/py-frame.c (gdbpy_initialize_frames): Add INLINE_FRAME | |
4950 | and ARCH_FRAME. | |
4951 | ||
57126e4a TT |
4952 | 2011-01-06 Tom Tromey <[email protected]> |
4953 | ||
4954 | * python/py-frame.c (frapy_block): Use get_frame_block. | |
4955 | ||
16dfc9ce JB |
4956 | 2011-01-06 Joel Brobecker <[email protected]> |
4957 | ||
4958 | Do not stop on SIGPRIO signals by default | |
4959 | * infrun.c (_initialize_infrun): Unset signal_stop and | |
4960 | signal_print for TARGET_SIGNAL_PRIO. | |
4961 | ||
b1ce2347 JB |
4962 | 2011-01-06 Joel Brobecker <[email protected]> |
4963 | ||
4964 | * ada-tasks.c: Fix style violation in comment. | |
4965 | ||
8f7e195f JB |
4966 | 2011-01-06 Joel Brobecker <[email protected]> |
4967 | ||
4968 | * linespec.c (decode_compound, find_method): Remove trailing \n | |
4969 | at end of error string. | |
4970 | * solib-irix.c (irix_current_sos): Likewise. | |
4971 | * varobj.c (uninstall_variable): Likewise. | |
4972 | ||
e9bdf92c JB |
4973 | 2011-01-06 Joel Brobecker <[email protected]> |
4974 | ||
4975 | * copyright.py: New script. | |
4976 | * copyright.sh (byhand): Add *.ads, *.adb, *.gpr and *.inc. | |
4977 | Launch emacs without exec'ing. Call copyright.py afterwards. | |
4978 | ||
3e43a32a MS |
4979 | 2011-01-05 Michael Snyder <[email protected]> |
4980 | ||
4981 | * addrmap.c: Shorten lines of >= 80 columns. | |
4982 | * arch-utils.c: Ditto. | |
4983 | * arch-utils.h: Ditto. | |
4984 | * ax-gdb.c: Ditto. | |
4985 | * ax-general.c: Ditto. | |
4986 | * bcache.c: Ditto. | |
4987 | * blockframe.c: Ditto. | |
4988 | * breakpoint.c: Ditto. | |
4989 | * buildsym.c: Ditto. | |
4990 | * c-lang.c: Ditto. | |
4991 | * c-typeprint.c: Ditto. | |
4992 | * charset.c: Ditto. | |
4993 | * coffread.c: Ditto. | |
4994 | * command.h: Ditto. | |
4995 | * corelow.c: Ditto. | |
4996 | * cp-abi.c: Ditto. | |
4997 | * cp-namespace.c: Ditto. | |
4998 | * cp-support.c: Ditto. | |
4999 | * dbug-rom.c: Ditto. | |
5000 | * dbxread.c: Ditto. | |
5001 | * defs.h: Ditto. | |
5002 | * dfp.c: Ditto. | |
5003 | * dfp.h: Ditto. | |
5004 | * dictionary.c: Ditto. | |
5005 | * disasm.c: Ditto. | |
5006 | * doublest.c: Ditto. | |
5007 | * dwarf2-frame.c: Ditto. | |
5008 | * dwarf2expr.c: Ditto. | |
5009 | * dwarf2loc.c: Ditto. | |
5010 | * dwarf2read.c: Ditto. | |
5011 | * elfread.c: Ditto. | |
5012 | * eval.c: Ditto. | |
5013 | * event-loop.c: Ditto. | |
5014 | * event-loop.h: Ditto. | |
5015 | * exceptions.h: Ditto. | |
5016 | * exec.c: Ditto. | |
5017 | * expprint.c: Ditto. | |
5018 | * expression.h: Ditto. | |
5019 | * f-lang.c: Ditto. | |
5020 | * f-valprint.c: Ditto. | |
5021 | * findcmd.c: Ditto. | |
5022 | * frame-base.c: Ditto. | |
5023 | * frame-unwind.c: Ditto. | |
5024 | * frame-unwind.h: Ditto. | |
5025 | * frame.c: Ditto. | |
5026 | * frame.h: Ditto. | |
5027 | * gcore.c: Ditto. | |
5028 | * gdb-stabs.h: Ditto. | |
5029 | * gdb_assert.h: Ditto. | |
5030 | * gdb_dirent.h: Ditto. | |
5031 | * gdb_obstack.h: Ditto. | |
5032 | * gdbcore.h: Ditto. | |
5033 | * gdbtypes.c: Ditto. | |
5034 | * gdbtypes.h: Ditto. | |
5035 | * inf-ttrace.c: Ditto. | |
5036 | * infcall.c: Ditto. | |
5037 | * infcmd.c: Ditto. | |
5038 | * inflow.c: Ditto. | |
5039 | * infrun.c: Ditto. | |
5040 | * inline-frame.h: Ditto. | |
5041 | * language.c: Ditto. | |
5042 | * language.h: Ditto. | |
5043 | * libunwind-frame.c: Ditto. | |
5044 | * libunwind-frame.h: Ditto. | |
5045 | * linespec.c: Ditto. | |
5046 | * linux-nat.c: Ditto. | |
5047 | * linux-nat.h: Ditto. | |
5048 | * linux-thread-db.c: Ditto. | |
5049 | * machoread.c: Ditto. | |
5050 | * macroexp.c: Ditto. | |
5051 | * macrotab.c: Ditto. | |
5052 | * main.c: Ditto. | |
5053 | * maint.c: Ditto. | |
5054 | * mdebugread.c: Ditto. | |
5055 | * memattr.c: Ditto. | |
5056 | * minsyms.c: Ditto. | |
5057 | * monitor.c: Ditto. | |
5058 | * monitor.h: Ditto. | |
5059 | * objfiles.c: Ditto. | |
5060 | * objfiles.h: Ditto. | |
5061 | * osabi.c: Ditto. | |
5062 | * p-typeprint.c: Ditto. | |
5063 | * p-valprint.c: Ditto. | |
5064 | * parse.c: Ditto. | |
5065 | * printcmd.c: Ditto. | |
5066 | * proc-events.c: Ditto. | |
5067 | * procfs.c: Ditto. | |
5068 | * progspace.c: Ditto. | |
5069 | * progspace.h: Ditto. | |
5070 | * psympriv.h: Ditto. | |
5071 | * psymtab.c: Ditto. | |
5072 | * record.c: Ditto. | |
5073 | * regcache.c: Ditto. | |
5074 | * regcache.h: Ditto. | |
5075 | * remote-fileio.c: Ditto. | |
5076 | * remote.c: Ditto. | |
5077 | * ser-mingw.c: Ditto. | |
5078 | * ser-tcp.c: Ditto. | |
5079 | * ser-unix.c: Ditto. | |
5080 | * serial.c: Ditto. | |
5081 | * serial.h: Ditto. | |
5082 | * solib-frv.c: Ditto. | |
5083 | * solib-irix.c: Ditto. | |
5084 | * solib-osf.c: Ditto. | |
5085 | * solib-pa64.c: Ditto. | |
5086 | * solib-som.c: Ditto. | |
5087 | * solib-sunos.c: Ditto. | |
5088 | * solib-svr4.c: Ditto. | |
5089 | * solib-target.c: Ditto. | |
5090 | * solib.c: Ditto. | |
5091 | * somread.c: Ditto. | |
5092 | * source.c: Ditto. | |
5093 | * stabsread.c: Ditto. | |
5094 | * stabsread.c: Ditto. | |
5095 | * stack.c: Ditto. | |
5096 | * stack.h: Ditto. | |
5097 | * symfile-mem.c: Ditto. | |
5098 | * symfile.c: Ditto. | |
5099 | * symfile.h: Ditto. | |
5100 | * symmisc.c: Ditto. | |
5101 | * symtab.c: Ditto. | |
5102 | * symtab.h: Ditto. | |
5103 | * target-descriptions.c: Ditto. | |
5104 | * target-memory.c: Ditto. | |
5105 | * target.c: Ditto. | |
5106 | * target.h: Ditto. | |
5107 | * terminal.h: Ditto. | |
5108 | * thread.c: Ditto. | |
5109 | * top.c: Ditto. | |
5110 | * tracepoint.c: Ditto. | |
5111 | * tracepoint.h: Ditto. | |
5112 | * ui-file.c: Ditto. | |
5113 | * ui-file.h: Ditto. | |
5114 | * ui-out.h: Ditto. | |
5115 | * user-regs.c: Ditto. | |
5116 | * user-regs.h: Ditto. | |
5117 | * utils.c: Ditto. | |
5118 | * valarith.c: Ditto. | |
5119 | * valops.c: Ditto. | |
5120 | * valprint.c: Ditto. | |
5121 | * valprint.h: Ditto. | |
5122 | * value.c: Ditto. | |
5123 | * varobj.c: Ditto. | |
5124 | * varobj.h: Ditto. | |
5125 | * vec.h: Ditto. | |
5126 | * xcoffread.c: Ditto. | |
5127 | * xcoffsolib.c: Ditto. | |
5128 | * xcoffsolib.h: Ditto. | |
5129 | * xml-syscall.c: Ditto. | |
5130 | * xml-tdesc.c: Ditto. | |
5131 | ||
9a2b4c1b MS |
5132 | 2011-01-05 Michael Snyder <[email protected]> |
5133 | ||
5134 | * cli/cli-cmds.c: Shorten lines of >= 80 columns. | |
5135 | * cli/cli-decode.c: Ditto. | |
5136 | * cli/cli-dump.c: Ditto. | |
5137 | * cli/cli-logging.c: Ditto. | |
5138 | * cli/cli-script.c: Ditto. | |
5139 | * cli/cli-setshow.c: Ditto. | |
5140 | * common/signals.c: Ditto. | |
5141 | * mi/mi-cmd-break.c: Ditto. | |
5142 | * mi/mi-cmd-disas.c: Ditto. | |
5143 | * mi/mi-cmd-stack.c: Ditto. | |
5144 | * mi/mi-cmd-var.c: Ditto. | |
5145 | * mi/mi-cmds.c: Ditto. | |
5146 | * mi/mi-common.h: Ditto. | |
5147 | * mi/mi-console.c: Ditto. | |
5148 | * mi/mi-interp.c: Ditto. | |
5149 | * mi/mi-main.c: Ditto. | |
5150 | * osf-share/cma_attr.c: Ditto. | |
5151 | * osf-share/cma_deb_core.h: Ditto. | |
5152 | * osf-share/cma_debug_client.h: Ditto. | |
5153 | * osf-share/cma_handle.h: Ditto. | |
5154 | * osf-share/cma_mutex.h: Ditto. | |
5155 | * osf-share/cma_stack_int.h: Ditto. | |
5156 | * osf-share/cma_tcb_defs.h: Ditto. | |
5157 | * python/py-auto-load.c: Ditto. | |
5158 | * python/py-breakpoint.c: Ditto. | |
5159 | * python/py-cmd.c: Ditto. | |
5160 | * python/py-frame.c: Ditto. | |
5161 | * python/py-objfile.c: Ditto. | |
5162 | * python/py-param.c: Ditto. | |
5163 | * python/py-progspace.c: Ditto. | |
5164 | * python/py-symbol.c: Ditto. | |
5165 | * python/py-value.c: Ditto. | |
5166 | * python/python-internal.h: Ditto. | |
5167 | * python/python.c: Ditto. | |
5168 | * tui/tui-data.c: Ditto. | |
5169 | * tui/tui-disasm.c: Ditto. | |
5170 | * tui/tui-hooks.c: Ditto. | |
5171 | * tui/tui-io.c: Ditto. | |
5172 | * tui/tui-layout.c: Ditto. | |
5173 | * tui/tui-regs.c: Ditto. | |
5174 | * tui/tui-source.c: Ditto. | |
5175 | * tui/tui-stack.c: Ditto. | |
5176 | * tui/tui-win.c: Ditto. | |
5177 | * tui/tui-windata.c: Ditto. | |
5178 | * tui/tui-winsource.c: Ditto. | |
5179 | ||
44944448 JB |
5180 | 2011-01-05 Joel Brobecker <[email protected]> |
5181 | ||
5182 | * configure.ac, gdb.1: Copyright year update. | |
5183 | ||
ebedcab5 JK |
5184 | 2011-01-03 Jan Kratochvil <[email protected]> |
5185 | ||
5186 | * frame.c (get_prev_frame_1) <UNWIND_INNER_ID>: New variables | |
5187 | this_pc_in_block, morestack_msym and morestack_name. Check for | |
5188 | "__morestack" minimal symbol there. | |
5189 | ||
e5cc9f32 JB |
5190 | 2011-01-03 Joel Brobecker <[email protected]> |
5191 | ||
5192 | * symfile.c (find_sym_fns): Add call to dont_repeat. | |
5193 | ||
7b6bb8da JB |
5194 | 2011-01-01 Joel Brobecker <[email protected]> |
5195 | ||
5196 | Copyright year update in most files (performed by copyright.sh). | |
5197 | ||
71ce852c JB |
5198 | 2011-01-01 Joel Brobecker <[email protected]> |
5199 | ||
5200 | * top.c (print_gdb_version): Update copyright year in version output. | |
0e2de366 | 5201 | |
c3c1ebe8 | 5202 | For older changes see ChangeLog-2010. |
c906108c SS |
5203 | \f |
5204 | Local Variables: | |
5205 | mode: change-log | |
5206 | left-margin: 8 | |
5207 | fill-column: 74 | |
5208 | version-control: never | |
57da7796 | 5209 | coding: utf-8 |
c906108c | 5210 | End: |