Commit | Line | Data |
---|---|---|
2711e456 DJ |
1 | 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com> |
2 | ||
3 | * symfile.c (place_section): Check SEC_ALLOC. Do not check VMA. | |
4 | (default_symfile_offsets): Check VMA here. Update section VMAs. | |
5 | ||
baef701f DJ |
6 | 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com> |
7 | ||
8 | * remote.c (init_remote_state): Add special handling for placeholder | |
9 | registers. | |
10 | ||
05a4558a DJ |
11 | 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com> |
12 | ||
13 | * Makefile.in (XMLFILES): Include $(TDEP_XML). | |
14 | (filenames_h): New variable. | |
15 | (clean): Clean up xml-builtin.c and stamp-xml. | |
16 | (arm-linux-nat.o): Update. | |
17 | * config/arm/linux.mh (TDEP_XML): Define. | |
18 | * arm-linux-nat.c (PTRACE_GETWMMXREGS, PTRACE_SETWMMXREGS): Define. | |
19 | (arm_linux_has_wmmx_registers): New. | |
20 | (GET_THREAD_ID): Fix typo. | |
21 | (IWMMXT_REGS_SIZE): Define. | |
22 | (fetch_wmmx_regs, store_wmmx_regs): New. | |
23 | (arm_linux_fetch_inferior_registers): Use fetch_wmmx_regs. | |
24 | (arm_linux_store_inferior_registers): Use store_wmmx_regs. | |
25 | (super_xfer_partial, arm_linux_xfer_partial): New. | |
26 | (_initialize_arm_linux_nat): Use them. | |
27 | * xml-support.c (fetch_xml_builtin): Move outside HAVE_LIBEXPAT. | |
28 | (xml_builtin_xfer_partial): New function. | |
29 | * xml-support.h (xml_builtin_xfer_partial): New prototype. | |
30 | * NEWS: Update mention of iWMMXt support. | |
31 | ||
ff6f572f DJ |
32 | 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com> |
33 | ||
34 | * arm-tdep.c (arm_scan_prologue): Do not record FPA register saves | |
35 | if there are no FPA registers. | |
36 | (arm_dwarf_reg_to_regnum): New function. | |
37 | (arm_register_type, arm_register_name): Return minimal values for | |
38 | unsupported registers. | |
39 | (arm_register_sim_regno): Handle iWMMXt registers. | |
40 | (arm_gdbarch_init): Record missing FPA registers if indicated by | |
41 | a target description. Recognize iWMMXt registers. Only register | |
42 | "info float" for FPA. Use ARM_NUM_REGS. Register | |
43 | arm_dwarf_reg_to_regnum. | |
44 | * arm-tdep.h (enum gdb_regnum): Add ARM_NUM_REGS and iWMMXt | |
45 | constants. | |
46 | (struct gdbarch_tdep): Add have_fpa_registers. | |
47 | * features/xscale-iwmmxt.xml: Update capitalization. | |
48 | * regformats/arm-with-iwmmxt.dat: Regenerated. | |
49 | ||
c077150c KB |
50 | 2007-02-24 Kevin Buettner <kevinb@redhat.com> |
51 | ||
52 | * NEWS (New targets): Add entry for the Toshiba Media Processor. | |
53 | ||
01c996c1 KB |
54 | 2007-02-23 Kevin Buettner <kevinb@redhat.com> |
55 | ||
56 | * MAINTAINERS (mep): New target. | |
57 | ||
aeb43123 KB |
58 | 2007-02-23 Kevin Buettner <kevinb@redhat.com> |
59 | ||
60 | From Jim Blandy, Dave Brolley, Kevin Buettner, Don Howard, and | |
61 | Richard Sandiford: | |
62 | * Makefile.in (elf_mep_h, mep_desc_h, mep_opc_h): New variables. | |
63 | (mep-tdep.o): New rule. | |
64 | * configure.tgt (mep-*-*): New target. | |
65 | * mep-tdep.c: New file. | |
66 | * config/mep/mep.mt: New file. | |
67 | ||
115d86cf UW |
68 | 2007-02-22 Markus Deuling <deuling@de.ibm.com> |
69 | ||
70 | * infrun.c (inferior_stop_reason, print_stop_reason): Remove | |
71 | BREAKPOINT_HIT and STOP_UNKNOWN. | |
72 | ||
fef862e5 UW |
73 | 2007-02-22 Markus Deuling <deuling@de.ibm.com> |
74 | ||
75 | * valops.c (value_ind): Fix unary * handling of TYPE_CODE_INT. | |
76 | ||
9a7d5afb JB |
77 | 2007-02-20 Joel Brobecker <brobecker@adacore.com> |
78 | ||
79 | * gdb_expat.h (XMLCALL): Define if not already defined. | |
80 | ||
81de920d AS |
81 | 2007-02-20 Andreas Schwab <schwab@suse.de> |
82 | ||
83 | * Makefile.in (symfile.o): Update dependencies. | |
84 | ||
cb5c8c39 DJ |
85 | 2007-02-20 Daniel Jacobowitz <dan@codesourcery.com> |
86 | ||
87 | * MAINTAINERS: Disable -Werror for cris simulator. Build | |
88 | sparc64-solaris2.10 instead of the broken sparc-elf. | |
89 | * solib-frv.c: Include "solib.h". | |
90 | * Makefile.in (solib-frv.o): Update. | |
91 | * mt-tdep.c (mt_gdbarch_init): Correct typo in floatformats patch. | |
92 | * xtensa-tdep.c (xtensa_regset_from_core_section): Cast size_t to int. | |
93 | (xtensa_frame_this_id, xtensa_frame_prev_register) | |
94 | (xtensa_push_dummy_call): Use %p. | |
95 | ||
e6bb342a DJ |
96 | 2007-02-16 Daniel Jacobowitz <dan@codesourcery.com> |
97 | ||
98 | * avr-tdep.c, hppa-tdep.c, hppabsd-tdep.c, i386-tdep.c, | |
99 | ia64-tdep.c, m68k-tdep.c, mips-linux-tdep.c, ppcobsd-tdep.c, | |
100 | sparc-linux-tdep.c: Include "gdbtypes.h" instead of "floatformat.h". | |
101 | * Makefile.in (avr-tdep.o, hppabsd-tdep.o, hppa-tdep.o, i386-tdep.o) | |
102 | (ia64-tdep.o, m68k-tdep.o, mips-linux-tdep.o, ppcobsd-tdep.o) | |
103 | (sparc-linux-tdep.o): Update. | |
104 | ||
ff7a4c00 MG |
105 | 2007-02-15 Maxim Grigoriev <maxim2405@gmail.com> |
106 | ||
107 | * xtensa-tdep.h (xtensa_reg_mask_t): New. | |
108 | (xtensa_mask_t): Change mask field to be a separate array. | |
109 | * xtensa-tdep.c (extract_call_winsize, xtensa_pseudo_register_read) | |
110 | (xtensa_pseudo_register_write, xtensa_unwind_pc) | |
111 | (xtensa_unwind_dummy_id, xtensa_push_dummy_call) | |
112 | (xtensa_breakpoint_from_pc): Remove implicit type casting. | |
113 | * xtensa-config.c (mask0, mask1, mask2, mask3, mask4, mask5) | |
114 | (mask6, mask7, mask8, mask9, mask10, mask11, mask12, mask13) | |
115 | (mask14, mask15): Rename to | |
116 | (xtensa_mask0, xtensa_mask1, xtensa_mask2, xtensa_mask3) | |
117 | (xtensa_mask4, xtensa_mask5, xtensa_mask6, xtensa_mask7) | |
118 | (xtensa_mask8, xtensa_mask9, xtensa_mask10, xtensa_mask11) | |
119 | (xtensa_mask12, xtensa_mask13, xtensa_mask14, xtensa_mask15): this. | |
120 | (xtensa_submask0, xtensa_submask1, xtensa_submask2, xtensa_submask3) | |
121 | (xtensa_submask4, xtensa_submask5, xtensa_submask6, xtensa_submask7) | |
122 | (xtensa_submask8, xtensa_submask9, xtensa_submask10) | |
123 | (xtensa_submask11, xtensa_submask12, xtensa_submask13) | |
124 | (xtensa_submask14, xtensa_submask15): New. | |
125 | (rmap): Follow strict aliasing rules doing static initialization. | |
126 | ||
d9cc5895 DJ |
127 | 2007-02-13 Daniel Jacobowitz <dan@codesourcery.com> |
128 | ||
129 | * target-descriptions.c (tdesc_named_type): Move code_ptr and data_ptr | |
130 | handling from here... | |
131 | (tdesc_register_type): ...to here. | |
132 | * xml-tdesc.c (tdesc_start_reg): Allow code_ptr and data_ptr. | |
133 | * features/arm-core.xml: Use code_ptr and data_ptr. | |
134 | ||
8756216b DP |
135 | 2007-02-13 Denis Pilat <denis.pilat@st.com> |
136 | ||
137 | * varobj.h (enum varobj_update_error): New enum. | |
138 | * varobj.c (struct varobj_root): Add is_valid member. | |
139 | (varobj_get_type): Check for invalid varobj. | |
140 | (varobj_get_attributes): Likewise. | |
141 | (variable_editable):Likewise. | |
142 | (varobj_update): Likewise. Use varobj_update_error. | |
143 | (new_root_variable): Set root varobj as valid by default. | |
144 | (varobj_invalidate): New function. | |
145 | * symfile.c (clear_symtab_users): Use varobj_invalidate. | |
146 | * mi/mi-cmd-var.c (varobj_update_one): Change return type to void. | |
147 | Use varobj_update_error. | |
148 | ||
fe8e67fd PM |
149 | 2007-02-12 Pierre Muller <muller@ics.u-strasbg.fr> |
150 | ||
151 | Fix PR pascal/2223. | |
152 | * dwarfread.c (set_cu_language): Recognize DW_LANG_Pascal83 as | |
153 | Pascal language marker. | |
154 | * dwarf2read.c (set_cu_language): Likewise. | |
155 | ||
c44537cf CV |
156 | 2007-02-12 Corinna Vinschen <vinschen@redhat.com> |
157 | ||
158 | * win32-nat.c (win32_wait): Reset terminal pgrp to GDB. | |
159 | (do_initial_win32_stuff): Call terminal_init_inferior_with_pgrp | |
160 | instead of target_terminal_init since inferior_ptid isn't set yet. | |
161 | ||
20dad8ea PA |
162 | 2007-02-10 Pedro Alves <pedro_alves@portugalmail.pt> |
163 | ||
164 | * MAINTAINERS (Write After Approval): Add myself. | |
165 | ||
4ac94eda FF |
166 | 2007-02-09 Fred Fish <fnf@specifix.com> |
167 | ||
168 | Based on work by Apple Computer, Inc. | |
169 | * event-top.c (async_request_quit): Call quit() whenever either | |
170 | quit_flag is set or immediate_quit is set. | |
171 | ||
b260b6c1 GDR |
172 | 2007-02-09 Gabriel Dos Reis <gdr@integrable-solutions.net> |
173 | ||
174 | * ada-lang.c (remove_out_of_scope_renamings): Change third parameter's | |
175 | type to a pointer to const struct block. | |
176 | (ada_lookup_symbol_list): Don't cast away constness when calling | |
177 | remove_out_of_scope_renamings. | |
178 | ||
179 | 2007-02-09 Gabriel Dos Reis <gdr@integrable-solutions.net> | |
180 | ||
181 | * linux-nat.c (linux_nat_find_memory_regions): Don't check the | |
182 | address of 'filename'; it is always non null. | |
183 | ||
0f5d55d8 JB |
184 | 2007-02-09 Joel Brobecker <brobecker@adacore.com> |
185 | ||
186 | * exec.c (add_to_section_table): Do not discard empty sections. | |
187 | ||
fb1e4ffc DJ |
188 | 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com> |
189 | ||
190 | * features/Makefile, features/arm-with-iwmmxt.xml, | |
191 | features/gdbserver-regs.xsl, features/number-regs.xsl, | |
192 | features/sort-regs.xsl, features/xscale-iwmmxt.xml: New files. | |
193 | * regformats/arm-with-iwmmxt.dat: Generate. | |
194 | * NEWS: Mention iWMMXt. | |
195 | ||
123dc839 DJ |
196 | 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com> |
197 | ||
198 | * Makefile.in (arm-tdep.o, eval.o, target-descriptions.o) | |
199 | (xml-tdesc.o): Update. | |
200 | * xml-support.c: Add a comment. | |
201 | (gdb_xml_enums_boolean): New variable. | |
202 | (gdb_xml_parse_attr_enum): Use strcasecmp. | |
203 | * xml-support.h (gdb_xml_enums_boolean): Declare. | |
204 | * xml-tdesc.c (struct tdesc_parsing_data): Record current_feature, | |
205 | next_regnum, and current_union. | |
206 | (tdesc_start_feature, tdesc_start_reg, tdesc_start_union) | |
207 | (tdesc_end_union, tdesc_start_field, tdesc_start_vector) | |
208 | (field_attributes, union_children, reg_attributes, union_attributes) | |
209 | (vector_attributes, feature_attributes, feature_children): New. | |
210 | (target_children): Make static. Add <feature>. | |
211 | (tdesc_elements): Make static. | |
212 | * target-descriptions.c (struct tdesc_reg, tdesc_reg_p, type_p) | |
213 | (struct tdesc_feature, tdesc_feature_p): New types. | |
214 | (struct target_desc): Add features member. | |
215 | (struct tdesc_arch_data, tdesc_data): New. | |
216 | (target_find_description): Clarify error message. Warn about | |
217 | ignored register descriptions. | |
218 | (tdesc_has_registers, tdesc_find_feature, tdesc_feature_name) | |
219 | (tdesc_named_type, tdesc_data_init, tdesc_data_alloc) | |
220 | (tdesc_data_cleanup, tdesc_numbered_register) | |
221 | (tdesc_numbered_register_choices, tdesc_find_register) | |
222 | (tdesc_register_name, tdesc_register_type) | |
223 | (tdesc_remote_register_number, tdesc_register_reggroup_p) | |
224 | (set_tdesc_pseudo_register_name, set_tdesc_pseudo_register_type) | |
225 | (set_tdesc_pseudo_register_reggroup_p, tdesc_use_registers) | |
226 | (tdesc_free_reg, tdesc_create_reg, tdesc_free_feature) | |
227 | (tdesc_create_feature, tdesc_record_type): New. | |
228 | (free_target_description): Free features. | |
229 | (_initialize_target_descriptions): Initialize tdesc_data. | |
230 | * arch-utils.c (default_remote_register_number): New. | |
231 | * arch-utils.h (default_remote_register_number): New prototype. | |
232 | * target-descriptions.h (set_tdesc_pseudo_register_name) | |
233 | (set_tdesc_pseudo_register_type, set_tdesc_pseudo_register_reggroup_p) | |
234 | (tdesc_use_registers, tdesc_data_alloc, tdesc_data_cleanup) | |
235 | (tdesc_numbered_register, tdesc_numbered_register_choices) | |
236 | (tdesc_has_registers, tdesc_find_feature, tdesc_feature_name) | |
237 | (tdesc_named_type, tdesc_create_feature, tdesc_record_type) | |
238 | (tdesc_create_reg): Declare. | |
239 | * gdbarch.sh (remote_register_number): New entry. | |
240 | * gdbarch.c, gdbarch.h: Regenerate. | |
241 | * remote.c (init_remote_state): Use gdbarch_remote_register_number. | |
242 | * features/gdb-target.dtd: Add feature, reg, vector, union, and field. | |
243 | ||
244 | * arm-tdep.c (arm_register_aliases): New. | |
245 | (arm_register_name_strings): Rename to... | |
246 | (arm_register_names): ...this. Make const. Delete the old version. | |
247 | (current_option, arm_register_byte): Delete. | |
248 | (set_disassembly_style): Simplify. Do not adjust arm_register_names. | |
249 | (value_of_arm_user_reg): New. | |
250 | (arm_gdbarch_init): Verify any described registers. Call | |
251 | tdesc_use_registers. Don't use arm_register_byte. Create aliases | |
252 | for standard register names. | |
253 | (_initialize_arm_tdep): Do not adjust arm_register_names. | |
254 | * user-regs.c (struct user_reg): Add baton member. | |
255 | (append_user_reg, user_reg_add_builtin, user_regs_init) | |
256 | (user_reg_add, value_of_user_reg): Use a baton for user | |
257 | register functions. | |
258 | * std-regs.c: Update. | |
259 | * user-regs.h (user_reg_read_ftype, user_reg_add_builtin) | |
260 | (user_reg_add): Add baton argument. | |
261 | * NEWS: Mention target description register support. | |
262 | * features/arm-core.xml, features/arm-fpa.xml: New. | |
263 | * eval.c (evaluate_subexp_standard): Allow ptype $register | |
264 | when the program is not running. | |
265 | ||
87604222 NR |
266 | 2007-02-09 Nick Roberts <nickrob@snap.net.nz> |
267 | ||
268 | * mi/mi-cmd-var.c (mi_cmd_var_create): Add value field. | |
269 | ||
ee4f0f76 DJ |
270 | 2007-02-08 Thiago Jung Bauermann <bauerman@br.ibm.com> |
271 | ||
272 | * rs6000-tdep.c (gdb_print_insn_powerpc): Set | |
273 | info->disassembler_options to "any". | |
274 | ||
7af9851d DJ |
275 | 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com> |
276 | ||
277 | * varobj.c (install_new_value): Only call value_get_print_value | |
278 | if changeable. | |
279 | ||
8944021f DJ |
280 | 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com> |
281 | ||
282 | Reported by timeless@gmail.com: | |
283 | * gdb/target.c (target_flash_erase): Do not return void value. | |
284 | (target_flash_done): Likewise. | |
285 | * gdb/cli/cli-cmds.c (source_command): Likewise. | |
286 | ||
287 | 2007-02-08 Fred Fish <fnf@specifix.com> | |
5f960e00 | 288 | |
4ac94eda | 289 | Based on work by Apple Computer, Inc. |
5f960e00 FF |
290 | * event-top.c (handle_sigint): Set quit_flag. |
291 | (async_request_quit): Don't set quit_flag. Avoid calling quit() | |
292 | if quit_flag has already been reset. | |
293 | ||
4998c1df DJ |
294 | 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com> |
295 | ||
296 | * ser-mingw.c (pipe_windows_close): Move variable initialization back | |
297 | up. | |
298 | ||
79da184e FF |
299 | 2007-02-08 Fred Fish <fnf@specifix.com> |
300 | ||
301 | * defs.h (request_quit): Remove declaration. | |
302 | * utils.c (request_quit): Remove definition. | |
303 | ||
3c77c82a DJ |
304 | 2007-02-08 Joel Brobecker <brobecker@gnat.com> |
305 | Jan Kratochvil <jan.kratochvil@redhat.com> | |
306 | Daniel Jacobowitz <dan@codesourcery.com> | |
307 | ||
308 | * rs6000-tdep.c (bl_to_blrl_insn_p): New function. | |
309 | (skip_prologue): Allow bl->blrl used by PIC code. | |
310 | ||
c1b6e682 DJ |
311 | 2007-02-08 Mark Kettenis <kettenis@gnu.org> |
312 | Daniel Jacobowitz <dan@codesourcery.com> | |
313 | ||
314 | * cp-valprint.c (cp_print_value_fields, cp_print_value): Always | |
315 | initialize tmp_obstack. | |
316 | * p-valprint.c (pascal_object_print_value_fields) | |
317 | (pascal_object_print_value): Likewise. | |
318 | ||
fe5dedf4 DJ |
319 | 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com> |
320 | ||
321 | * features/feature_to_c.sh: Use %s to avoid problems with nawk. | |
322 | ||
3e461478 MK |
323 | 2007-02-08 Mark Kettenis <kettenis@gnu.org> |
324 | ||
325 | * sparcnbsd-tdep.c: Include "gdbtypes.h" instead of "floatformat.h". | |
326 | * Makefile.in (sparcnbsd-tdep.o): Update dependencies. | |
327 | ||
fc6e0168 DJ |
328 | 2007-02-07 Daniel Jacobowitz <dan@codesourcery.com> |
329 | ||
330 | * xml-tdesc.c (struct tdesc_xml_cache, tdesc_xml_cache_s) | |
331 | (xml_cache): New. | |
332 | (tdesc_parse_xml): Cache expanded descriptions. | |
333 | ||
108546a0 DJ |
334 | 2007-02-07 Daniel Jacobowitz <dan@codesourcery.com> |
335 | ||
336 | * Makefile.in (XMLFILES): New. | |
337 | (COMMON_OBS): Add xml-builtin.o. | |
338 | (xml-builtin.c, stamp-xml): New rules. | |
339 | (xml-tdesc.o): Update. | |
340 | * features/feature_to_c.sh: New file. | |
341 | * xml-support.c (MAX_XINCLUDE_DEPTH): Define. | |
342 | (struct gdb_xml_parser): Add dtd_name and is_xinclude. | |
343 | (gdb_xml_start_element): Initialize scope after possibly reallocating | |
344 | scopes. Move cleanup later. Handle the XInclude description | |
345 | specially. | |
346 | (gdb_xml_end_element): Only parse the body if there is a current element. | |
347 | Call XML_DefaultCurrent if there is no element. | |
348 | (gdb_xml_fetch_external_entity, gdb_xml_use_dtd): New. | |
349 | (struct xinclude_parsing_data, xinclude_start_include) | |
350 | (xinclude_end_include, xml_xinclude_default) | |
351 | (xml_xinclude_start_doctype, xml_xinclude_end_doctype) | |
352 | (xml_xinclude_xml_decl, xml_xinclude_cleanup, xinclude_attributes) | |
353 | (xinclude_elements, xml_process_xincludes, fetch_xml_builtin): New. | |
354 | * xml-support.h (xml_fetch_another, xml_process_xincludes) | |
355 | (fetch_xml_builtin, xml_builtin, gdb_xml_use_dtd): New declarations. | |
356 | * xml-tdesc.c (tdesc_parse_xml): Add fetcher_baton argument. Expand | |
357 | XInclude directives. Use the compiled in DTD. | |
358 | (fetch_xml_from_file): Add baton argument. Treat it as a containing | |
359 | directory name. Do not warn here. | |
360 | (file_read_description_xml): Update call. Warn here instead. Pass | |
361 | a dirname as baton. | |
362 | (fetch_available_features_from_target): New. | |
363 | (target_read_description_xml): Use it. | |
364 | * features/gdb-target.dtd: Add copyright notice. Use xinclude.dtd | |
365 | to handle XInclude. | |
366 | * features/xinclude.dtd: New file. | |
367 | ||
b5057acd DJ |
368 | 2007-02-05 Daniel Jacobowitz <dan@codesourcery.com> |
369 | ||
370 | * linux-thread-db.c (check_for_thread_db): Return early if we have | |
371 | no libthread_db support. | |
372 | ||
6a089cf2 DJ |
373 | 2007-02-05 Daniel Jacobowitz <dan@codesourcery.com> |
374 | ||
375 | * mi/mi-parse.h: Include <sys/time.h>. | |
376 | ||
9fbcbb40 NR |
377 | 2007-02-05 Nick Roberts <nickrob@snap.net.nz> |
378 | ||
379 | * mi/mi-cmd-stack.c (list_args_or_locals): Use common_val_print | |
380 | instead of print_variable_value to print values. | |
381 | ||
b3d2152a NR |
382 | 2007-02-03 Nick Roberts <nickrob@snap.net.nz> |
383 | ||
384 | * mi/mi-main.c: Numerous formatting changes. | |
385 | (mi_cmd_data_write_register_values): Replace clause inadvertantly | |
386 | removed in my previous change. | |
387 | ||
79f0a97a NR |
388 | 2007-02-03 Eli Zaretskii <eliz@gnu.org> |
389 | ||
390 | * mi/mi-main.c (mi_load_progress, timestamp, print_diff_now): | |
391 | Use 1000000L instead of 1000000. | |
392 | ||
95a98c01 | 393 | 2007-02-03 Nick Roberts <nickrob@snap.net.nz> |
cd375699 NR |
394 | |
395 | Based on work by Apple Computer, Inc. | |
396 | ||
397 | * configure.ac: Test for sys/resource.h and getrusage. | |
398 | * configure, config.in: Regenerate. | |
399 | ||
400 | * mi/mi-main.c: Include <sys/resource.h> if present. | |
401 | (rusage): Declare if HAVE_GETRUSAGE. | |
402 | (current_command_ts, do_timings): New static variables. | |
403 | (timestamp, print_diff_now, print_diff, timeval_diff): | |
404 | New static timing functions. | |
405 | (mi_cmd_enable_timings): New function for new MI command. | |
406 | (captured_mi_execute_command, mi_execute_async_cli_command): | |
407 | Call timing functions. | |
408 | ||
409 | * mi/mi-cmds.c (mi_cmds): Add entry for new MI command | |
410 | -enable-timings. | |
411 | ||
412 | * mi/mi-cmds.h (mi_cmd_enable_timings): New extern. | |
413 | ||
414 | * mi/mi-parse.h: (mi_timestamp): New structure. | |
415 | (mi_parse): Add mi_timestamp* member. | |
416 | ||
99b3d574 DP |
417 | 2007-02-02 Denis Pilat <denis.pilat@st.com> |
418 | ||
419 | * thread.c (make_cleanup_restore_current_thread): New function. | |
420 | (info_threads_command): Use of make_cleanup_restore_current_thread | |
421 | to restore the current thread and the selected frame. | |
422 | (restore_selected_frame): New function. | |
423 | (struct current_thread_cleanup): Add frame_id field. | |
424 | (do_restore_current_thread_cleanup): Add restoring of the selected | |
425 | frame. | |
426 | (make_cleanup_restore_current_thread): Likewise. | |
427 | (thread_apply_all_command): backup the selected frame while | |
428 | entering the function and restore it at exit. | |
429 | (thread_apply_command): Likewise. | |
430 | ||
d3c598de DP |
431 | 2007-02-02 Denis Pilat <denis.pilat@st.com> |
432 | ||
433 | * MAINTAINERS (Write After Approval): Add myself to the list. | |
434 | ||
b69733ab | 435 | 2007-02-01 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com> |
3e41d55f KI |
436 | |
437 | * gdb/remote-m32r.sdi.c (m32r_fetch_register): Change PWD mask. | |
438 | (m32r_store_register): Ditto. | |
439 | ||
b69733ab | 440 | 2007-01-30 Vladimir Prus <vladimir@codesourcery.com> |
ef7723eb VP |
441 | |
442 | * ser-mingw.c (pipe_windows_open) | |
443 | (pipe_windows_read, pipe_windows_write): Declare | |
444 | variables at the top of the function. | |
445 | ||
8da61cc4 DJ |
446 | 2007-01-29 Daniel Jacobowitz <dan@codesourcery.com> |
447 | ||
448 | * doublest.c (floatformat_from_length): Use the right element from | |
449 | gdbarch floatformats. | |
450 | (floatformat_from_type, extract_typed_floating) | |
451 | (store_typed_floating): Likewise. | |
452 | * doublest.h: Remove declarations for undefined floatformat arrays. | |
453 | * gdbarch.sh (float_format, double_format, long_double_format): Change | |
454 | to pairs. | |
455 | (pformat): Update for pairs. | |
456 | * gdbarch.c, gdbarch.h: Regenerated. | |
457 | * gdbtypes.c (floatformats_ieee_single, floatformats_ieee_double) | |
458 | (floatformats_ieee_double_littlebyte_bigword) | |
459 | (floatformats_i387_ext, floatformats_m68881_ext, floatformats_arm_ext) | |
460 | (floatformats_ia64_spill, floatformats_ia64_quad, floatformats_vax_f) | |
461 | (floatformats_vax_d): New variables. | |
462 | (builtin_type_ieee_single, builtin_type_ieee_double) | |
463 | (builtin_type_arm_ext, builtin_type_ia64_spill) | |
464 | (builtin_type_ia64_quad): Replace arrays with individual types. | |
465 | (builtin_type_ieee_single_big, builtin_type_ieee_single_little) | |
466 | (builtin_type_ieee_double_big, builtin_type_ieee_double_little) | |
467 | (builtin_type_ieee_double_littlebyte_bigword, builtin_type_i960_ext) | |
468 | (builtin_type_m88110_ext, builtin_type_m88110_harris_ext) | |
469 | (builtin_type_arm_ext_big, builtin_type_arm_ext_littlebyte_bigword) | |
470 | (builtin_type_ia64_spill_big, builtin_type_ia64_spill_little) | |
471 | (builtin_type_ia64_quad_big, builtin_type_ia64_quad_little): Delete | |
472 | unused and endian-specific types. | |
473 | (recursive_dump_type): Update for floatformat pairs. | |
474 | (build_flt): Move higher. Handle bit == -1. Take a floatformat pair. | |
475 | (build_gdbtypes): Use build_flt. | |
476 | (_initialize_gdbtypes): Update set of initialized types. | |
477 | * gdbtypes.h: Update declarations to match gdbtypes.c. | |
478 | (struct main_type): Store a pointer to two floatformats. | |
479 | * arch-utils.c (default_float_format, default_double_format): Delete. | |
480 | * arch-utils.h (default_float_format, default_double_format): Delete. | |
481 | ||
482 | * arm-tdep.c, avr-tdep.c, hppa-tdep.c, hppabsd-tdep.c, i386-tdep.c, | |
483 | ia64-tdep.c, iq2000-tdep.c, m68k-tdep.c, m88k-tdep.c, | |
484 | mips-linux-tdep.c, mips-tdep.c, mt-tdep.c, ppcobsd-tdep.c, | |
485 | sparc-linux-tdep.c, sparc-tdep.c, sparcnbsd-tdep.c, spu-tdep.c, | |
486 | vax-tdep.c, alpha-tdep.c, ppc-sysv-tdep.c: Update. | |
487 | ||
87680a14 JB |
488 | 2007-01-29 Joel Brobecker <brobecker@adacore.com> |
489 | ||
490 | * target.c (maintenance_print_target_stack): New function. | |
491 | (initialize_targets): Add new "maintenance print target-stack" | |
492 | command. | |
493 | ||
1c3d648d MK |
494 | 2007-01-28 Mark Kettenis <kettenis@gnu.org> |
495 | ||
496 | * dwarf2read.c (new_symbol): Handle DW_AT_decl_file being zero. | |
497 | ||
607269ae DJ |
498 | 2007-01-27 Daniel Jacobowitz <dan@codesourcery.com> |
499 | ||
500 | * dwarf2loc.h (struct dwarf2_locexpr_baton): Change size to a long. | |
501 | (struct dwarf2_loclist_baton): Likewise. | |
502 | ||
40c03ae8 EZ |
503 | 2007-01-27 Eli Zaretskii <eliz@gnu.org> |
504 | ||
505 | * cli/cli-script.c: Include breakpoint.h. | |
506 | (build_command_line): Require arguments only for if and while | |
507 | commands. | |
508 | (get_command_line, execute_user_command, execute_control_command): | |
509 | Fix wording of warning messages. | |
510 | (print_command_lines): Print breakpoint commands. | |
511 | (execute_control_command): Call commands_from_control_command to | |
512 | handle the `commands' command inside a body of a flow-control | |
513 | command. | |
514 | (read_next_line): Recognize the `commands' command and build a | |
515 | command line structure for it. | |
516 | (recurse_read_control_structure, read_command_lines): Handle | |
517 | `commands' similarly to `if' and `while'. | |
518 | ||
519 | * breakpoint.c (get_number_trailer): Document the special meaning | |
520 | of NULL as the first argument PP. | |
521 | (commands_from_control_command): New function. | |
522 | ||
523 | * breakpoint.h (commands_from_control_command): Add prototype. | |
524 | ||
525 | * defs.h (commands_control): New enumerated value for enum | |
526 | command_control_type. | |
527 | ||
4b9eee8c JB |
528 | 2007-01-26 Joel Brobecker <brobecker@adacore.com> |
529 | ||
530 | * ada-lang.c (ada_exception_breakpoint_ops): Fix typo in function name. | |
531 | (ada_exception_sal): Update accordingly. | |
532 | ||
e1f48ead JK |
533 | 2007-01-26 Jan Kratochvil <jan.kratochvil@redhat.com> |
534 | ||
535 | * c-valprint.c (c_val_print): Require strings to be of no-signed CHARs. | |
536 | * NEWS: Describe CHAR array vs. string identifcation rules. | |
537 | ||
e150acc7 PB |
538 | 2007-01-25 Paul Brook <paul@codesourcery.com> |
539 | ||
540 | * arm-tdep.c (arm_get_next_pc): Fix bitfield off-by-one error. | |
541 | ||
10fb19b6 JB |
542 | 2007-01-24 Jim Blandy <jimb@codesourcery.com> |
543 | ||
544 | * dwarf2loc.c (dwarf2_evaluate_loc_desc): When the location | |
545 | expression is empty, bother to return the 'optimized out' value we | |
546 | construct. (Thanks to Carl Burch.) | |
547 | ||
85d93f1d VP |
548 | 2007-01-24 Vladimir Prus <vladimir@codesourcery.com> |
549 | ||
550 | * varobj.c (c_value_of_root, c_value_of_child) | |
551 | (cplus_describe_child): Don't call release_value. | |
552 | ||
fcbd8a5c TS |
553 | 2007-01-24 Thiemo Seufer <ths@mips.com> |
554 | ||
555 | * mips-linux-tdep.c (mips_linux_n64_rt_sigframe): Fix struct | |
556 | initialization. | |
557 | ||
2024f65a VP |
558 | 2007-01-24 Vladimir Prus <vladimir@codesourcery.com> |
559 | ||
560 | Refactor getting children name, value and type access | |
561 | for varobjs in C++. | |
562 | * varobj.c (get_type_deref): Remove. | |
563 | (adjust_value_for_child_access): New. | |
564 | (c_number_of_children): Use the above. | |
565 | (c_describe_child): Likewise. | |
566 | (enum accessibility): New. | |
567 | (match_accessibility): New function. | |
568 | (cplus_describe_child): New function. | |
569 | (cplus_name_of_child, cplus_value_of_child) | |
570 | (cplus_type_of_child): Reimplement in terms | |
571 | of cplus_describe_child. | |
572 | (cplus_number_of_children): Use | |
573 | adjust_value_for_child_access. | |
574 | ||
6e2a9270 VP |
575 | 2007-01-24 Vladimir Prus <vladimir@codesourcery.com> |
576 | ||
577 | Fix computation of the 'editable' attribute and | |
578 | value changeability for for references. | |
579 | * varobj.c (get_value_type): New function. | |
580 | (c_variable_editable): Use get_value_type. | |
581 | (varobj_value_is_changeable): Likewise. | |
582 | ||
56163ce1 JB |
583 | 2007-01-24 Joel Brobecker <brobecker@adacore.com> |
584 | ||
585 | * source.c (find_and_open_source): Try rewriting the source | |
586 | path inside filename if dirname is NULL. | |
587 | ||
8c6860bb JB |
588 | 2007-01-24 Joel Brobecker <brobecker@adacore.com> |
589 | ||
590 | * dwarf2read.c (add_partial_symbol): Create an extra partial | |
591 | symbol in the VAR_DOMAIN for Ada structures, unions or enums. | |
592 | (new_symbol): Likewise for symbols. | |
593 | ||
6db6d2ca NR |
594 | 2007-01-24 Nick Roberts <nickrob@snap.net.nz> |
595 | ||
596 | * mi/mi-main.c (mi_cmd_execute): Call free_all_values. | |
597 | ||
7d85ee02 VP |
598 | 2007-01-23 Vladimir Prus <vladimir@codesourcery.com> |
599 | ||
600 | * value.c (value_primitive_field): Copy the full 'location' | |
601 | contents, instead of assuming that copying ADDRESS will | |
602 | bring over everything in the union. Remove obsolete comment. | |
603 | ||
f79b9530 DJ |
604 | 2007-01-23 Masaki Muranaka <monaka@monami-software.com> |
605 | ||
606 | * m32c-tdep.c (make_regs, m32c_analyze_prologue) | |
607 | (m32c_skip_trampoline_code, m32c_m16c_address_to_pointer) | |
608 | (m32c_m16c_pointer_to_address): Separate code from declarations. | |
609 | ||
08d8bcd7 DJ |
610 | 2007-01-23 Nick Hudson <nick.hudson@dsl.pipex.com> |
611 | ||
612 | * target.c (update_current_target): Correct typo. | |
613 | ||
57fdbbbe CV |
614 | 2007-01-22 Masaki Muranaka <monaka@monami-software.com> |
615 | ||
616 | * xstormy16-tdep.c (xstormy16_skip_prologue): Separate code from a | |
617 | declaration. | |
618 | ||
58894217 JK |
619 | 2007-01-11 Andrew Cagney <cagney@redhat.com> |
620 | Daniel Jacobowitz <dan@codesourcery.com> | |
621 | Jan Kratochvil <jan.kratochvil@redhat.com> | |
622 | ||
623 | * dwarf2-frame.c (execute_cfa_program): New support of | |
624 | `DW_CFA_GNU_negative_offset_extended'. | |
625 | ||
9ebce043 DJ |
626 | 2007-01-21 Daniel Jacobowitz <dan@codesourcery.com> |
627 | ||
628 | * NEWS: Mention flash support for "load" and new remote packets. | |
629 | ||
973d738b DJ |
630 | 2007-01-21 Markus Deuling <deuling@de.ibm.com> |
631 | ||
632 | * breakpoint.c (delete_command): Skip redundant loop iterations. | |
633 | ||
7b9ee6a8 DJ |
634 | 2007-01-21 Daniel Jacobowitz <dan@codesourcery.com> |
635 | ||
636 | * gdbarch.sh (register_type): Update comment. | |
637 | * gdbarch.h: Regenerated. | |
638 | * arch-utils.c (generic_register_size): Call register_type. | |
639 | * ia64-tdep.c (ia64_extract_return_value): Likewise. | |
640 | * m32c-tdep.c (check_for_saved): Likewise. | |
641 | * mips-tdep.c (mips_print_register, print_gp_register_row) | |
642 | (mips_print_registers_info): Likewise. | |
643 | * sh-tdep.c (sh_pseudo_register_read, sh_pseudo_register_write): | |
644 | Likewise. | |
645 | * sh64-tdep.c (sh64_pseudo_register_read, sh64_pseudo_register_write) | |
646 | (sh64_do_register, sh64_print_register) | |
647 | (sh64_media_print_registers_info): Likewise. | |
648 | * tui/tui-regs.c (tui_register_format): Likewise. | |
649 | ||
11309657 DJ |
650 | 2007-01-21 Daniel Jacobowitz <dan@codesourcery.com> |
651 | ||
652 | * objfiles.h (ALL_PRIMARY_SYMTABS): Define. | |
653 | ||
654 | * ada-lang.c (symtab_for_sym, ada_lookup_symbol_list) | |
655 | (ada_lookup_symbol): Use ALL_PRIMARY_SYMTABS. | |
656 | * cp-support.c (make_symbol_overload_list_qualified): Likewise. | |
657 | * symtab.c (lookup_symbol_aux_block, lookup_symbol_aux_symtabs) | |
658 | (basic_lookup_transparent_type, find_pc_sect_symtab, search_symbols) | |
659 | (make_symbol_completion_list): Likewise. | |
660 | ||
cb1df416 DJ |
661 | 2007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com> |
662 | Daniel Jacobowitz <dan@codesourcery.com> | |
663 | ||
664 | * buildsym.c (end_symtab): Use preallocated symtab if available. | |
665 | Fill in SYMBOL_SYMTAB. | |
666 | * buildsym.h (struct subfile): Add symtab member. | |
667 | * dwarf2read.c (struct dwarf2_cu): Add line_header. | |
668 | (struct file_entry): Add symtab. | |
669 | (free_cu_line_header): New function. | |
670 | (read_file_scope): Use it. Save line_header in the cu. Process | |
671 | lines before DIEs. | |
672 | (add_file_name): Initialize new symtab member. | |
673 | (dwarf_decode_lines): Create symtabs for included files. | |
674 | (new_symbol): Set SYMBOL_SYMTAB. | |
675 | * symtab.c (lookup_symbol): Use SYMBOL_SYMTAB. | |
676 | (search_symbols): Likewise. | |
677 | * symtab.h (struct symbol): Add symtab member. | |
678 | (SYMBOL_SYMTAB): Define. | |
679 | ||
727da900 DJ |
680 | 2007-01-20 Daniel Jacobowitz <dan@codesourcery.com> |
681 | ||
682 | * symfile.c (allocate_symtab): Remove INIT_EXTRA_SYMTAB_INFO. | |
683 | ||
7b6b9e83 DJ |
684 | 2007-01-20 Daniel Jacobowitz <dan@codesourcery.com> |
685 | ||
686 | * arch-utils.c (show_endian): Correct reversed condition. | |
687 | ||
e767400c JK |
688 | 2007-01-19 Jan Kratochvil <jan.kratochvil@redhat.com> |
689 | ||
690 | * MAINTAINERS (Write After Approval): Add myself. | |
691 | ||
b20d8971 VP |
692 | 2007-01-16 Daniel Jacobowitz <dan@codesourcery.com> |
693 | Vladimir Prus <vladimir@codesourcery.com> | |
694 | ||
695 | Fix 'selected frame' varobjs. | |
696 | * varobj.c (struct varobj): Remove the error field. | |
697 | (varobj_set_value): Don't check var->error. | |
698 | (install_new_value): Don't set var->error. | |
699 | (varobj_update): Always pass the new value | |
700 | of the root via install_new_value. | |
701 | (create_child): Don't set error field. | |
702 | (new_variable): Likewise. | |
703 | (c_value_of_root): Always reevaluate the value | |
704 | of selected frame varobjs in the selected frame. | |
705 | Don't call reinit_frame_cache. | |
706 | ||
7ef2b397 JB |
707 | 2007-01-15 Joel Brobecker <brobecker@adacore.com> |
708 | ||
709 | * source.c (_initialize_source): Improve the help text of | |
710 | the substitute-path commands. | |
711 | ||
1208538e MK |
712 | 2007-01-14 Mark Kettenis <kettenis@gnu.org> |
713 | ||
714 | * frv-tdep.c (frv_gdbarch_init, frv_register_name) | |
715 | (frv_breakpoint_from_pc, frv_gdbarch_adjust_breakpoint_address) | |
716 | (frv_skip_prologue): Remove prototypes. | |
717 | (frv_adjust_breakpoint_address): Renamed from | |
718 | frv_gdbarch_adjust_breakpoint_address. | |
719 | (frv_gdbarch_init): Adjust. | |
720 | ||
765f065a MK |
721 | 2007-01-13 Mark Kettenis <kettenis@gnu.org> |
722 | ||
5e66aab2 MK |
723 | * gdbarch.sh (deprecated_extract_return_value) |
724 | (deprecated_store_return_value): Remove. | |
725 | (extract_return_value, store_return_value): Remove default values. | |
726 | * gdbarch.c, gdbarch.h: Regenerate. | |
727 | * arch-utils.c, arch-utils.h (legacy_extract_return_value) | |
728 | (legacy_store_return_value): Remove. | |
729 | * regcache.c, regcache.h (deprecated_grub_regcache_for_registers): | |
730 | Remove. | |
731 | ||
56178203 MK |
732 | * mi/mi-main.c: Remove obsolete comment. |
733 | ||
23303b2e MK |
734 | * regcache.c, regcache.h (deprecated_register_bytes) |
735 | (deprecated_read_register_bytes) | |
736 | (deprecated_write_register_bytes): Remove. | |
737 | ||
765f065a MK |
738 | * frame.c (get_frame_register_bytes, put_frame_register_bytes): |
739 | Don't forget to move destination pointer. | |
740 | ||
610acfff MK |
741 | 2007-01-01 Mark Kettenis <kettenis@gnu.org> |
742 | ||
743 | * config/i386/nm-i386gnu.h (CHILD_PREPARE_TO_STORE): Remove. | |
744 | ||
12102450 UW |
745 | 2007-01-11 Ulrich Weigand <uweigand@de.ibm.com> |
746 | ||
747 | * spu-tdep.c (spu_analyze_prologue): Fix erroneous backtrace | |
748 | past entry function with recent newlib. | |
749 | ||
c8b2f53c VP |
750 | 2007-01-11 Vladimir Prus <vladimir@codesourcery.com> |
751 | ||
752 | * gdb.texinfo (GDB/MI Variable Objects): Improve the | |
753 | introduction. Specify -var-update more exactly. | |
754 | ||
d57df5e4 DJ |
755 | 2007-01-11 Daniel Jacobowitz <dan@codesourcery.com> |
756 | ||
757 | * frame.c (get_prev_frame_1): Check PC_REGNUM before using it. | |
758 | ||
03f597d5 JB |
759 | 2007-01-10 Jim Blandy <jimb@codesourcery.com> |
760 | ||
761 | * MAINTAINERS (Global Maintainers): Ulrich Weigand has accepted | |
762 | the Global Maintainers' invitation to be a global maintainer. | |
763 | ||
fd48f117 DJ |
764 | 2007-01-10 Daniel Jacobowitz <dan@codesourcery.com> |
765 | ||
766 | * infrun.c (singlestep_pc): New variable. | |
767 | (resume): Set singlestep_pc. | |
768 | (context_switch): Add a debugging message. Flush the frame cache. | |
769 | (handle_inferior_event): Add debugging messages. Handle thread | |
770 | hops when a software single step has completed. Let context_switch | |
771 | handle flushing the frame cache. | |
772 | ||
23181151 DJ |
773 | 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com> |
774 | ||
775 | * NEWS: Mention target descriptions, "set tdesc filename", | |
776 | "unset tdesc filename", "show tdesc filename", and | |
777 | qXfer:features:read. | |
778 | * arch-utils.c (choose_architecture_for_target): New function. | |
779 | (gdbarch_info_fill): Call it. | |
780 | * target-descriptions.c (struct property): Make members non-const. | |
781 | (struct target_desc): Add arch member. | |
782 | (target_description_filename): New variable. | |
783 | (target_find_description): Try via XML first. | |
784 | (tdesc_architecture): New. | |
785 | (free_target_description, make_cleanup_free_target_description): New. | |
786 | (set_tdesc_property): Call xstrdup. | |
787 | (set_tdesc_architecture, tdesc_set_cmdlist, tdesc_show_cmdlist) | |
788 | (tdesc_unset_cmdlist, unset_tdesc_cmd, unset_tdesc_filename_cmd) | |
789 | (set_tdesc_cmd, show_tdesc_cmd, set_tdesc_filename_cmd) | |
790 | (show_tdesc_filename_cmd, _initialize_target_descriptions): New. | |
791 | * target-descriptions.h (tdesc_architecture) | |
792 | (make_cleanup_free_target_description, set_tdesc_architecture): New | |
793 | prototypes. | |
794 | * Makefile.in (SFILES): Add xml-tdesc.c. | |
795 | (COMMON_OBS): Add xml-tdesc.o. | |
796 | (target-descriptions.o): Update. | |
797 | (xml-tdesc.o): New rule. | |
798 | * xml-tdesc.c, xml-tdesc.h: New files. | |
799 | * remote.c (PACKET_qXfer_features): New enum. | |
800 | (remote_protocol_features): Add qXfer:features:read. | |
801 | (remote_xfer_partial): Handle TARGET_OBJECT_AVAILABLE_FEATURES. | |
802 | (_initialize_remote): Register qXfer:features:read. | |
803 | * target.h (enum target_object): Add TARGET_OBJECT_AVAILABLE_FEATURES. | |
804 | * features/gdb-target.dtd: New file. | |
805 | ||
3e9cb5f4 DJ |
806 | 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com> |
807 | ||
808 | * copyright.sh: Clarify error. | |
809 | ||
818f79f6 DJ |
810 | 2007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com> |
811 | ||
812 | * symtab.c (matching_bfd_sections): Fix VMA matching for | |
813 | prelinked objects. | |
814 | ||
f7a6bb70 DJ |
815 | 2007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com> |
816 | ||
817 | * minsyms.c (lookup_minimal_symbol_by_pc_section): Handle | |
818 | nested symbols. | |
819 | ||
20ac0504 DJ |
820 | 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com> |
821 | ||
822 | Updated copyright notices for most files. | |
823 | ||
85bb0718 DJ |
824 | 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com> |
825 | ||
826 | * copyright.sh (prunes): Add step-line.inp and step-line.c. | |
827 | ||
aa28a74e DJ |
828 | 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com> |
829 | ||
830 | * configure.ac (DEBUGDIR_RELOCATABLE): Define for debugdir inside | |
831 | exec_prefix. | |
832 | (TARGET_SYSTEM_ROOT_RELOCATABLE): Allow for exec_prefix being | |
833 | '${prefix}'. | |
834 | * configure, config.in: Regenerate. | |
835 | * defs.h (debug_file_directory): Declare. | |
836 | * main.c (captured_main): Canonicalize gdb_sysroot. Assume | |
837 | TARGET_SYSTEM_ROOT is defined. Initialize debug_file_directory and | |
838 | relocate it if DEBUGDIR_RELOCATABLE. | |
839 | * symfile.c (debug_file_directory): Make non-static. | |
840 | (find_separate_debug_file): Look for debug info for SYSROOT/PATH | |
841 | in DEBUGDIR/PATH if DEBUGDIR is inside SYSROOT. | |
842 | (_initialize_symfile): Don't initialize debug_file_directory here. | |
843 | ||
1cfd2c3e JB |
844 | 2007-01-09 Jim Blandy <jimb@codesourcery.com> |
845 | ||
846 | * score-tdep.c (score_push_dummy_call): Don't mix declarations and | |
847 | statements. | |
848 | ||
5efde112 DJ |
849 | 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com> |
850 | ||
851 | * alpha-mdebug-tdep.c (alpha_mdebug_frame_prev_register): Use | |
852 | frame_unwind_register to recurse. | |
853 | * alpha-tdep.c (alpha_sigtramp_frame_prev_register): Likewise. | |
854 | (alpha_heuristic_frame_prev_register): Likewise. | |
855 | * h8300-tdep.c (h8300_frame_prev_register): Likewise. | |
856 | * m32c-tdep.c (m32c_prev_register): Likewise. | |
857 | * frame.c (frame_register_unwind_location): Remove FIXME. | |
858 | ||
4de1f557 DJ |
859 | 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com> |
860 | Eli Zaretskii <eliz@gnu.org> | |
861 | ||
862 | * copyright.sh: New file. | |
863 | ||
ca4ca11e DJ |
864 | 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com> |
865 | ||
866 | * configure.ac: Check for XML_StopParser. | |
867 | * xml-support.c (gdb_xml_body_text): Check for an error. | |
868 | (gdb_xml_start_element_wrapper): Conditionalize call to XML_StopParser. | |
869 | (gdb_xml_end_element_wrapper): Likewise. | |
870 | * config.in, configure: Regenerated. | |
871 | ||
57e66780 DJ |
872 | 2007-01-08 Daniel Jacobowitz <dan@codesourcery.com> |
873 | ||
874 | * varobj.c (install_new_value): Always update print_value. | |
875 | (value_get_print_value): Immediately return NULL for missing | |
876 | values. | |
877 | ||
b523a1fd JB |
878 | 2007-01-08 Jim Blandy <jimb@codesourcery.com> |
879 | ||
880 | * configure.ac: Tighten pattern for extracting value of | |
881 | DEPRECATED_TM_FILE from the target makefile fragment. | |
882 | * configure: Regenerated. | |
883 | ||
3d799a95 DJ |
884 | 2007-01-08 Daniel Jacobowitz <dan@codesourcery.com> |
885 | ||
886 | * linux-nat.c (struct simple_pid_list): Add status. | |
887 | (add_to_pid_list): Record the PID's status. | |
888 | (linux_record_stopped_pid): Likewise. Make static. | |
889 | (pull_pid_from_list): Return the saved status. | |
890 | (linux_nat_handle_extended): Deleted. | |
891 | (linux_handle_extended_wait): Combine with linux_nat_handle_extended. | |
892 | Make static. Handle non-SIGSTOP for a new thread's first signal. | |
893 | (flush_callback): Handle unexpected pending signals. | |
894 | (linux_nat_wait): Update calls to changed functions. | |
895 | * linux-nat.h (linux_record_stopped_pid, linux_handle_extended_wait): | |
896 | Remove prototypes for newly static functions. | |
897 | ||
9acbedc0 UW |
898 | 2007-01-08 Ulrich Weigand <uweigand@de.ibm.com> |
899 | ||
900 | * gdbarch.sh (value_from_register): New gdbarch function. | |
901 | * gdbarch.c, gdbarch.h: Regenerate. | |
902 | * findvar.c (default_value_from_register): New function. | |
903 | (value_from_register): Use gdbarch_value_from_register. | |
904 | * value.h (default_value_from_register): Declare. | |
905 | * spu-tdep.c (spu_convert_register_p, spu_register_to_value, | |
906 | spu_value_to_register): Remove. | |
907 | (spu_value_from_register): New function. | |
908 | (spu_gdbarch_init): Do not call set_gdbarch_convert_register_p, | |
909 | set_gdbarch_register_to_value, set_gdbarch_value_to_register. | |
910 | Call set_gdbarch_value_from_register. | |
911 | * s390-tdep.c (s390_convert_register_p, s390_register_to_value, | |
912 | s390_value_to_register): Remove. | |
913 | (s390_value_from_register): New function. | |
914 | (s390_gdbarch_init): Do not call set_gdbarch_convert_register_p, | |
915 | set_gdbarch_register_to_value, set_gdbarch_value_to_register. | |
916 | Call set_gdbarch_value_from_register. | |
917 | ||
f822c95b DJ |
918 | 2007-01-08 Daniel Jacobowitz <dan@codesourcery.com> |
919 | ||
920 | * NEWS: Add "set sysroot" and "show sysroot". | |
921 | * solib.c (solib_absolute_prefix): Delete. Replace | |
922 | all uses with gdb_sysroot. | |
923 | (_initialize_solib): Add "set sysroot" and "show sysroot". | |
924 | Make "solib-absolute-prefix" an alias to it. | |
925 | ||
00fa51f6 UW |
926 | 2007-01-08 Ulrich Weigand <uweigand@de.ibm.com> |
927 | ||
928 | * frame.c (get_frame_register_bytes): New function. | |
929 | (put_frame_register_bytes): Likewise. | |
930 | * frame.h (get_frame_register_bytes): Declare. | |
931 | (put_frame_register_bytes): Likewise. | |
932 | * findvar.c (value_from_register): Always construct lval_register | |
933 | values. Use get_frame_register_bytes. | |
934 | * valops.c (value_assign): Use get_frame_register_bytes and | |
935 | put_frame_register_bytes. | |
936 | ||
a95c9d06 JB |
937 | 2007-01-08 Jim Blandy <jimb@codesourcery.com> |
938 | ||
939 | * MAINTAINERS: Update Stan Shebs' email address. | |
940 | ||
4ed6b5be JB |
941 | 2007-01-07 Joel Brobecker <brobecker@adacore.com> |
942 | ||
943 | * ada-lang.c (is_known_support_routine): Improve the implementation. | |
944 | ||
9bbc9174 JB |
945 | 2007-01-06 Joel Brobecker <brobecker@adacore.com> |
946 | ||
947 | * ada-lang.c: Add include of source.h. | |
948 | (is_known_support_routine): Improve the check verifying that the file | |
949 | associated to this frame exists. | |
950 | * Makefile.in (ada-lang.o): Add dependency on source.h. | |
951 | ||
44a81774 JB |
952 | 2007-01-07 Jim Blandy <jimb@codesourcery.com> |
953 | ||
954 | * ax-general.c (ax_const_l): Select proper opcode for the given | |
955 | value. | |
956 | ||
6fe1a487 NR |
957 | 2007-01-04 Vladimir Prus <vladimir@codesourcery.com> |
958 | ||
959 | * varobj.c (c_value_of_root): Don't select frame if variable | |
960 | object is out of scope. | |
961 | ||
3fa6deb5 NR |
962 | 2007-01-06 Nick Roberts <nickrob@snap.net.nz> |
963 | ||
964 | * varobj.c (struct varobj): New member print_value. | |
965 | (install_new_value): Compare last printed value with current one | |
966 | instead of contents. | |
967 | (new_variable): Initialize var->print_value to NULL. | |
968 | (free_variable): Free var->print_value. | |
969 | (value_get_print_value): New function derived from | |
970 | c_value_of_variable. | |
971 | (c_value_of_variable): Use value_get_print_value. | |
972 | ||
92a56b20 JB |
973 | 2007-01-05 Joel Brobecker <brobecker@adacore.com> |
974 | ||
975 | * i386-tdep.c (i386_analyze_stack_align): Add comment. | |
976 | ||
0e420bd8 JB |
977 | 2007-01-05 Joel Brobecker <brobecker@adacore.com> |
978 | ||
979 | * NEWS: Add entries for new catch commands. | |
980 | ||
b69733ab | 981 | 2007-01-05 Joel Brobecker <brobecker@adacore.com> |
fa4028e9 JB |
982 | |
983 | * dwarf2read.c (partial_die_info): Add field has_byte_size. | |
984 | (add_partial_symbol): Correct identification of external references. | |
985 | (process_structure_scope): Likewise. | |
986 | (read_partial_die): Handle DW_AT_byte_size attribute. | |
987 | ||
988 | 2007-01-05 Daniel Jacobowitz <dan@codesourcery.com> | |
d097fa3e DJ |
989 | |
990 | * xml-support.c (gdb_xml_end_element): Remove wrong backslashes. | |
991 | ||
8e38af42 NR |
992 | 2007-01-05 Nick Roberts <nickrob@snap.net.nz> |
993 | ||
994 | * varobj.c (get_type_deref): Fix variable objects for references to | |
995 | pointers. | |
996 | ||
d1c79ecd DJ |
997 | 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com> |
998 | ||
999 | * symtab.c (find_pc_sect_psymtab): Add comments. Handle psymtabs | |
1000 | with no symbols. | |
1001 | ||
e776119f DJ |
1002 | 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com> |
1003 | ||
1004 | * memory-map.c (struct_memory_map_parsing_data): Remove most | |
1005 | members. Make property_name an array. | |
1006 | (free_memory_map_parsing_data, memory_map_start_element) | |
1007 | (memory_map_end_element, memory_map_character_data): Delete. | |
1008 | (memory_map_start_memory, memory_map_end_memory) | |
1009 | (memory_map_start_property, memory_map_end_property): New functions. | |
1010 | (property_attributes, memory_children, memory_type_enum) | |
1011 | (memory_attributes, memory_map_children, memory_map_elements): New. | |
1012 | (parse_memory_map): Rewrite. | |
1013 | * xml-support.c (debug_xml): New. | |
1014 | (xml_get_required_attribute, xml_get_integer_attribute) | |
1015 | (xml_get_enum_value, free_xml_parser, make_cleanup_free_xml_parser): | |
1016 | Delete. | |
1017 | (struct scope_level, struct gdb_xml_parser, gdb_xml_body_text) | |
1018 | (gdb_xml_debug, gdb_xml_error, gdb_xml_values_cleanup) | |
1019 | (gdb_xml_start_element, gdb_xml_start_element_wrapper) | |
1020 | (gdb_xml_end_element, gdb_xml_end_element_wrapper, gdb_xml_cleanup) | |
1021 | (gdb_xml_create_parser_and_cleanup, gdb_xml_parse) | |
1022 | (gdb_xml_parse_ulongest, gdb_xml_parse_attr_ulongest) | |
1023 | (gdb_xml_parse_attr_enum, show_debug_xml, _initialize_xml_support): | |
1024 | New. | |
1025 | * xml-support.h (struct gdb_xml_value, gdb_xml_attribute_handler) | |
1026 | (enum gdb_xml_attribute_flag, struct gdb_xml_attribute) | |
1027 | (enum gdb_xml_element_flag, struct gdb_xml_element) | |
1028 | (gdb_xml_element_start_handler, gdb_xml_element_end_handler) | |
1029 | (struct gdb_xml_enum): New. | |
1030 | (gdb_xml_create_parser_and_cleanup, gdb_xml_parse, gdb_xml_debug) | |
1031 | (gdb_xml_error, gdb_xml_parse_attr_ulongest) | |
1032 | (gdb_xml_parse_attr_enum, gdb_xml_parse_ulongest): New prototypes. | |
1033 | (xml_get_required_attribute, xml_get_integer_attribute) | |
1034 | (xml_get_enum_value, make_cleanup_free_xml_parser): Delete prototypes. | |
1035 | * Makefile.in (xml_support_h, xml-support.o): Update. | |
1036 | ||
5e572bb4 DJ |
1037 | 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com> |
1038 | ||
1039 | * Makefile.in (eval.o): Update dependencies. | |
1040 | * eval.c: Include "ui-out.h" and "exceptions.h". | |
1041 | (evaluate_subexp_standard): Use TRY_CATCH around value_of_variable. | |
1042 | Use value_zero if an error occurs when avoiding side effects. | |
1043 | * varobj.c (c_value_of_root): Initialize new_val. | |
1044 | ||
74a44383 DJ |
1045 | 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com> |
1046 | ||
1047 | * varobj.c (varobj_list_children): Stop if the number of children is | |
1048 | unknown. | |
1049 | (c_number_of_children): | |
1050 | ||
e8d2d628 MK |
1051 | 2007-01-04 Mark Kettenis <kettenis@gnu.org> |
1052 | ||
1053 | * alpha-tdep.c (alpha_register_name): Use ARRAY_SIZE. | |
1054 | (alpha_read_insn, alpha_skip_prologue, alpha_heuristic_proc_start) | |
1055 | (alpha_heuristic_frame_unwind_cache, alpha_next_pc) | |
1056 | (alpha_gdbarch_init): Use ALPHA_INSN_SIZE, ALPHA_REGISTER_SIZE and | |
1057 | sizeof, instead of hardcoded constants. | |
1058 | ||
c941839d DJ |
1059 | 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com> |
1060 | ||
1061 | * CONTRIBUTE: Use sourceware.org. | |
1062 | ||
303b6f5d | 1063 | 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com> |
2d0720d9 | 1064 | |
303b6f5d DJ |
1065 | * buildsym.c (start_subfile): Handle producer. |
1066 | (record_producer): New function. | |
1067 | * buildsym.h (struct subfile): Include producer. | |
1068 | (record_producer): New prototype. | |
1069 | * dwarf2-frame.c (struct dwarf2_cie): Add version and augmentation. | |
1070 | (struct dwarf2_frame_state): Add armcc_cfa_offsets_sf and | |
1071 | armcc_cfa_offsets_reversed. | |
1072 | (execute_cfa_program): Handle armcc_cfa_offsets_sf. | |
1073 | (dwarf2_frame_find_quirks): New function. | |
1074 | (dwarf2_frame_cache): Call it. Handle armcc_cfa_offsets_reversed. | |
1075 | (decode_frame_entry_1): Record the CIE version. Record the | |
1076 | augmentation. Skip armcc augmentations. | |
1077 | * dwarf2read.c (read_file_scope): Save the producer. | |
1078 | * symtab.h (struct symtab): Rename unused version member to | |
1079 | producer. | |
2d0720d9 | 1080 | |
aa79a185 DJ |
1081 | 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com> |
1082 | ||
1083 | * configure.ac (build_warnings): Use -Wall and | |
1084 | -Wdeclaration-after-statement. | |
1085 | * configure: Regenerated. | |
1086 | ||
bbec2603 VP |
1087 | 2007-01-04 Vladimir Prus <vladimir@codesourcery.com> |
1088 | ||
1089 | Simplify access to variours properties of child | |
1090 | variable objects in C. | |
1091 | * varobj.c (value_struct_element_index): New function. | |
1092 | (c_describe_child): New function. | |
1093 | (c_name_of_child, c_value_of_child) | |
1094 | (c_type_of_child): Rewrite to use c_describe_child. | |
1095 | ||
28335dcc VP |
1096 | 2007-01-04 Vladimir Prus <vladimir@codesourcery.com> |
1097 | ||
1098 | gdb/ | |
1099 | * varobj.c: Include "vec.h". | |
1100 | (varobj_p): New typedef, declare vector of those. | |
1101 | (struct varobj): Use vector for the 'children' member. | |
1102 | (child_exists): Remove. | |
1103 | (save_child_in_parent): Remove. | |
1104 | (remove_child_from_parent): Remove. | |
1105 | (struct varobj_child): Remove. | |
1106 | (struct vstack): Remove. | |
1107 | (vpush, vpop): Remove. | |
1108 | (varobj_list_children): Adjust to work work vector. | |
1109 | (varobj_update): Likewise. Use vectors for | |
1110 | working stack and result. | |
1111 | (delete_variable_1): Likewise. | |
1112 | * Makefile.in (varobj.o): Update dependencies. | |
1113 | ||
b2c2bd75 VP |
1114 | 2007-01-04 Vladimir Prus <vladimir@codesourcery.com> |
1115 | ||
1116 | Port from Apple's version. | |
1117 | gdb/ | |
1118 | * varobj.c (type_changeable): Rename to... | |
1119 | (varobj_value_is_changeable_p): ...this. Adjust all callers. | |
1120 | (is_root_p): New function. Use it everywhere. | |
1121 | ||
bdfb3870 JB |
1122 | 2007-01-04 Jim Blandy <jimb@codesourcery.com> |
1123 | ||
1124 | * glibc-tdep.c (glibc_skip_solib_resolver): Look for '_dl_fixup', | |
1125 | then plain 'fixup'. | |
1126 | ||
5d15052e JB |
1127 | 2007-01-04 Joel Brobecker <brobecker@adacore.com> |
1128 | ||
1129 | * hpread.c (hpread_start_psymtab): Remove unnecessary extern. | |
1130 | ||
53103997 JB |
1131 | 2007-01-04 Joel Brobecker <brobecker@adacore.com> |
1132 | ||
1133 | * hpread.c (hpread_type_lookup): Fix compilation failure. | |
1134 | ||
27fd2f50 Q |
1135 | 2007-01-04 Qinwei <qinwei@sunnorth.com.cn> |
1136 | ||
1137 | * NEWS: New port to S+core. | |
1138 | * MAINTAINERS (Write After Approval, Responsible Maintainers): | |
1139 | Add myself. | |
1140 | ||
1141 | * Makefile.in: Add dependencies for S+core files. | |
1142 | * configure.tgt (score*, score-*-*): Add S+core target. | |
1143 | * config/score/embed.mt: New file. | |
1144 | * score-tdep.c: New file. | |
1145 | * score-tdep.h: New file. | |
1146 | ||
a6cfbe68 JB |
1147 | 2007-01-04 Joel Brobecker <brobecker@adacore.com> |
1148 | ||
1149 | * ada-lang.c (ada_evaluate_subexp) [OP_TYPE]: Return a value with | |
1150 | the appropriate type rather than a bogus void type. | |
1151 | ||
67cf15b7 | 1152 | 2007-01-04 Joel Brobecker <brobecker@adacore.com> |
f7f9143b JB |
1153 | |
1154 | * ada-lang.h (ada_find_printable_frame): Remove. | |
1155 | (ada_exception_catchpoint_p, ada_decode_exception_location) | |
1156 | (ada_decode_assert_location): Add declaration. | |
1157 | * ada-lang.c: Add include of annotate.h and valprint.h. | |
1158 | (exception_catchpoint_kind): New enum. | |
1159 | (function_name_from_pc, is_known_support_routine) | |
1160 | (ada_find_printable_frame, ada_unhandled_exception_name_addr) | |
1161 | (ada_exception_name_addr_1, ada_exception_name_addr) | |
1162 | (print_it_exception, print_one_exception, print_mention_exception) | |
1163 | (print_it_catch_exception, print_one_catch_exception) | |
1164 | (print_mention_catch_exception, catch_exception_breakpoint_ops) | |
1165 | (print_it_catch_exception_unhandled) | |
1166 | (print_one_catch_exception_unhandled) | |
1167 | (print_mention_catch_exception_unhandled, print_it_catch_assert) | |
1168 | (print_one_catch_assert, print_mention_catch_assert) | |
1169 | (ada_exception_catchpoint_p, error_breakpoint_runtime_sym_not_found) | |
1170 | (ada_get_next_arg, catch_ada_exception_command_split) | |
1171 | (ada_exception_sym_name, ada_exception_sym_name) | |
1172 | (ada_exception_breakption_ops, ada_exception_catchpoint_cond_string) | |
1173 | (ada_parse_catchpoint_condition, ada_exception_sal) | |
1174 | (ada_decode_exception_location) | |
1175 | (ada_decode_assert_location): New function. | |
1176 | (catch_exception_unhandled_breakpoint_ops): New global variable. | |
1177 | (catch_assert_breakpoint_ops): New global variable. | |
1178 | * breakpoint.c: Add include of ada-lang.h. | |
1179 | (print_one_breakpoint): Do not print the condition for Ada | |
1180 | exception catchpoints. | |
1181 | (create_ada_exception_breakpoint): New function. | |
1182 | (catch_ada_exception_command, catch_assert_command): New function. | |
1183 | (catch_command_1): Add support for the new "catch exception" and | |
1184 | "catch assert" commands. | |
1185 | (_initialize_breakpoint): Add help description for the new catch | |
1186 | commands. | |
1187 | * Makefile.in (ada-lang.o): Add dependency on annotate.h and | |
1188 | valprint.h. | |
1189 | (breakpoint.o): Add dependency on ada-lang.h. | |
1190 | ||
05cfdb42 DJ |
1191 | 2007-01-03 Pedro Alves <pedro_alves@portugalmail.pt> |
1192 | ||
1193 | * coffread.c (cs_to_section): If bfd_section is found, always | |
1194 | return its section index. | |
1195 | (coff_symtab_read): Determine the minimal_symbol_type using the | |
1196 | bfd_section flags. | |
1197 | ||
2e03ee74 DJ |
1198 | 2007-01-03 Jan Kratochvil <jan.kratochvil@redhat.com> |
1199 | Daniel Jacobowitz <dan@codesourcery.com> | |
1200 | ||
1201 | * Makefile.in (top.o): Update. | |
1202 | * top.c (gdb_readline_wrapper_done, gdb_readline_wrapper_result) | |
1203 | (saved_after_char_processing_hook, gdb_readline_wrapper_line) | |
1204 | (struct gdb_readline_wrapper_cleanup, gdb_readline_wrapper_cleanup): | |
1205 | New. | |
1206 | (gdb_readline_wrapper): Rewrite to use asynchronous readline. | |
1207 | ||
1c63d086 MK |
1208 | 2007-01-03 Mark Kettenis <kettenis@gnu.org> |
1209 | ||
1210 | * arm-linux-tdep.c (arm_linux_extract_return_value): Remove. | |
1211 | (arm_linux_init_abi): Don't set deprecated_extract_return_value. | |
1212 | ||
d5d6fca5 DJ |
1213 | 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com> |
1214 | ||
1215 | * ada-lang.c (find_struct_field): Initialize *byte_offset_p. | |
1216 | * breakpoint.c (do_enable_breakpoint): Ignore both mem_cnt and i. | |
1217 | * c-typeprint.c (c_type_print_varspec_suffix): Don't test length | |
1218 | greater than or equal to zero. | |
1219 | * m2-typeprint.c (m2_array): Likewise. | |
1220 | * p-typeprint.c (pascal_type_print_varspec_prefix): Likewise. | |
1221 | * gdbtypes.c (copy_type_recursive): Correct == typo. | |
1222 | * i386-tdep.c (i386_skip_prologue): Remove stray semicolon. | |
1223 | * linux-nat.c (linux_nat_info_proc_cmd): Don't compare a pointer | |
1224 | greater than zero. | |
1225 | * macroscope.c (sal_macro_scope): Don't name a local variable "main". | |
1226 | (default_macro_scope): Remove unused variable. | |
1227 | * prologue-value.h (pv_area_find_reg): Don't name an argument | |
1228 | "register". | |
1229 | * remote-fileio.c (remote_fio_func_map): Add missing braces. | |
1230 | * remote.c (sigint_remote_twice_token, sigint_remote_token): Change | |
1231 | type. | |
1232 | (cleanup_sigint_signal_handler): Remove casts. | |
1233 | * valprint.c (val_print): Use a volatile local for the modified | |
1234 | argument. | |
1235 | * varobj.c (languages): Remove extra array dimension. | |
1236 | (varobj_create): Correct access to languages array. | |
1237 | * mi/mi-cmd-break.c (mi_cmd_break_insert, mi_cmd_break_watch): Add | |
1238 | missing braces. | |
1239 | * mi/mi-cmd-disas.c (mi_cmd_disassemble): Likewise. | |
1240 | * mi/mi-cmd-env.c (mi_cmd_env_path, mi_cmd_env_dir): Likewise. | |
1241 | * mi/mi-getopt.c (mi_valid_noargs): Likewise. | |
1242 | * mi/mi-main.c (mi_cmd_data_read_memory): Likewise. | |
1243 | (mi_cmd_data_write_memory): Likewise. | |
1244 | * signals/signals.c (target_signal_to_string): Cast to int before | |
1245 | comparing. | |
1246 | * tui/tui-layout.c (init_and_make_win): Take and return a void *. | |
1247 | Update all callers. | |
1248 | ||
0d5de010 DJ |
1249 | 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com> |
1250 | ||
1251 | * NEWS: Mention pointer to member improvements. | |
1252 | * Makefile.in (gnu-v3-abi.o): Delete special rule. | |
1253 | (eval.o, gnu-v3-abi.o, ia64-tdep.o): Update. | |
1254 | * ada-valprint.c (ada_print_scalar): Update for new type codes. | |
1255 | * c-typeprint.c (c_print_type): Update for new type codes. | |
1256 | (c_type_print_varspec_prefix, c_type_print_varspec_suffix) | |
1257 | (c_type_print_base): Likewise. | |
1258 | (c_type_print_args): Rewrite. | |
1259 | * c-valprint.c (c_val_print): Update for new type codes. Remove | |
1260 | support for references to members. Treat methods like functions. | |
1261 | * cp-abi.c (cplus_print_method_ptr, cplus_method_ptr_size) | |
1262 | (cplus_make_method_ptr, cplus_method_ptr_to_value): New. | |
1263 | * cp-abi.h (cplus_print_method_ptr, cplus_method_ptr_size) | |
1264 | (cplus_make_method_ptr, cplus_method_ptr_to_value): New prototypes. | |
1265 | (struct cp_abi_ops): Add corresponding members. | |
1266 | * cp-valprint.c (cp_print_class_method): Delete. | |
1267 | (cp_find_class_member): New function. | |
1268 | (cp_print_class_member): Use it. Simplify support for bogus | |
1269 | member pointers. | |
1270 | * dwarf2read.c (quirk_gcc_member_function_pointer): Use | |
1271 | lookup_methodptr_type. | |
1272 | (read_tag_ptr_to_member_type): Likewise, and lookup_memberptr_type. | |
1273 | * eval.c (evaluate_subexp_standard): Implement EVAL_SKIP for | |
1274 | OP_SCOPE. Update call to value_aggregate_elt. Rewrite member | |
1275 | pointer support. | |
1276 | (evaluate_subexp_for_address): Handle OP_SCOPE explicitly. Handle | |
1277 | references returned by user defined operators. | |
1278 | * f-typeprint.c (f_print_type, f_type_print_varspec_prefix) | |
1279 | (f_type_print_varspec_suffix): Remove support for member pointers. | |
1280 | * gdbtypes.c (lookup_memberptr_type): Renamed from lookup_member_type | |
1281 | and adjusted. | |
1282 | (smash_to_memberptr_type): Likewise, from smash_to_member_type. | |
1283 | (lookup_methodptr_type): New. | |
1284 | (rank_one_type): Adjust for TYPE_CODE_MEMBERPTR. | |
1285 | (recursive_dump_type): Update for new types. | |
1286 | * gdbtypes.h (enum type_code): Replace TYPE_CODE_MEMBER with | |
1287 | TYPE_CODE_MEMBERPTR and TYPE_CODE_METHODPTR. | |
1288 | (lookup_memberptr_type, lookup_methodptr_type) | |
1289 | (smash_to_memberptr_type): New prototypes. | |
1290 | (smash_to_method_type): Formatting fix. | |
1291 | (lookup_member_type, smash_to_member_type): Delete prototypes. | |
1292 | * gnu-v3-abi.c (gnuv3_get_vtable, gnuv3_get_virtual_fn): New. | |
1293 | Do not rely on debug information for the vptr or the method's | |
1294 | enclosing type. Handle function descriptors for IA64. | |
1295 | (gnuv3_virtual_fn_field): Rewrite using the new functions. | |
1296 | (gnuv3_find_method_in, gnuv3_print_method_ptr) | |
1297 | (gnuv3_method_ptr_size, gnuv3_make_method_ptr) | |
1298 | (gnuv3_method_ptr_to_value): New. | |
1299 | (init_gnuv3_ops): Set new members of gnu_v3_abi_ops. | |
1300 | * hpread.c (hpread_type_lookup): Update for new types. | |
1301 | * infcall.c (value_arg_coerce): Likewise. | |
1302 | * m2-typeprint.c (m2_print_type): Remove explicit support | |
1303 | for member pointers. | |
1304 | * m2-valprint.c (m2_val_print): Likewise. | |
1305 | * p-typeprint.c (pascal_type_print_varspec_prefix) | |
1306 | (pascal_type_print_varspec_suffix, pascal_type_print_base): Likewise. | |
1307 | * p-valprint.c (pascal_val_print): Likewise. | |
1308 | (pascal_object_print_class_method, pascal_object_print_class_member): | |
1309 | Delete. | |
1310 | * p-lang.h (pascal_object_print_class_method) | |
1311 | (pascal_object_print_class_member): Delete prototypes. | |
1312 | * stabsread.c (read_type): Update for new types. | |
1313 | * typeprint.c (print_type_scalar): Likewise. | |
1314 | * valops.c (value_struct_elt_for_reference, value_namespace_elt) | |
1315 | (value_maybe_namespace_elt, value_aggregate_elt): Add want_address | |
1316 | argument. Construct a pointer to member if the address of a | |
1317 | function or data member is requested. | |
1318 | (value_cast_pointers): Don't modify the input value. | |
1319 | (value_cast): Adjust pointer to member handling for new types. | |
1320 | Allow null pointer to member constants. Don't modify the input | |
1321 | value. | |
1322 | (value_ind): Remove pointer to member check. Handle function | |
1323 | descriptors for function pointers. | |
1324 | (value_struct_elt, value_find_oload_method_list, check_field): | |
1325 | Remove pointer to member checks. | |
1326 | * value.c (unpack_long): Allow pointers to data members. | |
1327 | (value_from_longest): Allow member pointers. | |
1328 | * value.h (value_aggregate_elt): Add want_address. | |
1329 | * varobj.c (c_variable_editable): Remove check for members. | |
1330 | * gdbarch.sh: Add vtable_function_descriptors and vbit_in_delta. | |
1331 | * ia64-tdep.c (ia64_convert_from_func_ptr_addr): Handle descriptors | |
1332 | in virtual tables. | |
1333 | (ia64_gdbarch_init): Call set_gdbarch_vtable_function_descriptors. | |
1334 | * c-lang.h (cp_print_class_method): Delete prototype. | |
1335 | * arm-tdep.c (arm_gdbarch_init): Call set_gdbarch_vbit_in_delta. | |
1336 | * mips-tdep.c (mips_gdbarch_init): Likewise. | |
1337 | * gdbarch.c, gdbarch.h: Regenerated. | |
1338 | ||
d217aaed MK |
1339 | 2007-01-01 Mark Kettenis <kettenis@gnu.org> |
1340 | ||
1341 | * rs6000-tdep.c (rs6000_use_struct_convention) | |
1342 | (rs6000_extract_return_value, rs6000_store_return_value) | |
1343 | (rs6000_extract_struct_value_address): Remove. | |
1344 | (rs6000_return_value): New function. | |
1345 | (rs6000_gdbarch_init): Don't set deprecated_extract_return_value, | |
1346 | store_return_value, deprecated_extract_struct_value_address and | |
1347 | deprecated_use_struct_convention. Use rs6000_return_value | |
1348 | instead. | |
1349 | ||
02296b29 NR |
1350 | 2007-01-02 Nick Roberts <nickrob@snap.net.nz> |
1351 | ||
1352 | * mi/mi-cmds.c (mi_cmds): Remove entries for -display-delete, | |
1353 | -display-disable, -display-enable, -display-insert and | |
1354 | -display-list. | |
1355 | ||
b69733ab | 1356 | 2007-01-01 Joel Brobecker <brobecker@adacore.com> |
ce186b30 JB |
1357 | |
1358 | * breakpoint.c (remove_breakpoint): Remove dead code. | |
1359 | ||
1360 | 2007-01-01 Nick Roberts <nickrob@snap.net.nz> | |
ab9245ed NR |
1361 | |
1362 | * varobj.c: Include block.h. | |
1363 | (c_value_of_root): Check scope within nested statements. | |
1364 | ||
9f3a1602 MK |
1365 | 2007-01-01 Mark Kettenis <kettenis@gnu.org> |
1366 | ||
1367 | * mi/mi-main.c (mi_cmd_data_write_register_values): Use | |
1368 | regcache_cooked_write_signed instead of | |
1369 | deprecated_write_register_bytes. | |
1370 | ||
12349ccd JB |
1371 | 2007-01-01 Joel Brobecker <brobecker@adacore.com> |
1372 | ||
1373 | * config/djgpp/fnchange.lst: Add entry for ChangeLog-2006. | |
1374 | ||
8c48ebcf JB |
1375 | 2007-01-01 Joel Brobecker <brobecker@adacore.com> |
1376 | ||
1377 | Followed the Start of New Year Procedure: | |
1378 | * ChangeLog-2006: New file, containing all the entries for 2006. | |
1379 | * ChangeLog: Removed all 2006 entries, and changed the reference | |
1380 | to the previous ChangeLog to point to ChangeLog 2006. | |
1381 | * top.c (print_gdb_version): Update copyright year. | |
1382 | ||
154927ff MK |
1383 | 2007-01-01 Mark Kettenis <kettenis@gnu.org> |
1384 | ||
1385 | * Makefile.in (remote-sds.o): Remove. | |
1386 | * remote-sds.c: Delete. | |
1387 | ||
8c48ebcf | 1388 | For older changes see ChangeLog-2006. |
c906108c SS |
1389 | \f |
1390 | Local Variables: | |
1391 | mode: change-log | |
1392 | left-margin: 8 | |
1393 | fill-column: 74 | |
1394 | version-control: never | |
1395 | End: |