Commit | Line | Data |
---|---|---|
ef7723eb VP |
1 | 2006-01-30 Vladimir Prus <vladimir@codesourcery.com> |
2 | ||
3 | * ser-mingw.c (pipe_windows_open) | |
4 | (pipe_windows_read, pipe_windows_write): Declare | |
5 | variables at the top of the function. | |
6 | ||
8da61cc4 DJ |
7 | 2007-01-29 Daniel Jacobowitz <dan@codesourcery.com> |
8 | ||
9 | * doublest.c (floatformat_from_length): Use the right element from | |
10 | gdbarch floatformats. | |
11 | (floatformat_from_type, extract_typed_floating) | |
12 | (store_typed_floating): Likewise. | |
13 | * doublest.h: Remove declarations for undefined floatformat arrays. | |
14 | * gdbarch.sh (float_format, double_format, long_double_format): Change | |
15 | to pairs. | |
16 | (pformat): Update for pairs. | |
17 | * gdbarch.c, gdbarch.h: Regenerated. | |
18 | * gdbtypes.c (floatformats_ieee_single, floatformats_ieee_double) | |
19 | (floatformats_ieee_double_littlebyte_bigword) | |
20 | (floatformats_i387_ext, floatformats_m68881_ext, floatformats_arm_ext) | |
21 | (floatformats_ia64_spill, floatformats_ia64_quad, floatformats_vax_f) | |
22 | (floatformats_vax_d): New variables. | |
23 | (builtin_type_ieee_single, builtin_type_ieee_double) | |
24 | (builtin_type_arm_ext, builtin_type_ia64_spill) | |
25 | (builtin_type_ia64_quad): Replace arrays with individual types. | |
26 | (builtin_type_ieee_single_big, builtin_type_ieee_single_little) | |
27 | (builtin_type_ieee_double_big, builtin_type_ieee_double_little) | |
28 | (builtin_type_ieee_double_littlebyte_bigword, builtin_type_i960_ext) | |
29 | (builtin_type_m88110_ext, builtin_type_m88110_harris_ext) | |
30 | (builtin_type_arm_ext_big, builtin_type_arm_ext_littlebyte_bigword) | |
31 | (builtin_type_ia64_spill_big, builtin_type_ia64_spill_little) | |
32 | (builtin_type_ia64_quad_big, builtin_type_ia64_quad_little): Delete | |
33 | unused and endian-specific types. | |
34 | (recursive_dump_type): Update for floatformat pairs. | |
35 | (build_flt): Move higher. Handle bit == -1. Take a floatformat pair. | |
36 | (build_gdbtypes): Use build_flt. | |
37 | (_initialize_gdbtypes): Update set of initialized types. | |
38 | * gdbtypes.h: Update declarations to match gdbtypes.c. | |
39 | (struct main_type): Store a pointer to two floatformats. | |
40 | * arch-utils.c (default_float_format, default_double_format): Delete. | |
41 | * arch-utils.h (default_float_format, default_double_format): Delete. | |
42 | ||
43 | * arm-tdep.c, avr-tdep.c, hppa-tdep.c, hppabsd-tdep.c, i386-tdep.c, | |
44 | ia64-tdep.c, iq2000-tdep.c, m68k-tdep.c, m88k-tdep.c, | |
45 | mips-linux-tdep.c, mips-tdep.c, mt-tdep.c, ppcobsd-tdep.c, | |
46 | sparc-linux-tdep.c, sparc-tdep.c, sparcnbsd-tdep.c, spu-tdep.c, | |
47 | vax-tdep.c, alpha-tdep.c, ppc-sysv-tdep.c: Update. | |
48 | ||
87680a14 JB |
49 | 2007-01-29 Joel Brobecker <brobecker@adacore.com> |
50 | ||
51 | * target.c (maintenance_print_target_stack): New function. | |
52 | (initialize_targets): Add new "maintenance print target-stack" | |
53 | command. | |
54 | ||
1c3d648d MK |
55 | 2007-01-28 Mark Kettenis <kettenis@gnu.org> |
56 | ||
57 | * dwarf2read.c (new_symbol): Handle DW_AT_decl_file being zero. | |
58 | ||
607269ae DJ |
59 | 2007-01-27 Daniel Jacobowitz <dan@codesourcery.com> |
60 | ||
61 | * dwarf2loc.h (struct dwarf2_locexpr_baton): Change size to a long. | |
62 | (struct dwarf2_loclist_baton): Likewise. | |
63 | ||
40c03ae8 EZ |
64 | 2007-01-27 Eli Zaretskii <eliz@gnu.org> |
65 | ||
66 | * cli/cli-script.c: Include breakpoint.h. | |
67 | (build_command_line): Require arguments only for if and while | |
68 | commands. | |
69 | (get_command_line, execute_user_command, execute_control_command): | |
70 | Fix wording of warning messages. | |
71 | (print_command_lines): Print breakpoint commands. | |
72 | (execute_control_command): Call commands_from_control_command to | |
73 | handle the `commands' command inside a body of a flow-control | |
74 | command. | |
75 | (read_next_line): Recognize the `commands' command and build a | |
76 | command line structure for it. | |
77 | (recurse_read_control_structure, read_command_lines): Handle | |
78 | `commands' similarly to `if' and `while'. | |
79 | ||
80 | * breakpoint.c (get_number_trailer): Document the special meaning | |
81 | of NULL as the first argument PP. | |
82 | (commands_from_control_command): New function. | |
83 | ||
84 | * breakpoint.h (commands_from_control_command): Add prototype. | |
85 | ||
86 | * defs.h (commands_control): New enumerated value for enum | |
87 | command_control_type. | |
88 | ||
4b9eee8c JB |
89 | 2007-01-26 Joel Brobecker <brobecker@adacore.com> |
90 | ||
91 | * ada-lang.c (ada_exception_breakpoint_ops): Fix typo in function name. | |
92 | (ada_exception_sal): Update accordingly. | |
93 | ||
e1f48ead JK |
94 | 2007-01-26 Jan Kratochvil <jan.kratochvil@redhat.com> |
95 | ||
96 | * c-valprint.c (c_val_print): Require strings to be of no-signed CHARs. | |
97 | * NEWS: Describe CHAR array vs. string identifcation rules. | |
98 | ||
e150acc7 PB |
99 | 2007-01-25 Paul Brook <paul@codesourcery.com> |
100 | ||
101 | * arm-tdep.c (arm_get_next_pc): Fix bitfield off-by-one error. | |
102 | ||
10fb19b6 JB |
103 | 2007-01-24 Jim Blandy <jimb@codesourcery.com> |
104 | ||
105 | * dwarf2loc.c (dwarf2_evaluate_loc_desc): When the location | |
106 | expression is empty, bother to return the 'optimized out' value we | |
107 | construct. (Thanks to Carl Burch.) | |
108 | ||
85d93f1d VP |
109 | 2007-01-24 Vladimir Prus <vladimir@codesourcery.com> |
110 | ||
111 | * varobj.c (c_value_of_root, c_value_of_child) | |
112 | (cplus_describe_child): Don't call release_value. | |
113 | ||
fcbd8a5c TS |
114 | 2007-01-24 Thiemo Seufer <ths@mips.com> |
115 | ||
116 | * mips-linux-tdep.c (mips_linux_n64_rt_sigframe): Fix struct | |
117 | initialization. | |
118 | ||
2024f65a VP |
119 | 2007-01-24 Vladimir Prus <vladimir@codesourcery.com> |
120 | ||
121 | Refactor getting children name, value and type access | |
122 | for varobjs in C++. | |
123 | * varobj.c (get_type_deref): Remove. | |
124 | (adjust_value_for_child_access): New. | |
125 | (c_number_of_children): Use the above. | |
126 | (c_describe_child): Likewise. | |
127 | (enum accessibility): New. | |
128 | (match_accessibility): New function. | |
129 | (cplus_describe_child): New function. | |
130 | (cplus_name_of_child, cplus_value_of_child) | |
131 | (cplus_type_of_child): Reimplement in terms | |
132 | of cplus_describe_child. | |
133 | (cplus_number_of_children): Use | |
134 | adjust_value_for_child_access. | |
135 | ||
6e2a9270 VP |
136 | 2007-01-24 Vladimir Prus <vladimir@codesourcery.com> |
137 | ||
138 | Fix computation of the 'editable' attribute and | |
139 | value changeability for for references. | |
140 | * varobj.c (get_value_type): New function. | |
141 | (c_variable_editable): Use get_value_type. | |
142 | (varobj_value_is_changeable): Likewise. | |
143 | ||
56163ce1 JB |
144 | 2007-01-24 Joel Brobecker <brobecker@adacore.com> |
145 | ||
146 | * source.c (find_and_open_source): Try rewriting the source | |
147 | path inside filename if dirname is NULL. | |
148 | ||
8c6860bb JB |
149 | 2007-01-24 Joel Brobecker <brobecker@adacore.com> |
150 | ||
151 | * dwarf2read.c (add_partial_symbol): Create an extra partial | |
152 | symbol in the VAR_DOMAIN for Ada structures, unions or enums. | |
153 | (new_symbol): Likewise for symbols. | |
154 | ||
6db6d2ca NR |
155 | 2007-01-24 Nick Roberts <nickrob@snap.net.nz> |
156 | ||
157 | * mi/mi-main.c (mi_cmd_execute): Call free_all_values. | |
158 | ||
7d85ee02 VP |
159 | 2007-01-23 Vladimir Prus <vladimir@codesourcery.com> |
160 | ||
161 | * value.c (value_primitive_field): Copy the full 'location' | |
162 | contents, instead of assuming that copying ADDRESS will | |
163 | bring over everything in the union. Remove obsolete comment. | |
164 | ||
f79b9530 DJ |
165 | 2007-01-23 Masaki Muranaka <monaka@monami-software.com> |
166 | ||
167 | * m32c-tdep.c (make_regs, m32c_analyze_prologue) | |
168 | (m32c_skip_trampoline_code, m32c_m16c_address_to_pointer) | |
169 | (m32c_m16c_pointer_to_address): Separate code from declarations. | |
170 | ||
08d8bcd7 DJ |
171 | 2007-01-23 Nick Hudson <nick.hudson@dsl.pipex.com> |
172 | ||
173 | * target.c (update_current_target): Correct typo. | |
174 | ||
57fdbbbe CV |
175 | 2007-01-22 Masaki Muranaka <monaka@monami-software.com> |
176 | ||
177 | * xstormy16-tdep.c (xstormy16_skip_prologue): Separate code from a | |
178 | declaration. | |
179 | ||
58894217 JK |
180 | 2007-01-11 Andrew Cagney <cagney@redhat.com> |
181 | Daniel Jacobowitz <dan@codesourcery.com> | |
182 | Jan Kratochvil <jan.kratochvil@redhat.com> | |
183 | ||
184 | * dwarf2-frame.c (execute_cfa_program): New support of | |
185 | `DW_CFA_GNU_negative_offset_extended'. | |
186 | ||
9ebce043 DJ |
187 | 2007-01-21 Daniel Jacobowitz <dan@codesourcery.com> |
188 | ||
189 | * NEWS: Mention flash support for "load" and new remote packets. | |
190 | ||
973d738b DJ |
191 | 2007-01-21 Markus Deuling <deuling@de.ibm.com> |
192 | ||
193 | * breakpoint.c (delete_command): Skip redundant loop iterations. | |
194 | ||
7b9ee6a8 DJ |
195 | 2007-01-21 Daniel Jacobowitz <dan@codesourcery.com> |
196 | ||
197 | * gdbarch.sh (register_type): Update comment. | |
198 | * gdbarch.h: Regenerated. | |
199 | * arch-utils.c (generic_register_size): Call register_type. | |
200 | * ia64-tdep.c (ia64_extract_return_value): Likewise. | |
201 | * m32c-tdep.c (check_for_saved): Likewise. | |
202 | * mips-tdep.c (mips_print_register, print_gp_register_row) | |
203 | (mips_print_registers_info): Likewise. | |
204 | * sh-tdep.c (sh_pseudo_register_read, sh_pseudo_register_write): | |
205 | Likewise. | |
206 | * sh64-tdep.c (sh64_pseudo_register_read, sh64_pseudo_register_write) | |
207 | (sh64_do_register, sh64_print_register) | |
208 | (sh64_media_print_registers_info): Likewise. | |
209 | * tui/tui-regs.c (tui_register_format): Likewise. | |
210 | ||
11309657 DJ |
211 | 2007-01-21 Daniel Jacobowitz <dan@codesourcery.com> |
212 | ||
213 | * objfiles.h (ALL_PRIMARY_SYMTABS): Define. | |
214 | ||
215 | * ada-lang.c (symtab_for_sym, ada_lookup_symbol_list) | |
216 | (ada_lookup_symbol): Use ALL_PRIMARY_SYMTABS. | |
217 | * cp-support.c (make_symbol_overload_list_qualified): Likewise. | |
218 | * symtab.c (lookup_symbol_aux_block, lookup_symbol_aux_symtabs) | |
219 | (basic_lookup_transparent_type, find_pc_sect_symtab, search_symbols) | |
220 | (make_symbol_completion_list): Likewise. | |
221 | ||
cb1df416 DJ |
222 | 2007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com> |
223 | Daniel Jacobowitz <dan@codesourcery.com> | |
224 | ||
225 | * buildsym.c (end_symtab): Use preallocated symtab if available. | |
226 | Fill in SYMBOL_SYMTAB. | |
227 | * buildsym.h (struct subfile): Add symtab member. | |
228 | * dwarf2read.c (struct dwarf2_cu): Add line_header. | |
229 | (struct file_entry): Add symtab. | |
230 | (free_cu_line_header): New function. | |
231 | (read_file_scope): Use it. Save line_header in the cu. Process | |
232 | lines before DIEs. | |
233 | (add_file_name): Initialize new symtab member. | |
234 | (dwarf_decode_lines): Create symtabs for included files. | |
235 | (new_symbol): Set SYMBOL_SYMTAB. | |
236 | * symtab.c (lookup_symbol): Use SYMBOL_SYMTAB. | |
237 | (search_symbols): Likewise. | |
238 | * symtab.h (struct symbol): Add symtab member. | |
239 | (SYMBOL_SYMTAB): Define. | |
240 | ||
727da900 DJ |
241 | 2007-01-20 Daniel Jacobowitz <dan@codesourcery.com> |
242 | ||
243 | * symfile.c (allocate_symtab): Remove INIT_EXTRA_SYMTAB_INFO. | |
244 | ||
7b6b9e83 DJ |
245 | 2007-01-20 Daniel Jacobowitz <dan@codesourcery.com> |
246 | ||
247 | * arch-utils.c (show_endian): Correct reversed condition. | |
248 | ||
e767400c JK |
249 | 2007-01-19 Jan Kratochvil <jan.kratochvil@redhat.com> |
250 | ||
251 | * MAINTAINERS (Write After Approval): Add myself. | |
252 | ||
b20d8971 VP |
253 | 2007-01-16 Daniel Jacobowitz <dan@codesourcery.com> |
254 | Vladimir Prus <vladimir@codesourcery.com> | |
255 | ||
256 | Fix 'selected frame' varobjs. | |
257 | * varobj.c (struct varobj): Remove the error field. | |
258 | (varobj_set_value): Don't check var->error. | |
259 | (install_new_value): Don't set var->error. | |
260 | (varobj_update): Always pass the new value | |
261 | of the root via install_new_value. | |
262 | (create_child): Don't set error field. | |
263 | (new_variable): Likewise. | |
264 | (c_value_of_root): Always reevaluate the value | |
265 | of selected frame varobjs in the selected frame. | |
266 | Don't call reinit_frame_cache. | |
267 | ||
7ef2b397 JB |
268 | 2007-01-15 Joel Brobecker <brobecker@adacore.com> |
269 | ||
270 | * source.c (_initialize_source): Improve the help text of | |
271 | the substitute-path commands. | |
272 | ||
1208538e MK |
273 | 2007-01-14 Mark Kettenis <kettenis@gnu.org> |
274 | ||
275 | * frv-tdep.c (frv_gdbarch_init, frv_register_name) | |
276 | (frv_breakpoint_from_pc, frv_gdbarch_adjust_breakpoint_address) | |
277 | (frv_skip_prologue): Remove prototypes. | |
278 | (frv_adjust_breakpoint_address): Renamed from | |
279 | frv_gdbarch_adjust_breakpoint_address. | |
280 | (frv_gdbarch_init): Adjust. | |
281 | ||
765f065a MK |
282 | 2007-01-13 Mark Kettenis <kettenis@gnu.org> |
283 | ||
5e66aab2 MK |
284 | * gdbarch.sh (deprecated_extract_return_value) |
285 | (deprecated_store_return_value): Remove. | |
286 | (extract_return_value, store_return_value): Remove default values. | |
287 | * gdbarch.c, gdbarch.h: Regenerate. | |
288 | * arch-utils.c, arch-utils.h (legacy_extract_return_value) | |
289 | (legacy_store_return_value): Remove. | |
290 | * regcache.c, regcache.h (deprecated_grub_regcache_for_registers): | |
291 | Remove. | |
292 | ||
56178203 MK |
293 | * mi/mi-main.c: Remove obsolete comment. |
294 | ||
23303b2e MK |
295 | * regcache.c, regcache.h (deprecated_register_bytes) |
296 | (deprecated_read_register_bytes) | |
297 | (deprecated_write_register_bytes): Remove. | |
298 | ||
765f065a MK |
299 | * frame.c (get_frame_register_bytes, put_frame_register_bytes): |
300 | Don't forget to move destination pointer. | |
301 | ||
610acfff MK |
302 | 2007-01-01 Mark Kettenis <kettenis@gnu.org> |
303 | ||
304 | * config/i386/nm-i386gnu.h (CHILD_PREPARE_TO_STORE): Remove. | |
305 | ||
12102450 UW |
306 | 2007-01-11 Ulrich Weigand <uweigand@de.ibm.com> |
307 | ||
308 | * spu-tdep.c (spu_analyze_prologue): Fix erroneous backtrace | |
309 | past entry function with recent newlib. | |
310 | ||
c8b2f53c VP |
311 | 2007-01-11 Vladimir Prus <vladimir@codesourcery.com> |
312 | ||
313 | * gdb.texinfo (GDB/MI Variable Objects): Improve the | |
314 | introduction. Specify -var-update more exactly. | |
315 | ||
d57df5e4 DJ |
316 | 2007-01-11 Daniel Jacobowitz <dan@codesourcery.com> |
317 | ||
318 | * frame.c (get_prev_frame_1): Check PC_REGNUM before using it. | |
319 | ||
03f597d5 JB |
320 | 2007-01-10 Jim Blandy <jimb@codesourcery.com> |
321 | ||
322 | * MAINTAINERS (Global Maintainers): Ulrich Weigand has accepted | |
323 | the Global Maintainers' invitation to be a global maintainer. | |
324 | ||
fd48f117 DJ |
325 | 2007-01-10 Daniel Jacobowitz <dan@codesourcery.com> |
326 | ||
327 | * infrun.c (singlestep_pc): New variable. | |
328 | (resume): Set singlestep_pc. | |
329 | (context_switch): Add a debugging message. Flush the frame cache. | |
330 | (handle_inferior_event): Add debugging messages. Handle thread | |
331 | hops when a software single step has completed. Let context_switch | |
332 | handle flushing the frame cache. | |
333 | ||
23181151 DJ |
334 | 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com> |
335 | ||
336 | * NEWS: Mention target descriptions, "set tdesc filename", | |
337 | "unset tdesc filename", "show tdesc filename", and | |
338 | qXfer:features:read. | |
339 | * arch-utils.c (choose_architecture_for_target): New function. | |
340 | (gdbarch_info_fill): Call it. | |
341 | * target-descriptions.c (struct property): Make members non-const. | |
342 | (struct target_desc): Add arch member. | |
343 | (target_description_filename): New variable. | |
344 | (target_find_description): Try via XML first. | |
345 | (tdesc_architecture): New. | |
346 | (free_target_description, make_cleanup_free_target_description): New. | |
347 | (set_tdesc_property): Call xstrdup. | |
348 | (set_tdesc_architecture, tdesc_set_cmdlist, tdesc_show_cmdlist) | |
349 | (tdesc_unset_cmdlist, unset_tdesc_cmd, unset_tdesc_filename_cmd) | |
350 | (set_tdesc_cmd, show_tdesc_cmd, set_tdesc_filename_cmd) | |
351 | (show_tdesc_filename_cmd, _initialize_target_descriptions): New. | |
352 | * target-descriptions.h (tdesc_architecture) | |
353 | (make_cleanup_free_target_description, set_tdesc_architecture): New | |
354 | prototypes. | |
355 | * Makefile.in (SFILES): Add xml-tdesc.c. | |
356 | (COMMON_OBS): Add xml-tdesc.o. | |
357 | (target-descriptions.o): Update. | |
358 | (xml-tdesc.o): New rule. | |
359 | * xml-tdesc.c, xml-tdesc.h: New files. | |
360 | * remote.c (PACKET_qXfer_features): New enum. | |
361 | (remote_protocol_features): Add qXfer:features:read. | |
362 | (remote_xfer_partial): Handle TARGET_OBJECT_AVAILABLE_FEATURES. | |
363 | (_initialize_remote): Register qXfer:features:read. | |
364 | * target.h (enum target_object): Add TARGET_OBJECT_AVAILABLE_FEATURES. | |
365 | * features/gdb-target.dtd: New file. | |
366 | ||
3e9cb5f4 DJ |
367 | 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com> |
368 | ||
369 | * copyright.sh: Clarify error. | |
370 | ||
818f79f6 DJ |
371 | 2007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com> |
372 | ||
373 | * symtab.c (matching_bfd_sections): Fix VMA matching for | |
374 | prelinked objects. | |
375 | ||
f7a6bb70 DJ |
376 | 2007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com> |
377 | ||
378 | * minsyms.c (lookup_minimal_symbol_by_pc_section): Handle | |
379 | nested symbols. | |
380 | ||
20ac0504 DJ |
381 | 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com> |
382 | ||
383 | Updated copyright notices for most files. | |
384 | ||
85bb0718 DJ |
385 | 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com> |
386 | ||
387 | * copyright.sh (prunes): Add step-line.inp and step-line.c. | |
388 | ||
aa28a74e DJ |
389 | 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com> |
390 | ||
391 | * configure.ac (DEBUGDIR_RELOCATABLE): Define for debugdir inside | |
392 | exec_prefix. | |
393 | (TARGET_SYSTEM_ROOT_RELOCATABLE): Allow for exec_prefix being | |
394 | '${prefix}'. | |
395 | * configure, config.in: Regenerate. | |
396 | * defs.h (debug_file_directory): Declare. | |
397 | * main.c (captured_main): Canonicalize gdb_sysroot. Assume | |
398 | TARGET_SYSTEM_ROOT is defined. Initialize debug_file_directory and | |
399 | relocate it if DEBUGDIR_RELOCATABLE. | |
400 | * symfile.c (debug_file_directory): Make non-static. | |
401 | (find_separate_debug_file): Look for debug info for SYSROOT/PATH | |
402 | in DEBUGDIR/PATH if DEBUGDIR is inside SYSROOT. | |
403 | (_initialize_symfile): Don't initialize debug_file_directory here. | |
404 | ||
1cfd2c3e JB |
405 | 2007-01-09 Jim Blandy <jimb@codesourcery.com> |
406 | ||
407 | * score-tdep.c (score_push_dummy_call): Don't mix declarations and | |
408 | statements. | |
409 | ||
5efde112 DJ |
410 | 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com> |
411 | ||
412 | * alpha-mdebug-tdep.c (alpha_mdebug_frame_prev_register): Use | |
413 | frame_unwind_register to recurse. | |
414 | * alpha-tdep.c (alpha_sigtramp_frame_prev_register): Likewise. | |
415 | (alpha_heuristic_frame_prev_register): Likewise. | |
416 | * h8300-tdep.c (h8300_frame_prev_register): Likewise. | |
417 | * m32c-tdep.c (m32c_prev_register): Likewise. | |
418 | * frame.c (frame_register_unwind_location): Remove FIXME. | |
419 | ||
4de1f557 DJ |
420 | 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com> |
421 | Eli Zaretskii <eliz@gnu.org> | |
422 | ||
423 | * copyright.sh: New file. | |
424 | ||
ca4ca11e DJ |
425 | 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com> |
426 | ||
427 | * configure.ac: Check for XML_StopParser. | |
428 | * xml-support.c (gdb_xml_body_text): Check for an error. | |
429 | (gdb_xml_start_element_wrapper): Conditionalize call to XML_StopParser. | |
430 | (gdb_xml_end_element_wrapper): Likewise. | |
431 | * config.in, configure: Regenerated. | |
432 | ||
57e66780 DJ |
433 | 2007-01-08 Daniel Jacobowitz <dan@codesourcery.com> |
434 | ||
435 | * varobj.c (install_new_value): Always update print_value. | |
436 | (value_get_print_value): Immediately return NULL for missing | |
437 | values. | |
438 | ||
b523a1fd JB |
439 | 2007-01-08 Jim Blandy <jimb@codesourcery.com> |
440 | ||
441 | * configure.ac: Tighten pattern for extracting value of | |
442 | DEPRECATED_TM_FILE from the target makefile fragment. | |
443 | * configure: Regenerated. | |
444 | ||
3d799a95 DJ |
445 | 2007-01-08 Daniel Jacobowitz <dan@codesourcery.com> |
446 | ||
447 | * linux-nat.c (struct simple_pid_list): Add status. | |
448 | (add_to_pid_list): Record the PID's status. | |
449 | (linux_record_stopped_pid): Likewise. Make static. | |
450 | (pull_pid_from_list): Return the saved status. | |
451 | (linux_nat_handle_extended): Deleted. | |
452 | (linux_handle_extended_wait): Combine with linux_nat_handle_extended. | |
453 | Make static. Handle non-SIGSTOP for a new thread's first signal. | |
454 | (flush_callback): Handle unexpected pending signals. | |
455 | (linux_nat_wait): Update calls to changed functions. | |
456 | * linux-nat.h (linux_record_stopped_pid, linux_handle_extended_wait): | |
457 | Remove prototypes for newly static functions. | |
458 | ||
9acbedc0 UW |
459 | 2007-01-08 Ulrich Weigand <uweigand@de.ibm.com> |
460 | ||
461 | * gdbarch.sh (value_from_register): New gdbarch function. | |
462 | * gdbarch.c, gdbarch.h: Regenerate. | |
463 | * findvar.c (default_value_from_register): New function. | |
464 | (value_from_register): Use gdbarch_value_from_register. | |
465 | * value.h (default_value_from_register): Declare. | |
466 | * spu-tdep.c (spu_convert_register_p, spu_register_to_value, | |
467 | spu_value_to_register): Remove. | |
468 | (spu_value_from_register): New function. | |
469 | (spu_gdbarch_init): Do not call set_gdbarch_convert_register_p, | |
470 | set_gdbarch_register_to_value, set_gdbarch_value_to_register. | |
471 | Call set_gdbarch_value_from_register. | |
472 | * s390-tdep.c (s390_convert_register_p, s390_register_to_value, | |
473 | s390_value_to_register): Remove. | |
474 | (s390_value_from_register): New function. | |
475 | (s390_gdbarch_init): Do not call set_gdbarch_convert_register_p, | |
476 | set_gdbarch_register_to_value, set_gdbarch_value_to_register. | |
477 | Call set_gdbarch_value_from_register. | |
478 | ||
f822c95b DJ |
479 | 2007-01-08 Daniel Jacobowitz <dan@codesourcery.com> |
480 | ||
481 | * NEWS: Add "set sysroot" and "show sysroot". | |
482 | * solib.c (solib_absolute_prefix): Delete. Replace | |
483 | all uses with gdb_sysroot. | |
484 | (_initialize_solib): Add "set sysroot" and "show sysroot". | |
485 | Make "solib-absolute-prefix" an alias to it. | |
486 | ||
00fa51f6 UW |
487 | 2007-01-08 Ulrich Weigand <uweigand@de.ibm.com> |
488 | ||
489 | * frame.c (get_frame_register_bytes): New function. | |
490 | (put_frame_register_bytes): Likewise. | |
491 | * frame.h (get_frame_register_bytes): Declare. | |
492 | (put_frame_register_bytes): Likewise. | |
493 | * findvar.c (value_from_register): Always construct lval_register | |
494 | values. Use get_frame_register_bytes. | |
495 | * valops.c (value_assign): Use get_frame_register_bytes and | |
496 | put_frame_register_bytes. | |
497 | ||
a95c9d06 JB |
498 | 2007-01-08 Jim Blandy <jimb@codesourcery.com> |
499 | ||
500 | * MAINTAINERS: Update Stan Shebs' email address. | |
501 | ||
4ed6b5be JB |
502 | 2007-01-07 Joel Brobecker <brobecker@adacore.com> |
503 | ||
504 | * ada-lang.c (is_known_support_routine): Improve the implementation. | |
505 | ||
9bbc9174 JB |
506 | 2007-01-06 Joel Brobecker <brobecker@adacore.com> |
507 | ||
508 | * ada-lang.c: Add include of source.h. | |
509 | (is_known_support_routine): Improve the check verifying that the file | |
510 | associated to this frame exists. | |
511 | * Makefile.in (ada-lang.o): Add dependency on source.h. | |
512 | ||
44a81774 JB |
513 | 2007-01-07 Jim Blandy <jimb@codesourcery.com> |
514 | ||
515 | * ax-general.c (ax_const_l): Select proper opcode for the given | |
516 | value. | |
517 | ||
6fe1a487 NR |
518 | 2007-01-04 Vladimir Prus <vladimir@codesourcery.com> |
519 | ||
520 | * varobj.c (c_value_of_root): Don't select frame if variable | |
521 | object is out of scope. | |
522 | ||
3fa6deb5 NR |
523 | 2007-01-06 Nick Roberts <nickrob@snap.net.nz> |
524 | ||
525 | * varobj.c (struct varobj): New member print_value. | |
526 | (install_new_value): Compare last printed value with current one | |
527 | instead of contents. | |
528 | (new_variable): Initialize var->print_value to NULL. | |
529 | (free_variable): Free var->print_value. | |
530 | (value_get_print_value): New function derived from | |
531 | c_value_of_variable. | |
532 | (c_value_of_variable): Use value_get_print_value. | |
533 | ||
92a56b20 JB |
534 | 2007-01-05 Joel Brobecker <brobecker@adacore.com> |
535 | ||
536 | * i386-tdep.c (i386_analyze_stack_align): Add comment. | |
537 | ||
0e420bd8 JB |
538 | 2007-01-05 Joel Brobecker <brobecker@adacore.com> |
539 | ||
540 | * NEWS: Add entries for new catch commands. | |
541 | ||
fa4028e9 JB |
542 | 2006-02-05 Joel Brobecker <brobecker@adacore.com> |
543 | ||
544 | * dwarf2read.c (partial_die_info): Add field has_byte_size. | |
545 | (add_partial_symbol): Correct identification of external references. | |
546 | (process_structure_scope): Likewise. | |
547 | (read_partial_die): Handle DW_AT_byte_size attribute. | |
548 | ||
549 | 2007-01-05 Daniel Jacobowitz <dan@codesourcery.com> | |
d097fa3e DJ |
550 | |
551 | * xml-support.c (gdb_xml_end_element): Remove wrong backslashes. | |
552 | ||
8e38af42 NR |
553 | 2007-01-05 Nick Roberts <nickrob@snap.net.nz> |
554 | ||
555 | * varobj.c (get_type_deref): Fix variable objects for references to | |
556 | pointers. | |
557 | ||
d1c79ecd DJ |
558 | 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com> |
559 | ||
560 | * symtab.c (find_pc_sect_psymtab): Add comments. Handle psymtabs | |
561 | with no symbols. | |
562 | ||
e776119f DJ |
563 | 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com> |
564 | ||
565 | * memory-map.c (struct_memory_map_parsing_data): Remove most | |
566 | members. Make property_name an array. | |
567 | (free_memory_map_parsing_data, memory_map_start_element) | |
568 | (memory_map_end_element, memory_map_character_data): Delete. | |
569 | (memory_map_start_memory, memory_map_end_memory) | |
570 | (memory_map_start_property, memory_map_end_property): New functions. | |
571 | (property_attributes, memory_children, memory_type_enum) | |
572 | (memory_attributes, memory_map_children, memory_map_elements): New. | |
573 | (parse_memory_map): Rewrite. | |
574 | * xml-support.c (debug_xml): New. | |
575 | (xml_get_required_attribute, xml_get_integer_attribute) | |
576 | (xml_get_enum_value, free_xml_parser, make_cleanup_free_xml_parser): | |
577 | Delete. | |
578 | (struct scope_level, struct gdb_xml_parser, gdb_xml_body_text) | |
579 | (gdb_xml_debug, gdb_xml_error, gdb_xml_values_cleanup) | |
580 | (gdb_xml_start_element, gdb_xml_start_element_wrapper) | |
581 | (gdb_xml_end_element, gdb_xml_end_element_wrapper, gdb_xml_cleanup) | |
582 | (gdb_xml_create_parser_and_cleanup, gdb_xml_parse) | |
583 | (gdb_xml_parse_ulongest, gdb_xml_parse_attr_ulongest) | |
584 | (gdb_xml_parse_attr_enum, show_debug_xml, _initialize_xml_support): | |
585 | New. | |
586 | * xml-support.h (struct gdb_xml_value, gdb_xml_attribute_handler) | |
587 | (enum gdb_xml_attribute_flag, struct gdb_xml_attribute) | |
588 | (enum gdb_xml_element_flag, struct gdb_xml_element) | |
589 | (gdb_xml_element_start_handler, gdb_xml_element_end_handler) | |
590 | (struct gdb_xml_enum): New. | |
591 | (gdb_xml_create_parser_and_cleanup, gdb_xml_parse, gdb_xml_debug) | |
592 | (gdb_xml_error, gdb_xml_parse_attr_ulongest) | |
593 | (gdb_xml_parse_attr_enum, gdb_xml_parse_ulongest): New prototypes. | |
594 | (xml_get_required_attribute, xml_get_integer_attribute) | |
595 | (xml_get_enum_value, make_cleanup_free_xml_parser): Delete prototypes. | |
596 | * Makefile.in (xml_support_h, xml-support.o): Update. | |
597 | ||
5e572bb4 DJ |
598 | 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com> |
599 | ||
600 | * Makefile.in (eval.o): Update dependencies. | |
601 | * eval.c: Include "ui-out.h" and "exceptions.h". | |
602 | (evaluate_subexp_standard): Use TRY_CATCH around value_of_variable. | |
603 | Use value_zero if an error occurs when avoiding side effects. | |
604 | * varobj.c (c_value_of_root): Initialize new_val. | |
605 | ||
74a44383 DJ |
606 | 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com> |
607 | ||
608 | * varobj.c (varobj_list_children): Stop if the number of children is | |
609 | unknown. | |
610 | (c_number_of_children): | |
611 | ||
e8d2d628 MK |
612 | 2007-01-04 Mark Kettenis <kettenis@gnu.org> |
613 | ||
614 | * alpha-tdep.c (alpha_register_name): Use ARRAY_SIZE. | |
615 | (alpha_read_insn, alpha_skip_prologue, alpha_heuristic_proc_start) | |
616 | (alpha_heuristic_frame_unwind_cache, alpha_next_pc) | |
617 | (alpha_gdbarch_init): Use ALPHA_INSN_SIZE, ALPHA_REGISTER_SIZE and | |
618 | sizeof, instead of hardcoded constants. | |
619 | ||
c941839d DJ |
620 | 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com> |
621 | ||
622 | * CONTRIBUTE: Use sourceware.org. | |
623 | ||
303b6f5d | 624 | 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com> |
2d0720d9 | 625 | |
303b6f5d DJ |
626 | * buildsym.c (start_subfile): Handle producer. |
627 | (record_producer): New function. | |
628 | * buildsym.h (struct subfile): Include producer. | |
629 | (record_producer): New prototype. | |
630 | * dwarf2-frame.c (struct dwarf2_cie): Add version and augmentation. | |
631 | (struct dwarf2_frame_state): Add armcc_cfa_offsets_sf and | |
632 | armcc_cfa_offsets_reversed. | |
633 | (execute_cfa_program): Handle armcc_cfa_offsets_sf. | |
634 | (dwarf2_frame_find_quirks): New function. | |
635 | (dwarf2_frame_cache): Call it. Handle armcc_cfa_offsets_reversed. | |
636 | (decode_frame_entry_1): Record the CIE version. Record the | |
637 | augmentation. Skip armcc augmentations. | |
638 | * dwarf2read.c (read_file_scope): Save the producer. | |
639 | * symtab.h (struct symtab): Rename unused version member to | |
640 | producer. | |
2d0720d9 | 641 | |
aa79a185 DJ |
642 | 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com> |
643 | ||
644 | * configure.ac (build_warnings): Use -Wall and | |
645 | -Wdeclaration-after-statement. | |
646 | * configure: Regenerated. | |
647 | ||
bbec2603 VP |
648 | 2007-01-04 Vladimir Prus <vladimir@codesourcery.com> |
649 | ||
650 | Simplify access to variours properties of child | |
651 | variable objects in C. | |
652 | * varobj.c (value_struct_element_index): New function. | |
653 | (c_describe_child): New function. | |
654 | (c_name_of_child, c_value_of_child) | |
655 | (c_type_of_child): Rewrite to use c_describe_child. | |
656 | ||
28335dcc VP |
657 | 2007-01-04 Vladimir Prus <vladimir@codesourcery.com> |
658 | ||
659 | gdb/ | |
660 | * varobj.c: Include "vec.h". | |
661 | (varobj_p): New typedef, declare vector of those. | |
662 | (struct varobj): Use vector for the 'children' member. | |
663 | (child_exists): Remove. | |
664 | (save_child_in_parent): Remove. | |
665 | (remove_child_from_parent): Remove. | |
666 | (struct varobj_child): Remove. | |
667 | (struct vstack): Remove. | |
668 | (vpush, vpop): Remove. | |
669 | (varobj_list_children): Adjust to work work vector. | |
670 | (varobj_update): Likewise. Use vectors for | |
671 | working stack and result. | |
672 | (delete_variable_1): Likewise. | |
673 | * Makefile.in (varobj.o): Update dependencies. | |
674 | ||
b2c2bd75 VP |
675 | 2007-01-04 Vladimir Prus <vladimir@codesourcery.com> |
676 | ||
677 | Port from Apple's version. | |
678 | gdb/ | |
679 | * varobj.c (type_changeable): Rename to... | |
680 | (varobj_value_is_changeable_p): ...this. Adjust all callers. | |
681 | (is_root_p): New function. Use it everywhere. | |
682 | ||
bdfb3870 JB |
683 | 2007-01-04 Jim Blandy <jimb@codesourcery.com> |
684 | ||
685 | * glibc-tdep.c (glibc_skip_solib_resolver): Look for '_dl_fixup', | |
686 | then plain 'fixup'. | |
687 | ||
5d15052e JB |
688 | 2007-01-04 Joel Brobecker <brobecker@adacore.com> |
689 | ||
690 | * hpread.c (hpread_start_psymtab): Remove unnecessary extern. | |
691 | ||
53103997 JB |
692 | 2007-01-04 Joel Brobecker <brobecker@adacore.com> |
693 | ||
694 | * hpread.c (hpread_type_lookup): Fix compilation failure. | |
695 | ||
27fd2f50 Q |
696 | 2007-01-04 Qinwei <qinwei@sunnorth.com.cn> |
697 | ||
698 | * NEWS: New port to S+core. | |
699 | * MAINTAINERS (Write After Approval, Responsible Maintainers): | |
700 | Add myself. | |
701 | ||
702 | * Makefile.in: Add dependencies for S+core files. | |
703 | * configure.tgt (score*, score-*-*): Add S+core target. | |
704 | * config/score/embed.mt: New file. | |
705 | * score-tdep.c: New file. | |
706 | * score-tdep.h: New file. | |
707 | ||
a6cfbe68 JB |
708 | 2007-01-04 Joel Brobecker <brobecker@adacore.com> |
709 | ||
710 | * ada-lang.c (ada_evaluate_subexp) [OP_TYPE]: Return a value with | |
711 | the appropriate type rather than a bogus void type. | |
712 | ||
67cf15b7 | 713 | 2007-01-04 Joel Brobecker <brobecker@adacore.com> |
f7f9143b JB |
714 | |
715 | * ada-lang.h (ada_find_printable_frame): Remove. | |
716 | (ada_exception_catchpoint_p, ada_decode_exception_location) | |
717 | (ada_decode_assert_location): Add declaration. | |
718 | * ada-lang.c: Add include of annotate.h and valprint.h. | |
719 | (exception_catchpoint_kind): New enum. | |
720 | (function_name_from_pc, is_known_support_routine) | |
721 | (ada_find_printable_frame, ada_unhandled_exception_name_addr) | |
722 | (ada_exception_name_addr_1, ada_exception_name_addr) | |
723 | (print_it_exception, print_one_exception, print_mention_exception) | |
724 | (print_it_catch_exception, print_one_catch_exception) | |
725 | (print_mention_catch_exception, catch_exception_breakpoint_ops) | |
726 | (print_it_catch_exception_unhandled) | |
727 | (print_one_catch_exception_unhandled) | |
728 | (print_mention_catch_exception_unhandled, print_it_catch_assert) | |
729 | (print_one_catch_assert, print_mention_catch_assert) | |
730 | (ada_exception_catchpoint_p, error_breakpoint_runtime_sym_not_found) | |
731 | (ada_get_next_arg, catch_ada_exception_command_split) | |
732 | (ada_exception_sym_name, ada_exception_sym_name) | |
733 | (ada_exception_breakption_ops, ada_exception_catchpoint_cond_string) | |
734 | (ada_parse_catchpoint_condition, ada_exception_sal) | |
735 | (ada_decode_exception_location) | |
736 | (ada_decode_assert_location): New function. | |
737 | (catch_exception_unhandled_breakpoint_ops): New global variable. | |
738 | (catch_assert_breakpoint_ops): New global variable. | |
739 | * breakpoint.c: Add include of ada-lang.h. | |
740 | (print_one_breakpoint): Do not print the condition for Ada | |
741 | exception catchpoints. | |
742 | (create_ada_exception_breakpoint): New function. | |
743 | (catch_ada_exception_command, catch_assert_command): New function. | |
744 | (catch_command_1): Add support for the new "catch exception" and | |
745 | "catch assert" commands. | |
746 | (_initialize_breakpoint): Add help description for the new catch | |
747 | commands. | |
748 | * Makefile.in (ada-lang.o): Add dependency on annotate.h and | |
749 | valprint.h. | |
750 | (breakpoint.o): Add dependency on ada-lang.h. | |
751 | ||
05cfdb42 DJ |
752 | 2007-01-03 Pedro Alves <pedro_alves@portugalmail.pt> |
753 | ||
754 | * coffread.c (cs_to_section): If bfd_section is found, always | |
755 | return its section index. | |
756 | (coff_symtab_read): Determine the minimal_symbol_type using the | |
757 | bfd_section flags. | |
758 | ||
2e03ee74 DJ |
759 | 2007-01-03 Jan Kratochvil <jan.kratochvil@redhat.com> |
760 | Daniel Jacobowitz <dan@codesourcery.com> | |
761 | ||
762 | * Makefile.in (top.o): Update. | |
763 | * top.c (gdb_readline_wrapper_done, gdb_readline_wrapper_result) | |
764 | (saved_after_char_processing_hook, gdb_readline_wrapper_line) | |
765 | (struct gdb_readline_wrapper_cleanup, gdb_readline_wrapper_cleanup): | |
766 | New. | |
767 | (gdb_readline_wrapper): Rewrite to use asynchronous readline. | |
768 | ||
1c63d086 MK |
769 | 2007-01-03 Mark Kettenis <kettenis@gnu.org> |
770 | ||
771 | * arm-linux-tdep.c (arm_linux_extract_return_value): Remove. | |
772 | (arm_linux_init_abi): Don't set deprecated_extract_return_value. | |
773 | ||
d5d6fca5 DJ |
774 | 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com> |
775 | ||
776 | * ada-lang.c (find_struct_field): Initialize *byte_offset_p. | |
777 | * breakpoint.c (do_enable_breakpoint): Ignore both mem_cnt and i. | |
778 | * c-typeprint.c (c_type_print_varspec_suffix): Don't test length | |
779 | greater than or equal to zero. | |
780 | * m2-typeprint.c (m2_array): Likewise. | |
781 | * p-typeprint.c (pascal_type_print_varspec_prefix): Likewise. | |
782 | * gdbtypes.c (copy_type_recursive): Correct == typo. | |
783 | * i386-tdep.c (i386_skip_prologue): Remove stray semicolon. | |
784 | * linux-nat.c (linux_nat_info_proc_cmd): Don't compare a pointer | |
785 | greater than zero. | |
786 | * macroscope.c (sal_macro_scope): Don't name a local variable "main". | |
787 | (default_macro_scope): Remove unused variable. | |
788 | * prologue-value.h (pv_area_find_reg): Don't name an argument | |
789 | "register". | |
790 | * remote-fileio.c (remote_fio_func_map): Add missing braces. | |
791 | * remote.c (sigint_remote_twice_token, sigint_remote_token): Change | |
792 | type. | |
793 | (cleanup_sigint_signal_handler): Remove casts. | |
794 | * valprint.c (val_print): Use a volatile local for the modified | |
795 | argument. | |
796 | * varobj.c (languages): Remove extra array dimension. | |
797 | (varobj_create): Correct access to languages array. | |
798 | * mi/mi-cmd-break.c (mi_cmd_break_insert, mi_cmd_break_watch): Add | |
799 | missing braces. | |
800 | * mi/mi-cmd-disas.c (mi_cmd_disassemble): Likewise. | |
801 | * mi/mi-cmd-env.c (mi_cmd_env_path, mi_cmd_env_dir): Likewise. | |
802 | * mi/mi-getopt.c (mi_valid_noargs): Likewise. | |
803 | * mi/mi-main.c (mi_cmd_data_read_memory): Likewise. | |
804 | (mi_cmd_data_write_memory): Likewise. | |
805 | * signals/signals.c (target_signal_to_string): Cast to int before | |
806 | comparing. | |
807 | * tui/tui-layout.c (init_and_make_win): Take and return a void *. | |
808 | Update all callers. | |
809 | ||
0d5de010 DJ |
810 | 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com> |
811 | ||
812 | * NEWS: Mention pointer to member improvements. | |
813 | * Makefile.in (gnu-v3-abi.o): Delete special rule. | |
814 | (eval.o, gnu-v3-abi.o, ia64-tdep.o): Update. | |
815 | * ada-valprint.c (ada_print_scalar): Update for new type codes. | |
816 | * c-typeprint.c (c_print_type): Update for new type codes. | |
817 | (c_type_print_varspec_prefix, c_type_print_varspec_suffix) | |
818 | (c_type_print_base): Likewise. | |
819 | (c_type_print_args): Rewrite. | |
820 | * c-valprint.c (c_val_print): Update for new type codes. Remove | |
821 | support for references to members. Treat methods like functions. | |
822 | * cp-abi.c (cplus_print_method_ptr, cplus_method_ptr_size) | |
823 | (cplus_make_method_ptr, cplus_method_ptr_to_value): New. | |
824 | * cp-abi.h (cplus_print_method_ptr, cplus_method_ptr_size) | |
825 | (cplus_make_method_ptr, cplus_method_ptr_to_value): New prototypes. | |
826 | (struct cp_abi_ops): Add corresponding members. | |
827 | * cp-valprint.c (cp_print_class_method): Delete. | |
828 | (cp_find_class_member): New function. | |
829 | (cp_print_class_member): Use it. Simplify support for bogus | |
830 | member pointers. | |
831 | * dwarf2read.c (quirk_gcc_member_function_pointer): Use | |
832 | lookup_methodptr_type. | |
833 | (read_tag_ptr_to_member_type): Likewise, and lookup_memberptr_type. | |
834 | * eval.c (evaluate_subexp_standard): Implement EVAL_SKIP for | |
835 | OP_SCOPE. Update call to value_aggregate_elt. Rewrite member | |
836 | pointer support. | |
837 | (evaluate_subexp_for_address): Handle OP_SCOPE explicitly. Handle | |
838 | references returned by user defined operators. | |
839 | * f-typeprint.c (f_print_type, f_type_print_varspec_prefix) | |
840 | (f_type_print_varspec_suffix): Remove support for member pointers. | |
841 | * gdbtypes.c (lookup_memberptr_type): Renamed from lookup_member_type | |
842 | and adjusted. | |
843 | (smash_to_memberptr_type): Likewise, from smash_to_member_type. | |
844 | (lookup_methodptr_type): New. | |
845 | (rank_one_type): Adjust for TYPE_CODE_MEMBERPTR. | |
846 | (recursive_dump_type): Update for new types. | |
847 | * gdbtypes.h (enum type_code): Replace TYPE_CODE_MEMBER with | |
848 | TYPE_CODE_MEMBERPTR and TYPE_CODE_METHODPTR. | |
849 | (lookup_memberptr_type, lookup_methodptr_type) | |
850 | (smash_to_memberptr_type): New prototypes. | |
851 | (smash_to_method_type): Formatting fix. | |
852 | (lookup_member_type, smash_to_member_type): Delete prototypes. | |
853 | * gnu-v3-abi.c (gnuv3_get_vtable, gnuv3_get_virtual_fn): New. | |
854 | Do not rely on debug information for the vptr or the method's | |
855 | enclosing type. Handle function descriptors for IA64. | |
856 | (gnuv3_virtual_fn_field): Rewrite using the new functions. | |
857 | (gnuv3_find_method_in, gnuv3_print_method_ptr) | |
858 | (gnuv3_method_ptr_size, gnuv3_make_method_ptr) | |
859 | (gnuv3_method_ptr_to_value): New. | |
860 | (init_gnuv3_ops): Set new members of gnu_v3_abi_ops. | |
861 | * hpread.c (hpread_type_lookup): Update for new types. | |
862 | * infcall.c (value_arg_coerce): Likewise. | |
863 | * m2-typeprint.c (m2_print_type): Remove explicit support | |
864 | for member pointers. | |
865 | * m2-valprint.c (m2_val_print): Likewise. | |
866 | * p-typeprint.c (pascal_type_print_varspec_prefix) | |
867 | (pascal_type_print_varspec_suffix, pascal_type_print_base): Likewise. | |
868 | * p-valprint.c (pascal_val_print): Likewise. | |
869 | (pascal_object_print_class_method, pascal_object_print_class_member): | |
870 | Delete. | |
871 | * p-lang.h (pascal_object_print_class_method) | |
872 | (pascal_object_print_class_member): Delete prototypes. | |
873 | * stabsread.c (read_type): Update for new types. | |
874 | * typeprint.c (print_type_scalar): Likewise. | |
875 | * valops.c (value_struct_elt_for_reference, value_namespace_elt) | |
876 | (value_maybe_namespace_elt, value_aggregate_elt): Add want_address | |
877 | argument. Construct a pointer to member if the address of a | |
878 | function or data member is requested. | |
879 | (value_cast_pointers): Don't modify the input value. | |
880 | (value_cast): Adjust pointer to member handling for new types. | |
881 | Allow null pointer to member constants. Don't modify the input | |
882 | value. | |
883 | (value_ind): Remove pointer to member check. Handle function | |
884 | descriptors for function pointers. | |
885 | (value_struct_elt, value_find_oload_method_list, check_field): | |
886 | Remove pointer to member checks. | |
887 | * value.c (unpack_long): Allow pointers to data members. | |
888 | (value_from_longest): Allow member pointers. | |
889 | * value.h (value_aggregate_elt): Add want_address. | |
890 | * varobj.c (c_variable_editable): Remove check for members. | |
891 | * gdbarch.sh: Add vtable_function_descriptors and vbit_in_delta. | |
892 | * ia64-tdep.c (ia64_convert_from_func_ptr_addr): Handle descriptors | |
893 | in virtual tables. | |
894 | (ia64_gdbarch_init): Call set_gdbarch_vtable_function_descriptors. | |
895 | * c-lang.h (cp_print_class_method): Delete prototype. | |
896 | * arm-tdep.c (arm_gdbarch_init): Call set_gdbarch_vbit_in_delta. | |
897 | * mips-tdep.c (mips_gdbarch_init): Likewise. | |
898 | * gdbarch.c, gdbarch.h: Regenerated. | |
899 | ||
d217aaed MK |
900 | 2007-01-01 Mark Kettenis <kettenis@gnu.org> |
901 | ||
902 | * rs6000-tdep.c (rs6000_use_struct_convention) | |
903 | (rs6000_extract_return_value, rs6000_store_return_value) | |
904 | (rs6000_extract_struct_value_address): Remove. | |
905 | (rs6000_return_value): New function. | |
906 | (rs6000_gdbarch_init): Don't set deprecated_extract_return_value, | |
907 | store_return_value, deprecated_extract_struct_value_address and | |
908 | deprecated_use_struct_convention. Use rs6000_return_value | |
909 | instead. | |
910 | ||
02296b29 NR |
911 | 2007-01-02 Nick Roberts <nickrob@snap.net.nz> |
912 | ||
913 | * mi/mi-cmds.c (mi_cmds): Remove entries for -display-delete, | |
914 | -display-disable, -display-enable, -display-insert and | |
915 | -display-list. | |
916 | ||
ce186b30 JB |
917 | 2006-01-01 Joel Brobecker <brobecker@adacore.com> |
918 | ||
919 | * breakpoint.c (remove_breakpoint): Remove dead code. | |
920 | ||
921 | 2007-01-01 Nick Roberts <nickrob@snap.net.nz> | |
ab9245ed NR |
922 | |
923 | * varobj.c: Include block.h. | |
924 | (c_value_of_root): Check scope within nested statements. | |
925 | ||
9f3a1602 MK |
926 | 2007-01-01 Mark Kettenis <kettenis@gnu.org> |
927 | ||
928 | * mi/mi-main.c (mi_cmd_data_write_register_values): Use | |
929 | regcache_cooked_write_signed instead of | |
930 | deprecated_write_register_bytes. | |
931 | ||
12349ccd JB |
932 | 2007-01-01 Joel Brobecker <brobecker@adacore.com> |
933 | ||
934 | * config/djgpp/fnchange.lst: Add entry for ChangeLog-2006. | |
935 | ||
8c48ebcf JB |
936 | 2007-01-01 Joel Brobecker <brobecker@adacore.com> |
937 | ||
938 | Followed the Start of New Year Procedure: | |
939 | * ChangeLog-2006: New file, containing all the entries for 2006. | |
940 | * ChangeLog: Removed all 2006 entries, and changed the reference | |
941 | to the previous ChangeLog to point to ChangeLog 2006. | |
942 | * top.c (print_gdb_version): Update copyright year. | |
943 | ||
154927ff MK |
944 | 2007-01-01 Mark Kettenis <kettenis@gnu.org> |
945 | ||
946 | * Makefile.in (remote-sds.o): Remove. | |
947 | * remote-sds.c: Delete. | |
948 | ||
8c48ebcf | 949 | For older changes see ChangeLog-2006. |
c906108c SS |
950 | \f |
951 | Local Variables: | |
952 | mode: change-log | |
953 | left-margin: 8 | |
954 | fill-column: 74 | |
955 | version-control: never | |
956 | End: |