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