]>
Commit | Line | Data |
---|---|---|
c24d7425 | 1 | 2008-02-29 Joel Brobecker <[email protected]> |
2 | ||
3 | GDB 6.8 branch created (branch timestamp: 2008-02-26 10:00 UTC) | |
4 | * version.in: Bump version to 6.8.50.20080229-cvs. | |
5 | ||
a7dfd010 MD |
6 | 2008-02-28 Markus Deuling <[email protected]> |
7 | ||
8 | * f-typeprint.c (f_print_type): Handle NULL pointer in VARSTRING | |
9 | properly. | |
10 | ||
258c00cc TT |
11 | 2008-02-28 Tom Tromey <[email protected]> |
12 | ||
13 | * infcmd.c (notice_args_read): Print result of get_inferior_args. | |
14 | ||
8edfe269 DJ |
15 | 2008-02-28 Daniel Jacobowitz <[email protected]> |
16 | ||
17 | * infcmd.c (kill_if_already_running): Make static. Use | |
18 | target_require_runnable. | |
19 | * target.c (target_require_runnable): New. | |
20 | * target.h (target_require_runnable): Declare. | |
21 | ||
0d6ba1b1 DJ |
22 | 2008-02-28 Daniel Jacobowitz <[email protected]> |
23 | ||
24 | * frame.c (reinit_frame_cache): Only annotate if frames were | |
25 | previously valid. | |
26 | ||
6fe305f7 UW |
27 | 2008-02-28 Ulrich Weigand <[email protected]> |
28 | ||
29 | * regformats/reg-ppc.dat: Rename "ps" to "msr". | |
30 | * regformats/reg-ppc64.dat: Likewise. | |
31 | ||
9b4b61c8 UW |
32 | 2008-02-28 Ulrich Weigand <[email protected]> |
33 | ||
34 | * features/Makefile (%.dat): Emit xmltarget statement. | |
35 | ||
36 | * regformats/regdat.sh: Support xmltarget and xmlarch statments. | |
37 | Generate code to set gdbserver_xmltarget in init_registers_${name}. | |
38 | ||
39 | * regformats/arm-with-iwmmxt.dat: Regenerate. | |
40 | * regformats/mips64-linux.dat: Regenerate. | |
41 | * regformats/mips-linux.dat: Regenerate. | |
42 | * regformats/rs6000/powerpc-32.dat: Regenerate. | |
43 | * regformats/rs6000/powerpc-64.dat: Regenerate. | |
44 | * regformats/rs6000/powerpc-e500.dat: Regenerate. | |
45 | ||
46 | * regformats/reg-arm.dat: Add xmlarch statement. | |
47 | * regformats/reg-i386.dat: Likewise. | |
48 | * regformats/reg-i386-linux.dat: Likewise. | |
49 | * regformats/reg-x86-64-linux.dat: Likewise. | |
50 | * regformats/reg-spu.dat: Likewise. | |
51 | ||
20b4711e DJ |
52 | 2008-02-27 Daniel Jacobowitz <[email protected]> |
53 | ||
54 | * remote.c (remote_wait, remote_async_wait): Stop if we receive | |
55 | an error. | |
56 | ||
1843f87b DJ |
57 | 2008-02-27 Daniel Jacobowitz <[email protected]> |
58 | ||
59 | * utils.c (debug_timestamp): New. | |
60 | (vfprintf_unfiltered): Print timestamps if requested. | |
61 | (show_debug_timestamp): New. | |
62 | (initialize_utils): Register "set debug timestamp". | |
63 | * NEWS: Mention "set debug timestamp". Add GDB 6.8 section. | |
64 | ||
6a048695 JB |
65 | 2008-02-27 Joel Brobecker <[email protected]> |
66 | ||
67 | * breakpoint.c (skip_prologue_sal): New function. | |
68 | (resolve_sal_pc): Adjust SAL past prologue if the SAL was | |
69 | computed from a line number. | |
70 | ||
0b998f49 JB |
71 | 2008-02-27 Joel Brobecker <[email protected]> |
72 | ||
73 | * features/rs6000/power-core.xml, features/rs6000/power64-core.xml | |
74 | features/rs6000/powerpc-601.xml, features/rs6000/rs6000.xml: | |
75 | Set PC register type to "code_ptr". | |
76 | * features/rs6000/powerpc-32.c, features/rs6000/powerpc-403.c, | |
77 | features/rs6000/powerpc-403gc.c, features/rs6000/powerpc-505.c, | |
78 | features/rs6000/powerpc-601.c, features/rs6000/powerpc-602.c, | |
79 | features/rs6000/powerpc-603.c, features/rs6000/powerpc-604.c, | |
80 | features/rs6000/powerpc-64.c, features/rs6000/powerpc-7400.c, | |
81 | features/rs6000/powerpc-750.c, features/rs6000/powerpc-860.c, | |
82 | features/rs6000/powerpc-e500.c, features/rs6000/rs6000.c: | |
83 | Regenerate. | |
84 | ||
d05b4ac3 UW |
85 | 2008-02-27 Ulrich Weigand <[email protected]> |
86 | ||
87 | * regformats/regdat.sh: Rename init_registers function in | |
88 | generated file to init_registers_${name}. | |
89 | ||
90 | * regformats/reg-crisv32.dat: Set "name" to crisv32. | |
91 | * regformats/reg-ppc64.dat: Set "name" to ppc64. | |
92 | * regformats/reg-s390x.dat: Set "name" to s390x. | |
93 | ||
a5d9d57d DJ |
94 | 2008-02-26 Greg Law <[email protected]> |
95 | ||
96 | * regcache.c (registers_changed): Call reinit_frame_cache. | |
97 | ||
e25c958c DJ |
98 | 2008-02-26 Daniel Jacobowitz <[email protected]> |
99 | ||
100 | * configure.tgt (sh-*-linux*): Match sh*. Add glibc-tdep.o. | |
101 | * sh-linux-tdep.c (sh_linux_init_abi): Use glibc_skip_solib_resolver | |
102 | and svr4_fetch_objfile_link_map. | |
103 | * Makefile.in (sh-linux-tdep.o): Update. | |
104 | ||
5daa78cc TJB |
105 | 2008-02-26 Thiago Jung Bauermann <[email protected]> |
106 | ||
107 | * amd64-tdep.c (amd64_classify): Add support for decimal float | |
108 | types. | |
109 | * i386-tdep.c (i386_return_value): Make 128-bit decimal float | |
110 | use the struct return convention. | |
111 | ||
54e52265 VP |
112 | 2008-02-26 Nick Roberts <[email protected]> |
113 | ||
114 | * breakpoint.c (print_one_breakpoint_location): Revert Enb field | |
115 | to old format. Discard breakpoint address if shared library is | |
116 | unloaded. | |
117 | (breakpoint_1): Adjust formatting of table header accordingly. | |
118 | ||
d8f2712d VP |
119 | 2008-02-25 Vladimir Prus <[email protected]> |
120 | ||
121 | * remote.c (remote_get_threadlist): If the response | |
122 | is empty, don't try to parse it. | |
123 | ||
05ce04a4 VP |
124 | 2008-02-23 Vladimir Prus <[email protected]> |
125 | ||
126 | Unbreak 'target async'. | |
127 | * serial.c (serial_async): Set the | |
128 | handler function before enabling async | |
129 | mode. | |
130 | ||
b36ec657 DJ |
131 | 2008-02-22 Daniel Jacobowitz <[email protected]> |
132 | ||
133 | * solib-svr4.c (enable_break): Convert r_brk to a code address. | |
134 | ||
df7df359 PA |
135 | 2008-02-21 Pedro Alves <[email protected]> |
136 | ||
137 | * remote.c (extended_remote_attach_1): Set attach_flag. | |
138 | (extended_remote_create_inferior_1): Clear attach_flag. | |
139 | ||
7cd25cfc DJ |
140 | 2008-02-20 Daniel Jacobowitz <[email protected]> |
141 | ||
142 | * mipsnbsd-tdep.c (mipsnbsd_ilp32_fetch_link_map_offsets): Set | |
143 | r_brk_offset. | |
144 | (mipsnbsd_lp64_fetch_link_map_offsets): Likewise. | |
145 | * solib-svr4.c (solib_svr4_r_brk): New. | |
146 | (open_symbol_file_object, svr4_current_sos): Always check the | |
147 | debug base. | |
148 | (svr4_fetch_objfile_link_map): Do not set debug_base. | |
149 | (enable_break): Use r_brk if it is set. | |
150 | (svr4_ilp32_fetch_link_map_offsets): Set r_brk_offset. | |
151 | (svr4_lp64_fetch_link_map_offsets): Likewise. | |
152 | * solib-svr4.h (struct link_map_offsets): Add r_brk_offset. | |
153 | ||
07ea644b MD |
154 | 2008-02-20 Markus Deuling <[email protected]> |
155 | Mark Kettenis <[email protected]> | |
156 | ||
157 | * alpha-tdep.c (alpha_heuristic_unwind_cache): Replace saved_regs by | |
158 | trad_frame_saved_reg. | |
159 | (trad-frame.h): New include. | |
160 | ||
161 | (alpha_heuristic_frame_unwind_cache): Use trad_frame_alloc_saved_regs | |
162 | instead of frame_obstack_zalloc. | |
163 | (alpha_heuristic_frame_prev_register): Use trad_frame_get_prev_register. | |
164 | ||
165 | * Makefile.in (alpha-tdep.o): Add dependency to trad_frame_h. | |
166 | ||
40887e1a MD |
167 | 2008-02-20 Markus Deuling <[email protected]> |
168 | ||
169 | * rs6000-tdep.c (gdb_print_insn_powerpc): Get the current endianess | |
170 | from disassemble_info instead of gdbarch_byte_order. | |
171 | ||
172 | * mips-tdep.c (gdb_print_insn_mips): Likewise. | |
173 | * arm-tdep.c (gdb_print_insn_arm): Likewise. | |
174 | ||
ae4b2284 MD |
175 | 2008-02-20 Markus Deuling <[email protected]> |
176 | ||
177 | * gdbarch.sh (memory_insert_breakpoint, memory_remove_breakpoint): Add | |
178 | gdbarch as parameter. | |
179 | ||
180 | * gdbarch.{c,h}: Regenerate. | |
181 | ||
182 | * ppc-tdep.h (ppc_linux_memory_remove_breakpoint): Add gdbarch as | |
183 | parameter. | |
184 | * mem-break.c (default_memory_insert_breakpoint) | |
185 | (default_memory_remove_breakpoint): Likewise. | |
186 | * target.h (default_memory_remove_breakpoint) | |
187 | (default_memory_insert_breakpoint): Likewise. | |
188 | ||
189 | * ppc-linux-tdep.c (ppc_linux_memory_remove_breakpoint): Add gdbarch as | |
190 | parameter. Replace current_gdbarch by gdbarch. | |
191 | * m32r-tdep.c (m32r_memory_insert_breakpoint) | |
192 | (m32r_memory_remove_breakpoint): Likewise. | |
193 | ||
d9bf65d5 DJ |
194 | 2008-02-19 Daniel Jacobowitz <[email protected]> |
195 | ||
196 | * MAINTAINERS: Add Vladimir Prus as MI maintainer. | |
197 | ||
b93b6ca7 JB |
198 | 2008-02-19 Joel Brobecker <[email protected]> |
199 | ||
200 | * NEWS: Add entry describing Add support improvements. | |
201 | ||
4ed226fe MD |
202 | 2008-02-18 Markus Deuling <[email protected]> |
203 | ||
204 | * m68klinux-nat.c (getfpregs_supplies): Replace gdbarch_fp0_regnum by | |
205 | M68K_FP0_REGNUM. | |
206 | ||
caaa79ad MD |
207 | 2008-02-18 Markus Deuling <[email protected]> |
208 | ||
209 | * sentinel-frame.c (sentinel_frame_prev_register): Do not call | |
210 | register_offset_hack anymore. | |
211 | ||
212 | * regcache.{c,h} (register_offset_hack): Remove. | |
213 | ||
e38c262f MD |
214 | 2008-02-18 Markus Deuling <[email protected]> |
215 | ||
216 | * hppa-tdep.h (find_global_pointer): Add gdbarch as parameter. | |
217 | ||
218 | * hppa-hpux-tdep.c (hppa32_hpux_find_global_pointer): Likewise. Replace | |
219 | current_gdbarch by gdbarch. | |
220 | (hppa64_hpux_find_global_pointer): Likewise. | |
221 | * hppa-tdep.c (hppa_find_global_pointer): Likewise. | |
222 | (hppa32_push_dummy_call, hppa64_push_dummy_call): Update call for | |
223 | find_global_pointer. | |
224 | ||
225 | * hppabsd-tdep.c (hppabsd_find_global_pointer): Add gdbarch as | |
226 | parameter. | |
227 | * hppa-linux-tdep.c (hppa_linux_find_global_pointer): Likewise. | |
228 | ||
229 | * hppa-linux-nat.c (hppa_linux_register_addr): Use ARRAY_SIZE instead | |
230 | of gdbarch_num_regs. | |
231 | ||
232 | * hppa-hpux-tdep.c (hppa_hpux_sr_for_addr): Add gdbarch as parameter and | |
233 | replace current_gdbarch by gdbarch. | |
234 | (hppa_hpux_push_dummy_code): Update call for hppa_hpux_sr_for_addr. | |
235 | ||
206988c4 MD |
236 | 2008-02-18 Markus Deuling <[email protected]> |
237 | ||
238 | * rs6000-nat.c (exec_one_dummy_insn, regmap): Add gdbarch as parameter | |
239 | and replace current_gdbarch by gdbarch. | |
240 | ||
241 | (store_register): Update call for exec_one_dummy_insn. | |
242 | (fetch_register, store_register): Update call of regmap. | |
243 | ||
244 | * ppcnbsd-nat.c (getregs_supplies, getfpregs_supplies): Add gdbarch as | |
245 | parameter and replace current_gdbarch by gdbarch. | |
246 | ||
247 | (ppcnbsd_store_inferior_registers): Use get_regcache_arch to get at | |
248 | the current architecture. Update call for getregs_supplies and | |
249 | getfpregs_supplies. | |
250 | (ppcnbsd_fetch_inferior_registers): Likewise. | |
251 | ||
252 | * ppcobsd-nat.c (getfpregs_supplies): Add gdbarch as parameter and | |
253 | replace current_gdbarch by gdbarch. | |
254 | (ppcobsd_fetch_registers, ppcobsd_store_registers): Use | |
255 | get_regcache_arch to get at the current architecture. Update call for | |
256 | getfpregs_supplies. | |
257 | ||
f642be6b MD |
258 | 2008-02-18 Markus Deuling <[email protected]> |
259 | ||
260 | * arch-utils.c (gdbarch_from_bfd): Remove unnecessary {old,new}_gdbarch | |
261 | variables. | |
262 | ||
b1f2bf01 MD |
263 | 2008-02-15 Markus Deuling <[email protected]> |
264 | ||
265 | * mips-linux-tdep.c (mips_linux_init_abi): Remove internal error. | |
266 | ||
ee163bf5 VP |
267 | 2008-02-14 Vladimir Prus <[email protected]> |
268 | ||
269 | * NEWS: Mention pending breakpints in MI. | |
270 | ||
f6fbcbf9 MD |
271 | 2008-02-14 Markus Deuling <[email protected]> |
272 | ||
273 | * Makefile.in (ALL_TARGET_OBS): Remove dependency to xtensa-linux-nat.o. | |
274 | ||
36af4ef6 MD |
275 | 2008-02-13 Markus Deuling <[email protected]> |
276 | ||
277 | Add script to build and test GDB using enable-targets=all. | |
278 | ||
279 | * gdb_buildall.sh: New file. | |
280 | ||
94a0e877 MG |
281 | 2008-02-11 Maxim Grigoriev <[email protected]> |
282 | ||
283 | * NEWS (New native configurations): Xtensa GNU/Linux. | |
284 | (New targets): Xtensa GNU/Linux. | |
285 | * Makefile.in (ALL_TARGET_OBS): Add xtensa-linux-nat.o and | |
286 | xtensa-linux-tdep.o | |
287 | (ALLDEPFILES): Add xtensa-linux-tdep.c and xtensa-linux-nat.c | |
288 | (xtensa-linux-nat.o, xtensa-linux-tdep.o): New dependencies. | |
289 | * configure.tgt (xtensa*-*-linux*): New entry. | |
290 | * xtensa-config.c (xtensa_tdep): New variable. | |
291 | (xtensa_config_byte_order, xtensa_config_tdep): Removed. | |
292 | (rmap): Change format based on new macro XTREG. | |
293 | (XTENSA_CONFIG_INSTANTIATE): Use new macro defined in xtensa-tdep.h. | |
294 | * xtensa-linux-nat.c: New. | |
295 | * xtensa-linux-tdep.c: New. | |
296 | * xtensa-xtregs.c: New. | |
297 | * xtensa-tdep.h (xtensa_elf_gregset_t): Update. | |
298 | (XTENSA_ELF_NGREG, XTREG, XTREG_END, XTENSA_GDBARCH_TDEP_INSTANTIATE) | |
299 | (XCHAL_NUM_CONTEXTS, XCHAL_HAVE_EXCEPTIONS): New macros. | |
300 | (xtensa_register_t): New field coprocessor. | |
301 | (XTENSA_REGISTER_FLAGS_PRIVILEGED): Name spelling corrected. | |
302 | * xtensa-tdep.c (xtensa_config_tdep, xtensa_config_byte_order): Removed. | |
303 | (xtensa_pseudo_register_read, xtensa_pseudo_register_write): | |
304 | Update to handle privileged registers. | |
305 | (xtensa_supply_gregset) Remove exccause and excvaddr registers. | |
306 | (xtensa_push_dummy_call): Set windowstart register correctly. | |
307 | (call0_analyze_prologue): Initialize xtensa_default_isa. | |
308 | (xtensa_derive_tdep): New. | |
309 | (xtensa_gdbarch_init): Get rid of xtensa_config_byte_order and | |
310 | xtensa_config_tdep, use XCHAL_HAVE_BE and xtensa_tdep instead. | |
311 | Call xtensa_derive_tdep(). | |
312 | * config/xtensa/linux.mh: New. | |
313 | * regformats/reg-xtensa.dat: New. | |
314 | ||
b7ee1b0a | 315 | 2008-02-09 Aleksandar Ristovski <[email protected]> (tiny change) |
f90c07ac EZ |
316 | |
317 | * corelow.c (core_open): Use IS_ABSOLUTE_PATH. | |
318 | (filenames.h): New include. | |
319 | * Makefile.in (corelow.o): Add dependency for filenames.h. | |
320 | ||
8da2a1df DJ |
321 | 2008-02-08 Doug Evans <[email protected]> |
322 | ||
323 | * source.c (find_and_open_source): Always rewrite absolute filenames. | |
324 | ||
776592bf DE |
325 | 2008-02-07 Doug Evans <[email protected]> |
326 | ||
327 | * breakpoint.c: #include "hashtab.h". | |
328 | (ambiguous_names_p): New fn. | |
329 | (update_breakpoint_locations): When restoring bp enable status, don't | |
330 | compare function names if any functions have same name. | |
331 | * Makefile.in (breakpoint.o): Add hashtab.h dependency. | |
332 | ||
d6565258 JB |
333 | 2008-02-07 Joel Brobecker <[email protected]> |
334 | ||
335 | * ada-lang.c (symbol_completion_add): Make SV parameter a VEC** | |
336 | instead of just a VEC*. Update use of SV. | |
337 | (ada_make_symbol_completion_list): Update symbol_completion_add calls. | |
338 | ||
6d53d0af JB |
339 | 2007-02-07 Joel Brobecker <[email protected]> |
340 | ||
341 | * NEWS: Put all new commands since gdb-6.7 together. | |
342 | ||
2ba95b9b JB |
343 | 2007-02-07 Joel Brobecker <[email protected]> |
344 | ||
345 | * ada-lang.c: #include "vec.h". | |
346 | (struct string_vector, new_string_vector, string_vector_append): | |
347 | Delete. | |
348 | (char_ptr): New typedef. | |
349 | (DEF_VEC_P (char_ptr)): New VEC type. | |
350 | (symbol_completion_add): Update profile to take the new VEC type | |
351 | instead of the old string_vector structure. Update code accordingly. | |
352 | (ada_make_symbol_completion_list): Use the new VEC type instead of | |
353 | the old string_vector structure, and update the code accordingly. | |
354 | * Makefile.in (ada-lang.o): Add dependency on vec.h. | |
355 | ||
4ae0885a PM |
356 | 2008-02-06 Pierre Muller <[email protected]> |
357 | ||
358 | * p-exp.y: Set current_type in missing places. | |
359 | (leftdiv_is_integer): New static variable. | |
360 | Typecast right operand of BINOP_DIV to long_double if both operands | |
361 | are integers. | |
362 | ||
06b1d59c MR |
363 | 2008-02-06 Maciej W. Rozycki <[email protected]> |
364 | ||
365 | * remote-mips.c (set_breakpoint): Rename to... | |
366 | (mips_set_breakpoint): ... this. | |
367 | (clear_breakpoint): Rename to... | |
368 | (mips_clear_breakpoint): ... this. | |
369 | (common_breakpoint): Rename to... | |
370 | (mips_common_breakpoint): ... this. | |
371 | (check_lsi_error): Rename to... | |
372 | (mips_check_lsi_error): ... this. | |
373 | ||
41d27058 JB |
374 | 2007-02-05 Joel Brobecker <[email protected]> |
375 | ||
376 | * language.h (struct language_defn): Add new field | |
377 | la_make_symbol_completion_list. | |
378 | * symtab.c (default_make_symbol_completion_list): Renames | |
379 | make_symbol_completion_list. | |
380 | (make_symbol_completion_list): New function. | |
381 | * symtab.h (default_make_symbol_completion_list): Add declaration. | |
382 | * langauge.c (unknown_language): Set la_make_symbol_completion_list. | |
383 | (auto_language, local_language): Likewise. | |
384 | * objc-lang.c (objc_language_defn): Likewise. | |
385 | * scm-lang.c (scm_language_defn): Likewise. | |
386 | * m2-lang.c (m2_language_defn): Likewise. | |
387 | * f-lang.c (f_language_defn): Likewise. | |
388 | * jv-lang.c (java_language_defn): Likewise. | |
389 | * p-lang.c (pascal_language_defn): Likewise. | |
390 | * c-lang.c (c_language_defn, cplus_language_defn, asm_language_defn) | |
391 | (minimal_language_defn): Likewise. | |
392 | * ada-lang.c (struct string_vector): New structure. | |
393 | (new_string_vector, string_vector_append, ada_unqualified_name) | |
394 | (add_angle_brackets, symbol_completion_match, symbol_completion_add) | |
395 | (ada_make_symbol_completion_list): New functions. | |
396 | (ada_language_defn): Set la_make_symbol_completion_list. | |
397 | * ada-lang.h (ada_make_symbol_completion_list): Remove declaration, | |
398 | this function is static. | |
399 | ||
ee3a2f01 KB |
400 | 2008-02-05 Kevin Buettner <[email protected]> |
401 | ||
402 | * mn10300-tdep.c (mn10300_push_dummy_call): Adjust stack pointer | |
403 | to account for call site optimizations. | |
404 | ||
d844e34b JB |
405 | 2008-02-05 Andrzej Zaborowski <[email protected]> |
406 | ||
407 | * tracepoint.c (read_actions): Handle end-of-text indicator | |
408 | in action list properly. (Committed by Jim Blandy) | |
409 | ||
02e4669d JB |
410 | 2008-02-05 Jim Blandy <[email protected]> |
411 | ||
412 | * ax-gdb.c (gen_expr): Yield ordinary error if asked to trace a | |
413 | pseudoregister, not an internal error. | |
85ecb32b | 414 | Reported by: Andrzej Zaborowski |
02e4669d | 415 | |
c39c8256 VP |
416 | 2008-02-04 Vladimir Prus <[email protected]> |
417 | ||
418 | * varobj.c (c_value_of_variable): Use xstrdup. | |
419 | ||
ae7d22a6 VP |
420 | 2008-02-04 Vladimir Prus <[email protected]> |
421 | ||
422 | Update stored rendition of varobj value when format changes. | |
423 | * varobj.c (varobj_set_display_format): Recomputed | |
424 | print_value. | |
425 | (c_value_of_variable): Return print_value. | |
426 | ||
81fe8080 DE |
427 | 2008-02-03 Doug Evans <[email protected]> |
428 | ||
301f0ecf DE |
429 | * eval.c (evaluate_subexp_standard): Fix type of result of mixed |
430 | integer/float division operations when EVAL_AVOID_SIDE_EFFECTS. | |
431 | * valops.c (value_one): New function. | |
432 | * value.h (value_one): Declare. | |
433 | ||
434 | Fix argument promotion for binary arithmetic ops for C. | |
435 | * valarith.c (unop_result_type): New fn. | |
436 | (binop_result_type): New fn. | |
437 | (value_binop): Move result type computation to binop_result_type. | |
438 | (value_pos, value_neg, value_complement): Move result type | |
439 | computation to unop_result_type. | |
440 | ||
81fe8080 DE |
441 | PR 2384 |
442 | * gdbtypes.c (get_vptr_fieldno): Renamed from fill_in_vptr_fieldno. | |
443 | Return basetype, fieldno if found. All callers updated. | |
444 | Don't cache TYPE_VPTR_FIELDNO, TYPE_VPTR_BASETYPE if from different | |
445 | objfile. | |
446 | * gdbtypes.h (get_vptr_fieldno): Renamed from fill_in_vptr_fieldno. | |
447 | * symfile.h (fill_in_vptr_fieldno): Delete. | |
448 | ||
41808ebe DE |
449 | 2008-02-02 Doug Evans <[email protected]> |
450 | ||
f8597ac3 DE |
451 | * valarith.c (value_binop): Handle unsigned BINOP_REM division by zero. |
452 | ||
41808ebe DE |
453 | * typeprint.c (*): Whitespace cleanup. |
454 | ||
f964a756 MK |
455 | 2008-02-02 Mark Kettenis <[email protected]> |
456 | Luis Machado <[email protected]> | |
457 | Thiago Jung Bauermann <[email protected]> | |
458 | ||
459 | * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Pass floats that | |
460 | don't fit into registerson the stack the way GCC does. | |
461 | ||
b06ead72 JB |
462 | 2008-02-01 Joel Brobecker <[email protected]> |
463 | ||
464 | * symtab.c (symbol_set_names): Do not add an entry in the demangling | |
465 | hash table for Ada symbols. Just store the linkage name as is, | |
466 | and leave the demangled_name as NULL. | |
467 | ||
2cfa0c8d JB |
468 | 2007-02-01 Joel Brobecker <[email protected]> |
469 | ||
470 | * dwarf2read.c (add_partial_symbol): Always store all Ada subprograms | |
471 | in the global scope. | |
472 | (new_symbol): Likewise. | |
473 | ||
98deb0da VP |
474 | 2008-02-01 Vladimir Prus <[email protected]> |
475 | ||
476 | * breakpoint.c (break_command_1): Return void. | |
477 | (break_command_really): Return void. Rethrow | |
478 | exceptions instead of returning. | |
479 | (gdb_breakpoint): Remove the error_message parameter. | |
480 | Return void. Rename to set_breakpoint. | |
481 | * gdb.h (gdb_breakpoint): Rename and move to... | |
482 | * breakpoint.h (set_breakpoint): ...here. | |
483 | * mi/mi-cmb-break.c (mi_cmd_break_insert): Restore | |
484 | event hooks even if exception is thrown. Adjust to | |
485 | gdb_breakpoint interface changes. | |
486 | ||
487 | ||
ce0451ad TJB |
488 | 2008-02-01 Thiago Jung Bauermann <[email protected]> |
489 | ||
490 | * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Write 32-bit | |
491 | float in both first and second word in the doubleword, to support | |
492 | old and new ABIs. | |
493 | ||
723a2275 VP |
494 | 2008-02-01 Vladimir Prus <[email protected]> |
495 | ||
496 | Properly rethrow exception. This fixes errors | |
497 | about non-existent functions for -break-insert. | |
498 | * breakpoint.c (break_command_really): Use throw_exception | |
499 | for rethrowing. If rethrowing, don't print the exception. | |
500 | ||
d64a946d TJB |
501 | 2008-01-31 Thiago Jung Bauermann <[email protected]> |
502 | ||
503 | * NEWS: Mention Decimal Floating Point support. | |
504 | ||
02b156f5 JB |
505 | 2008-01-31 Joel Brobecker <[email protected]> |
506 | ||
507 | * std-regs.c (value_of_builtin_frame_pc_reg): Change the returned | |
508 | value type to builtin_type_void_func_ptr. | |
509 | ||
a16b8bcd UW |
510 | 2008-01-31 Andreas Krebbel <[email protected]> |
511 | ||
512 | * s390-tdep.c (is_float_singleton, is_float_like, | |
513 | alignment_of, s390_return_value): Make checks for | |
514 | TYPE_CODE_FLT to match TYPE_CODE_DECFLOAT as well. | |
515 | ||
f949c649 TJB |
516 | 2008-01-31 Luis Machado <[email protected]> |
517 | Thiago Jung Bauermann <[email protected]> | |
518 | ||
519 | * infcmd.c (default_print_registers_info): Also print hex | |
520 | raw contents for TYPE_CODE_DECFLOAT registers. | |
521 | * ppc-tdep.h (gdbarch_tdep): Add ppc_dl0_regnum member. | |
522 | * rs6000-tdep.c (IS_DFP_PSEUDOREG): New macro. | |
523 | (rs6000_register_name): Add support for DFP pseudo-registers. | |
524 | (rs6000_pseudo_register_type): Likewise. | |
525 | rs6000_pseudo_register_reggroup_p): Likewise. | |
526 | (ppc_pseudo_register_read): New function. | |
527 | (ppc_pseudo_register_write): Likewise. | |
528 | (rs6000_pseudo_register_read): Likewise. | |
529 | (rs6000_pseudo_register_write): Likewise. | |
530 | (e500_pseudo_register_read): Move checks to | |
531 | rs6000_pseudo_register_read. | |
532 | (e500_pseudo_register_write): Move checks to | |
533 | rs6000_pseudo_register_write. | |
534 | (rs6000_gdbarch_init): Initialize tdep->ppc_dl0_regnum. Install | |
535 | rs6000_pseudo_register_read and rs6000_pseudo_register_write | |
536 | in gdbarch if SPE or DFP is available. Adjust gdbarch's | |
537 | num_pseudo_regs to account for DFP pseudo regs. | |
538 | ||
5a9e69ba TJB |
539 | 2008-01-31 Thiago Jung Bauermann <[email protected]> |
540 | ||
541 | * ppc-tdep.h (struct gdbarch_tdep): Remove ppc_ev31_regnum member. | |
542 | * rs6000-tdep.c (IS_SPE_PSEUDOREG): New macro. | |
543 | (spe_register_p, rs6000_register_name, rs6000_pseudo_register_type, | |
544 | rs6000_pseudo_register_reggroup_p, e500_move_ev_register, | |
545 | e500_pseudo_register_read, e500_pseudo_register_write): Use | |
546 | IS_SPE_PSEUDOREG macro. | |
547 | (rs6000_frame_cache): Remove use of tdep->ppc_ev31_regnum. | |
548 | (rs6000_gdbarch_init): Remove unnecessary num_sprs local variable. | |
549 | Remove initialization of tdep->ppc_ev31_regnum. | |
550 | ||
4e885b20 JB |
551 | 2008-01-08 Paul Hilfinger <[email protected]> |
552 | ||
553 | * printcmd.c (print_formatted): Handle references as for unformatted | |
554 | prints. | |
555 | ||
80f064a2 JB |
556 | 2008-01-30 Joel Brobecker <[email protected]> |
557 | ||
558 | * eval.c (evaluate_subexp_standard): Add handling of user | |
559 | registers when in EVAL_AVOID_SIDE_EFFECTS mode. | |
560 | ||
9b3442ee PM |
561 | 2008-01-30 Pierre Muller <[email protected]> |
562 | ||
563 | * eval.c (evaluate_subexp_standard): Support | |
564 | BINOP_INTDIV opcode. | |
565 | ||
d118ef87 PH |
566 | 2008-01-30 Paul N. Hilfinger <[email protected]> |
567 | ||
568 | * valarith.c (value_binop): Add floating-point BINOP_MIN and | |
569 | BINOP_MAX cases. | |
570 | For BINOP_EXP, use length and signedness of left operand only for | |
571 | result, as for shifts. | |
572 | For integral operands to BINOP_EXP, use new integer_pow and | |
573 | uinteger_pow functions so as to get full range of results. | |
574 | (integer_pow): New function. | |
575 | (uinteger_pow): New function. | |
576 | ||
d56d46f5 VP |
577 | 2008-01-30 Vladimir Prus <[email protected]> |
578 | ||
579 | Use vector for varobj_list_children interface. | |
580 | * gdb/varobj.c (varobj_list_children): Return vector | |
581 | of varobjs. | |
582 | * gdb/varobj.h (varobj_list_children): Adjust | |
583 | prototype. | |
584 | (varobj_p): Declare. Declare vector thereof. | |
585 | * mi/mi-cmd-var.c (mi_cmd_var_list_children): Adjust | |
586 | for varobj_list_children change. | |
587 | * Makefile.in (varobj_h): Update dependencies. | |
588 | ||
1300a2f4 TJB |
589 | 2008-01-30 Thiago Jung Bauermann <[email protected]> |
590 | ||
591 | * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Add support for | |
592 | TYPE_CODE_DECFLOAT arguments. | |
593 | (ppc64_sysv_abi_push_dummy_call) Likewise. | |
594 | (get_decimal_float_return_value): New function. | |
595 | (do_ppc_sysv_return_value): Add support for TYPE_CODE_DECFLOAT return | |
596 | values by calling get_decimal_float_return_value. | |
597 | (ppc64_sysv_abi_return_value): Likewise. | |
598 | ||
95ef687d NR |
599 | 2008-01-30 Nick Roberts <[email protected]> |
600 | ||
601 | * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_file): Add field | |
602 | for preprocessor macro information. Formatting changes. | |
603 | ||
2d717e4f DJ |
604 | 2008-01-29 Daniel Jacobowitz <[email protected]> |
605 | ||
606 | * remote.c (struct remote_state): Add cached_wait_status. | |
607 | (remote_exec_file): New variable. | |
608 | (PACKET_vAttach, PACKET_vRun): New constants. | |
609 | (extended_remote_restart): Do not query for status. | |
610 | (struct start_remote_args): New. | |
611 | (remote_start_remote): Take it as a second argument. Check | |
612 | whether the target is running. Issue an error for non-running | |
613 | non-extended targets. Cache the wait status. Set inferior_ptid | |
614 | here. | |
615 | (remote_open_1): Prompt to disconnect non-running targets. Make | |
616 | sure the target is marked running. Do not set inferior_ptid here. | |
617 | Update call to remote_start_remote. Do not call remote_check_symbols | |
618 | if the target is not running. | |
619 | (remote_detach_1): Rename from remote_detach. Take an EXTENDED | |
620 | argument. Handle a non-running target. | |
621 | (remote_detach): Use it. | |
622 | (extended_remote_detach): New. | |
623 | (remote_disconnect): Fix typo. Use remoute_mourn_1. | |
624 | (extended_remote_attach_1, extended_remote_attach) | |
625 | (extended_async_remote_attach): New. | |
626 | (remote_vcont_resume): Remove unused variable. | |
627 | (remote_wait, remote_async_wait): Use any cached wait status. | |
628 | (putpkt_binary, getpkt): Clear any cached wait status. | |
629 | (extended_remoute_mourn_1): New. | |
630 | (extended_remote_mourn): Use it. | |
631 | (extended_async_remote_mourn, extended_remote_run): New. | |
632 | (extended_remote_create_inferior_1): New. | |
633 | (extended_remote_create_inferior): Use it. | |
634 | (extended_remote_async_create_inferior): Likewise. | |
635 | (remote_xfer_partial): Skip for non-executing targets. | |
636 | (init_extended_remote_ops): Set to_detach and to_attach. | |
637 | (init_extended_async_remote_ops): Likewise. Use | |
638 | extended_async_remote_mourn. | |
639 | (_initialize_remote): Register vAttach, vRun, and | |
640 | set remote exec-file. | |
641 | * NEWS: Mention vAttach, vRun, and gdbserver extended-remote support. | |
642 | ||
e85a822c DJ |
643 | 2008-01-29 Daniel Jacobowitz <[email protected]> |
644 | ||
645 | * Makefile.in (symfile.o): Update. | |
646 | * NEWS: Mention exec tracing support. | |
647 | * inf-ttrace.c (inf_ttrace_wait): Return TARGET_WAITKIND_EXECD for | |
648 | exec events. | |
649 | * infcmd.c (kill_if_already_running, detach_command) | |
650 | (disconnect_command): Replace SOLIB_RESTART with no_shared_libraries. | |
651 | * infrun.c (MAY_FOLLOW_EXEC, may_follow_exec): Delete. | |
652 | (follow_exec): Do not check may_follow_exec. Do not mourn and push | |
653 | targets. Apply the sysroot path to the loaded executable. Use | |
654 | no_shared_libraries. | |
655 | * linux-nat.c (linux_child_follow_fork): Print fork following | |
656 | messages if verbose. | |
657 | (kill_wait_callback): Kill again before waiting a second time. | |
658 | * symfile.c (symbol_file_clear): Replace SOLIB_RESTART with | |
659 | no_shared_libraries. | |
660 | ||
9db13498 JB |
661 | 2008-01-29 Joel Brobecker <[email protected]> |
662 | ||
663 | * amd64-tdep.c (amd64_classify): Add handling of TYPE_CODE_CHAR. | |
664 | ||
b4d5ed91 JB |
665 | 2008-01-29 Joel Brobecker <[email protected]> |
666 | ||
667 | * nto-tdep.h: Remove #include "defs.h". | |
668 | * nto-tdep.c: Add #include "defs.h". | |
669 | * Makefile.in (nto_tdep_h): Update dependencies. | |
670 | (nto-tdep.o): Likewise. | |
671 | ||
107313f7 | 672 | 2008-01-29 Joel Brobecker <[email protected]> |
ae123ec6 JB |
673 | |
674 | * infrun.c (wait_for_inferior): Add treat_exec_as_sigtrap parameter | |
675 | and use it. | |
676 | (proceed, start_remote): Update call to wait_for_inferior. | |
677 | * inferior.h (wait_for_inferior): Update declaration. | |
678 | * fork-child.c, infcmd.c, solib-irix.c, solib-osf.c, solib-sunos.c, | |
679 | solib-svr4.c, win32-nat.c: Update calls to wait_for_inferior. | |
680 | * inf-ttrace.c (inf_ttrace_wait): Report TTEVT_EXEC events as | |
681 | TARGET_WAITKIND_EXECD instead of TARGET_WAITKIND_STOPPED. | |
682 | ||
3f4178d6 DJ |
683 | 2008-01-29 Aleksandar Ristovski <[email protected]> |
684 | ||
685 | * varobj (adjust_value_for_child_access): Added checking for | |
686 | returned value from gdb_value_ind. | |
687 | (c_describe_child): Likewise. | |
688 | (cplus_describe_child): Fixed a typo. | |
689 | ||
5eeba8d4 JB |
690 | 2008-01-29 Jim Blandy <[email protected]> |
691 | ||
692 | * MAINTAINERS: Update my info. | |
693 | ||
a5606eee VP |
694 | 2008-01-29 Vladimir Prus <[email protected]> |
695 | ||
696 | Use multiple locations for hardware watchpoints. | |
697 | This eliminates the need to traverse value chain, doing | |
698 | various checks, in three different places. | |
699 | ||
700 | * breakpoint.h (struct bp_location): New fields | |
701 | lengths and watchpoint_type. | |
702 | (struct breakpoint): Remove the val_chain field. | |
703 | * breakpoint.c (is_hardware_watchpoint): New. | |
704 | (free_valchain): Remove. | |
705 | (update_watchpoint): New. | |
706 | (insert_bp_location): For hardware watchpoint, just | |
707 | directly insert it. | |
708 | (insert_breakpoints): Call update_watchpoint_locations | |
709 | on all watchpoints. If we have failed to insert | |
710 | any location of a hardware watchpoint, remove all inserted | |
711 | locations. | |
712 | (remove_breakpoint): For hardware watchpoints, directly | |
713 | remove location. | |
714 | (watchpoints_triggered): Iterate over locations. | |
715 | (bpstat_stop_status): Use only first location of | |
716 | a resource watchpoint. | |
717 | (delete_breakpoint): Don't call free_valchain. | |
718 | (print_one_breakpoint): Don't print all | |
719 | locations for watchpoints. | |
720 | (breakpoint_re_set_one): Use update_watchpoint for | |
721 | watchpoints. | |
722 | ||
0b3de036 VP |
723 | 2008-01-29 Vladimir Prus <[email protected]> |
724 | ||
725 | Don't reset watchpoint block on solib load. | |
726 | ||
727 | * breakpoint.c (insert_bp_location): For watchpoints, | |
728 | recompute condition. | |
729 | (breakpoint_re_set_one): Instead of recomputing value | |
730 | and condition for watchpoints, just reset value and | |
731 | let insert_breakpoints/insert_bp_location recompute it. | |
732 | Don't do anything about disabled watchpoint. | |
733 | ||
c3940723 PM |
734 | 2008-01-29 Pierre Muller <[email protected]> |
735 | ||
736 | * valarith.c (value_binop): Handle unsigned integer | |
737 | division by zero. | |
738 | ||
83845630 KB |
739 | 2008-01-28 Kevin Buettner <[email protected]> |
740 | ||
741 | * mn10300-tdep.c (mn10300_analyze_prologue): Check for an | |
742 | instruction pattern that appears frequently in position | |
743 | independent code. Fix bug in code which looks for "fmov" and | |
744 | backtracks if no "fmov" is found. | |
745 | ||
9ce5d3bb DE |
746 | 2008-01-28 Doug Evans <[email protected]> |
747 | ||
748 | * dbxread.c (read_dbx_symtab): Fix indentation. | |
131fe1bb DE |
749 | Reformat comments to 80 columns. |
750 | Move local var def closer to only use. | |
9ce5d3bb | 751 | |
c78d192c DJ |
752 | 2008-01-28 Daniel Jacobowitz <[email protected]> |
753 | ||
754 | * fork-child.c (SHELL_FILE): Remove #ifndef. | |
755 | (fork_inferior): Remove SHELL_COMMAND_CONCAT. | |
756 | ||
e11481da PM |
757 | 2008-01-25 Pierre Muller <[email protected]> |
758 | ||
759 | * i386-tdep.c (i386_skip_noop): New function. | |
760 | (i386_analyze_prologue): Call i386_skip_noop function. | |
761 | ||
244e85c8 MS |
762 | 2008-01-24 Michael Snyder <[email protected]> |
763 | ||
764 | * procfs.c (procfs_xfer_partial): Comment, cut/paste error. | |
765 | * win32-nat.c (win32_xfer_partial): Ditto. | |
766 | * target.c (default_xfer_partial): Minor whitespace adjustment. | |
767 | ||
dd6be234 PA |
768 | 2008-01-24 Pedro Alves <[email protected]> |
769 | ||
770 | * arm-tdep.c (arm_addr_bits_remove): In non 26-bit mode, don't | |
771 | strip bit 1 even if pc doesn't point to thumb code. | |
772 | ||
9fa2223d DJ |
773 | 2008-01-23 Daniel Jacobowitz <[email protected]> |
774 | ||
775 | * remote.c (remote_wait): Handle SIGINT between packets. | |
776 | (remote_async_wait): Likewise. | |
777 | ||
93815fbf VP |
778 | 2008-01-23 Vladimir Prus <[email protected]> |
779 | Chris Demetriou <[email protected]> | |
780 | ||
781 | * thread.c (add_thread_silent): Renamed | |
782 | from add_thread. | |
783 | (print_thread_events): New variable definition. | |
784 | (show_print_thread_events): New function. | |
785 | (_initialize_thread): Add "set print thread-events" and | |
786 | "show print thread-events" commands. | |
787 | (add_thread): Announce new thread. | |
788 | * gdbthread.h (add_thread_silent): Declare. | |
789 | (print_thread_events): New variable declaration. | |
790 | * inf-ttrace.c (inf_ttrace_wait): Don't | |
791 | inform about new thread, as add_thread is always | |
792 | called too, and will take care of that. | |
793 | * infrun.c (handle_inferior_event): Likewise. | |
794 | * procfs.c (procfs_wait): Likewise. | |
795 | * remote.c (remote_currthread): Likewise. | |
796 | * sol-thread.c (sol_thread_wait): Likewise. | |
797 | * win32-nat.c (get_win32_debug_event): Likewise. | |
798 | * linux-thread-db.c (attach_thread): Likewise. | |
799 | Remove the verbose parameter. | |
800 | (check_event): Make detach_thread be verbose | |
801 | only if print_thread_events is set. | |
802 | * linux-nat.c (lin_lwp_attach_lwp): Don't inform | |
803 | about new thread. This is called only from | |
804 | linux-thread-db.c:attach_thread, which will take care. | |
805 | Remove the verbose parameter. | |
806 | * linux-nat.h (lin_lwp_attach_lwp): Adjust prototype. | |
807 | ||
b4d7c9a6 NR |
808 | 2008-01-23 Nick Roberts <[email protected]> |
809 | ||
810 | * mi/mi-cmd-var.c (mi_cmd_var_set_format): Add value field to output. | |
811 | ||
60c46647 VP |
812 | 2008-01-22 Vladimir Prus <[email protected]> |
813 | ||
814 | * breakpoint.c (break_command_really): New parameter | |
815 | ignore_count. | |
816 | (break_command_1): Pass 0 as | |
817 | ignore_count to break_command_really. | |
818 | (gdb_breakpoint): Pass ignore_count to | |
819 | break_command_really. | |
820 | ||
e84605cd KB |
821 | 2008-01-21 Kevin Buettner <[email protected]> |
822 | ||
823 | * mn10300-linux-tdep.c (am33_linux_sigframe_cache_init): Find | |
824 | sigcontext struct via pointer. | |
825 | (struct sigframe comment): Update to show new field `psc'. | |
826 | ||
9d9cd7ac VP |
827 | 2008-01-21 Vladimir Prus <[email protected]> |
828 | ||
829 | * infrun.c (handle_inferior_event): If | |
830 | we failed to remove breakpoints, error, | |
831 | don't try to increment PC by hand. | |
832 | ||
af5ca30d NH |
833 | 2008-01-18 Nick Hudson <[email protected]> |
834 | ||
835 | Add NetBSD/hppa target and host support. | |
836 | ||
837 | * hppabsd-tdep.c (hppabsd_supply_gregset): Move to ... | |
838 | (hppabsd_gregset): Move to ... | |
839 | (hppabsd_regset_from_core_section): Rename | |
840 | hppaobsd_regset_from_core_section and move to ... | |
841 | (hppabsd_find_global_pointer): Update comment. | |
842 | (hppabsd_init_abi): Make global. Do not register | |
843 | hppabsd_regset_from_core_section. | |
844 | (hppabsd_core_osabi_sniffer): Rename hppaobsd_core_osabi_sniffer and | |
845 | move to ... | |
846 | (_initialize_hppabsd_tdep): Move to ... | |
847 | * hppaobsd-tdep.c: ... here. New file. | |
848 | * hppnbsd-tdep.c: New file. | |
849 | * hppnbsd-nat.c: New file. | |
850 | * Makefile.in (ALL_TARGET_OBS): Add hppanbsd-tdep.o and hppaobsd-tdep.o. | |
851 | (ALLDEPFILES): Add hppabsd-nat.c and hppabsd-tdep.c. | |
852 | (hppabsd-nat.o, hppabsd-tdep.o): New dependencies. | |
853 | (hppabsd-tdep.o, hppaobsd-tdep.o): Update dependencies. | |
854 | * configure.host (hppa*-*-netbsd*): New entry. | |
855 | * configure.tgt (hppa*-*-netbsd*): New entry. | |
856 | (hppa*-*-openbsd*): Update. | |
857 | * NEWS (New native configuration): Mention NetBSD/hppa. | |
858 | (New targets): Mention NetBSD/hppa. | |
859 | ||
32c9a795 MD |
860 | 2008-01-18 Markus Deuling <[email protected]> |
861 | ||
862 | * gdbarch.sh (function_list): Add new property bits_big_endian to | |
863 | gdbarch structure. | |
864 | * gdbarch.{c,h}: Regenerate. | |
865 | ||
866 | * value.c (struct value): Replace BITS_BIG_ENDIAN by | |
867 | gdbarch_bits_big_endian (comment). | |
868 | (unpack_field_as_long, modify_field): Likewise. | |
869 | * value.h: Likewise (comment). | |
870 | * valops.c (value_slice): Likewise. | |
871 | * valarith.c (value_subscript, value_bit_index): Likewise. | |
872 | * gdbtypes.h (field): Likewise (comment). | |
873 | * eval.c (evaluate_subexp_standard): Likewise. | |
874 | * dwarf2read.c (dwarf2_add_field): Likewise. | |
875 | * ada-lang.c (decode_packed_array, ada_value_primitive_packed_val) | |
876 | (move_bits, ada_value_assign, value_assign_to_component): Likewise. | |
877 | ||
878 | * defs.h (BITS_BIG_ENDIAN): Remove. | |
879 | ||
1e5e79d0 MD |
880 | 2008-01-18 Markus Deuling <[email protected]> |
881 | ||
882 | * jv-exp.y (yylex): Replace DEPRECATED_STREQN with the appropriate | |
883 | function calls. | |
884 | * m2-exp.y (yylex): Likewise. | |
885 | * objc-exp.y (yylex): Likewise. | |
886 | ||
887 | * defs.h (DEPRECATED_STREQN): Remove. | |
888 | ||
fabda5a7 L |
889 | 2008-01-17 H.J. Lu <[email protected]> |
890 | ||
891 | * MAINTAINERS: Update my email address. | |
892 | ||
92726479 JB |
893 | 2008-01-17 Jim Blandy <[email protected]> |
894 | ||
895 | * README: Mention gdbserver/README. | |
896 | ||
ef80d18e PM |
897 | 2008-01-17 Pierre Muller <[email protected]> |
898 | ||
899 | * valarith.c (value_binop): Handle BINOP_INTDIV | |
900 | for unsigned and signed integers. | |
901 | ||
1de90795 UW |
902 | 2008-01-17 Ulrich Weigand <[email protected]> |
903 | ||
904 | * s390-tdep.c (s390_gdbarch_init): Set default long double | |
905 | type to 128-bit IEEE quad. | |
906 | ||
c70bd6f3 JB |
907 | 2008-01-17 Joel Brobecker <[email protected]> |
908 | ||
909 | * hpux-thread.c (hpux_thread_resume): Delete commented-out code. | |
910 | ||
ba759613 MK |
911 | 2008-01-16 Mark Kettenis <[email protected]> |
912 | ||
77d49ac6 MK |
913 | * auxv.c (fprint_target_auxv): Add support for AT_SUN_AUXFLAGS. |
914 | ||
ba759613 MK |
915 | * dfp.c, dfp.h: Rename decimal_to_double to decimal_to_doublest. |
916 | * value.c: All callers changed. | |
917 | ||
7ecb6532 MD |
918 | 2008-01-16 Markus Deuling <[email protected]> |
919 | ||
920 | * rs6000-nat.c (add_vmap, vmap_ldinfo, vmap_exec): Replace | |
921 | DEPRECATED_STREQ by its expression. | |
922 | * coffread.c (coff_locate_sections, coff_symtab_read): Likewise. | |
923 | * xcoffread.c (read_xcoff_symtab, read_symbol_lineno, find_linenos) | |
924 | (scan_xcoff_symtab): Likewise. | |
925 | * hppa-hpux-tdep.c (hppa_hpux_skip_trampoline_code): Likewise. | |
926 | * f-lang.c (find_common_for_function): Likewise. | |
927 | * objc-exp.y (parse_number): Likewise. | |
928 | ||
929 | * defs.h (DEPRECATED_STREQ): Remove. | |
930 | ||
d15cf01c MD |
931 | 2008-01-16 Markus Deuling <[email protected]> |
932 | ||
933 | * mn10300-tdep.h (AM33_MODE): Add gdbarch as parameter. | |
934 | * mn10300-tdep.c (set_reg_offsets, mn10300_analyze_prologue): Use | |
935 | get_frame_arch to get at the current_architecture. Update AM33_MODE | |
936 | call. | |
937 | (mn10300_analyze_prologue): Add gdbarch as parameter. Update caller. | |
938 | (mn10300_frame_unwind_cache): Use get_frame_arch to get at the current | |
939 | architecture. | |
940 | (set_reg_offsets, mn10300_analyze_prologue): Fix indentation. | |
941 | ||
f8028488 MD |
942 | 2008-01-16 Markus Deuling <[email protected]> |
943 | ||
944 | * amd64-nat.h (amd64_native_gregset_supplies_p): Add gdbarch as | |
945 | parameter. | |
946 | * amd64-nat.c (amd64_native_gregset_supplies_p): Likewise. | |
947 | ||
948 | (amd64_native_gregset_reg_offset): Add gdbarch as parameter. Replace | |
949 | current_gdbarch by gdbarch. Update caller. | |
950 | ||
951 | * amd64-linux-nat.c (amd64_linux_fetch_inferior_registers) | |
952 | (amd64_linux_store_inferior_registers): Use get_regcache_arch to get at | |
953 | the current architecture. Update calls of | |
954 | amd64_native_gregset_supplies_p. | |
955 | * amd64bsd-nat.c (amd64bsd_fetch_inferior_registers) | |
956 | (amd64bsd_store_inferior_registers): Likewise. | |
957 | ||
e101270f MD |
958 | 2008-01-16 Markus Deuling <[email protected]> |
959 | ||
960 | * ppc-linux-nat.c (ppc_register_u_addr): Add gdbarch as parameter. | |
961 | Replace current_gdbarch by gdbarch. Update caller. | |
962 | ||
063e58ba MD |
963 | 2008-01-16 Markus Deuling <[email protected]> |
964 | ||
965 | * dbxread.c (repeated_header_complaint, dbx_symfile_init) | |
966 | (read_dbx_dynamic_symtab, function_outside_compilation_unit_complaint) | |
967 | (read_dbx_symtab, end_psymtab, dbx_psymtab_to_symtab_1) | |
968 | (dbx_psymtab_to_symtab, read_ofile_symtab, process_one_symbol) | |
969 | (stabsect_build_psymtabs): Fix indentation. | |
970 | ||
662fb31b MS |
971 | 2008-01-15 Michael Snyder <[email protected]> |
972 | ||
973 | * corelow.c (core_xfer_partial): Comment, cut/paste error. | |
974 | ||
c1766e7d PM |
975 | 2008-01-14 Pierre Muller <[email protected]> |
976 | ||
977 | * win32-nat.c (win32_create_inferior): Restore code calling | |
978 | CloseHandle on ProcessInformation structure. | |
979 | ||
5ed10e6e NH |
980 | 2008-01-13 Nick Hudson <[email protected]> |
981 | ||
982 | * configure.ac: Check for void * as 3 argument of ptrace. | |
983 | * configure: regenerate. | |
984 | ||
be8626e0 MD |
985 | 2008-01-11 Markus Deuling <[email protected]> |
986 | ||
987 | * alpha-tdep.c (alpha_heuristic_proc_start) | |
988 | (alpha_sigtramp_register_address): Add gdbarch as parameter. Replace | |
989 | current_gdbarch by gdbarch. | |
990 | ||
991 | (alpha_heuristic_frame_unwind_cache): Use get_frame_arch to get at the | |
992 | current architecture by frame_info. Update alpha_heuristic_proc_start | |
993 | call. | |
994 | ||
995 | (alpha_sigtramp_frame_this_id, alpha_sigtramp_frame_prev_register): Use | |
996 | get_frame_arch to get at the current architecture by frame_info. Update | |
997 | alpha_sigtramp_register_address call. | |
998 | ||
999 | * arm-tdep.c (thumb_scan_prologue): Add gdbarch as parameter and replace | |
1000 | current_gdbarch by gdbarch. Update caller. | |
1001 | (convert_to_extended, convert_from_extended): Add endianess parameter | |
1002 | for comparison. Update caller. | |
1003 | (arm_extract_return_value, arm_store_return_value): Use | |
1004 | get_regcache_arch to get at the current architecture. | |
1005 | ||
1006 | * cris-tdep.c (cris_register_size): Add gdbarch as parameter. Replace | |
1007 | current_gdbarch by gdbarch. Update caller. | |
1008 | (cris_gdb_func, move_to_preg_op, none_reg_mode_move_from_preg_op): Add | |
1009 | gdbarch as parameter. Update caller. Replace current_gdbarch by gdbarch. | |
1010 | ||
1011 | * h8300-tdep.c (E_PSEUDO_CCR_REGNUM, E_PSEUDO_EXR_REGNUM, BINWORD): Add | |
1012 | gdbarch as parameter. Update caller. | |
1013 | (h8300_init_frame_cache): Add gdbarch as parameter. Replace | |
1014 | current_gdbarch by gdbarch. Update caller. | |
1015 | ||
1016 | * hppa-tdep.c (skip_prologue_hard_way): Add gdbarch as parameter and | |
1017 | update caller. Replace current_gdbarch by gdbarch. | |
1018 | ||
1019 | * m32c-tdep.c (m32c_skip_trampoline_code): Use get_frame_arch to get at | |
1020 | the current architecture. Replace current_gdbarch by gdbarch. | |
1021 | * m68hc11-tdep.c (m68hc11_frame_unwind_cache): Likewise. | |
1022 | (STACK_CORRECTION, USE_PAGE_REGISTER): Replace M6811_TDEP by its | |
1023 | expression. Add gdbarch as parameter and replace current_gdbarch with | |
1024 | it. Update caller. | |
1025 | (M6811_TDEP): Remove. | |
1026 | (m68hc11_frame_prev_register): Use get_frame_arch to get at the current | |
1027 | architecture. | |
1028 | (m68hc11_scan_prologue): Add gdbarch as parameter. Replace | |
1029 | current_gdbarch by gdbarch. Update caller. | |
1030 | ||
1031 | * m68k-tdep.c (m68k_analyze_prologue): Add gdbarch as parameter and | |
1032 | update caller. | |
1033 | (m68k_analyze_register_saves): Likewise. Also replace current_gdbarch | |
1034 | by gdbarch. | |
1035 | ||
1036 | * rs6000-tdep.c (skip_prologue): Add gdbarch as parameter and update | |
1037 | caller. Relace current_gdbarch by gdbarch. | |
1038 | (altivec_register_p, spe_register_p): Likewise. | |
1039 | * ppc-tdep.h (altivec_register_p, spe_register_p): Add gdbarch as | |
1040 | parameter. | |
1041 | * ppc-linux-nat.c (fetch_register, store_register): Update caller of | |
1042 | altivec_register_p and spe_register_p. | |
1043 | ||
1044 | * score-tdep.c (score_fetch_inst): Add gdbarch as parameter. Update | |
1045 | caller. Replace current_gdbarch by gdbarch. | |
1046 | (score_analyze_prologue): use get_frame_arch to get at the current | |
1047 | architecture. | |
1048 | ||
1049 | * sparc-tdep.h (sparc_analyze_prologue): Add gdbarch as parameter. | |
1050 | * sparc-tdep.c (sparc_analyze_prologue): Likewise. Replace | |
1051 | current_gdbarch by gdbarch. Update caller. | |
1052 | (sparc_frame_cache): Use get_frame_arch to get at the current | |
1053 | architecture. | |
1054 | * sparce64-tdep.c (sparc64_skip_prologue): Update call of | |
1055 | sparc_analyze_prologue. | |
1056 | ||
1057 | * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Add gdbarch as | |
1058 | parameter. | |
1059 | ||
ed49a04f MD |
1060 | 2008-01-11 Markus Deuling <[email protected]> |
1061 | ||
1062 | * exec.c: #include "arch-utils.h" | |
1063 | (print_section_info): Use gdbarch_from_bfd to get at the | |
1064 | current architecture. Replace current_gdbarch. Fix indention. Replace | |
1065 | deprecated_print_address_numeric by paddress. | |
1066 | * Makefile.in (exec.o) Add dependency to arch-utils.h. | |
1067 | ||
1068 | * valprint.c (val_print_string): Replace | |
1069 | deprecated_print_address_numeric. | |
1070 | * tracepoint.c (trace_mention, scope_info): Likewise. | |
1071 | * symmisc.c (dump_msymbols, dump_psymtab, dump_symtab_1, print_symbol) | |
1072 | (print_symbol, print_partial_symbols, maintenance_info_psymtabs) | |
1073 | (maintenance_check_symtabs): Likewise. | |
1074 | * symfile.c (list_overlays_command): Likewise. | |
1075 | * stack.c (frame_info, print_block_frame_labels): Likewise. | |
1076 | * printcmd.c (print_address, print_address_demangle) | |
1077 | (address_info): Likewise. | |
1078 | * corefile.c (memory_error): Likewise. | |
1079 | * infcmd.c (jump_command): Likewise. | |
1080 | * breakpoint.c (insert_bp_location, describe_other_breakpoints) | |
1081 | (mention, delete_breakpoint): Likewise. | |
1082 | * c-valprint.c (print_function_pointer_address, c_val_print): Likewise. | |
1083 | * dwarf2read.c (dump_die): Likewise. | |
1084 | * ada-valprint.c (ada_val_print_1): Likewise. | |
1085 | * f-valprint.c (f_val_print): Likewise. | |
1086 | * linux-fork.c (info_forks_command): Likewise. | |
1087 | * m32r-com.c (m32r_load_section, m32r_load) | |
1088 | (m32r_upload_command): Likewise. | |
1089 | ||
1090 | * ui-out.c (ui_out_field_core_addr): Remove unnecessary comment. | |
1091 | ||
6093d2eb MD |
1092 | 2008-01-11 Markus Deuling <[email protected]> |
1093 | ||
1094 | * gdbarch.sh (skip_prologue): Add gdbarch | |
1095 | as parameter. | |
1096 | * gdbarch.{c,h}: Regenerate. | |
1097 | ||
1098 | * alpha-tdep.c (alpha_skip_prologue): Add gdbarch as parameter. | |
1099 | * amd64-tdep.c (amd64_skip_prologue): Likewise. | |
1100 | * avr-tdep.c (avr_skip_prologue): Likewise. | |
1101 | * cris-tdep.c (cris_skip_prologue): Likewise. | |
1102 | * frv-tdep.c (frv_skip_prologue): Likewise. | |
1103 | * h8300-tdep.c (h8300_skip_prologue): Likewise. | |
1104 | * hppa-tdep.c (hppa_skip_prologue): Likewise. | |
1105 | * i386-tdep.c (i386_skip_prologue): Likewise. | |
1106 | * ia64-tdep.c (ia64_skip_prologue): Likewise. | |
1107 | * iq2000-tdep.c (iq2000_skip_prologue): Likewise. | |
1108 | * m32r-tdep.c (m32r_skip_prologue): Likewise. | |
1109 | * m68hc11-tdep.c (m68hc11_skip_prologue): Likewise. | |
1110 | * m68k-tdep.c (m68k_skip_prologue): Likewise. | |
1111 | * m88k-tdep.c (m88k_skip_prologue): Likewise. | |
1112 | * mep-tdep.c (mep_skip_prologue): Likewise. | |
1113 | * mips-tdep.c (mips_skip_prologue): Likewise. | |
1114 | * mn10300-tdep.c (mn10300_skip_prologue): Likewise. | |
1115 | * mt-tdep.c (mt_skip_prologue): Likewise. | |
1116 | * rs6000-tdep.c (rs6000_skip_prologue): Likewise. | |
1117 | * score-tdep.c (score_skip_prologue): Likewise. | |
1118 | * sh64-tdep.c (sh64_skip_prologue): Likewise. | |
1119 | * sh-tdep.c (sh_skip_prologue): Likewise. | |
1120 | * sparc64-tdep.c (sparc64_skip_prologue): Likewise. | |
1121 | * sparc-tdep.c (sparc32_skip_prologue): Likewise. | |
1122 | * spu-tdep.c (spu_skip_prologue): Likewise. | |
1123 | * v850-tdep.c (v850_skip_prologue): Likewise. | |
1124 | * vax-tdep.c (vax_skip_prologue): Likewise. | |
1125 | * xstormy16-tdep.c (xstormy16_skip_prologue): Likewise. | |
1126 | * xtensa-tdep.c (xtensa_skip_prologue): Likewise. | |
1127 | ||
1128 | * arm-tdep.c (arm_skip_prologue): Add gdbarch as parameter. Replace | |
1129 | current_gdbarch by gdbarch. | |
1130 | * m32c-tdep.c (m32c_skip_prologue): Likewise. | |
1131 | * s390-tdep.c (s390_skip_prologue): Likewise. | |
1132 | ||
72f5cf0e DE |
1133 | 2008-01-10 Doug Evans <[email protected]> |
1134 | ||
1135 | * defs.h (struct continuation_arg): Fix typo in comment. | |
1136 | * target.c (target_translate_tls_address): Fix comment spelling error. | |
1137 | ||
689e4e2d TJB |
1138 | 2008-01-09 Thiago Jung Bauermann <[email protected]> |
1139 | ||
1140 | * doublest.h (DOUBLEST_PRINT_FORMAT): Remove % from string. | |
1141 | (DOUBLEST_SCAN_FORMAT): Likewise. | |
1142 | * dfp.c (decimal_from_floating): Use DOUBLEST_PRINT_FORMAT. | |
1143 | * ada-lex.l (processReal): Prepend "%" to use of DOUBLEST_SCAN_FORMAT. | |
1144 | * c-exp.y (parse_number): Likewise. | |
1145 | * jv-exp.y (parse_number): Likewise. | |
1146 | * objc-exp.y (parse_number): Likewise. | |
1147 | * p-exp.y (parse_number): Likewise. | |
1148 | ||
ab0d6e0d JB |
1149 | 2008-01-09 Joel Brobecker <[email protected]> |
1150 | ||
1151 | * gdbtypes.c (create_array_type): Add handling of null Ada arrays. | |
1152 | (check_typedef): Likewise. | |
1153 | ||
0aea4bf3 LM |
1154 | 2008-01-09 Luis Machado <[email protected]> |
1155 | ||
1156 | * printcmd.c (printf_command): Add seen_big_h, seen_big_d and | |
1157 | seen_double_big_d, treat the new H, D, and DD modifiers as length | |
1158 | modifiers. | |
1159 | ||
137033e9 JB |
1160 | 2008-01-08 Joel Brobecker <[email protected]> |
1161 | ||
1162 | * dwarf2read.c (read_enumeration_type): Add comment. | |
1163 | ||
dda297ec TJB |
1164 | 2008-01-08 Thiago Jung Bauermann <[email protected]> |
1165 | ||
1166 | * config.in: Regenerate. | |
1167 | ||
a93c0eb6 JB |
1168 | 2008-01-08 Joel Brobecker <[email protected]> |
1169 | ||
1170 | * ada-lang.c (ada_convert_actual): Renames convert_actual. | |
1171 | Make non-static. | |
1172 | (ada_convert_actuals): Delete. | |
1173 | * ada-lang.h (ada_convert_actual): Add declaration. | |
1174 | (ada_convert_actuals): Remove declaration. | |
1175 | * infcall.c: #include "ada-lang.h". | |
1176 | (value_arg_coerce): Add new parameter sp. Update function | |
1177 | documetnation. Add handling of Ada function call parameters. | |
1178 | * Makefile.in (infcall.o): Update dependencies. | |
1179 | ||
a84a8a0d JB |
1180 | 2008-01-08 Paul Hilfinger <[email protected]> |
1181 | ||
1182 | * ada-lang.c (ensure_lval): Fix value lval kind. | |
1183 | (convert_actual): Add handling for arguments passed by reference. | |
1184 | ||
d7f98cce DE |
1185 | 2008-01-08 Doug Evans <[email protected]> |
1186 | ||
1187 | * dbxread.c (read_dbx_symtab): Fix indentation. | |
1188 | ||
4ef30785 TJB |
1189 | 2008-01-07 Thiago Jung Bauermann <[email protected]> |
1190 | ||
1191 | * Makefile.in (dfp.o): Depend on expression.h, gdbtypes.h and value.h. | |
1192 | (valarith.o): Depend on dfp.h. | |
1193 | (valops.o): Likewise. | |
1194 | * dfp.c: Include expression.h, gdbtypes.h, value.h and dfp.h. | |
1195 | (set_decnumber_context): New function. | |
1196 | (decimal_check_errors): Likewise. | |
1197 | (decimal_from_number): Likewise. | |
1198 | (decimal_to_number): Likewise. | |
1199 | (decimal_from_string): Use set_decnumber_context and | |
1200 | decimal_check_errors. | |
1201 | (decimal_from_integral): New function. | |
1202 | (decimal_from_floating): Likewise. | |
1203 | (decimal_to_double): Likewise. | |
1204 | (promote_decimal): Likewise. | |
1205 | (decimal_binop): Likewise. | |
1206 | (decimal_is_zero): Likewise. | |
1207 | (decimal_compare): Likewise. | |
1208 | (decimal_convert): Likewise. | |
1209 | * dfp.h (decimal_from_integral): New prototype. | |
1210 | (decimal_from_floating): Likewise. | |
1211 | (decimal_to_double): Likewise. | |
1212 | (decimal_binop): Likewise. | |
1213 | (decimal_is_zero): Likewise. | |
1214 | (decimal_compare): Likewise. | |
1215 | (decimal_convert): Likewise. | |
1216 | * eval.c (evaluate_subexp_standard): Remove expect_type argument from | |
1217 | call to value_from_decfloat. | |
1218 | * valarith.c: Include dfp.h. | |
1219 | (value_args_as_decimal): New function. | |
1220 | (value_binop): Add if block to handle TYPE_CODE_DECFLOAT values. | |
1221 | (value_logical_not): Likewise. | |
1222 | (value_equal): Likewise. | |
1223 | (value_less): Likewise. | |
1224 | (value_pos): Likewise. | |
1225 | (value_neg): Formatting fix. | |
1226 | * valops.c: Include dfp.h. | |
1227 | (value_cast): Add if block to handle TYPE_CODE_DECFLOAT values. | |
1228 | * value.c (unpack_long): Add case to handle TYPE_CODE_DECFLOAT. | |
1229 | (unpack_double): Add if block to handle TYPE_CODE_DECFLOAT. | |
1230 | (value_from_decfloat): Remove expect_type argument. | |
1231 | * value.h (value_from_decfloat): Update prototype. | |
1232 | ||
a7c02bc8 VP |
1233 | 2008-01-07 Vladimir Prus <[email protected]> |
1234 | ||
1235 | Ignore change in name of dynamic linker during | |
1236 | execution on Solaris. This also unbreaks pending breakpoints. | |
1237 | ||
1238 | * solist.h (struct target_so_ops): New field same. | |
1239 | * solib-svr4.c (svr4_same): New. | |
1240 | (_initialize_svr4_solib): Register svr4_same. | |
1241 | * solib.c (update_solib_list): Use ops->same, if available. | |
1242 | ||
610dd7f9 CF |
1243 | 2008-01-06 Christopher Faylor <[email protected]> |
1244 | ||
1245 | * win32-nat.c (win32_make_so): Use cygwin-style path to avoid warnings | |
1246 | when using MS-DOS paths. | |
1247 | ||
7a404eba PA |
1248 | 2008-01-05 Pedro Alves <[email protected]> |
1249 | ||
1250 | * NEWS: Mention --pid and --core command line behaviour changes. | |
1251 | ||
a4d9b460 PA |
1252 | 2008-01-05 Pedro Alves <[email protected]> |
1253 | ||
1254 | * main.c (captured_main): Remove 'count' varible and the | |
1255 | ALIGN_STACK_ON_ENTRY block that used it. Error out if --core and | |
1256 | --pid options were issued simultaneously. If an explicit pid | |
1257 | option was passed, don't fallback to core file. Detect extra | |
1258 | arguments better in the presence of explicit pid or core | |
1259 | arguments. | |
1260 | ||
0c281816 JB |
1261 | 2008-01-05 Joel Brobecker <[email protected]> |
1262 | ||
1263 | * ada-lang.c (ada_which_variant_applies): Correctly compute | |
1264 | the value of the discriminant when the variant record is packed. | |
1265 | ||
babe1480 JB |
1266 | 2008-01-04 Joel Brobecker <[email protected]> |
1267 | ||
1268 | * ada-lang.c (is_name_suffix): Handle middle-name numeric suffixes | |
1269 | that are used to differentiate homonyms. | |
1270 | ||
727e3d2e JB |
1271 | 2008-01-04 Jerome Guitton <[email protected]> |
1272 | ||
1273 | * ada-lang.c (decode_packed_array_type): Avoid a seg fault | |
1274 | when the type is an anonymous pointer type. | |
1275 | (ada_check_typedef): Avoid a seg fault when the type is null. | |
1276 | * ada-typeprint.c (print_array_type): Add support for pointer | |
1277 | to packed arrays. | |
1278 | ||
bb28a9dc JB |
1279 | 2008-01-04 Paul N. Hilfinger <[email protected]> |
1280 | ||
1281 | * ada-exp.y: Allow '{type} ADDRESS' notation on left of assignment. | |
1282 | ||
6799def4 JB |
1283 | 2008-01-04 Joel Brobecker <[email protected]> |
1284 | ||
1285 | * ada-lang.c (ada_evaluate_subexp): Evaluate tagged types in | |
1286 | EVAL_NORMAL mode when noside is EVAL_AVOID_SIDE_EFFECTS. | |
1287 | ||
d3353bbd JB |
1288 | 2008-01-04 Joel Brobecker <[email protected]> |
1289 | ||
1290 | * ada-exp.y (chop_separator): New function. | |
1291 | (write_selectors): Rewrite to re-use chop_separator. | |
1292 | (ada_nget_field_index, get_symbol_field_type): New functions. | |
1293 | (write_var_or_type): Add support for "ptype TYPENAME.FIELD" | |
1294 | expressions. | |
1295 | ||
82cf6c60 TJB |
1296 | 2008-01-03 Thiago Jung Bauermann <[email protected]> |
1297 | ||
1298 | * symtab.c (find_pc_sect_line): Use SYMBOL_VALUE_ADDRESS instead | |
1299 | of SYMBOL_VALUE when working with function symbols. | |
1300 | ||
b3dbf008 JB |
1301 | 2008-01-03 Joel Brobecker <[email protected]> |
1302 | ||
1303 | * ada-lang.c (resolve_subexp): Add handling of OP_REGISTER | |
1304 | expressions. These expressions do not need to be rewriten. | |
1305 | ||
02eb380e JB |
1306 | 2008-01-03 Joel Brobecker <[email protected]> |
1307 | ||
1308 | * dwarf2read.c (read_enumeration_type): Flag type as stub if | |
1309 | the given die is a declaration. | |
1310 | ||
abb68b3e JB |
1311 | 2008-01-03 Joel Brobecker <[email protected]> |
1312 | ||
1313 | * ada-lang.c (ada_array_bound_from_type): Make non-static. | |
1314 | Handle properly the case when the index type is an enumerated type. | |
1315 | Do not return the subtype of the bounds type, just return the | |
1316 | bounds type directly - this is not needed and is more consistent | |
1317 | with what we do for arrays when no XA parallel type exists. | |
1318 | ||
f192137b JB |
1319 | 2008-01-03 Joel Brobecker <[email protected]> |
1320 | ||
1321 | * ada-lang.c (static_unwrap_type): Add forward declaration. | |
1322 | (template_to_static_fixed_type): Fields of dynamic types sometimes | |
1323 | also need to be unwrapped. Take this into account. | |
1324 | (ada_to_fixed_type_1): Renamed from ada_to_fixed_type. | |
1325 | (ada_to_fixed_type): New wrapper around ada_to_fixed_type_1. | |
1326 | * ada-typeprint.c (ada_print_type): Get the typename from | |
1327 | the original type, not the base type. | |
1328 | ||
1ed6ede0 JB |
1329 | 2008-01-03 Jerome Guitton <[email protected]> |
1330 | ||
1331 | * ada-lang.c (ada_value_struct_elt, to_fixed_array_type) | |
1332 | (to_fixed_array_type, ada_to_fixed_value_create, unwrap_value): | |
1333 | Update calls to ada_to_fixed_type. | |
1334 | (ada_template_to_fixed_record_type_1): Ditto, but without looking | |
1335 | for the tag. | |
1336 | (ada_to_fixed_type): Add check_tag parameter; do not look for | |
1337 | tag if null. When looking for a tag, use a fixed record type. | |
1338 | * ada-lang.h (ada_to_fixed_type): Add check_tag parameter. | |
1339 | * ada-valprint.c (printable_val_type, ada_value_print): Update | |
1340 | calls to ada_to_fixed_type. | |
1341 | ||
542a88d0 LM |
1342 | 2008-01-03 Luis Machado <[email protected]> |
1343 | ||
1344 | * doublest.c (convert_floatformat_to_doublest): Call | |
1345 | floatformat_to_doublest instead of floatformat_to_double and use | |
1346 | DOUBLEST variables. | |
1347 | (convert_doublest_to_floatformat): Call floatformat_from_doublest | |
1348 | instead of floatformat_from_double and use DOUBLEST variables. | |
1349 | ||
dc2bbab2 NH |
1350 | 2008-01-03 Nick Hudson <[email protected]> |
1351 | ||
1352 | * MAINTAINERS (Write After Approval): Add self. | |
1353 | ||
8b60591b JB |
1354 | 2008-01-03 Joel Brobecker <[email protected]> |
1355 | ||
1356 | * symfile.c (set_initial_language): Make non-static. | |
1357 | * symfile.h (set_initial_language): Add declaration. | |
1358 | * language.c: #include "symfile.h". | |
1359 | (set_language): Call set_initial_language if the frame language | |
1360 | could not be determined. | |
1361 | ||
ceef53c1 JB |
1362 | 2008-01-03 Paul N. Hilfinger <[email protected]> |
1363 | ||
1364 | * eval.c (evaluate_subexp_for_address): Provide frame address to | |
1365 | locate_var_value only if it will be needed. | |
1366 | ||
ef29ce1a JK |
1367 | 2008-01-02 Jan Kratochvil <[email protected]> |
1368 | ||
1369 | * linux-nat.c (linux_child_follow_fork): Call also CHECK_FOR_THREAD_DB. | |
1370 | ||
0a07e705 JB |
1371 | 2008-01-02 Joel Brobecker <[email protected]> |
1372 | ||
1373 | * ada-lang.c (ada_evaluate_subexp): Modify the value returned | |
1374 | when noside is EVAL_AVOID_SIDE_EFFECTS to be an lval_memory. | |
1375 | This is needed to make sure that any other treatment applied | |
1376 | to the resulting value does not fail for spurious reason, | |
1377 | such as trying to take the address of this value. | |
1378 | ||
f58b38bf JB |
1379 | 2008-01-02 Joel Brobecker <[email protected]> |
1380 | ||
1381 | * ada-lang.c (ada_value_equal): Dereference reference types when | |
1382 | comparing arrays. | |
1383 | ||
9b254dd1 DJ |
1384 | 2008-01-01 Daniel Jacobowitz <[email protected]> |
1385 | ||
1386 | Updated copyright notices for most files. | |
1387 | ||
33605d39 CF |
1388 | 2008-01-01 Christopher Faylor <[email protected]> |
1389 | ||
1390 | * win32-nat.c (psapi_module_handle): Remove static. | |
1391 | (get_module_name): Rename from psapi_get_dll_name. Revamp slightly to | |
1392 | return first module found if base_address is zero. Don't initialize | |
1393 | psapi function pointers here. Convert to cygwin paths when | |
1394 | appropriate. | |
1395 | (win32_pid_to_exec_file): Use Cygwin's /proc interface to determine | |
1396 | executable name. Use get_module_name when that fails or when | |
1397 | !__CYGWIN__. | |
1398 | (_initialize_psapi): New function. Initialize psapi stuff before it is | |
1399 | needed or issue a warning if it is not found. Move psapi_module_handle | |
1400 | here. | |
1401 | ||
29480c32 JB |
1402 | 2008-01-01 Joel Brobecker <[email protected]> |
1403 | ||
1404 | * ada-lang.c (ada_remove_trailing_digits): New function. | |
1405 | (ada_remove_po_subprogram_suffix): New function. | |
1406 | (ada_decode): Improve. Move the description of the algorithm | |
1407 | directly inside the code, instead of in the function global | |
1408 | description. | |
1409 | ||
969a1360 JB |
1410 | 2008-01-01 Joel Brobecker <[email protected]> |
1411 | ||
1412 | * ada-valprint.c (ada_val_print_1) [TYPE_CODE_REF]: Ignore deref_ref | |
1413 | and always print the dereferenced value. | |
1414 | ||
b7789565 JB |
1415 | 2008-01-01 Joel Brobecker <[email protected]> |
1416 | ||
1417 | * ada-lang.c (ada_evaluate_subexp, case BINOP_SUB): Add handling | |
1418 | of the case where the first argument is a reference. | |
1419 | (ada_evaluate_subexp, case BINOP_ADD): Likewise. | |
1420 | ||
73fb9985 JB |
1421 | 2008-01-01 Joel Brobecker <[email protected]> |
1422 | ||
1423 | Implement support for Ada interface types. | |
1424 | ||
1425 | * ada-lang.c (ada_is_dispatch_table_ptr_type): New function. | |
1426 | (ada_is_ignored_field): Ignore fields that are a dispatch table | |
1427 | of a tagged type. | |
1428 | ||
636265b6 JB |
1429 | 2008-01-01 Joel Brobecker <[email protected]> |
1430 | ||
1431 | * top.c (print_gdb_version): Update copyright year. | |
1432 | ||
9d200a2e | 1433 | 2008-01-01 Joel Brobecker <[email protected]> |
b7589f7d | 1434 | |
9d200a2e JB |
1435 | * ChangeLog-2007: New ChangeLog rotation. |
1436 | * ChangeLog: Reset for 2008. | |
1437 | * config/djgpp/fnchange.lst: Add entries for ChangeLog-2006 and | |
1438 | ChangeLog-2007. | |
b7589f7d | 1439 | |
9d200a2e | 1440 | For older changes see ChangeLog-2007. |
c906108c SS |
1441 | \f |
1442 | Local Variables: | |
1443 | mode: change-log | |
1444 | left-margin: 8 | |
1445 | fill-column: 74 | |
1446 | version-control: never | |
57da7796 | 1447 | coding: utf-8 |
c906108c | 1448 | End: |