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