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