Commit | Line | Data |
---|---|---|
03f597d5 JB |
1 | 2007-01-10 Jim Blandy <jimb@codesourcery.com> |
2 | ||
3 | * MAINTAINERS (Global Maintainers): Ulrich Weigand has accepted | |
4 | the Global Maintainers' invitation to be a global maintainer. | |
5 | ||
fd48f117 DJ |
6 | 2007-01-10 Daniel Jacobowitz <dan@codesourcery.com> |
7 | ||
8 | * infrun.c (singlestep_pc): New variable. | |
9 | (resume): Set singlestep_pc. | |
10 | (context_switch): Add a debugging message. Flush the frame cache. | |
11 | (handle_inferior_event): Add debugging messages. Handle thread | |
12 | hops when a software single step has completed. Let context_switch | |
13 | handle flushing the frame cache. | |
14 | ||
23181151 DJ |
15 | 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com> |
16 | ||
17 | * NEWS: Mention target descriptions, "set tdesc filename", | |
18 | "unset tdesc filename", "show tdesc filename", and | |
19 | qXfer:features:read. | |
20 | * arch-utils.c (choose_architecture_for_target): New function. | |
21 | (gdbarch_info_fill): Call it. | |
22 | * target-descriptions.c (struct property): Make members non-const. | |
23 | (struct target_desc): Add arch member. | |
24 | (target_description_filename): New variable. | |
25 | (target_find_description): Try via XML first. | |
26 | (tdesc_architecture): New. | |
27 | (free_target_description, make_cleanup_free_target_description): New. | |
28 | (set_tdesc_property): Call xstrdup. | |
29 | (set_tdesc_architecture, tdesc_set_cmdlist, tdesc_show_cmdlist) | |
30 | (tdesc_unset_cmdlist, unset_tdesc_cmd, unset_tdesc_filename_cmd) | |
31 | (set_tdesc_cmd, show_tdesc_cmd, set_tdesc_filename_cmd) | |
32 | (show_tdesc_filename_cmd, _initialize_target_descriptions): New. | |
33 | * target-descriptions.h (tdesc_architecture) | |
34 | (make_cleanup_free_target_description, set_tdesc_architecture): New | |
35 | prototypes. | |
36 | * Makefile.in (SFILES): Add xml-tdesc.c. | |
37 | (COMMON_OBS): Add xml-tdesc.o. | |
38 | (target-descriptions.o): Update. | |
39 | (xml-tdesc.o): New rule. | |
40 | * xml-tdesc.c, xml-tdesc.h: New files. | |
41 | * remote.c (PACKET_qXfer_features): New enum. | |
42 | (remote_protocol_features): Add qXfer:features:read. | |
43 | (remote_xfer_partial): Handle TARGET_OBJECT_AVAILABLE_FEATURES. | |
44 | (_initialize_remote): Register qXfer:features:read. | |
45 | * target.h (enum target_object): Add TARGET_OBJECT_AVAILABLE_FEATURES. | |
46 | * features/gdb-target.dtd: New file. | |
47 | ||
3e9cb5f4 DJ |
48 | 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com> |
49 | ||
50 | * copyright.sh: Clarify error. | |
51 | ||
818f79f6 DJ |
52 | 2007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com> |
53 | ||
54 | * symtab.c (matching_bfd_sections): Fix VMA matching for | |
55 | prelinked objects. | |
56 | ||
f7a6bb70 DJ |
57 | 2007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com> |
58 | ||
59 | * minsyms.c (lookup_minimal_symbol_by_pc_section): Handle | |
60 | nested symbols. | |
61 | ||
20ac0504 DJ |
62 | 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com> |
63 | ||
64 | Updated copyright notices for most files. | |
65 | ||
85bb0718 DJ |
66 | 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com> |
67 | ||
68 | * copyright.sh (prunes): Add step-line.inp and step-line.c. | |
69 | ||
aa28a74e DJ |
70 | 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com> |
71 | ||
72 | * configure.ac (DEBUGDIR_RELOCATABLE): Define for debugdir inside | |
73 | exec_prefix. | |
74 | (TARGET_SYSTEM_ROOT_RELOCATABLE): Allow for exec_prefix being | |
75 | '${prefix}'. | |
76 | * configure, config.in: Regenerate. | |
77 | * defs.h (debug_file_directory): Declare. | |
78 | * main.c (captured_main): Canonicalize gdb_sysroot. Assume | |
79 | TARGET_SYSTEM_ROOT is defined. Initialize debug_file_directory and | |
80 | relocate it if DEBUGDIR_RELOCATABLE. | |
81 | * symfile.c (debug_file_directory): Make non-static. | |
82 | (find_separate_debug_file): Look for debug info for SYSROOT/PATH | |
83 | in DEBUGDIR/PATH if DEBUGDIR is inside SYSROOT. | |
84 | (_initialize_symfile): Don't initialize debug_file_directory here. | |
85 | ||
1cfd2c3e JB |
86 | 2007-01-09 Jim Blandy <jimb@codesourcery.com> |
87 | ||
88 | * score-tdep.c (score_push_dummy_call): Don't mix declarations and | |
89 | statements. | |
90 | ||
5efde112 DJ |
91 | 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com> |
92 | ||
93 | * alpha-mdebug-tdep.c (alpha_mdebug_frame_prev_register): Use | |
94 | frame_unwind_register to recurse. | |
95 | * alpha-tdep.c (alpha_sigtramp_frame_prev_register): Likewise. | |
96 | (alpha_heuristic_frame_prev_register): Likewise. | |
97 | * h8300-tdep.c (h8300_frame_prev_register): Likewise. | |
98 | * m32c-tdep.c (m32c_prev_register): Likewise. | |
99 | * frame.c (frame_register_unwind_location): Remove FIXME. | |
100 | ||
4de1f557 DJ |
101 | 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com> |
102 | Eli Zaretskii <eliz@gnu.org> | |
103 | ||
104 | * copyright.sh: New file. | |
105 | ||
ca4ca11e DJ |
106 | 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com> |
107 | ||
108 | * configure.ac: Check for XML_StopParser. | |
109 | * xml-support.c (gdb_xml_body_text): Check for an error. | |
110 | (gdb_xml_start_element_wrapper): Conditionalize call to XML_StopParser. | |
111 | (gdb_xml_end_element_wrapper): Likewise. | |
112 | * config.in, configure: Regenerated. | |
113 | ||
57e66780 DJ |
114 | 2007-01-08 Daniel Jacobowitz <dan@codesourcery.com> |
115 | ||
116 | * varobj.c (install_new_value): Always update print_value. | |
117 | (value_get_print_value): Immediately return NULL for missing | |
118 | values. | |
119 | ||
b523a1fd JB |
120 | 2007-01-08 Jim Blandy <jimb@codesourcery.com> |
121 | ||
122 | * configure.ac: Tighten pattern for extracting value of | |
123 | DEPRECATED_TM_FILE from the target makefile fragment. | |
124 | * configure: Regenerated. | |
125 | ||
3d799a95 DJ |
126 | 2007-01-08 Daniel Jacobowitz <dan@codesourcery.com> |
127 | ||
128 | * linux-nat.c (struct simple_pid_list): Add status. | |
129 | (add_to_pid_list): Record the PID's status. | |
130 | (linux_record_stopped_pid): Likewise. Make static. | |
131 | (pull_pid_from_list): Return the saved status. | |
132 | (linux_nat_handle_extended): Deleted. | |
133 | (linux_handle_extended_wait): Combine with linux_nat_handle_extended. | |
134 | Make static. Handle non-SIGSTOP for a new thread's first signal. | |
135 | (flush_callback): Handle unexpected pending signals. | |
136 | (linux_nat_wait): Update calls to changed functions. | |
137 | * linux-nat.h (linux_record_stopped_pid, linux_handle_extended_wait): | |
138 | Remove prototypes for newly static functions. | |
139 | ||
9acbedc0 UW |
140 | 2007-01-08 Ulrich Weigand <uweigand@de.ibm.com> |
141 | ||
142 | * gdbarch.sh (value_from_register): New gdbarch function. | |
143 | * gdbarch.c, gdbarch.h: Regenerate. | |
144 | * findvar.c (default_value_from_register): New function. | |
145 | (value_from_register): Use gdbarch_value_from_register. | |
146 | * value.h (default_value_from_register): Declare. | |
147 | * spu-tdep.c (spu_convert_register_p, spu_register_to_value, | |
148 | spu_value_to_register): Remove. | |
149 | (spu_value_from_register): New function. | |
150 | (spu_gdbarch_init): Do not call set_gdbarch_convert_register_p, | |
151 | set_gdbarch_register_to_value, set_gdbarch_value_to_register. | |
152 | Call set_gdbarch_value_from_register. | |
153 | * s390-tdep.c (s390_convert_register_p, s390_register_to_value, | |
154 | s390_value_to_register): Remove. | |
155 | (s390_value_from_register): New function. | |
156 | (s390_gdbarch_init): Do not call set_gdbarch_convert_register_p, | |
157 | set_gdbarch_register_to_value, set_gdbarch_value_to_register. | |
158 | Call set_gdbarch_value_from_register. | |
159 | ||
f822c95b DJ |
160 | 2007-01-08 Daniel Jacobowitz <dan@codesourcery.com> |
161 | ||
162 | * NEWS: Add "set sysroot" and "show sysroot". | |
163 | * solib.c (solib_absolute_prefix): Delete. Replace | |
164 | all uses with gdb_sysroot. | |
165 | (_initialize_solib): Add "set sysroot" and "show sysroot". | |
166 | Make "solib-absolute-prefix" an alias to it. | |
167 | ||
00fa51f6 UW |
168 | 2007-01-08 Ulrich Weigand <uweigand@de.ibm.com> |
169 | ||
170 | * frame.c (get_frame_register_bytes): New function. | |
171 | (put_frame_register_bytes): Likewise. | |
172 | * frame.h (get_frame_register_bytes): Declare. | |
173 | (put_frame_register_bytes): Likewise. | |
174 | * findvar.c (value_from_register): Always construct lval_register | |
175 | values. Use get_frame_register_bytes. | |
176 | * valops.c (value_assign): Use get_frame_register_bytes and | |
177 | put_frame_register_bytes. | |
178 | ||
a95c9d06 JB |
179 | 2007-01-08 Jim Blandy <jimb@codesourcery.com> |
180 | ||
181 | * MAINTAINERS: Update Stan Shebs' email address. | |
182 | ||
4ed6b5be JB |
183 | 2007-01-07 Joel Brobecker <brobecker@adacore.com> |
184 | ||
185 | * ada-lang.c (is_known_support_routine): Improve the implementation. | |
186 | ||
9bbc9174 JB |
187 | 2007-01-06 Joel Brobecker <brobecker@adacore.com> |
188 | ||
189 | * ada-lang.c: Add include of source.h. | |
190 | (is_known_support_routine): Improve the check verifying that the file | |
191 | associated to this frame exists. | |
192 | * Makefile.in (ada-lang.o): Add dependency on source.h. | |
193 | ||
44a81774 JB |
194 | 2007-01-07 Jim Blandy <jimb@codesourcery.com> |
195 | ||
196 | * ax-general.c (ax_const_l): Select proper opcode for the given | |
197 | value. | |
198 | ||
6fe1a487 NR |
199 | 2007-01-04 Vladimir Prus <vladimir@codesourcery.com> |
200 | ||
201 | * varobj.c (c_value_of_root): Don't select frame if variable | |
202 | object is out of scope. | |
203 | ||
3fa6deb5 NR |
204 | 2007-01-06 Nick Roberts <nickrob@snap.net.nz> |
205 | ||
206 | * varobj.c (struct varobj): New member print_value. | |
207 | (install_new_value): Compare last printed value with current one | |
208 | instead of contents. | |
209 | (new_variable): Initialize var->print_value to NULL. | |
210 | (free_variable): Free var->print_value. | |
211 | (value_get_print_value): New function derived from | |
212 | c_value_of_variable. | |
213 | (c_value_of_variable): Use value_get_print_value. | |
214 | ||
92a56b20 JB |
215 | 2007-01-05 Joel Brobecker <brobecker@adacore.com> |
216 | ||
217 | * i386-tdep.c (i386_analyze_stack_align): Add comment. | |
218 | ||
0e420bd8 JB |
219 | 2007-01-05 Joel Brobecker <brobecker@adacore.com> |
220 | ||
221 | * NEWS: Add entries for new catch commands. | |
222 | ||
fa4028e9 JB |
223 | 2006-02-05 Joel Brobecker <brobecker@adacore.com> |
224 | ||
225 | * dwarf2read.c (partial_die_info): Add field has_byte_size. | |
226 | (add_partial_symbol): Correct identification of external references. | |
227 | (process_structure_scope): Likewise. | |
228 | (read_partial_die): Handle DW_AT_byte_size attribute. | |
229 | ||
230 | 2007-01-05 Daniel Jacobowitz <dan@codesourcery.com> | |
d097fa3e DJ |
231 | |
232 | * xml-support.c (gdb_xml_end_element): Remove wrong backslashes. | |
233 | ||
8e38af42 NR |
234 | 2007-01-05 Nick Roberts <nickrob@snap.net.nz> |
235 | ||
236 | * varobj.c (get_type_deref): Fix variable objects for references to | |
237 | pointers. | |
238 | ||
d1c79ecd DJ |
239 | 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com> |
240 | ||
241 | * symtab.c (find_pc_sect_psymtab): Add comments. Handle psymtabs | |
242 | with no symbols. | |
243 | ||
e776119f DJ |
244 | 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com> |
245 | ||
246 | * memory-map.c (struct_memory_map_parsing_data): Remove most | |
247 | members. Make property_name an array. | |
248 | (free_memory_map_parsing_data, memory_map_start_element) | |
249 | (memory_map_end_element, memory_map_character_data): Delete. | |
250 | (memory_map_start_memory, memory_map_end_memory) | |
251 | (memory_map_start_property, memory_map_end_property): New functions. | |
252 | (property_attributes, memory_children, memory_type_enum) | |
253 | (memory_attributes, memory_map_children, memory_map_elements): New. | |
254 | (parse_memory_map): Rewrite. | |
255 | * xml-support.c (debug_xml): New. | |
256 | (xml_get_required_attribute, xml_get_integer_attribute) | |
257 | (xml_get_enum_value, free_xml_parser, make_cleanup_free_xml_parser): | |
258 | Delete. | |
259 | (struct scope_level, struct gdb_xml_parser, gdb_xml_body_text) | |
260 | (gdb_xml_debug, gdb_xml_error, gdb_xml_values_cleanup) | |
261 | (gdb_xml_start_element, gdb_xml_start_element_wrapper) | |
262 | (gdb_xml_end_element, gdb_xml_end_element_wrapper, gdb_xml_cleanup) | |
263 | (gdb_xml_create_parser_and_cleanup, gdb_xml_parse) | |
264 | (gdb_xml_parse_ulongest, gdb_xml_parse_attr_ulongest) | |
265 | (gdb_xml_parse_attr_enum, show_debug_xml, _initialize_xml_support): | |
266 | New. | |
267 | * xml-support.h (struct gdb_xml_value, gdb_xml_attribute_handler) | |
268 | (enum gdb_xml_attribute_flag, struct gdb_xml_attribute) | |
269 | (enum gdb_xml_element_flag, struct gdb_xml_element) | |
270 | (gdb_xml_element_start_handler, gdb_xml_element_end_handler) | |
271 | (struct gdb_xml_enum): New. | |
272 | (gdb_xml_create_parser_and_cleanup, gdb_xml_parse, gdb_xml_debug) | |
273 | (gdb_xml_error, gdb_xml_parse_attr_ulongest) | |
274 | (gdb_xml_parse_attr_enum, gdb_xml_parse_ulongest): New prototypes. | |
275 | (xml_get_required_attribute, xml_get_integer_attribute) | |
276 | (xml_get_enum_value, make_cleanup_free_xml_parser): Delete prototypes. | |
277 | * Makefile.in (xml_support_h, xml-support.o): Update. | |
278 | ||
5e572bb4 DJ |
279 | 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com> |
280 | ||
281 | * Makefile.in (eval.o): Update dependencies. | |
282 | * eval.c: Include "ui-out.h" and "exceptions.h". | |
283 | (evaluate_subexp_standard): Use TRY_CATCH around value_of_variable. | |
284 | Use value_zero if an error occurs when avoiding side effects. | |
285 | * varobj.c (c_value_of_root): Initialize new_val. | |
286 | ||
74a44383 DJ |
287 | 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com> |
288 | ||
289 | * varobj.c (varobj_list_children): Stop if the number of children is | |
290 | unknown. | |
291 | (c_number_of_children): | |
292 | ||
e8d2d628 MK |
293 | 2007-01-04 Mark Kettenis <kettenis@gnu.org> |
294 | ||
295 | * alpha-tdep.c (alpha_register_name): Use ARRAY_SIZE. | |
296 | (alpha_read_insn, alpha_skip_prologue, alpha_heuristic_proc_start) | |
297 | (alpha_heuristic_frame_unwind_cache, alpha_next_pc) | |
298 | (alpha_gdbarch_init): Use ALPHA_INSN_SIZE, ALPHA_REGISTER_SIZE and | |
299 | sizeof, instead of hardcoded constants. | |
300 | ||
c941839d DJ |
301 | 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com> |
302 | ||
303 | * CONTRIBUTE: Use sourceware.org. | |
304 | ||
303b6f5d | 305 | 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com> |
2d0720d9 | 306 | |
303b6f5d DJ |
307 | * buildsym.c (start_subfile): Handle producer. |
308 | (record_producer): New function. | |
309 | * buildsym.h (struct subfile): Include producer. | |
310 | (record_producer): New prototype. | |
311 | * dwarf2-frame.c (struct dwarf2_cie): Add version and augmentation. | |
312 | (struct dwarf2_frame_state): Add armcc_cfa_offsets_sf and | |
313 | armcc_cfa_offsets_reversed. | |
314 | (execute_cfa_program): Handle armcc_cfa_offsets_sf. | |
315 | (dwarf2_frame_find_quirks): New function. | |
316 | (dwarf2_frame_cache): Call it. Handle armcc_cfa_offsets_reversed. | |
317 | (decode_frame_entry_1): Record the CIE version. Record the | |
318 | augmentation. Skip armcc augmentations. | |
319 | * dwarf2read.c (read_file_scope): Save the producer. | |
320 | * symtab.h (struct symtab): Rename unused version member to | |
321 | producer. | |
2d0720d9 | 322 | |
aa79a185 DJ |
323 | 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com> |
324 | ||
325 | * configure.ac (build_warnings): Use -Wall and | |
326 | -Wdeclaration-after-statement. | |
327 | * configure: Regenerated. | |
328 | ||
bbec2603 VP |
329 | 2007-01-04 Vladimir Prus <vladimir@codesourcery.com> |
330 | ||
331 | Simplify access to variours properties of child | |
332 | variable objects in C. | |
333 | * varobj.c (value_struct_element_index): New function. | |
334 | (c_describe_child): New function. | |
335 | (c_name_of_child, c_value_of_child) | |
336 | (c_type_of_child): Rewrite to use c_describe_child. | |
337 | ||
28335dcc VP |
338 | 2007-01-04 Vladimir Prus <vladimir@codesourcery.com> |
339 | ||
340 | gdb/ | |
341 | * varobj.c: Include "vec.h". | |
342 | (varobj_p): New typedef, declare vector of those. | |
343 | (struct varobj): Use vector for the 'children' member. | |
344 | (child_exists): Remove. | |
345 | (save_child_in_parent): Remove. | |
346 | (remove_child_from_parent): Remove. | |
347 | (struct varobj_child): Remove. | |
348 | (struct vstack): Remove. | |
349 | (vpush, vpop): Remove. | |
350 | (varobj_list_children): Adjust to work work vector. | |
351 | (varobj_update): Likewise. Use vectors for | |
352 | working stack and result. | |
353 | (delete_variable_1): Likewise. | |
354 | * Makefile.in (varobj.o): Update dependencies. | |
355 | ||
b2c2bd75 VP |
356 | 2007-01-04 Vladimir Prus <vladimir@codesourcery.com> |
357 | ||
358 | Port from Apple's version. | |
359 | gdb/ | |
360 | * varobj.c (type_changeable): Rename to... | |
361 | (varobj_value_is_changeable_p): ...this. Adjust all callers. | |
362 | (is_root_p): New function. Use it everywhere. | |
363 | ||
f7e97bb3 VP |
364 | 2007-01-04 Vladimir Prus <vladimir@codesourcery.com> |
365 | ||
366 | Simplify usage of mi_continue_to. | |
367 | * lib/mi-support.exp (mi_runto_helper): Renamed | |
368 | from mi_runto, added new parameter 'run_or_continue'. | |
369 | (mi_runto): Use mi_runto_helper. | |
370 | (mi_continue_to): Accept just function name as parameter. | |
371 | Use mi_runto_helper. | |
372 | * gdb.mi/mi-var-cmd.exp: Adjust to changes. | |
373 | * gdb.mi/mi2-var-cmd.exp: Likewise. | |
374 | ||
bdfb3870 JB |
375 | 2007-01-04 Jim Blandy <jimb@codesourcery.com> |
376 | ||
377 | * glibc-tdep.c (glibc_skip_solib_resolver): Look for '_dl_fixup', | |
378 | then plain 'fixup'. | |
379 | ||
5d15052e JB |
380 | 2007-01-04 Joel Brobecker <brobecker@adacore.com> |
381 | ||
382 | * hpread.c (hpread_start_psymtab): Remove unnecessary extern. | |
383 | ||
53103997 JB |
384 | 2007-01-04 Joel Brobecker <brobecker@adacore.com> |
385 | ||
386 | * hpread.c (hpread_type_lookup): Fix compilation failure. | |
387 | ||
27fd2f50 Q |
388 | 2007-01-04 Qinwei <qinwei@sunnorth.com.cn> |
389 | ||
390 | * NEWS: New port to S+core. | |
391 | * MAINTAINERS (Write After Approval, Responsible Maintainers): | |
392 | Add myself. | |
393 | ||
394 | * Makefile.in: Add dependencies for S+core files. | |
395 | * configure.tgt (score*, score-*-*): Add S+core target. | |
396 | * config/score/embed.mt: New file. | |
397 | * score-tdep.c: New file. | |
398 | * score-tdep.h: New file. | |
399 | ||
a6cfbe68 JB |
400 | 2007-01-04 Joel Brobecker <brobecker@adacore.com> |
401 | ||
402 | * ada-lang.c (ada_evaluate_subexp) [OP_TYPE]: Return a value with | |
403 | the appropriate type rather than a bogus void type. | |
404 | ||
67cf15b7 | 405 | 2007-01-04 Joel Brobecker <brobecker@adacore.com> |
f7f9143b JB |
406 | |
407 | * ada-lang.h (ada_find_printable_frame): Remove. | |
408 | (ada_exception_catchpoint_p, ada_decode_exception_location) | |
409 | (ada_decode_assert_location): Add declaration. | |
410 | * ada-lang.c: Add include of annotate.h and valprint.h. | |
411 | (exception_catchpoint_kind): New enum. | |
412 | (function_name_from_pc, is_known_support_routine) | |
413 | (ada_find_printable_frame, ada_unhandled_exception_name_addr) | |
414 | (ada_exception_name_addr_1, ada_exception_name_addr) | |
415 | (print_it_exception, print_one_exception, print_mention_exception) | |
416 | (print_it_catch_exception, print_one_catch_exception) | |
417 | (print_mention_catch_exception, catch_exception_breakpoint_ops) | |
418 | (print_it_catch_exception_unhandled) | |
419 | (print_one_catch_exception_unhandled) | |
420 | (print_mention_catch_exception_unhandled, print_it_catch_assert) | |
421 | (print_one_catch_assert, print_mention_catch_assert) | |
422 | (ada_exception_catchpoint_p, error_breakpoint_runtime_sym_not_found) | |
423 | (ada_get_next_arg, catch_ada_exception_command_split) | |
424 | (ada_exception_sym_name, ada_exception_sym_name) | |
425 | (ada_exception_breakption_ops, ada_exception_catchpoint_cond_string) | |
426 | (ada_parse_catchpoint_condition, ada_exception_sal) | |
427 | (ada_decode_exception_location) | |
428 | (ada_decode_assert_location): New function. | |
429 | (catch_exception_unhandled_breakpoint_ops): New global variable. | |
430 | (catch_assert_breakpoint_ops): New global variable. | |
431 | * breakpoint.c: Add include of ada-lang.h. | |
432 | (print_one_breakpoint): Do not print the condition for Ada | |
433 | exception catchpoints. | |
434 | (create_ada_exception_breakpoint): New function. | |
435 | (catch_ada_exception_command, catch_assert_command): New function. | |
436 | (catch_command_1): Add support for the new "catch exception" and | |
437 | "catch assert" commands. | |
438 | (_initialize_breakpoint): Add help description for the new catch | |
439 | commands. | |
440 | * Makefile.in (ada-lang.o): Add dependency on annotate.h and | |
441 | valprint.h. | |
442 | (breakpoint.o): Add dependency on ada-lang.h. | |
443 | ||
05cfdb42 DJ |
444 | 2007-01-03 Pedro Alves <pedro_alves@portugalmail.pt> |
445 | ||
446 | * coffread.c (cs_to_section): If bfd_section is found, always | |
447 | return its section index. | |
448 | (coff_symtab_read): Determine the minimal_symbol_type using the | |
449 | bfd_section flags. | |
450 | ||
2e03ee74 DJ |
451 | 2007-01-03 Jan Kratochvil <jan.kratochvil@redhat.com> |
452 | Daniel Jacobowitz <dan@codesourcery.com> | |
453 | ||
454 | * Makefile.in (top.o): Update. | |
455 | * top.c (gdb_readline_wrapper_done, gdb_readline_wrapper_result) | |
456 | (saved_after_char_processing_hook, gdb_readline_wrapper_line) | |
457 | (struct gdb_readline_wrapper_cleanup, gdb_readline_wrapper_cleanup): | |
458 | New. | |
459 | (gdb_readline_wrapper): Rewrite to use asynchronous readline. | |
460 | ||
1c63d086 MK |
461 | 2007-01-03 Mark Kettenis <kettenis@gnu.org> |
462 | ||
463 | * arm-linux-tdep.c (arm_linux_extract_return_value): Remove. | |
464 | (arm_linux_init_abi): Don't set deprecated_extract_return_value. | |
465 | ||
d5d6fca5 DJ |
466 | 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com> |
467 | ||
468 | * ada-lang.c (find_struct_field): Initialize *byte_offset_p. | |
469 | * breakpoint.c (do_enable_breakpoint): Ignore both mem_cnt and i. | |
470 | * c-typeprint.c (c_type_print_varspec_suffix): Don't test length | |
471 | greater than or equal to zero. | |
472 | * m2-typeprint.c (m2_array): Likewise. | |
473 | * p-typeprint.c (pascal_type_print_varspec_prefix): Likewise. | |
474 | * gdbtypes.c (copy_type_recursive): Correct == typo. | |
475 | * i386-tdep.c (i386_skip_prologue): Remove stray semicolon. | |
476 | * linux-nat.c (linux_nat_info_proc_cmd): Don't compare a pointer | |
477 | greater than zero. | |
478 | * macroscope.c (sal_macro_scope): Don't name a local variable "main". | |
479 | (default_macro_scope): Remove unused variable. | |
480 | * prologue-value.h (pv_area_find_reg): Don't name an argument | |
481 | "register". | |
482 | * remote-fileio.c (remote_fio_func_map): Add missing braces. | |
483 | * remote.c (sigint_remote_twice_token, sigint_remote_token): Change | |
484 | type. | |
485 | (cleanup_sigint_signal_handler): Remove casts. | |
486 | * valprint.c (val_print): Use a volatile local for the modified | |
487 | argument. | |
488 | * varobj.c (languages): Remove extra array dimension. | |
489 | (varobj_create): Correct access to languages array. | |
490 | * mi/mi-cmd-break.c (mi_cmd_break_insert, mi_cmd_break_watch): Add | |
491 | missing braces. | |
492 | * mi/mi-cmd-disas.c (mi_cmd_disassemble): Likewise. | |
493 | * mi/mi-cmd-env.c (mi_cmd_env_path, mi_cmd_env_dir): Likewise. | |
494 | * mi/mi-getopt.c (mi_valid_noargs): Likewise. | |
495 | * mi/mi-main.c (mi_cmd_data_read_memory): Likewise. | |
496 | (mi_cmd_data_write_memory): Likewise. | |
497 | * signals/signals.c (target_signal_to_string): Cast to int before | |
498 | comparing. | |
499 | * tui/tui-layout.c (init_and_make_win): Take and return a void *. | |
500 | Update all callers. | |
501 | ||
0d5de010 DJ |
502 | 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com> |
503 | ||
504 | * NEWS: Mention pointer to member improvements. | |
505 | * Makefile.in (gnu-v3-abi.o): Delete special rule. | |
506 | (eval.o, gnu-v3-abi.o, ia64-tdep.o): Update. | |
507 | * ada-valprint.c (ada_print_scalar): Update for new type codes. | |
508 | * c-typeprint.c (c_print_type): Update for new type codes. | |
509 | (c_type_print_varspec_prefix, c_type_print_varspec_suffix) | |
510 | (c_type_print_base): Likewise. | |
511 | (c_type_print_args): Rewrite. | |
512 | * c-valprint.c (c_val_print): Update for new type codes. Remove | |
513 | support for references to members. Treat methods like functions. | |
514 | * cp-abi.c (cplus_print_method_ptr, cplus_method_ptr_size) | |
515 | (cplus_make_method_ptr, cplus_method_ptr_to_value): New. | |
516 | * cp-abi.h (cplus_print_method_ptr, cplus_method_ptr_size) | |
517 | (cplus_make_method_ptr, cplus_method_ptr_to_value): New prototypes. | |
518 | (struct cp_abi_ops): Add corresponding members. | |
519 | * cp-valprint.c (cp_print_class_method): Delete. | |
520 | (cp_find_class_member): New function. | |
521 | (cp_print_class_member): Use it. Simplify support for bogus | |
522 | member pointers. | |
523 | * dwarf2read.c (quirk_gcc_member_function_pointer): Use | |
524 | lookup_methodptr_type. | |
525 | (read_tag_ptr_to_member_type): Likewise, and lookup_memberptr_type. | |
526 | * eval.c (evaluate_subexp_standard): Implement EVAL_SKIP for | |
527 | OP_SCOPE. Update call to value_aggregate_elt. Rewrite member | |
528 | pointer support. | |
529 | (evaluate_subexp_for_address): Handle OP_SCOPE explicitly. Handle | |
530 | references returned by user defined operators. | |
531 | * f-typeprint.c (f_print_type, f_type_print_varspec_prefix) | |
532 | (f_type_print_varspec_suffix): Remove support for member pointers. | |
533 | * gdbtypes.c (lookup_memberptr_type): Renamed from lookup_member_type | |
534 | and adjusted. | |
535 | (smash_to_memberptr_type): Likewise, from smash_to_member_type. | |
536 | (lookup_methodptr_type): New. | |
537 | (rank_one_type): Adjust for TYPE_CODE_MEMBERPTR. | |
538 | (recursive_dump_type): Update for new types. | |
539 | * gdbtypes.h (enum type_code): Replace TYPE_CODE_MEMBER with | |
540 | TYPE_CODE_MEMBERPTR and TYPE_CODE_METHODPTR. | |
541 | (lookup_memberptr_type, lookup_methodptr_type) | |
542 | (smash_to_memberptr_type): New prototypes. | |
543 | (smash_to_method_type): Formatting fix. | |
544 | (lookup_member_type, smash_to_member_type): Delete prototypes. | |
545 | * gnu-v3-abi.c (gnuv3_get_vtable, gnuv3_get_virtual_fn): New. | |
546 | Do not rely on debug information for the vptr or the method's | |
547 | enclosing type. Handle function descriptors for IA64. | |
548 | (gnuv3_virtual_fn_field): Rewrite using the new functions. | |
549 | (gnuv3_find_method_in, gnuv3_print_method_ptr) | |
550 | (gnuv3_method_ptr_size, gnuv3_make_method_ptr) | |
551 | (gnuv3_method_ptr_to_value): New. | |
552 | (init_gnuv3_ops): Set new members of gnu_v3_abi_ops. | |
553 | * hpread.c (hpread_type_lookup): Update for new types. | |
554 | * infcall.c (value_arg_coerce): Likewise. | |
555 | * m2-typeprint.c (m2_print_type): Remove explicit support | |
556 | for member pointers. | |
557 | * m2-valprint.c (m2_val_print): Likewise. | |
558 | * p-typeprint.c (pascal_type_print_varspec_prefix) | |
559 | (pascal_type_print_varspec_suffix, pascal_type_print_base): Likewise. | |
560 | * p-valprint.c (pascal_val_print): Likewise. | |
561 | (pascal_object_print_class_method, pascal_object_print_class_member): | |
562 | Delete. | |
563 | * p-lang.h (pascal_object_print_class_method) | |
564 | (pascal_object_print_class_member): Delete prototypes. | |
565 | * stabsread.c (read_type): Update for new types. | |
566 | * typeprint.c (print_type_scalar): Likewise. | |
567 | * valops.c (value_struct_elt_for_reference, value_namespace_elt) | |
568 | (value_maybe_namespace_elt, value_aggregate_elt): Add want_address | |
569 | argument. Construct a pointer to member if the address of a | |
570 | function or data member is requested. | |
571 | (value_cast_pointers): Don't modify the input value. | |
572 | (value_cast): Adjust pointer to member handling for new types. | |
573 | Allow null pointer to member constants. Don't modify the input | |
574 | value. | |
575 | (value_ind): Remove pointer to member check. Handle function | |
576 | descriptors for function pointers. | |
577 | (value_struct_elt, value_find_oload_method_list, check_field): | |
578 | Remove pointer to member checks. | |
579 | * value.c (unpack_long): Allow pointers to data members. | |
580 | (value_from_longest): Allow member pointers. | |
581 | * value.h (value_aggregate_elt): Add want_address. | |
582 | * varobj.c (c_variable_editable): Remove check for members. | |
583 | * gdbarch.sh: Add vtable_function_descriptors and vbit_in_delta. | |
584 | * ia64-tdep.c (ia64_convert_from_func_ptr_addr): Handle descriptors | |
585 | in virtual tables. | |
586 | (ia64_gdbarch_init): Call set_gdbarch_vtable_function_descriptors. | |
587 | * c-lang.h (cp_print_class_method): Delete prototype. | |
588 | * arm-tdep.c (arm_gdbarch_init): Call set_gdbarch_vbit_in_delta. | |
589 | * mips-tdep.c (mips_gdbarch_init): Likewise. | |
590 | * gdbarch.c, gdbarch.h: Regenerated. | |
591 | ||
d217aaed MK |
592 | 2007-01-01 Mark Kettenis <kettenis@gnu.org> |
593 | ||
594 | * rs6000-tdep.c (rs6000_use_struct_convention) | |
595 | (rs6000_extract_return_value, rs6000_store_return_value) | |
596 | (rs6000_extract_struct_value_address): Remove. | |
597 | (rs6000_return_value): New function. | |
598 | (rs6000_gdbarch_init): Don't set deprecated_extract_return_value, | |
599 | store_return_value, deprecated_extract_struct_value_address and | |
600 | deprecated_use_struct_convention. Use rs6000_return_value | |
601 | instead. | |
602 | ||
02296b29 NR |
603 | 2007-01-02 Nick Roberts <nickrob@snap.net.nz> |
604 | ||
605 | * mi/mi-cmds.c (mi_cmds): Remove entries for -display-delete, | |
606 | -display-disable, -display-enable, -display-insert and | |
607 | -display-list. | |
608 | ||
ce186b30 JB |
609 | 2006-01-01 Joel Brobecker <brobecker@adacore.com> |
610 | ||
611 | * breakpoint.c (remove_breakpoint): Remove dead code. | |
612 | ||
613 | 2007-01-01 Nick Roberts <nickrob@snap.net.nz> | |
ab9245ed NR |
614 | |
615 | * varobj.c: Include block.h. | |
616 | (c_value_of_root): Check scope within nested statements. | |
617 | ||
9f3a1602 MK |
618 | 2007-01-01 Mark Kettenis <kettenis@gnu.org> |
619 | ||
620 | * mi/mi-main.c (mi_cmd_data_write_register_values): Use | |
621 | regcache_cooked_write_signed instead of | |
622 | deprecated_write_register_bytes. | |
623 | ||
12349ccd JB |
624 | 2007-01-01 Joel Brobecker <brobecker@adacore.com> |
625 | ||
626 | * config/djgpp/fnchange.lst: Add entry for ChangeLog-2006. | |
627 | ||
8c48ebcf JB |
628 | 2007-01-01 Joel Brobecker <brobecker@adacore.com> |
629 | ||
630 | Followed the Start of New Year Procedure: | |
631 | * ChangeLog-2006: New file, containing all the entries for 2006. | |
632 | * ChangeLog: Removed all 2006 entries, and changed the reference | |
633 | to the previous ChangeLog to point to ChangeLog 2006. | |
634 | * top.c (print_gdb_version): Update copyright year. | |
635 | ||
154927ff MK |
636 | 2007-01-01 Mark Kettenis <kettenis@gnu.org> |
637 | ||
638 | * Makefile.in (remote-sds.o): Remove. | |
639 | * remote-sds.c: Delete. | |
640 | ||
8c48ebcf | 641 | For older changes see ChangeLog-2006. |
c906108c SS |
642 | \f |
643 | Local Variables: | |
644 | mode: change-log | |
645 | left-margin: 8 | |
646 | fill-column: 74 | |
647 | version-control: never | |
648 | End: |