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