Commit | Line | Data |
---|---|---|
af5ca30d NH |
1 | 2008-01-18 Nick Hudson <nick.hudson@dsl.pipex.com> |
2 | ||
3 | Add NetBSD/hppa target and host support. | |
4 | ||
5 | * hppabsd-tdep.c (hppabsd_supply_gregset): Move to ... | |
6 | (hppabsd_gregset): Move to ... | |
7 | (hppabsd_regset_from_core_section): Rename | |
8 | hppaobsd_regset_from_core_section and move to ... | |
9 | (hppabsd_find_global_pointer): Update comment. | |
10 | (hppabsd_init_abi): Make global. Do not register | |
11 | hppabsd_regset_from_core_section. | |
12 | (hppabsd_core_osabi_sniffer): Rename hppaobsd_core_osabi_sniffer and | |
13 | move to ... | |
14 | (_initialize_hppabsd_tdep): Move to ... | |
15 | * hppaobsd-tdep.c: ... here. New file. | |
16 | * hppnbsd-tdep.c: New file. | |
17 | * hppnbsd-nat.c: New file. | |
18 | * Makefile.in (ALL_TARGET_OBS): Add hppanbsd-tdep.o and hppaobsd-tdep.o. | |
19 | (ALLDEPFILES): Add hppabsd-nat.c and hppabsd-tdep.c. | |
20 | (hppabsd-nat.o, hppabsd-tdep.o): New dependencies. | |
21 | (hppabsd-tdep.o, hppaobsd-tdep.o): Update dependencies. | |
22 | * configure.host (hppa*-*-netbsd*): New entry. | |
23 | * configure.tgt (hppa*-*-netbsd*): New entry. | |
24 | (hppa*-*-openbsd*): Update. | |
25 | * NEWS (New native configuration): Mention NetBSD/hppa. | |
26 | (New targets): Mention NetBSD/hppa. | |
27 | ||
32c9a795 MD |
28 | 2008-01-18 Markus Deuling <deuling@de.ibm.com> |
29 | ||
30 | * gdbarch.sh (function_list): Add new property bits_big_endian to | |
31 | gdbarch structure. | |
32 | * gdbarch.{c,h}: Regenerate. | |
33 | ||
34 | * value.c (struct value): Replace BITS_BIG_ENDIAN by | |
35 | gdbarch_bits_big_endian (comment). | |
36 | (unpack_field_as_long, modify_field): Likewise. | |
37 | * value.h: Likewise (comment). | |
38 | * valops.c (value_slice): Likewise. | |
39 | * valarith.c (value_subscript, value_bit_index): Likewise. | |
40 | * gdbtypes.h (field): Likewise (comment). | |
41 | * eval.c (evaluate_subexp_standard): Likewise. | |
42 | * dwarf2read.c (dwarf2_add_field): Likewise. | |
43 | * ada-lang.c (decode_packed_array, ada_value_primitive_packed_val) | |
44 | (move_bits, ada_value_assign, value_assign_to_component): Likewise. | |
45 | ||
46 | * defs.h (BITS_BIG_ENDIAN): Remove. | |
47 | ||
1e5e79d0 MD |
48 | 2008-01-18 Markus Deuling <deuling@de.ibm.com> |
49 | ||
50 | * jv-exp.y (yylex): Replace DEPRECATED_STREQN with the appropriate | |
51 | function calls. | |
52 | * m2-exp.y (yylex): Likewise. | |
53 | * objc-exp.y (yylex): Likewise. | |
54 | ||
55 | * defs.h (DEPRECATED_STREQN): Remove. | |
56 | ||
fabda5a7 L |
57 | 2008-01-17 H.J. Lu <hjl.tools@gmail.com> |
58 | ||
59 | * MAINTAINERS: Update my email address. | |
60 | ||
92726479 JB |
61 | 2008-01-17 Jim Blandy <jimb@codesourcery.com> |
62 | ||
63 | * README: Mention gdbserver/README. | |
64 | ||
ef80d18e PM |
65 | 2008-01-17 Pierre Muller <muller@ics.u-strasbg.fr> |
66 | ||
67 | * valarith.c (value_binop): Handle BINOP_INTDIV | |
68 | for unsigned and signed integers. | |
69 | ||
1de90795 UW |
70 | 2008-01-17 Ulrich Weigand <uweigand@de.ibm.com> |
71 | ||
72 | * s390-tdep.c (s390_gdbarch_init): Set default long double | |
73 | type to 128-bit IEEE quad. | |
74 | ||
c70bd6f3 JB |
75 | 2008-01-17 Joel Brobecker <brobecker@adacore.com> |
76 | ||
77 | * hpux-thread.c (hpux_thread_resume): Delete commented-out code. | |
78 | ||
ba759613 MK |
79 | 2008-01-16 Mark Kettenis <kettenis@gnu.org> |
80 | ||
77d49ac6 MK |
81 | * auxv.c (fprint_target_auxv): Add support for AT_SUN_AUXFLAGS. |
82 | ||
ba759613 MK |
83 | * dfp.c, dfp.h: Rename decimal_to_double to decimal_to_doublest. |
84 | * value.c: All callers changed. | |
85 | ||
7ecb6532 MD |
86 | 2008-01-16 Markus Deuling <deuling@de.ibm.com> |
87 | ||
88 | * rs6000-nat.c (add_vmap, vmap_ldinfo, vmap_exec): Replace | |
89 | DEPRECATED_STREQ by its expression. | |
90 | * coffread.c (coff_locate_sections, coff_symtab_read): Likewise. | |
91 | * xcoffread.c (read_xcoff_symtab, read_symbol_lineno, find_linenos) | |
92 | (scan_xcoff_symtab): Likewise. | |
93 | * hppa-hpux-tdep.c (hppa_hpux_skip_trampoline_code): Likewise. | |
94 | * f-lang.c (find_common_for_function): Likewise. | |
95 | * objc-exp.y (parse_number): Likewise. | |
96 | ||
97 | * defs.h (DEPRECATED_STREQ): Remove. | |
98 | ||
d15cf01c MD |
99 | 2008-01-16 Markus Deuling <deuling@de.ibm.com> |
100 | ||
101 | * mn10300-tdep.h (AM33_MODE): Add gdbarch as parameter. | |
102 | * mn10300-tdep.c (set_reg_offsets, mn10300_analyze_prologue): Use | |
103 | get_frame_arch to get at the current_architecture. Update AM33_MODE | |
104 | call. | |
105 | (mn10300_analyze_prologue): Add gdbarch as parameter. Update caller. | |
106 | (mn10300_frame_unwind_cache): Use get_frame_arch to get at the current | |
107 | architecture. | |
108 | (set_reg_offsets, mn10300_analyze_prologue): Fix indentation. | |
109 | ||
f8028488 MD |
110 | 2008-01-16 Markus Deuling <deuling@de.ibm.com> |
111 | ||
112 | * amd64-nat.h (amd64_native_gregset_supplies_p): Add gdbarch as | |
113 | parameter. | |
114 | * amd64-nat.c (amd64_native_gregset_supplies_p): Likewise. | |
115 | ||
116 | (amd64_native_gregset_reg_offset): Add gdbarch as parameter. Replace | |
117 | current_gdbarch by gdbarch. Update caller. | |
118 | ||
119 | * amd64-linux-nat.c (amd64_linux_fetch_inferior_registers) | |
120 | (amd64_linux_store_inferior_registers): Use get_regcache_arch to get at | |
121 | the current architecture. Update calls of | |
122 | amd64_native_gregset_supplies_p. | |
123 | * amd64bsd-nat.c (amd64bsd_fetch_inferior_registers) | |
124 | (amd64bsd_store_inferior_registers): Likewise. | |
125 | ||
e101270f MD |
126 | 2008-01-16 Markus Deuling <deuling@de.ibm.com> |
127 | ||
128 | * ppc-linux-nat.c (ppc_register_u_addr): Add gdbarch as parameter. | |
129 | Replace current_gdbarch by gdbarch. Update caller. | |
130 | ||
063e58ba MD |
131 | 2008-01-16 Markus Deuling <deuling@de.ibm.com> |
132 | ||
133 | * dbxread.c (repeated_header_complaint, dbx_symfile_init) | |
134 | (read_dbx_dynamic_symtab, function_outside_compilation_unit_complaint) | |
135 | (read_dbx_symtab, end_psymtab, dbx_psymtab_to_symtab_1) | |
136 | (dbx_psymtab_to_symtab, read_ofile_symtab, process_one_symbol) | |
137 | (stabsect_build_psymtabs): Fix indentation. | |
138 | ||
662fb31b MS |
139 | 2008-01-15 Michael Snyder <msnyder@specifix.com> |
140 | ||
141 | * corelow.c (core_xfer_partial): Comment, cut/paste error. | |
142 | ||
c1766e7d PM |
143 | 2008-01-14 Pierre Muller <muller@ics.u-strasbg.fr> |
144 | ||
145 | * win32-nat.c (win32_create_inferior): Restore code calling | |
146 | CloseHandle on ProcessInformation structure. | |
147 | ||
5ed10e6e NH |
148 | 2008-01-13 Nick Hudson <nick.hudson@dsl.pipex.com> |
149 | ||
150 | * configure.ac: Check for void * as 3 argument of ptrace. | |
151 | * configure: regenerate. | |
152 | ||
be8626e0 MD |
153 | 2008-01-11 Markus Deuling <deuling@de.ibm.com> |
154 | ||
155 | * alpha-tdep.c (alpha_heuristic_proc_start) | |
156 | (alpha_sigtramp_register_address): Add gdbarch as parameter. Replace | |
157 | current_gdbarch by gdbarch. | |
158 | ||
159 | (alpha_heuristic_frame_unwind_cache): Use get_frame_arch to get at the | |
160 | current architecture by frame_info. Update alpha_heuristic_proc_start | |
161 | call. | |
162 | ||
163 | (alpha_sigtramp_frame_this_id, alpha_sigtramp_frame_prev_register): Use | |
164 | get_frame_arch to get at the current architecture by frame_info. Update | |
165 | alpha_sigtramp_register_address call. | |
166 | ||
167 | * arm-tdep.c (thumb_scan_prologue): Add gdbarch as parameter and replace | |
168 | current_gdbarch by gdbarch. Update caller. | |
169 | (convert_to_extended, convert_from_extended): Add endianess parameter | |
170 | for comparison. Update caller. | |
171 | (arm_extract_return_value, arm_store_return_value): Use | |
172 | get_regcache_arch to get at the current architecture. | |
173 | ||
174 | * cris-tdep.c (cris_register_size): Add gdbarch as parameter. Replace | |
175 | current_gdbarch by gdbarch. Update caller. | |
176 | (cris_gdb_func, move_to_preg_op, none_reg_mode_move_from_preg_op): Add | |
177 | gdbarch as parameter. Update caller. Replace current_gdbarch by gdbarch. | |
178 | ||
179 | * h8300-tdep.c (E_PSEUDO_CCR_REGNUM, E_PSEUDO_EXR_REGNUM, BINWORD): Add | |
180 | gdbarch as parameter. Update caller. | |
181 | (h8300_init_frame_cache): Add gdbarch as parameter. Replace | |
182 | current_gdbarch by gdbarch. Update caller. | |
183 | ||
184 | * hppa-tdep.c (skip_prologue_hard_way): Add gdbarch as parameter and | |
185 | update caller. Replace current_gdbarch by gdbarch. | |
186 | ||
187 | * m32c-tdep.c (m32c_skip_trampoline_code): Use get_frame_arch to get at | |
188 | the current architecture. Replace current_gdbarch by gdbarch. | |
189 | * m68hc11-tdep.c (m68hc11_frame_unwind_cache): Likewise. | |
190 | (STACK_CORRECTION, USE_PAGE_REGISTER): Replace M6811_TDEP by its | |
191 | expression. Add gdbarch as parameter and replace current_gdbarch with | |
192 | it. Update caller. | |
193 | (M6811_TDEP): Remove. | |
194 | (m68hc11_frame_prev_register): Use get_frame_arch to get at the current | |
195 | architecture. | |
196 | (m68hc11_scan_prologue): Add gdbarch as parameter. Replace | |
197 | current_gdbarch by gdbarch. Update caller. | |
198 | ||
199 | * m68k-tdep.c (m68k_analyze_prologue): Add gdbarch as parameter and | |
200 | update caller. | |
201 | (m68k_analyze_register_saves): Likewise. Also replace current_gdbarch | |
202 | by gdbarch. | |
203 | ||
204 | * rs6000-tdep.c (skip_prologue): Add gdbarch as parameter and update | |
205 | caller. Relace current_gdbarch by gdbarch. | |
206 | (altivec_register_p, spe_register_p): Likewise. | |
207 | * ppc-tdep.h (altivec_register_p, spe_register_p): Add gdbarch as | |
208 | parameter. | |
209 | * ppc-linux-nat.c (fetch_register, store_register): Update caller of | |
210 | altivec_register_p and spe_register_p. | |
211 | ||
212 | * score-tdep.c (score_fetch_inst): Add gdbarch as parameter. Update | |
213 | caller. Replace current_gdbarch by gdbarch. | |
214 | (score_analyze_prologue): use get_frame_arch to get at the current | |
215 | architecture. | |
216 | ||
217 | * sparc-tdep.h (sparc_analyze_prologue): Add gdbarch as parameter. | |
218 | * sparc-tdep.c (sparc_analyze_prologue): Likewise. Replace | |
219 | current_gdbarch by gdbarch. Update caller. | |
220 | (sparc_frame_cache): Use get_frame_arch to get at the current | |
221 | architecture. | |
222 | * sparce64-tdep.c (sparc64_skip_prologue): Update call of | |
223 | sparc_analyze_prologue. | |
224 | ||
225 | * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Add gdbarch as | |
226 | parameter. | |
227 | ||
ed49a04f MD |
228 | 2008-01-11 Markus Deuling <deuling@de.ibm.com> |
229 | ||
230 | * exec.c: #include "arch-utils.h" | |
231 | (print_section_info): Use gdbarch_from_bfd to get at the | |
232 | current architecture. Replace current_gdbarch. Fix indention. Replace | |
233 | deprecated_print_address_numeric by paddress. | |
234 | * Makefile.in (exec.o) Add dependency to arch-utils.h. | |
235 | ||
236 | * valprint.c (val_print_string): Replace | |
237 | deprecated_print_address_numeric. | |
238 | * tracepoint.c (trace_mention, scope_info): Likewise. | |
239 | * symmisc.c (dump_msymbols, dump_psymtab, dump_symtab_1, print_symbol) | |
240 | (print_symbol, print_partial_symbols, maintenance_info_psymtabs) | |
241 | (maintenance_check_symtabs): Likewise. | |
242 | * symfile.c (list_overlays_command): Likewise. | |
243 | * stack.c (frame_info, print_block_frame_labels): Likewise. | |
244 | * printcmd.c (print_address, print_address_demangle) | |
245 | (address_info): Likewise. | |
246 | * corefile.c (memory_error): Likewise. | |
247 | * infcmd.c (jump_command): Likewise. | |
248 | * breakpoint.c (insert_bp_location, describe_other_breakpoints) | |
249 | (mention, delete_breakpoint): Likewise. | |
250 | * c-valprint.c (print_function_pointer_address, c_val_print): Likewise. | |
251 | * dwarf2read.c (dump_die): Likewise. | |
252 | * ada-valprint.c (ada_val_print_1): Likewise. | |
253 | * f-valprint.c (f_val_print): Likewise. | |
254 | * linux-fork.c (info_forks_command): Likewise. | |
255 | * m32r-com.c (m32r_load_section, m32r_load) | |
256 | (m32r_upload_command): Likewise. | |
257 | ||
258 | * ui-out.c (ui_out_field_core_addr): Remove unnecessary comment. | |
259 | ||
6093d2eb MD |
260 | 2008-01-11 Markus Deuling <deuling@de.ibm.com> |
261 | ||
262 | * gdbarch.sh (skip_prologue): Add gdbarch | |
263 | as parameter. | |
264 | * gdbarch.{c,h}: Regenerate. | |
265 | ||
266 | * alpha-tdep.c (alpha_skip_prologue): Add gdbarch as parameter. | |
267 | * amd64-tdep.c (amd64_skip_prologue): Likewise. | |
268 | * avr-tdep.c (avr_skip_prologue): Likewise. | |
269 | * cris-tdep.c (cris_skip_prologue): Likewise. | |
270 | * frv-tdep.c (frv_skip_prologue): Likewise. | |
271 | * h8300-tdep.c (h8300_skip_prologue): Likewise. | |
272 | * hppa-tdep.c (hppa_skip_prologue): Likewise. | |
273 | * i386-tdep.c (i386_skip_prologue): Likewise. | |
274 | * ia64-tdep.c (ia64_skip_prologue): Likewise. | |
275 | * iq2000-tdep.c (iq2000_skip_prologue): Likewise. | |
276 | * m32r-tdep.c (m32r_skip_prologue): Likewise. | |
277 | * m68hc11-tdep.c (m68hc11_skip_prologue): Likewise. | |
278 | * m68k-tdep.c (m68k_skip_prologue): Likewise. | |
279 | * m88k-tdep.c (m88k_skip_prologue): Likewise. | |
280 | * mep-tdep.c (mep_skip_prologue): Likewise. | |
281 | * mips-tdep.c (mips_skip_prologue): Likewise. | |
282 | * mn10300-tdep.c (mn10300_skip_prologue): Likewise. | |
283 | * mt-tdep.c (mt_skip_prologue): Likewise. | |
284 | * rs6000-tdep.c (rs6000_skip_prologue): Likewise. | |
285 | * score-tdep.c (score_skip_prologue): Likewise. | |
286 | * sh64-tdep.c (sh64_skip_prologue): Likewise. | |
287 | * sh-tdep.c (sh_skip_prologue): Likewise. | |
288 | * sparc64-tdep.c (sparc64_skip_prologue): Likewise. | |
289 | * sparc-tdep.c (sparc32_skip_prologue): Likewise. | |
290 | * spu-tdep.c (spu_skip_prologue): Likewise. | |
291 | * v850-tdep.c (v850_skip_prologue): Likewise. | |
292 | * vax-tdep.c (vax_skip_prologue): Likewise. | |
293 | * xstormy16-tdep.c (xstormy16_skip_prologue): Likewise. | |
294 | * xtensa-tdep.c (xtensa_skip_prologue): Likewise. | |
295 | ||
296 | * arm-tdep.c (arm_skip_prologue): Add gdbarch as parameter. Replace | |
297 | current_gdbarch by gdbarch. | |
298 | * m32c-tdep.c (m32c_skip_prologue): Likewise. | |
299 | * s390-tdep.c (s390_skip_prologue): Likewise. | |
300 | ||
72f5cf0e DE |
301 | 2008-01-10 Doug Evans <dje@google.com> |
302 | ||
303 | * defs.h (struct continuation_arg): Fix typo in comment. | |
304 | * target.c (target_translate_tls_address): Fix comment spelling error. | |
305 | ||
689e4e2d TJB |
306 | 2008-01-09 Thiago Jung Bauermann <bauerman@br.ibm.com> |
307 | ||
308 | * doublest.h (DOUBLEST_PRINT_FORMAT): Remove % from string. | |
309 | (DOUBLEST_SCAN_FORMAT): Likewise. | |
310 | * dfp.c (decimal_from_floating): Use DOUBLEST_PRINT_FORMAT. | |
311 | * ada-lex.l (processReal): Prepend "%" to use of DOUBLEST_SCAN_FORMAT. | |
312 | * c-exp.y (parse_number): Likewise. | |
313 | * jv-exp.y (parse_number): Likewise. | |
314 | * objc-exp.y (parse_number): Likewise. | |
315 | * p-exp.y (parse_number): Likewise. | |
316 | ||
ab0d6e0d JB |
317 | 2008-01-09 Joel Brobecker <brobecker@adacore.com> |
318 | ||
319 | * gdbtypes.c (create_array_type): Add handling of null Ada arrays. | |
320 | (check_typedef): Likewise. | |
321 | ||
0aea4bf3 LM |
322 | 2008-01-09 Luis Machado <luisgpm@br.ibm.com> |
323 | ||
324 | * printcmd.c (printf_command): Add seen_big_h, seen_big_d and | |
325 | seen_double_big_d, treat the new H, D, and DD modifiers as length | |
326 | modifiers. | |
327 | ||
137033e9 JB |
328 | 2008-01-08 Joel Brobecker <brobecker@adacore.com> |
329 | ||
330 | * dwarf2read.c (read_enumeration_type): Add comment. | |
331 | ||
dda297ec TJB |
332 | 2008-01-08 Thiago Jung Bauermann <bauerman@br.ibm.com> |
333 | ||
334 | * config.in: Regenerate. | |
335 | ||
a93c0eb6 JB |
336 | 2008-01-08 Joel Brobecker <brobecker@adacore.com> |
337 | ||
338 | * ada-lang.c (ada_convert_actual): Renames convert_actual. | |
339 | Make non-static. | |
340 | (ada_convert_actuals): Delete. | |
341 | * ada-lang.h (ada_convert_actual): Add declaration. | |
342 | (ada_convert_actuals): Remove declaration. | |
343 | * infcall.c: #include "ada-lang.h". | |
344 | (value_arg_coerce): Add new parameter sp. Update function | |
345 | documetnation. Add handling of Ada function call parameters. | |
346 | * Makefile.in (infcall.o): Update dependencies. | |
347 | ||
a84a8a0d JB |
348 | 2008-01-08 Paul Hilfinger <hilfinger@adacore.com> |
349 | ||
350 | * ada-lang.c (ensure_lval): Fix value lval kind. | |
351 | (convert_actual): Add handling for arguments passed by reference. | |
352 | ||
d7f98cce DE |
353 | 2008-01-08 Doug Evans <dje@google.com> |
354 | ||
355 | * dbxread.c (read_dbx_symtab): Fix indentation. | |
356 | ||
4ef30785 TJB |
357 | 2008-01-07 Thiago Jung Bauermann <bauerman@br.ibm.com> |
358 | ||
359 | * Makefile.in (dfp.o): Depend on expression.h, gdbtypes.h and value.h. | |
360 | (valarith.o): Depend on dfp.h. | |
361 | (valops.o): Likewise. | |
362 | * dfp.c: Include expression.h, gdbtypes.h, value.h and dfp.h. | |
363 | (set_decnumber_context): New function. | |
364 | (decimal_check_errors): Likewise. | |
365 | (decimal_from_number): Likewise. | |
366 | (decimal_to_number): Likewise. | |
367 | (decimal_from_string): Use set_decnumber_context and | |
368 | decimal_check_errors. | |
369 | (decimal_from_integral): New function. | |
370 | (decimal_from_floating): Likewise. | |
371 | (decimal_to_double): Likewise. | |
372 | (promote_decimal): Likewise. | |
373 | (decimal_binop): Likewise. | |
374 | (decimal_is_zero): Likewise. | |
375 | (decimal_compare): Likewise. | |
376 | (decimal_convert): Likewise. | |
377 | * dfp.h (decimal_from_integral): New prototype. | |
378 | (decimal_from_floating): Likewise. | |
379 | (decimal_to_double): Likewise. | |
380 | (decimal_binop): Likewise. | |
381 | (decimal_is_zero): Likewise. | |
382 | (decimal_compare): Likewise. | |
383 | (decimal_convert): Likewise. | |
384 | * eval.c (evaluate_subexp_standard): Remove expect_type argument from | |
385 | call to value_from_decfloat. | |
386 | * valarith.c: Include dfp.h. | |
387 | (value_args_as_decimal): New function. | |
388 | (value_binop): Add if block to handle TYPE_CODE_DECFLOAT values. | |
389 | (value_logical_not): Likewise. | |
390 | (value_equal): Likewise. | |
391 | (value_less): Likewise. | |
392 | (value_pos): Likewise. | |
393 | (value_neg): Formatting fix. | |
394 | * valops.c: Include dfp.h. | |
395 | (value_cast): Add if block to handle TYPE_CODE_DECFLOAT values. | |
396 | * value.c (unpack_long): Add case to handle TYPE_CODE_DECFLOAT. | |
397 | (unpack_double): Add if block to handle TYPE_CODE_DECFLOAT. | |
398 | (value_from_decfloat): Remove expect_type argument. | |
399 | * value.h (value_from_decfloat): Update prototype. | |
400 | ||
a7c02bc8 VP |
401 | 2008-01-07 Vladimir Prus <vladimir@codesourcery.com> |
402 | ||
403 | Ignore change in name of dynamic linker during | |
404 | execution on Solaris. This also unbreaks pending breakpoints. | |
405 | ||
406 | * solist.h (struct target_so_ops): New field same. | |
407 | * solib-svr4.c (svr4_same): New. | |
408 | (_initialize_svr4_solib): Register svr4_same. | |
409 | * solib.c (update_solib_list): Use ops->same, if available. | |
410 | ||
610dd7f9 CF |
411 | 2008-01-06 Christopher Faylor <me+cygwin@cgf.cx> |
412 | ||
413 | * win32-nat.c (win32_make_so): Use cygwin-style path to avoid warnings | |
414 | when using MS-DOS paths. | |
415 | ||
7a404eba PA |
416 | 2008-01-05 Pedro Alves <pedro@codesourcery.com> |
417 | ||
418 | * NEWS: Mention --pid and --core command line behaviour changes. | |
419 | ||
a4d9b460 PA |
420 | 2008-01-05 Pedro Alves <pedro@codesourcery.com> |
421 | ||
422 | * main.c (captured_main): Remove 'count' varible and the | |
423 | ALIGN_STACK_ON_ENTRY block that used it. Error out if --core and | |
424 | --pid options were issued simultaneously. If an explicit pid | |
425 | option was passed, don't fallback to core file. Detect extra | |
426 | arguments better in the presence of explicit pid or core | |
427 | arguments. | |
428 | ||
0c281816 JB |
429 | 2008-01-05 Joel Brobecker <brobecker@adacore.com> |
430 | ||
431 | * ada-lang.c (ada_which_variant_applies): Correctly compute | |
432 | the value of the discriminant when the variant record is packed. | |
433 | ||
babe1480 JB |
434 | 2008-01-04 Joel Brobecker <brobecker@adacore.com> |
435 | ||
436 | * ada-lang.c (is_name_suffix): Handle middle-name numeric suffixes | |
437 | that are used to differentiate homonyms. | |
438 | ||
727e3d2e JB |
439 | 2008-01-04 Jerome Guitton <guitton@adacore.com> |
440 | ||
441 | * ada-lang.c (decode_packed_array_type): Avoid a seg fault | |
442 | when the type is an anonymous pointer type. | |
443 | (ada_check_typedef): Avoid a seg fault when the type is null. | |
444 | * ada-typeprint.c (print_array_type): Add support for pointer | |
445 | to packed arrays. | |
446 | ||
bb28a9dc JB |
447 | 2008-01-04 Paul N. Hilfinger <hilfinger@adacore.com> |
448 | ||
449 | * ada-exp.y: Allow '{type} ADDRESS' notation on left of assignment. | |
450 | ||
6799def4 JB |
451 | 2008-01-04 Joel Brobecker <brobecker@adacore.com> |
452 | ||
453 | * ada-lang.c (ada_evaluate_subexp): Evaluate tagged types in | |
454 | EVAL_NORMAL mode when noside is EVAL_AVOID_SIDE_EFFECTS. | |
455 | ||
d3353bbd JB |
456 | 2008-01-04 Joel Brobecker <brobecker@adacore.com> |
457 | ||
458 | * ada-exp.y (chop_separator): New function. | |
459 | (write_selectors): Rewrite to re-use chop_separator. | |
460 | (ada_nget_field_index, get_symbol_field_type): New functions. | |
461 | (write_var_or_type): Add support for "ptype TYPENAME.FIELD" | |
462 | expressions. | |
463 | ||
82cf6c60 TJB |
464 | 2008-01-03 Thiago Jung Bauermann <bauerman@br.ibm.com> |
465 | ||
466 | * symtab.c (find_pc_sect_line): Use SYMBOL_VALUE_ADDRESS instead | |
467 | of SYMBOL_VALUE when working with function symbols. | |
468 | ||
b3dbf008 JB |
469 | 2008-01-03 Joel Brobecker <brobecker@adacore.com> |
470 | ||
471 | * ada-lang.c (resolve_subexp): Add handling of OP_REGISTER | |
472 | expressions. These expressions do not need to be rewriten. | |
473 | ||
02eb380e JB |
474 | 2008-01-03 Joel Brobecker <brobecker@adacore.com> |
475 | ||
476 | * dwarf2read.c (read_enumeration_type): Flag type as stub if | |
477 | the given die is a declaration. | |
478 | ||
abb68b3e JB |
479 | 2008-01-03 Joel Brobecker <brobecker@adacore.com> |
480 | ||
481 | * ada-lang.c (ada_array_bound_from_type): Make non-static. | |
482 | Handle properly the case when the index type is an enumerated type. | |
483 | Do not return the subtype of the bounds type, just return the | |
484 | bounds type directly - this is not needed and is more consistent | |
485 | with what we do for arrays when no XA parallel type exists. | |
486 | ||
f192137b JB |
487 | 2008-01-03 Joel Brobecker <brobecker@adacore.com> |
488 | ||
489 | * ada-lang.c (static_unwrap_type): Add forward declaration. | |
490 | (template_to_static_fixed_type): Fields of dynamic types sometimes | |
491 | also need to be unwrapped. Take this into account. | |
492 | (ada_to_fixed_type_1): Renamed from ada_to_fixed_type. | |
493 | (ada_to_fixed_type): New wrapper around ada_to_fixed_type_1. | |
494 | * ada-typeprint.c (ada_print_type): Get the typename from | |
495 | the original type, not the base type. | |
496 | ||
1ed6ede0 JB |
497 | 2008-01-03 Jerome Guitton <guitton@adacore.com> |
498 | ||
499 | * ada-lang.c (ada_value_struct_elt, to_fixed_array_type) | |
500 | (to_fixed_array_type, ada_to_fixed_value_create, unwrap_value): | |
501 | Update calls to ada_to_fixed_type. | |
502 | (ada_template_to_fixed_record_type_1): Ditto, but without looking | |
503 | for the tag. | |
504 | (ada_to_fixed_type): Add check_tag parameter; do not look for | |
505 | tag if null. When looking for a tag, use a fixed record type. | |
506 | * ada-lang.h (ada_to_fixed_type): Add check_tag parameter. | |
507 | * ada-valprint.c (printable_val_type, ada_value_print): Update | |
508 | calls to ada_to_fixed_type. | |
509 | ||
542a88d0 LM |
510 | 2008-01-03 Luis Machado <luisgpm@br.ibm.com> |
511 | ||
512 | * doublest.c (convert_floatformat_to_doublest): Call | |
513 | floatformat_to_doublest instead of floatformat_to_double and use | |
514 | DOUBLEST variables. | |
515 | (convert_doublest_to_floatformat): Call floatformat_from_doublest | |
516 | instead of floatformat_from_double and use DOUBLEST variables. | |
517 | ||
dc2bbab2 NH |
518 | 2008-01-03 Nick Hudson <nick.hudson@dsl.pipex.com> |
519 | ||
520 | * MAINTAINERS (Write After Approval): Add self. | |
521 | ||
8b60591b JB |
522 | 2008-01-03 Joel Brobecker <brobecker@adacore.com> |
523 | ||
524 | * symfile.c (set_initial_language): Make non-static. | |
525 | * symfile.h (set_initial_language): Add declaration. | |
526 | * language.c: #include "symfile.h". | |
527 | (set_language): Call set_initial_language if the frame language | |
528 | could not be determined. | |
529 | ||
ceef53c1 JB |
530 | 2008-01-03 Paul N. Hilfinger <hilfinger@adacore.com> |
531 | ||
532 | * eval.c (evaluate_subexp_for_address): Provide frame address to | |
533 | locate_var_value only if it will be needed. | |
534 | ||
ef29ce1a JK |
535 | 2008-01-02 Jan Kratochvil <jan.kratochvil@redhat.com> |
536 | ||
537 | * linux-nat.c (linux_child_follow_fork): Call also CHECK_FOR_THREAD_DB. | |
538 | ||
0a07e705 JB |
539 | 2008-01-02 Joel Brobecker <brobecker@adacore.com> |
540 | ||
541 | * ada-lang.c (ada_evaluate_subexp): Modify the value returned | |
542 | when noside is EVAL_AVOID_SIDE_EFFECTS to be an lval_memory. | |
543 | This is needed to make sure that any other treatment applied | |
544 | to the resulting value does not fail for spurious reason, | |
545 | such as trying to take the address of this value. | |
546 | ||
f58b38bf JB |
547 | 2008-01-02 Joel Brobecker <brobecker@adacore.com> |
548 | ||
549 | * ada-lang.c (ada_value_equal): Dereference reference types when | |
550 | comparing arrays. | |
551 | ||
9b254dd1 DJ |
552 | 2008-01-01 Daniel Jacobowitz <dan@codesourcery.com> |
553 | ||
554 | Updated copyright notices for most files. | |
555 | ||
33605d39 CF |
556 | 2008-01-01 Christopher Faylor <me+gdb@cgf.cx> |
557 | ||
558 | * win32-nat.c (psapi_module_handle): Remove static. | |
559 | (get_module_name): Rename from psapi_get_dll_name. Revamp slightly to | |
560 | return first module found if base_address is zero. Don't initialize | |
561 | psapi function pointers here. Convert to cygwin paths when | |
562 | appropriate. | |
563 | (win32_pid_to_exec_file): Use Cygwin's /proc interface to determine | |
564 | executable name. Use get_module_name when that fails or when | |
565 | !__CYGWIN__. | |
566 | (_initialize_psapi): New function. Initialize psapi stuff before it is | |
567 | needed or issue a warning if it is not found. Move psapi_module_handle | |
568 | here. | |
569 | ||
29480c32 JB |
570 | 2008-01-01 Joel Brobecker <brobecker@adacore.com> |
571 | ||
572 | * ada-lang.c (ada_remove_trailing_digits): New function. | |
573 | (ada_remove_po_subprogram_suffix): New function. | |
574 | (ada_decode): Improve. Move the description of the algorithm | |
575 | directly inside the code, instead of in the function global | |
576 | description. | |
577 | ||
969a1360 JB |
578 | 2008-01-01 Joel Brobecker <brobecker@adacore.com> |
579 | ||
580 | * ada-valprint.c (ada_val_print_1) [TYPE_CODE_REF]: Ignore deref_ref | |
581 | and always print the dereferenced value. | |
582 | ||
b7789565 JB |
583 | 2008-01-01 Joel Brobecker <brobecker@adacore.com> |
584 | ||
585 | * ada-lang.c (ada_evaluate_subexp, case BINOP_SUB): Add handling | |
586 | of the case where the first argument is a reference. | |
587 | (ada_evaluate_subexp, case BINOP_ADD): Likewise. | |
588 | ||
73fb9985 JB |
589 | 2008-01-01 Joel Brobecker <brobecker@adacore.com> |
590 | ||
591 | Implement support for Ada interface types. | |
592 | ||
593 | * ada-lang.c (ada_is_dispatch_table_ptr_type): New function. | |
594 | (ada_is_ignored_field): Ignore fields that are a dispatch table | |
595 | of a tagged type. | |
596 | ||
636265b6 JB |
597 | 2008-01-01 Joel Brobecker <brobecker@adacore.com> |
598 | ||
599 | * top.c (print_gdb_version): Update copyright year. | |
600 | ||
9d200a2e | 601 | 2008-01-01 Joel Brobecker <brobecker@adacore.com> |
b7589f7d | 602 | |
9d200a2e JB |
603 | * ChangeLog-2007: New ChangeLog rotation. |
604 | * ChangeLog: Reset for 2008. | |
605 | * config/djgpp/fnchange.lst: Add entries for ChangeLog-2006 and | |
606 | ChangeLog-2007. | |
b7589f7d | 607 | |
9d200a2e | 608 | For older changes see ChangeLog-2007. |
c906108c SS |
609 | \f |
610 | Local Variables: | |
611 | mode: change-log | |
612 | left-margin: 8 | |
613 | fill-column: 74 | |
614 | version-control: never | |
57da7796 | 615 | coding: utf-8 |
c906108c | 616 | End: |