]>
Commit | Line | Data |
---|---|---|
03564ed9 JB |
1 | 2010-01-19 Joel Brobecker <[email protected]> |
2 | ||
3 | * configure.host: Make x86_64-*-solaris2.1[0-9]* an alias of | |
4 | i[34567]86-*-solaris2.1[0-9]*. | |
5 | * configure.tgt: Likewise. | |
6 | ||
fb2e7cb4 JB |
7 | 2010-01-19 Joel Brobecker <[email protected]> |
8 | ||
9 | * NEWS: Document the source command enhancement allowing it | |
10 | to load Python scripts. Document the "set/show script-extension" | |
11 | commands. | |
12 | ||
1cb5e2a4 JB |
13 | 2010-01-19 Joel Brobecker <[email protected]> |
14 | ||
15 | Add -Wunused-function to compile flags. | |
16 | * configure.ac: Add -Wunused-function to build_warnings. | |
17 | * configure: Regenerate. | |
18 | ||
0ec6cd0c JB |
19 | 2010-01-19 Joel Brobecker <[email protected]> |
20 | ||
21 | "delete" ada-lex.c:input function, not used. | |
22 | * ada-lex.l: #define YY_NO_INPUT. | |
23 | ||
b74845da JB |
24 | 2010-01-19 Joel Brobecker <[email protected]> |
25 | ||
26 | Delete free_named_symtabs and associated cleanup. | |
27 | * symfile.h (free_named_symtabs): Delete declaration. | |
28 | * symfile.c: Remove some commented out code (clear_symtab_users_once). | |
29 | (cashier_psymtab): Comment function out. | |
30 | Delete declaration. | |
31 | (free_named_symtabs): Delete. | |
32 | * coffread.c (coff_end_symtab): Remove call to free_named_symtabs. | |
33 | * dbxread.c (end_psymtab): Likewise. | |
34 | * dwarf2read.c (process_psymtab_comp_unit): Ditto. | |
35 | * exec.c (exec_close_1): Ditto. | |
36 | * xcoffread.c (xcoff_end_psymtab): Likewise. | |
37 | ||
65c06092 JB |
38 | 2010-01-19 Joel Brobecker <[email protected]> |
39 | ||
40 | * stack.c (print_block_frame_labels): Comment function out. | |
41 | ||
d5cd6034 JB |
42 | 2010-01-19 Joel Brobecker <[email protected]> |
43 | ||
44 | Delete unused or undefined functions. | |
45 | * breakpoint.c (ep_parse_optional_filename): Delete. | |
46 | * dcache.c (dcache_write_line): Remove declaration. | |
47 | * infrun.c (build_infrun): Remove declaration. | |
48 | * tracepoint.c (tracepoint_save_command): Remove declaration. | |
49 | * linux-nat.c (init_lwp_list): Delete. No longer used. | |
50 | * event-loop.c (check_async_signal_handlers): Delete declaration. | |
51 | * infrun.c (init_execution_control_state): Delete. | |
52 | (proceed): Update comment to avoid mentioning | |
53 | init_execution_control_state. | |
54 | * target.c (kill_or_be_killed, nosupport_runtime): Delete. | |
55 | * ada-lang.c (ada_to_static_fixed_value): Delete. | |
56 | * scm-lang.c (evaluate_subexp_scm): Delete declaration. | |
57 | * cp-namespace.c (cp_copy_usings): Delete. | |
58 | * xml-syscall.c (xml_number_of_syscalls): Delete. | |
59 | * progspace.c (find_program_space_by_num): Delete. | |
60 | * inflow.c (handle_sigio): Delete declaration. | |
61 | * hppa-tdep.c (hppa_alignof): Delete. | |
62 | * mipsnbsd-tdep.c (mipsnbsd_sigtramp_offset) | |
63 | (mipsnbsd_core_osabi_sniffer): Delete. | |
64 | ||
4e8f195d TT |
65 | 2010-01-18 Tom Tromey <[email protected]> |
66 | ||
67 | PR c++/9680: | |
68 | * c-exp.y (REINTERPRET_CAST, DYNAMIC_CAST, STATIC_CAST) | |
69 | (CONST_CAST): New tokens. | |
70 | (exp): Add new productions. | |
71 | (ident_tokens): Add const_cast, dynamic_cast, static_cast, and | |
72 | reinterpret_cast. | |
73 | (is_cast_operator): New function. | |
74 | (yylex): Handle cast operators specially. | |
75 | * eval.c (evaluate_subexp_standard) <UNOP_DYNAMIC_CAST, | |
76 | UNOP_REINTERPRET_CAST>: New cases. | |
77 | * expprint.c (print_subexp_standard): Likewise. | |
78 | (op_name_standard): Likewise. | |
79 | (dump_subexp_body_standard): Likewise. | |
80 | * parse.c (operator_length_standard): Likewise. | |
81 | * expression.h (enum exp_opcode): New constants UNOP_DYNAMIC_CAST, | |
82 | UNOP_REINTERPRET_CAST. | |
83 | * gdbtypes.c (class_types_same_p): New function. | |
84 | (is_ancestor): Use it. | |
85 | (is_public_ancestor): New function. | |
86 | (is_unique_ancestor_worker): Likewise. | |
87 | (is_unique_ancestor): Likewise. | |
88 | * gdbtypes.h (class_types_same_p, is_public_ancestor) | |
89 | (is_unique_ancestor): Declare. | |
90 | * valops.c (value_reinterpret_cast): New function. | |
91 | (dynamic_cast_check_1): Likewise. | |
92 | (dynamic_cast_check_2): Likewise. | |
93 | (value_dynamic_cast): Likewise. | |
94 | * value.h (value_reinterpret_cast, value_dynamic_cast): Declare. | |
95 | ||
d9c57d9f JB |
96 | 2010-01-18 Joel Brobecker <[email protected]> |
97 | ||
98 | Fix build failure when building without Python support. | |
99 | * python/python.c: Always include exceptions.h, even when HAVE_PYTHON | |
100 | is not defined. | |
101 | ||
f80d3ff2 JB |
102 | 2010-01-18 Joel Brobecker <[email protected]> |
103 | ||
104 | Use XVS field type instead of doing a parallel lookup. | |
105 | * ada-lang.c (ada_get_base_type): Follow the XVS field type | |
106 | if it is a reference type instead of doing a type lookup using | |
107 | the XVS field name. | |
108 | ||
5bf03f13 JB |
109 | 2010-01-18 Joel Brobecker <[email protected]> |
110 | ||
111 | Trust PAD types instead of using PAD___XVS. | |
112 | * ada-lang.c (trust_pad_over_xvs): New static variable. | |
113 | (ada_is_aligner_type): If !trust_pad_over_xvs and there is a | |
114 | parallel XVS type, follow the XVS type instead of the PAD type. | |
115 | (unwrap_value): Make sure that there is no parallel XVE type | |
116 | before returning the value as is. | |
117 | (set_ada_list, show_ada_list): New static variables. | |
118 | (set_ada_command, show_ada_command): New functions. | |
119 | (_initialize_ada_language): Add new "set/show ada" prefix commands. | |
120 | Add new "set/show ada trust-PAD-over-XVS" setting. | |
121 | ||
973817a3 JB |
122 | 2010-01-18 Tom Tromey <[email protected]> |
123 | Thiago Jung Bauermann <[email protected]> | |
124 | ||
125 | Allow "source" to load python scripts. | |
126 | * exceptions.h (enum errors): Add UNSUPPORTED_ERROR. | |
127 | * python/python.c (source_python_script): New function. | |
128 | * python/python.h (source_python_script): Add declaration. | |
129 | * cli/cli-cmds.c: #include exceptions.h and python/python.h. | |
130 | (script_ext_off, script_ext_soft, script_ext_strict) | |
131 | (script_ext_enums, script_ext_mode): New static constants. | |
132 | (show_script_ext_mode, find_and_open_script): New functions. | |
133 | (source_script): Enhance to handle Python scripts. | |
134 | (init_cli_cmds): Add set/show script-extension commands. | |
135 | ||
98e03262 SS |
136 | 2010-01-16 Stan Shebs <[email protected]> |
137 | ||
138 | * tracepoint.h (struct trace_status): Use unsigned long long | |
139 | instead of size_t. | |
140 | * tracepoint.c (trace_status_command): Fix printf directive. | |
141 | (trace_save_command): Check fwrite returns, fix printf directive. | |
142 | (trace_filename): New global. | |
143 | (tfile_open): Set it, check read returns. | |
144 | (tfile_close): Free trace_filename. | |
145 | (tfile_get_traceframe_address): Check read returns. | |
146 | (tfile_trace_find): Ditto. | |
147 | (tfile_fetch_registers): Ditto. | |
148 | (tfile_xfer_partial): Ditto. | |
149 | (tfile_get_trace_state_variable_value): Ditto. | |
150 | ||
00bf0b85 SS |
151 | 2010-01-15 Stan Shebs <[email protected]> |
152 | ||
153 | Add trace file support. | |
154 | * tracepoint.h (enum trace_stop_reason): New enum. | |
155 | (struct trace_status): New struct. | |
156 | (parse_trace_status): Declare. | |
157 | (struct uploaded_tp): Move here from remote.c, | |
158 | add fields for actions. | |
159 | (struct uploaded_tsv): New struct. | |
160 | * tracepoint.c (tfile_ops): New target vector. | |
161 | (trace_fd): New global. | |
162 | (tfile_open): New function. | |
163 | (tfile_close): New function. | |
164 | (tfile_files_info): New function. | |
165 | (tfile_get_trace_status): New function. | |
166 | (tfile_get_traceframe_address): New function. | |
167 | (tfile_trace_find): New function. | |
168 | (tfile_fetch_registers): New function. | |
169 | (tfile_xfer_partial): New function. | |
170 | (tfile_get_trace_state_variable_value): New function. | |
171 | (init_tfile_ops): New function. | |
172 | (_initialize_tracepoint): Call it, add tfile target. | |
173 | (trace_status): New global. | |
174 | (current_trace_status): New function. | |
175 | (trace_running_p): Remove, change all users to get from | |
176 | current_trace_status()->running. | |
177 | (get_trace_status): Remove. | |
178 | (trace_status_command): Call target_get_trace_status directly, | |
179 | report more detail including tracing stop reasons. | |
180 | (trace_find_command): Always allow tfind on a file. | |
181 | (trace_find_pc_command): Ditto. | |
182 | (trace_find_tracepoint_command): Ditto. | |
183 | (trace_find_line_command): Ditto. | |
184 | (trace_find_range_command): Ditto. | |
185 | (trace_find_outside_command): Ditto. | |
186 | (trace_frames_offset, cur_offset): Declare as off_t. | |
187 | (trace_regblock_size): Rename from reg_size, update users. | |
188 | (parse_trace_status): New function. | |
189 | (tfile_interp_line): New function. | |
190 | (disconnect_or_stop_tracing): Ensure current trace | |
191 | status before asking what to do. | |
192 | (stop_reason_names): New global. | |
193 | (trace_save_command): New command. | |
194 | (get_uploaded_tp): Move here from remote.c. | |
195 | (find_matching_tracepoint): Ditto. | |
196 | (merge_uploaded_tracepoints): New function. | |
197 | (parse_trace_status): Use stop_reason_names. | |
198 | (_initialize_tracepoint): Define tsave command. | |
199 | * target.h (target_ops): New fields to_save_trace_data, | |
200 | to_upload_tracepoints, to_upload_trace_state_variables, | |
201 | to_get_raw_trace_data, change to_get_trace_status | |
202 | to take a pointer to a status struct. | |
203 | (target_save_trace_data): New macro. | |
204 | (target_upload_tracepoints): New macro. | |
205 | (target_upload_trace_state_variables): New macro. | |
206 | (target_get_raw_trace_data): New macro. | |
207 | * target.c (update_current_target): Add new methods, change | |
208 | signature of to_get_trace_status. | |
209 | * remote.c (hex2bin): Make globally visible. | |
210 | (bin2hex): Ditto. | |
211 | (remote_download_trace_state_variable): Download name also. | |
212 | (remote_get_trace_status): Update parameter, use | |
213 | parse_trace_status. | |
214 | (remote_save_trace_data): New function. | |
215 | (remote_upload_tracepoints): New function. | |
216 | (remote_upload_trace_state_variables): New function. | |
217 | (remote_get_raw_trace_data): New function. | |
218 | (remote_start_remote): Use them. | |
219 | (_initialize_remote_ops): Add operations. | |
220 | * ax-gdb.c: Include breakpoint.h. | |
221 | * breakpoint.c (create_tracepoint_from_upload): Use | |
222 | break_command_really, return tracepoint, warn about unimplemented | |
223 | parts. | |
224 | * NEWS: Mention trace file addition. | |
225 | ||
d904de5b JK |
226 | 2010-01-15 Jan Kratochvil <[email protected]> |
227 | ||
228 | Fix compilation warning on gcc-3.4. | |
229 | * exec.c (print_section_info): Move the `displacement' variable | |
230 | initialization to its declaration. | |
231 | ||
64aa9731 JK |
232 | 2010-01-15 Jan Kratochvil <[email protected]> |
233 | ||
234 | * gdb-gdb.py (StructMainTypePrettyPrinter): Fix TYPE_CODE_RANGE | |
235 | comparison. | |
236 | ||
ca1f5def | 237 | 2010-01-15 Eric Botcazou <[email protected]> |
9f0dec2d JB |
238 | |
239 | "info tasks" broken by typedefs in ATCB type definitions. | |
240 | * ada-lang.c (ada_template_to_fixed_record_type_1): Add call to | |
241 | ada_check_typedef before retrieving the length of the type for | |
242 | regular fields. | |
243 | ||
12ab9e09 JB |
244 | 2010-01-15 Joel Brobecker <[email protected]> |
245 | ||
246 | Do not use name-based lookup for unconstrained packed arrays. | |
247 | * ada-lang.c (find_parallel_type_by_descriptive_type): | |
248 | Limit the fallback to name-based lookups to the case where | |
249 | the type is a constrained packed array. | |
250 | ||
c389c3dc JB |
251 | 2010-01-15 Joel Brobecker <[email protected]> |
252 | ||
253 | Enhance gdb-gdb.py to handle main_type.type_specific. | |
254 | * gdb-gdb.py: Print the type-specific part of struct main_type. | |
255 | ||
7991dee7 JK |
256 | 2010-01-15 Jan Kratochvil <[email protected]> |
257 | ||
258 | * configure.ac (AC_CHECK_FUNCS): Check for setrlimit and getrlimit. | |
259 | * configure: Regenerate. | |
260 | * config.in: Regenerate. | |
261 | * utils.c: Include sys/resource.h. | |
262 | (dump_core, can_dump_core): New. | |
263 | (internal_vproblem): Update the comment. Check can_dump_core while | |
264 | setting dump_core_p. Replace two abort calls by dump_core calls. | |
265 | ||
93c26624 JK |
266 | 2010-01-14 Jan Kratochvil <[email protected]> |
267 | Eli Zaretskii <[email protected]> | |
268 | ||
269 | * NEWS: Document the PIE support. | |
270 | ||
55235ad7 JK |
271 | 2010-01-14 Jan Kratochvil <[email protected]> |
272 | ||
273 | * linux-tdep.c: Remove includes gdbcore.h, observer.h and elf-bfd.h. | |
274 | (check_is_pie_binary, _initialize_linux_tdep): Remove. | |
275 | ||
41752192 JK |
276 | 2010-01-14 Jan Kratochvil <[email protected]> |
277 | ||
278 | * solib-svr4.c (svr4_exec_displacement): New comment for entry_point. | |
279 | Replace exec_entry_point call by bfd_get_start_address. | |
280 | ||
9f2982ff JK |
281 | 2010-01-14 Jan Kratochvil <[email protected]> |
282 | ||
283 | Support Valgrind attachments broken by the PIE support. | |
284 | * auxv.c: Include gdbcore.h. | |
285 | (procfs_xfer_auxv): Make static. Reduce its comment. Drop its | |
286 | parameters ops, object and annex. Remove their assertions. | |
287 | (ld_so_xfer_auxv, memory_xfer_auxv): New function. | |
288 | * auxv.h (procfs_xfer_auxv): Remove comment. Rename to ... | |
289 | (memory_xfer_auxv): ... here. | |
290 | * linux-nat.c (linux_xfer_partial): Rename procfs_xfer_auxv to | |
291 | memory_xfer_auxv. | |
292 | * procfs.c (procfs_xfer_partial): Likewise. | |
293 | * solib-svr4.c (svr4_relocate_main_executable): New prototype. | |
294 | (svr4_special_symbol_handling): Call svr4_relocate_main_executable. | |
295 | (svr4_solib_create_inferior_hook): Conditionalize the | |
296 | svr4_relocate_main_executable call. | |
297 | ||
61f0d762 JK |
298 | 2010-01-14 Jan Kratochvil <[email protected]> |
299 | ||
300 | * solib-svr4.c (scan_dyntag): Remove variable dyn_addr. New variable | |
301 | target_section. Find SECT in current_target_sections, gdb_assert it. | |
302 | (elf_lookup_lib_symbol): Pass the binary file if given symfile_objfile. | |
303 | New variable abfd. | |
304 | * symtab.c (lookup_objfile_from_block): Return the binary file instead | |
305 | of separate debug info file. | |
306 | ||
51bee8e9 JK |
307 | 2010-01-14 Jan Kratochvil <[email protected]> |
308 | ||
309 | Support PIEs with no symfile_objfile. | |
310 | * exec.c (print_section_info <abfd == exec_bfd>): Relocate Entry point. | |
311 | * solib-svr4.c (svr4_relocate_main_executable <exec_bfd>): New block. | |
312 | ||
b8040f19 JK |
313 | 2010-01-14 Jan Kratochvil <[email protected]> |
314 | ||
315 | * solib-svr4.c (svr4_relocate_main_executable): Move the static exec | |
316 | code part to ... | |
317 | (svr4_static_exec_displacement): ... a new function. | |
318 | (svr4_exec_displacement): New function. | |
319 | (svr4_relocate_main_executable): Call svr4_exec_displacement. Allocate | |
320 | new_offsets using alloca now. Remove variable old_chain and changed. | |
321 | Call objfile_relocate unconditionally now. | |
322 | ||
eb90ce83 DE |
323 | 2010-01-14 Doug Evans <[email protected]> |
324 | ||
325 | * gdbtypes.c (arch_flags_type): Fix comment. | |
326 | * gdbtypes.h (arch_composite_type): Fix comment. | |
327 | ||
bdfed3bc TG |
328 | 2009-01-14 Tristan Gingold <[email protected]> |
329 | ||
330 | * machoread.c (macho_add_oso_symfile): Add symfile_flags parameter. | |
331 | Call xstrdup for abfd->filename. Pass symfile_flags and objfile flags | |
332 | to symbol_file_add_from_bfd. Add OSO as separate objfile. | |
333 | (macho_oso_symfile): Add symfile_flags parameter. Pass it to | |
334 | macho_add_oso_symfile. | |
335 | (macho_symfile_read): Pass symfile_flags to macho_oso_symfile. | |
336 | ||
1596ad23 JB |
337 | 2010-01-14 Joel Brobecker <[email protected]> |
338 | ||
339 | Tru64: Dead threads are never deleted. | |
340 | * dec-thread.c (dec_thread_ptid_is_alive): New function. | |
341 | (dec_thread_count_gdb_threads): Fix counter increment. | |
342 | (dec_thread_add_gdb_thread): Fix *listp increment. | |
343 | (resync_thread_list): Fix bug in deletion of dead threads that | |
344 | caused all threads to be deleted, instead of just the dead ones. | |
345 | ||
be759fcf PM |
346 | 2010-01-13 Phil Muldoon <[email protected]> |
347 | ||
348 | PR python/10705 | |
349 | ||
350 | * python/python-internal.h: Add lazy_string_object_type | |
351 | definition. | |
352 | (create_lazy_string_object, gdbpy_initialize_lazy_string) | |
353 | (gdbpy_is_lazystring, gdbpy_extract_lazy_string): Define. | |
354 | * python/py-value.c (valpy_lazy_string): New function. | |
355 | (convert_value_from_python): Add lazy string conversion. | |
356 | * python/py-prettyprint.c (pretty_print_one_value): Check if | |
357 | return is also a lazy string. | |
358 | (print_string_repr): Add lazy string printing branch. | |
359 | (print_children): Likewise. | |
360 | * python/py-lazy-string.c: New file. Implement lazy strings. | |
361 | * python/python.c (_initialize_python): Call | |
362 | gdbpy_initialize_lazy_string. | |
363 | * varobj.c (value_get_print_value): Add lazy string printing | |
364 | branch. Account for encoding. | |
365 | * c-lang.c (c_printstr): Account for new encoding argument. If | |
366 | encoding is NULL, find encoding suited for type, otherwise use | |
367 | user encoding. | |
368 | * language.h (language_defn): Add encoding argument. | |
369 | (LA_PRINT_STRING): Likewise. | |
370 | * language.c (unk_lang_printstr): Update to reflect new encoding | |
371 | argument to language_defn. | |
372 | * ada-lang.h (ada_printstr): Likewise. | |
373 | * c-lang.h (c_printstr): Likewise. | |
374 | * p-lang.h (pascal_printstr); | |
375 | * f-lang.c (f_printstr): Likewise. | |
376 | * m2-lang.c (m2_printstr): Likewise. | |
377 | * objc-lang.c (objc_printstr): Likewise. | |
378 | * p-lang.c (pascal_printstr): Likewise. | |
379 | * scm-lang.c (scm_printstr): Likewise. | |
380 | * c-valprint.c (c_val_print): Update LA_PRINT_STRING call for | |
381 | encoding argument. | |
382 | * ada-valprint.c (ada_printstr): Likewise. | |
383 | * f-valprint.c (f_val_print): Likewise | |
384 | * m2-valprint.c (m2_val_print): Likewise. | |
385 | * p-valprint.c (pascal_val_print): Likewise. | |
386 | * expprint.c (print_subexp_standard): Likewise. | |
387 | * valprint.c (val_print_string): Likewise. | |
388 | * Makefile.in (SUBDIR_PYTHON_OBS): Add py-lazy-string. | |
389 | (SUBDIR_PYTHON_SRCS): Likewise. | |
390 | (py-lazy-string.o): New rule. | |
391 | ||
1fe72117 | 392 | 2010-01-13 Doug Evans <[email protected]> |
8eee9c5a DE |
393 | |
394 | * mi/mi-main.c (list_available_thread_groups): Avoid "may be used | |
395 | uninitialized" warning from gcc on local `tree'. | |
396 | ||
dc146f7c VP |
397 | 2010-01-13 Vladimir Prus <[email protected]> |
398 | ||
399 | Implement core awareness. | |
400 | ||
401 | * bcache.c (compare_ints): Remove | |
402 | (print_percentage): Use compare_positive_ints. | |
403 | * defs.h (compare_positive_ints): Declare. | |
404 | * linux-nat.h (struct lin_lwp): New field core. | |
405 | (linux_nat_core_of_thread_1): Declare. | |
406 | * linux-nat.c (add_lwp): Init the 'core' field. | |
407 | (linux_nat_wait_1): Record the core. | |
408 | (linux_nat_core_of_thread_1, linux_nat_core_of_thread): New. | |
409 | (linux_nat_add_target): Register the above. | |
410 | * linux-thread-db.c (update_thread_core): New. | |
411 | (thread_db_find_new_threads): Update core information for | |
412 | every thread. | |
413 | * remote.c (struct private_thread_info): New. | |
414 | (free_private_thread_info, demand_private_info): New. | |
415 | (PACKET_qXfer_threads, use_osdata_threads): New. | |
416 | (struct thread_item, threads_parsing_context | |
417 | (start_thread, end_thread, thread_attributes) | |
418 | (thread_children, threads_children, threads_elements): New. | |
419 | (remote_threads_info): Try qXfer:threads before anything | |
420 | else. | |
421 | (remote_protocol_packets): Register qXfer:threads. | |
422 | (remote_open_1): Init use_osdata_threads. | |
423 | (struct stop_reply): New field 'core'. | |
424 | (remote_parse_stop_reply): Parse core number. | |
425 | (process_stop_reply): Record core number. | |
426 | (remote_xfer_partial): Handle qXfer:threads. | |
427 | (remote_core_of_thread): New. | |
428 | (init_remote_ops): Register remote_core_of_thread. | |
429 | (_initialize_remote): Register qXfer:read. | |
430 | * target.c (target_core_of_thread): New | |
431 | * target.h (enum target_object): New value TARGET_OBJECT_THREADS. | |
432 | (struct target_ops): New field to_core_of_threads. | |
433 | (target_core_of_thread): Declare. | |
434 | * gdbthread.h (struct thread_info): New field private_dtor. | |
435 | * thread.c (print_thread_info): Report the core. | |
436 | * ui-out.c (MAX_UI_OUT_LEVELS): Increase. | |
437 | * utils.c (compare_positive_ints): New. | |
438 | * features/threads.dtd: New. | |
439 | * mi/mi-interp.c (mi_on_normal_stop): Report the core. | |
440 | * mi/mi-main.c (struct collect_cores_data, collect_cores) | |
441 | (do_nothing, free_vector_of_osdata_items) | |
442 | (splay_tree_int_comparator, free_splay_tree): New. | |
443 | (print_one_inferior_data): Implemented printing of selected | |
444 | inferiors. Collect and print cores. | |
445 | (output_cores): New. | |
446 | (mi_cmd_list_thread_groups): Support --recurse. Permit specifying | |
447 | thread groups together with --available. | |
448 | ||
d30c5336 JK |
449 | 2010-01-12 Jan Kratochvil <[email protected]> |
450 | ||
451 | * configure: Regenerate (for _STRUCTURED_PROC). | |
452 | ||
02893727 JB |
453 | 2010-01-12 Joel Brobecker <[email protected]> |
454 | ||
455 | Delete dead function. | |
456 | * ada-lang.c (extract_string): Delete. No longer used. | |
457 | ||
46ed2d6f JB |
458 | 2010-01-12 Joel Brobecker <[email protected]> |
459 | ||
460 | Fix -Wunused warning in dec-thread.c. | |
461 | * dec-thread.c (dec_thread_count_gdb_threads) | |
462 | (dec_thread_add_gdb_thread): Prevent -Wunused warning. | |
463 | ||
606b8d1a JB |
464 | 2010-01-12 Joel Brobecker <[email protected]> |
465 | ||
466 | * ada-valprint.c (ada_print_floating): Remove trailing space. | |
467 | ||
b4ba55a1 JB |
468 | 2010-01-12 Joel Brobecker <[email protected]> |
469 | ||
470 | Add support for DW_AT_GNAT_descriptive_type. | |
471 | * gdbtypes.h (enum type_specific_kind): New enum. | |
472 | (struct main_type) [type_specific_field]: New component. | |
473 | [type_specific]: Add new component "gnat_stuff". | |
474 | (struct gnat_aux_type): New type. | |
475 | (INIT_CPLUS_SPECIFIC): Also set TYPE_SPECIFIC_FIELD (type). | |
476 | (HAVE_CPLUS_STRUCT): Also check TYPE_SPECIFIC_FIELD (type). | |
477 | (gnat_aux_default, allocate_gnat_aux_type): Add declaration. | |
478 | (INIT_GNAT_SPECIFIC, ALLOCATE_GNAT_AUX_TYPE, HAVE_GNAT_AUX_INFO) | |
479 | (TYPE_SPECIFIC_FIELD): New macros. | |
480 | (TYPE_CPLUS_SPECIFIC): Return cplus_struct_default if the given | |
481 | type does not hold any cplus-specific data. | |
482 | (TYPE_RAW_CPLUS_SPECIFIC): New macro. | |
483 | (TYPE_GNAT_SPECIFIC, TYPE_DESCRIPTIVE_TYPE): New macros. | |
484 | (TYPE_IS_OPAQUE): Use HAVE_CPLUS_STRUCT to check if type has | |
485 | cplus-specific data. | |
486 | * gdbtypes.c (allocate_cplus_struct_type): Minor stylistic rewrite. | |
487 | Set new component TYPE_SPECIFIC_FIELD (type). | |
488 | (gnat_aux_default): New constant. | |
489 | (allocate_gnat_aux_type): New function. | |
490 | (init_type): Add initialization the type-specific stuff for | |
491 | TYPE_CODE_FLT and TYPE_CODE_FUNC types. | |
492 | (print_gnat_stuff): New function. | |
493 | (recursive_dump_type): Use HAVE_CPLUS_STRUCT to check for cplus- | |
494 | specific data. Adjust code that prints the contents of the | |
495 | type-specific union using the TYPE_SPECIFIC_FIELD value. | |
496 | * dwarf2read.c (dwarf2_attach_fields_to_type): Do not allocate | |
497 | the type cplus stuff for Ada types. | |
498 | (dwarf2_add_member_fn, dwarf2_attach_fn_fields_to_type): | |
499 | Error out if these routines are called with an Ada type. | |
500 | (read_structure_type, read_array_type, read_subrange_type): | |
501 | Add call to set_descriptive_type. | |
502 | (set_die_type): Initialize the gnat-specific data if necessary. | |
503 | (need_gnat_info, die_descriptive_type, set_descriptive_type): | |
504 | New functions. | |
505 | * ada-lang.c (decode_constrained_packed_array_type): Use | |
506 | decode_constrained_packed_array_type instead of doing a standard | |
507 | lookup to locate a parallel type. | |
508 | (find_parallel_type_by_descriptive_type): New function. | |
509 | (ada_find_parallel_type_with_name): New function. | |
510 | (ada_find_parallel_type): Reimplement using | |
511 | ada_find_parallel_type_with_name. | |
512 | * ada-valprint.c (print_field_values): Use HAVE_CPLUS_STRUCT | |
513 | to check if type has a cplus stuff. | |
514 | * linespec.c (total_number_of_methods): Likewise. | |
515 | * mdebugread.c (new_type): Likewise. | |
516 | ||
b0f02ee9 JK |
517 | 2010-01-11 Jan Kratochvil <[email protected]> |
518 | ||
519 | * NEWS: Document the 0b binary number prefix parsing. | |
520 | ||
b260e109 JK |
521 | 2010-01-11 Jan Kratochvil <[email protected]> |
522 | ||
523 | * objfiles.c (objfile_relocate1): Change the return type to int. | |
524 | Describe the new return value. Return non-zero if data changed. | |
525 | (objfile_relocate): New variable changed. Set it. Call | |
526 | breakpoint_re_set depending on CHANGED. | |
527 | ||
b5cfddf5 JK |
528 | 2010-01-11 Jan Kratochvil <[email protected]> |
529 | ||
530 | Implement binary numbers parsing. | |
531 | * c-exp.y (parse_number): New case 'b' and 'B'. | |
532 | ||
e0ae4240 JK |
533 | 2010-01-11 Jan Kratochvil <[email protected]> |
534 | Tristan Gingold <[email protected]> | |
535 | ||
536 | * solib.c (info_sharedlibrary_command): Replace | |
537 | objfile_has_partial_symbols and objfile_has_full_symbols calls by | |
538 | objfile_has_symbols. | |
539 | ||
6e0e5977 JB |
540 | 2010-01-10 Joel Brobecker <[email protected]> |
541 | ||
542 | * NEWS: Document the improvements made to the mips-irix port. | |
543 | ||
7348c5e1 JB |
544 | 2010-01-09 Joel Brobecker <[email protected]> |
545 | ||
546 | Fix the documentation of valprint.c:value_print. | |
547 | * valprint.c (value_print): Update the function description to | |
548 | mention that the syntax of the output follows the current_language, | |
549 | not necessarily C. | |
550 | ||
567995e1 JK |
551 | 2010-01-09 Jan Kratochvil <[email protected]> |
552 | ||
553 | Fix displacement of separate debug info files. | |
554 | * objfiles.c (objfile_relocate): Rename to ... | |
555 | (objfile_relocate1): ... here and make it static. Extend the comment. | |
556 | (objfile_relocate): New function. | |
557 | * solib-spu.c (spu_relocate_main_executable): Explicitly check if | |
558 | SYMFILE_OBJFILE is NULL. Remove variables objfile and old_chain. | |
559 | Remove following of SEPARATE_DEBUG_OBJFILE. new_offsets is now | |
560 | allocated using alloca. | |
561 | * symfile.c (copy_section_addr_info): Remove. | |
562 | (build_section_addr_info_from_objfile): Make it global. New variables | |
563 | addr_bit and mask, use them. | |
564 | * symfile.h (build_section_addr_info_from_objfile): New prototype. | |
565 | (copy_section_addr_info): Remove. | |
566 | ||
6d8eadbd JB |
567 | 2010-01-09 Joel Brobecker <[email protected]> |
568 | ||
569 | Signal unwinder for mips-irix N32. | |
570 | * mips-irix-tdep.c: #include mips-tdep.h, trad-frame.h, and | |
571 | tramp-frame.h. | |
572 | (SIGTRAMP_FRAME_SIZE, SIGCONTEXT_PC_OFF, SIGCONTEXT_REGS_OFF) | |
573 | (SIGCONTEXT_FPREGS_OFF, SIGCONTEXT_FPCSR_OFF, SIGCONTEXT_HI_OFF) | |
574 | (SIGCONTEXT_LO_OFF): New macros. | |
575 | (mips_irix_n32_tramp_frame_init): New function. | |
576 | (mips_irix_n32_tramp_frame): New static constant. | |
577 | (mips_irix_init_abi): Prepend the mips_irix_n32_tramp_frame unwinder. | |
578 | ||
27087a3d JB |
579 | 2010-01-09 Joel Brobecker <[email protected]> |
580 | ||
581 | Breakpoint in shared library does not work on mips-irix. | |
582 | * procfs.c: #include "observer.h". | |
583 | (procfs_inferior_created): New function, moving here the code | |
584 | which unsets the syssgi syscall-exit notifications. | |
585 | (procfs_create_inferior): Remove the code which unsets the syssgi | |
586 | syscall-exit notifications. It is too early to do this here. | |
587 | (_initialize_procfs): Attach the procfs_inferior_created observer. | |
588 | ||
f08877ba JB |
589 | 2010-01-09 Joel Brobecker <[email protected]> |
590 | ||
591 | Wrong return convention for arrays (mips-irix). | |
592 | * mips-tdep.c (mips_n32n64_return_value): Arrays whose size is | |
593 | 128 bits or smaller are returned the same way as structs | |
594 | and unions of the the same size. | |
595 | ||
e4b97d48 JB |
596 | 2010-01-09 Joel Brobecker <[email protected]> |
597 | ||
598 | Cannot set the PC on mips-irix. | |
599 | * irix5-nat.c (fill_gregset): Check regno against the raw PC | |
600 | register number, no the cooked one. | |
601 | ||
11377e68 JB |
602 | 2010-01-09 Joel Brobecker <[email protected]> |
603 | ||
604 | Error while loading core file on mips-irix. | |
605 | * solib-irix.c (irix_solib_create_inferior_hook): Do nothing | |
606 | if debugging from a core file. | |
607 | ||
b2391021 JB |
608 | 2010-01-09 Joel Brobecker <[email protected]> |
609 | ||
610 | GDB hangs when attaching to process on mips-irix. | |
611 | * solib-irix.c (irix_solib_create_inferior_hook): Do nothing if | |
612 | attaching to a process. | |
613 | ||
f2ec0ecf JB |
614 | 2010-01-09 Joel Brobecker <[email protected]> |
615 | ||
616 | Use the correct breakpoint instruction on mips-irix. | |
617 | * mips-tdep.c (mips_breakpoint_from_pc): Add new static variable | |
618 | containing the correct breakpoint instruction to use on mips-irix. | |
619 | Use it when the osabi is GDB_OSABI_IRIX. | |
620 | ||
3c95f01c JB |
621 | 2010-01-09 Joel Brobecker <[email protected]> |
622 | ||
623 | -Wunused warning in procfs.c (mips-irix only). | |
624 | * procfs.c (gdb_praddset, gdb_prdelset): New macros. Use them | |
625 | throughout instead of using praddset and prdelset respectively. | |
626 | ||
4b7703ad JB |
627 | 2010-01-09 Joel Brobecker <[email protected]> |
628 | ||
629 | GDB crash while stepping into function. | |
630 | * infrun.c (handle_inferior_event): Refetch the current frame | |
631 | after handling what.main_action, in case that pointer became | |
632 | dangling. | |
633 | ||
12c89474 JB |
634 | 2010-01-09 Joel Brobecker <[email protected]> |
635 | ||
636 | Fix build failure of solaris-hosted cross debuggers. | |
637 | * ada-valprint.c, parse.c: Include defs.h before including ctype.h. | |
638 | ||
1a3fd262 | 639 | 2010-01-09 Daniel Gutson <[email protected]> |
4c490650 JB |
640 | |
641 | Fix build failure on sparc-solaris. | |
642 | * procfs.c: (procfs_do_thread_registers) Use elfcore_write_lwpstatus. | |
643 | ||
75242ef4 JK |
644 | 2010-01-08 Jan Kratochvil <[email protected]> |
645 | ||
646 | Move some symfile code into subroutines. | |
647 | * symfile.h (relative_addr_info_to_section_offsets) | |
648 | (addr_info_make_relative): New prototypes. | |
649 | * symfile.c (default_symfile_offsets): Move a part to ... | |
650 | (relative_addr_info_to_section_offsets): ... this new function. | |
651 | (default_symfile_offsets): Call it. | |
652 | (syms_from_objfile <!mainline && addrs && addrs->other[0].name>): Move | |
653 | this part to ... | |
654 | (addr_info_make_relative): ... this new function. | |
655 | ||
268a4a75 JK |
656 | 2010-01-08 Jan Kratochvil <[email protected]> |
657 | ||
658 | Add from_tty to solib_create_inferior_hook. | |
659 | * infcmd.c (post_create_inferior): Move solib_add after | |
660 | solib_create_inferior_hook. Pass from_tty to | |
661 | solib_create_inferior_hook. Call solib_add and SOLIB_ADD with | |
662 | 0 from_tty and comment why. | |
663 | * infrun.c (follow_exec): Pass from_tty solib_create_inferior_hook as 0. | |
664 | * linux-nat.c (linux_child_follow_fork): Likewise. | |
665 | * nto-procfs.c (procfs_post_attach, procfs_create_inferior): Likewise. | |
666 | * solib-darwin.c (darwin_solib_create_inferior_hook): New parameter | |
667 | from_tty. | |
668 | * solib-frv.c (frv_solib_create_inferior_hook): Likewise. | |
669 | * solib-irix.c (irix_solib_create_inferior_hook): Likewise. | |
670 | * solib-null.c (null_solib_create_inferior_hook): Likewise. | |
671 | * solib-osf.c (osf_solib_create_inferior_hook): Likewise. | |
672 | * solib-pa64.c (pa64_solib_create_inferior_hook): Likewise. | |
673 | * solib-som.c (som_solib_create_inferior_hook): Likewise. | |
674 | * solib-spu.c (spu_solib_create_inferior_hook): New parameter from_tty. | |
675 | Pass it to svr4_so_ops.solib_create_inferior_hook. | |
676 | * solib-sunos.c (sunos_solib_create_inferior_hook): New parameter | |
677 | from_tty. | |
678 | * solib-svr4.c (enable_break): New parameter from_tty. Pass it to | |
679 | solib_add. | |
680 | (svr4_solib_create_inferior_hook): New parameter from_tty. Pass it to | |
681 | enable_break. | |
682 | * solib-target.c (solib_target_solib_create_inferior_hook): New | |
683 | parameter from_tty. | |
684 | * solib.c (solib_create_inferior_hook): New parameter from_tty. Pass | |
685 | it to ops->solib_create_inferior_hook. | |
686 | (reload_shared_libraries): Pass from_tty to solib_create_inferior_hook. | |
687 | Move solib_add after solib_create_inferior_hook, call it now with | |
688 | from_tty as 0. New comment there. | |
689 | * solib.h (solib_create_inferior_hook): New parameter from_tty. | |
690 | * solist.h (struct target_so_ops <solib_create_inferior_hook>): | |
691 | Likewise. | |
692 | ||
cf00dfa7 VP |
693 | 2010-01-08 Vladimir Prus <[email protected]> |
694 | ||
695 | Fix multiexec race. | |
696 | * infrun.c (handle_inferior_event): Use get_thread_regcache | |
697 | with events ptid, not get_current_regcache. | |
698 | ||
f91e5ac3 JB |
699 | 2009-01-08 Joel Brobecker <[email protected]> |
700 | ||
701 | GDB crash with empty executable name (MinGW). | |
702 | * source.c (openp): Add assert that parameter string is not NULL. | |
703 | if parameter string is an empty string, then return with a failure | |
704 | immediately. | |
705 | ||
92b9ce5b JB |
706 | 2009-01-08 Joel Brobecker <[email protected]> |
707 | ||
708 | Get rid of support for VAX Floats. | |
709 | * ada-lang.h (ada_is_vax_floating_type, ada_vax_float_type_suffix) | |
710 | (ada_vax_float_print_function): Delete. | |
711 | * ada-lang.c (ada_is_vax_floating_type, ada_vax_float_type_suffix) | |
712 | (ada_vax_float_print_function): Delete. | |
713 | * ada-typeprint.c (print_vax_floating_point_type): Delete. | |
714 | (ada_print_type): Remove support for VAX floats. | |
715 | * ada-valprint.c (ada_val_print_1): Remove support for VAX floats. | |
716 | ||
268a4a75 | 717 | 2010-01-08 Jan Kratochvil <[email protected]> |
d24d8548 JK |
718 | |
719 | * stabsread.c (read_args): Handle zero arguments. | |
720 | ||
f0f20949 JB |
721 | 2009-01-08 Joel Brobecker <[email protected]> |
722 | ||
723 | Cannot find in-tree libiconv.a after reconfigure. | |
724 | * acinclude.m4 (AM_ICONV): If we find an in-tree libiconv.a | |
725 | that we can use, then cache the path to this archive. | |
726 | * configure: Regenerate. | |
727 | ||
6b6218c5 SS |
728 | 2010-01-07 Stan Shebs <[email protected]> |
729 | ||
35b1e5cc SS |
730 | Make tracepoint operations go through target vector. |
731 | * target.h (enum trace_find_type): New enum. | |
732 | (struct target_ops): New fields to_trace_init, | |
733 | to_download_tracepoint, to_download_trace_state_variable, | |
734 | to_trace_set_readonly_regions, to_trace_start, to_get_trace_status, | |
735 | to_trace_stop, to_trace_find, to_get_trace_state_variable_value, | |
736 | to_set_disconnected_tracing. | |
737 | (target_trace_init): New macro. | |
738 | (target_download_tracepoint): New macro. | |
739 | (target_download_trace_state_variable): New macro. | |
740 | (target_trace_start): New macro. | |
741 | (target_trace_set_readonly_regions): New macro. | |
742 | (target_get_trace_status): New macro. | |
743 | (target_trace_stop): New macro. | |
744 | (target_trace_find): New macro. | |
745 | (target_get_trace_state_variable_value): New macro. | |
746 | (target_set_disconnected_tracing): New macro. | |
747 | * target.c (update_current_target): Inherit and set defaults for | |
748 | tracepoint operations. | |
749 | * tracepoint.c (default_collect): Make globally visible. | |
750 | (target_is_remote): Remove, along with all calls. | |
751 | (tvariables_info): Call target_get_trace_state_variable_value. | |
752 | (remote_set_transparent_ranges): Remove. | |
753 | (trace_start_command): Call target_trace_init, | |
754 | target_download_tracepoint, etc. | |
755 | (download_tracepoint): Remove. | |
756 | (trace_stop_command): Simplify. | |
757 | (stop_tracing): Call target_trace_stop. | |
758 | (get_trace_status): Call target_get_trace_status. | |
759 | (trace_status_command): Add case for targets that cannot trace. | |
760 | (finish_tfind_command): Change to take numerical arguments, call | |
761 | target_trace_find. | |
762 | (trace_find_command): Update call to finish_tfind_command. | |
763 | (trace_find_pc_command): Ditto. | |
764 | (trace_find_tracepoint_command): Ditto. | |
765 | (trace_find_line_command): Ditto. | |
766 | (trace_find_range_command): Ditto. | |
767 | (trace_find_outside_command): Ditto. | |
768 | (set_disconnected_tracing_value): Call | |
769 | target_set_disconnected_tracing. | |
770 | * remote.c: Add protocol encoding bits from tracepoint.c. | |
771 | (trace_error): Move from tracepoint.c. | |
772 | (remote_get_noisy_reply): Ditto. | |
773 | (free_actions_list_cleanup_wrapper): Ditto. | |
774 | (free_actions_list): Ditto. | |
775 | (remote_trace_init): New function. | |
776 | (remote_download_tracepoint): New function. | |
777 | (remote_download_trace_state_variable): New function. | |
778 | (remote_trace_set_readonly_regions): New function. | |
779 | (remote_trace_start): New function. | |
780 | (remote_get_trace_status): New function. | |
781 | (remote_trace_stop): New function. | |
782 | (remote_trace_find): New function. | |
783 | (remote_download_trace_state_variable): New function. | |
784 | (remote_set_disconnected_tracing): New function. | |
785 | (init_remote_ops): Add tracepoint operations. | |
786 | ||
6b6218c5 SS |
787 | * tracepoint.c (trace_dump_command): Don't decr_pc_after_break. |
788 | ||
089b4803 TG |
789 | 2010-01-07 Tristan Gingold <[email protected]> |
790 | ||
791 | * symfile.c (build_section_addr_info_from_objfile): New function. | |
792 | (symbol_file_add_separate): Don't use offsets from objfile but | |
793 | built an addr info. | |
794 | ||
d5551862 SS |
795 | 2010-01-06 Stan Shebs <[email protected]> |
796 | ||
797 | Support disconnected tracing. | |
798 | * infcmd.c (detach_command): Ask whether to stop tracing. | |
799 | * cli/cli-cmds.c (quit_command): Ditto. | |
800 | * breakpoint.h (struct breakpoint): New field number_on_target. | |
801 | * breakpoint.c (create_tracepoint_from_upload): New function. | |
802 | (get_tracepoint_by_number_on_target): New function. | |
803 | * remote.c (struct remote): New field disconnected_tracing. | |
804 | (remote_disconnected_tracing_feature): New function. | |
805 | (remote_protocol_features): Add DisconnectedTracing. | |
806 | (struct uploaded_tp): New struct. | |
807 | (uploaded_tps): New global. | |
808 | (get_uploaded_tp): New function. | |
809 | (find_matching_tracepoint): New function. | |
810 | (remote_get_tracing_state): New function. | |
811 | (remote_start_remote): Call it. | |
812 | * tracepoint.c (disconnected_tracing): New global. | |
813 | (trace_start_command): Initialize number_on_target. | |
814 | (stop_tracing): New function, split out from... | |
815 | (trace_stop_command): Call stop_tracing. | |
816 | (get_trace_status): New function, split out from... | |
817 | (trace_status_command): Call get_trace_status, add info on | |
818 | disconnection behavior. | |
819 | (disconnect_or_stop_tracing): New function. | |
820 | (finish_tfind_command): Translate from number on target. | |
821 | (trace_find_tracepoint_command): Translate to number on target. | |
822 | (send_disconnected_tracing_value): New function. | |
823 | (set_disconnected_tracing): New function. | |
824 | (_initialize_tracepoint): Add disconnected-tracing variable. | |
825 | * NEWS: Mention disconnected tracing. | |
826 | ||
15d123c9 TG |
827 | 2010-01-06 Tristan Gingold <[email protected]> |
828 | ||
829 | * symtab.c (lookup_global_symbol_from_objfile): Rename objfile | |
830 | parameter to main_objfile. Iterate on all separate debug objfiles. | |
831 | * symfile.h (symbol_file_add_separate) | |
832 | (find_separate_debug_file_by_debuglink): Remove parameter names. | |
833 | * symfile.c (symbol_file_add_separate): Use add_separate_objfile. | |
834 | (reread_symbols): Use free_objfile_separate_debug. | |
835 | * objfiles.h (struct objfile): Add separate_debug_objfile_link. | |
836 | Adjust comment. | |
837 | (objfile_separate_debug_iterate, add_separate_debug_objfile) | |
838 | (free_objfile_separate_debug): New prototypes. | |
839 | * objfiles.c (objfile_separate_debug_iterate): New function. | |
840 | (add_separate_debug_objfile, free_objfile_separate_debug): New | |
841 | functions. | |
842 | (free_objfile): Use free_objfile_separate_debug. Adjust for | |
843 | multiple separate debug objfile. | |
844 | (objfile_has_symbols): Adjust comment. Iterate on all separate | |
845 | debug objfiles. | |
846 | * minsyms.c (lookup_minimal_symbol): Adjust for multiple separate | |
847 | debug objfile. | |
848 | (lookup_minimal_symbol_text): Ditto. | |
849 | (lookup_minimal_symbol_by_pc_name): Ditto. | |
850 | (lookup_minimal_symbol_solib_trampoline): Ditto. | |
851 | (lookup_minimal_symbol_by_pc_section_1): Iterate on all separate | |
852 | debug objfiles. | |
853 | ||
7a697b8d SS |
854 | 2010-01-05 Stan Shebs <[email protected]> |
855 | ||
856 | Add fast tracepoints. | |
857 | * arch-utils.h (default_fast_tracepoint_valid_at): Declare. | |
858 | * arch-utils.c (default_fast_tracepoint_valid_at): New function. | |
859 | * breakpoint.h (enum bptype): Add bp_fast_tracepoint. | |
860 | * breakpoint.c (tracepoint_type): New function. | |
861 | (ALL_TRACEPOINTS): Use it. | |
862 | (should_be_inserted): Ditto. | |
863 | (bpstat_check_location): Ditto. | |
864 | (print_one_breakpoint_location): Ditto. | |
865 | (user_settable_breakpoint): Ditto. | |
866 | (set_breakpoint_location_function): Ditto. | |
867 | (disable_breakpoints_in_shlibs): Ditto. | |
868 | (delete_trace_command): Ditto. | |
869 | (print_it_typical): Add bp_fast_tracepoint case. | |
870 | (bpstat_what): Ditto. | |
871 | (print_one_breakpoint_location): Ditto. | |
872 | (allocate_bp_location): Ditto. | |
873 | (mention): Ditto. | |
874 | (breakpoint_re_set_one): Ditto. | |
875 | (disable_command): Ditto. | |
876 | (enable_command): Ditto. | |
877 | (check_fast_tracepoint_sals): New function. | |
878 | (break_command_really): Call it. | |
879 | (ftrace_command): New function. | |
880 | (_initialize_breakpoint): Add ftrace command. | |
881 | * gdbarch.sh (fast_tracepoint_valid_at): New. | |
882 | * gdbarch.h, gdbarch.c: Regenerate. | |
883 | * i386-tdep.c (i386_fast_tracepoint_valid_at): New function. | |
884 | (i386_gdbarch_init): Use it. | |
885 | * remote.c (struct remote_state): New field fast_tracepoints. | |
886 | (PACKET_FastTracepoints): New packet config type. | |
887 | (remote_fast_tracepoint_feature): New function. | |
888 | (remote_protocol_features): Add FastTracepoints. | |
889 | (remote_supports_fast_tracepoints): New function. | |
890 | (_initialize_remote): Add FastTracepoints. | |
891 | * tracepoint.c (download_tracepoint): Add fast tracepoint option. | |
892 | * NEWS: Mention fast tracepoints. | |
893 | ||
737a160e JB |
894 | 2010-01-06 Joel Brobecker <[email protected]> |
895 | ||
896 | * gdb-gdb.py: New file. | |
897 | ||
ce6cca6d MS |
898 | 2010-01-05 Michael Snyder <[email protected]> |
899 | ||
900 | * infrun.c (handle_inferior_event): Fix typo in comment. | |
901 | ||
0d15807d JK |
902 | 2010-01-05 Jan Kratochvil <[email protected]> |
903 | ||
904 | * symfile.c (syms_from_objfile): Remove the !MAINLINE conditional. | |
905 | ||
7803799a UW |
906 | 2010-01-04 Ulrich Weigand <[email protected]> |
907 | ||
908 | * features/Makefile (WHICH): Add s390-linux32, s390-linux64, | |
909 | and s390x-linux64. | |
910 | (s390-linux32-expedite): Define. | |
911 | (s390-linux64-expedite): Define. | |
912 | (s390x-linux64-expedite): Define. | |
913 | * features/s390-acr.xml: New file. | |
914 | * features/s390-fpr.xml: New file. | |
915 | * features/s390-core32.xml: New file. | |
916 | * features/s390-core64.xml: New file. | |
917 | * features/s390x-core64.xml: New file. | |
918 | * features/s390-linux32.xml: New file. | |
919 | * features/s390-linux64.xml: New file. | |
920 | * features/s390x-linux64.xml: New file. | |
921 | * features/s390-linux32.c: New generated file. | |
922 | * features/s390-linux64.c: New generated file. | |
923 | * features/s390x-linux64.c: New generated file. | |
924 | ||
925 | * regformats/s390-linux32.dat: New generated file. | |
926 | * regformats/s390-linux64.dat: New generated file. | |
927 | * regformats/s390x-linux64.dat: New generated file. | |
928 | * regformats/reg-s390.dat: Remove. | |
929 | * regformats/reg-s390x.dat: Remove. | |
930 | ||
931 | * s390-nat.c: Include "auxv.h" and <elf.h>. | |
932 | (HWCAP_S390_HIGH_GPRS): Define if undefined. | |
933 | (s390_target_wordsize): New function. | |
934 | (s390_auxv_parse): Likewise. | |
935 | (s390_get_hwcap): Likewise. | |
936 | (s390_read_description): Likewise. | |
937 | (_initialize_s390_nat): Install s390_auxv_parse and | |
938 | s390_read_description. | |
939 | ||
940 | * s390-tdep.c: Include "features/s390-linux32.c", | |
941 | "features/s390-linux64.c", and "features/s390x-linux64.c". | |
942 | (struct gdbarch_tdep): Add gpr_full_regnum, pc_regnum, and cc_regnum. | |
943 | (s390_register_call_saved): New function. | |
944 | (s390_register_name): Remove. | |
945 | (s390_register_type): Remove. | |
946 | (s390_dwarf_regmap): Add lower half GPR pseudo DWARF CFI regnums. | |
947 | (s390_dwarf_reg_to_regnum): Remap GPR regnums to full GPRs. | |
948 | (s390_adjust_frame_regnum): Remap GPR regnums to lower halves for CFI. | |
949 | (s390_pseudo_register_name): New function. | |
950 | (s390_pseudo_register_type): New function. | |
951 | (s390_pseudo_register_read): Handle both 32-bit and 64-bit cases. | |
952 | Handle full GPR pesudos and varying pseudo register numbers. | |
953 | (s390_pseudo_register_write): Likewise | |
954 | (s390x_pseudo_register_read): Remove. | |
955 | (s390x_pseudo_register_write): Likewise. | |
956 | (s390_register_group): Remove. | |
957 | (s390_pseudo_register_group): New function. | |
958 | (s390_regmap_gregset): Add GPR upper halves. | |
959 | (s390x_regmap_gregset): Likewise. | |
960 | (s390_regmap_fpregset): Likewise. | |
961 | (s390_regmap_upper): New global variable. | |
962 | (s390_upper_regset): New global variable. | |
963 | (s390_upper_regset_sections): New global variable. | |
964 | (s390_regset_from_core_section): Handle GPR upper halves. | |
965 | (s390_core_read_description): New function. | |
966 | (s390_prologue_frame_unwind_cache): Set up ABI call-saved/clobbered | |
967 | register information. Handle varying pseudo register numbers. | |
968 | (s390_backchain_frame_unwind_cache): Likewise. | |
969 | (s390_frame_prev_register): Unwind full GPRs to show lower halves. | |
970 | (s390_stub_frame_unwind_cache): Handle varying pseudo register numbers. | |
971 | (s390_sigtramp_frame_unwind_cache): Unwind PSWM and PSWA as well as | |
972 | PC and CC pseudos. Unwind upper halves and full GPRs as appropriate. | |
973 | Handle varying pseudo register numbers. | |
974 | (s390_unwind_pc): Handle varying pseudo register numbers. | |
975 | (s390_dwarf2_prev_register): New function. | |
976 | (s390_dwarf2_frame_init_reg): Set up ABI call-saved/clobbered | |
977 | register information. Handle varying pseudo register numbers. | |
978 | Install s390_dwarf2_prev_register to unwind full GPRs. | |
979 | (s390_gdbarch_init): Handle target descriptions. Assign varying | |
980 | pseudo register numbers. Install s390_adjust_frame_regnum. | |
981 | (_initialize_s390_tdep): Initialize target descriptions. | |
982 | ||
983 | * s390-tdep.h (S390_R0_UPPER_REGNUM .. S390_R15_UPPER_REGNUM): Define. | |
984 | (S390_NUM_REGS): Redefine to include upper half registers. | |
985 | (S390_PC_REGNUM, S390_CC_REGNUM): Remove. | |
986 | (S390_NUM_PSEUDO_REGS, S390_NUM_TOTAL_REGS): Likewise. | |
987 | (tdesc_s390_linux32): Add declaration. | |
988 | (tdesc_s390_linux64): Likewise. | |
989 | (tdesc_s390x_linux64): Likewise. | |
990 | ||
1b1818e4 UW |
991 | 2010-01-04 Ulrich Weigand <[email protected]> |
992 | ||
993 | * regset.h (struct core_regset_section): Add HUMAN_NAME. | |
994 | * i386-linux-tdep.c (i386_linux_regset_sections): Fill in HUMAN_NAME. | |
995 | * ppc-linux-tdep.c (ppc_linux_vsx_regset_sections): Likewise. | |
996 | (ppc_linux_vmx_regset_sections): Likewise. | |
997 | (ppc_linux_fp_regset_sections): Likewise. | |
998 | ||
999 | * corelow.c (get_core_register_section): Constify arguments. | |
1000 | (get_core_registers): Use gdbarch_core_regset_sections instead | |
1001 | of hard-coded platform-specific register section names. | |
1002 | ||
dcbf108f UW |
1003 | 2010-01-04 Ulrich Weigand <[email protected]> |
1004 | ||
1005 | * dwarf2loc.c (read_pieced_value): If a piece occupies part of | |
b3f41522 | 1006 | a register, assume the least-significant part is used. |
dcbf108f UW |
1007 | (write_pieced_value): Likewise. |
1008 | ||
704e9165 UW |
1009 | 2010-01-04 Ulrich Weigand <[email protected]> |
1010 | ||
1011 | * printcmd.c: Include "arch-utils.h". | |
1012 | (do_one_display): Re-parse expression if current architecture changed. | |
1013 | ||
c54eabfa JK |
1014 | 2010-01-03 Jan Kratochvil <[email protected]> |
1015 | Joel Brobecker <[email protected]> | |
1016 | ||
1017 | * gdbtypes.c (check_typedef): New comment on type length. | |
1018 | * value.c (allocate_value_lazy): Remove the unused atype variable. New | |
1019 | comment on type length. | |
1020 | (value_primitive_field): Keep the original TYPE value, new comment. | |
1021 | ||
50cb2941 JK |
1022 | 2010-01-01 Jan Kratochvil <[email protected]> |
1023 | ||
1024 | * cli/cli-script.c (process_next_line): Rename p1 as p_end and p2 as | |
1025 | p_start. Change != comparisons to > and < comparisons. | |
1026 | ||
be66db07 JK |
1027 | 2010-01-01 Jan Kratochvil <[email protected]> |
1028 | ||
1029 | * cli/cli-script.c (process_next_line): Check P2 overrun. | |
1030 | ||
abd775ce JB |
1031 | 2009-01-01 Joel Brobecker <[email protected]> |
1032 | ||
1033 | Update the copyright hearder to add year 2010 for most GDB files. | |
1034 | ||
6479260d JB |
1035 | 2009-01-01 Joel Brobecker <[email protected]> |
1036 | ||
1037 | Fix build failure in inf-ptrace.c. | |
1038 | * inf-ptrace.c (inf_ptrace_follow_fork): Fix typo. | |
1039 | ||
4a70f654 JB |
1040 | 2010-01-01 Joel Brobecker <[email protected]> |
1041 | ||
1042 | * top.c (print_gdb_version): Update copyright year. | |
1043 | ||
b9ee2233 JB |
1044 | 2010-01-01 Joel Brobecker <[email protected]> |
1045 | ||
1046 | Fix break *FUN'address thread NUM. | |
1047 | * ada-lex.l (task): Expand rule to also match the thread keyword. | |
1048 | ||
70575d34 JB |
1049 | 2010-01-01 Joel Brobecker <[email protected]> |
1050 | ||
1051 | Fix break *FUN'address task NUM. | |
1052 | * ada-lex.l (task): New rule. | |
1053 | * ada-lang.c (valid_task_id): Make sure the Ada task list has | |
1054 | been built before using it. | |
1055 | ||
e1e4d4a4 | 1056 | For older changes see ChangeLog-2009. |
c906108c SS |
1057 | \f |
1058 | Local Variables: | |
1059 | mode: change-log | |
1060 | left-margin: 8 | |
1061 | fill-column: 74 | |
1062 | version-control: never | |
57da7796 | 1063 | coding: utf-8 |
c906108c | 1064 | End: |