Commit | Line | Data |
---|---|---|
405f26e6 MS |
1 | 2002-01-31 Michael Snyder <msnyder@redhat.com> |
2 | ||
9f04af04 MS |
3 | * breakpoint.c (insert_breakpoints, remove_breakpoint, |
4 | breakpoint_here_p, breakpoint_inserted_here_p, | |
5 | breakpoint_thread_match, bpstat_stop_status, | |
6 | describe_other_breakpoints, check_duplicates, clear_command): | |
7 | Coding standard fixes. | |
8 | ||
8add0441 | 9 | * target.c (target_xfer_memory): Add spaces, coding standard. |
9f04af04 | 10 | (do_xfer_memory): Add missing line to trust-readonly |
405f26e6 MS |
11 | code: check bfd SEC_READONLY flag for section. |
12 | ||
e351066e AC |
13 | 2002-01-31 Andrew Cagney <ac131313@redhat.com> |
14 | ||
15 | * PROBLEMS: Fix tipo, 5.1->5.1.1. | |
16 | ||
8a48e967 DJ |
17 | 2002-01-30 Daniel Jacobowitz <drow@mvista.com> |
18 | ||
19 | * symtab.c (find_pc_sect_psymtab): Do not search psymtabs for | |
20 | data symbols, since we search based on textlow and texthigh. | |
21 | (find_pc_sect_symtab): Likewise. | |
22 | ||
f5a96129 AC |
23 | 2002-01-30 Andrew Cagney <ac131313@redhat.com> |
24 | ||
25 | * defs.h (vwarning): Declare. | |
26 | (warning_begin): Delete declaration. | |
27 | * utils.c (vwarning): New function. | |
28 | (warning): Call vwarning. | |
29 | (warning_begin): Delete function. | |
30 | ||
31 | * rs6000-nat.c (vmap_ldinfo): Use the function warning to print | |
32 | the warning message. | |
33 | * d10v-tdep.c (d10v_address_to_pointer) [0]: Delete call to | |
34 | warning_begin. | |
35 | ||
cefd4ef5 MS |
36 | 2002-01-30 Michael Snyder <msnyder@redhat.com> |
37 | ||
1a703748 MS |
38 | * NEWS: Mention "set trust-readonly-sections" command. |
39 | Mention generate-core-file command. | |
cefd4ef5 | 40 | |
3a11626d MS |
41 | 2002-01-15 Michael Snyder <msnyder@redhat.com> |
42 | ||
43 | * target.c: New command, "set trust-readonly-sections on". | |
44 | (do_xfer_memory): Honor the suggestion to trust readonly sections | |
45 | by reading them from the object file instead of from the target. | |
46 | (initialize_targets): Register command "set trust-readonly-sections". | |
47 | ||
d1c7e53b AC |
48 | 2002-01-29 Andrew Cagney <ac131313@redhat.com> |
49 | ||
50 | * parse.c (target_map_name_to_register): Simplify, search regs and | |
51 | pseudo-regs using a single loop. | |
52 | ||
e2c9a72c AC |
53 | 2002-01-30 Andrew Cagney <ac131313@redhat.com> |
54 | ||
55 | * PROBLEMS: Note that the i386 fix was missing from 5.1.1. | |
56 | ||
69824b4e MK |
57 | 2002-01-15 Rodney Brown <rbrown64@csc.com.au> |
58 | ||
59 | * config/i386/tm-i386v4.h: Define HAVE_I387_REGS. | |
60 | * config/i386/i386v42mp.mh: Add i387-nat.o . | |
61 | * i386v4-nat.c: Include i387-nat.h. | |
62 | (supply_fpregset): Use i387_supply_fsave. | |
63 | (fill_fpregset): Use i387_fill_fsave. | |
64 | ||
6eb69eab RE |
65 | 2002-01-30 Richard Earnshaw <rearnsha@arm.com> |
66 | ||
67 | * arm-tdep.c (arm_call_dummy_words): Define. | |
68 | * arm-linux-tdep.c (arm_linux_call_dummy_words): Define. | |
69 | * config/arm/tm-arm.h (CALL_DUMMY_P): Define. | |
70 | (CALL_DUMMY_WORDS): Define. | |
71 | (arm_call_dummy_words): Declare. | |
72 | * config/arm/tm-linux.h (CALL_DUMMY_WORDS): Define. | |
73 | (arm_linux_call_dummy_words): Declare. | |
74 | ||
9852326a AS |
75 | 2002-01-30 Andreas Schwab <schwab@suse.de> |
76 | ||
77 | * m68klinux-nat.c: Fix last change to use regcache_collect | |
78 | instead of referencing registers[] directly. | |
79 | ||
977a3030 AC |
80 | 2002-01-29 Andrew Cagney <ac131313@redhat.com> |
81 | ||
82 | * parse.c (target_map_name_to_register): Delete code wrapped in | |
83 | #ifdef REGISTER_NAME_ALIAS_HOOK. | |
84 | ||
2076c72b MS |
85 | 2002-01-28 Michael Snyder <msnyder@redhat.com> |
86 | ||
87 | * regcache.c (legacy_read_register_gen): Need to be able to | |
88 | read pseudo-register as well as real register. | |
89 | (legacy_write_register_gen): Ditto. | |
90 | ||
8fcc723b AC |
91 | 2002-01-28 Andrew Cagney <ac131313@redhat.com> |
92 | ||
93 | * config/mips/tm-wince.h (TARGET_BYTE_ORDER): Delete. | |
94 | * config/sparc/tm-sparc.h (TARGET_BYTE_ORDER): Delete. | |
95 | * config/ns32k/tm-umax.h (TARGET_BYTE_ORDER): Delete. | |
96 | * config/ia64/tm-ia64.h (TARGET_BYTE_ORDER): Delete. | |
97 | * config/m32r/tm-m32r.h (TARGET_BYTE_ORDER): Delete. | |
98 | * config/m68k/tm-m68k.h (TARGET_BYTE_ORDER): Delete. | |
99 | * config/m88k/tm-m88k.h (TARGET_BYTE_ORDER): Delete. | |
100 | * config/mn10200/tm-mn10200.h (TARGET_BYTE_ORDER): Delete. | |
101 | * config/pa/tm-hppa.h (TARGET_BYTE_ORDER): Delete. | |
102 | * config/sh/tm-wince.h (TARGET_BYTE_ORDER): Delete. | |
103 | * config/v850/tm-v850.h (TARGET_BYTE_ORDER): Delete. | |
104 | * config/vax/tm-vax.h (TARGET_BYTE_ORDER): Delete. | |
105 | * config/z8k/tm-z8k.h (TARGET_BYTE_ORDER): Delete. | |
106 | * config/i960/tm-i960.h (TARGET_BYTE_ORDER): Delete. | |
107 | * config/i386/tm-i386.h (TARGET_BYTE_ORDER): Delete. | |
108 | * config/h8500/tm-h8500.h (TARGET_BYTE_ORDER): Delete. | |
109 | * config/h8300/tm-h8300.h (TARGET_BYTE_ORDER): Delete. | |
110 | * config/fr30/tm-fr30.h (TARGET_BYTE_ORDER): Delete. | |
111 | * config/d30v/tm-d30v.h (TARGET_BYTE_ORDER): Delete. | |
112 | * config/alpha/tm-alpha.h (TARGET_BYTE_ORDER): Delete. | |
113 | ||
afe64c1a AC |
114 | 2002-01-28 Andrew Cagney <ac131313@redhat.com> |
115 | ||
116 | * arch-utils.c (TARGET_BYTE_ORDER_DEFAULT): Delete macro. | |
117 | (target_byte_order): Initialize to BFD_ENDIAN_BIG. | |
118 | (initialize_current_architecture): Update target_byte_order using | |
119 | information from BFD. | |
120 | * config/powerpc/tm-ppcle-eabi.h (TARGET_BYTE_ORDER_DEFAULT): | |
121 | * config/mcore/tm-mcore.h (TARGET_BYTE_ORDER_DEFAULT): | |
122 | * config/arm/tm-arm.h (TARGET_BYTE_ORDER_DEFAULT): Delete. | |
123 | ||
75bc7ddf AC |
124 | 2002-01-28 Andrew Cagney <ac131313@redhat.com> |
125 | ||
126 | * config/vax/tm-vax.h (INVALID_FLOAT): Move macro from here... | |
127 | * vax-tdep.c (INVALID_FLOAT): To here. Document why it is broken. | |
128 | ||
129 | * rs6000-tdep.c (rs6000_do_registers_info): Delete code wrapped in | |
130 | #ifdef INVALID_FLOAT. | |
131 | * infcmd.c (do_registers_info): Ditto. | |
132 | * values.c (unpack_double): Ditto. Add comment. | |
133 | ||
134 | * config/ns32k/tm-umax.h (INVALID_FLOAT): Delete macro that was | |
135 | already commented out. | |
136 | ||
0280a90a AS |
137 | 2002-01-26 Andreas Schwab <schwab@suse.de> |
138 | ||
139 | * config/m68k/nm-linux.h (FETCH_INFERIOR_REGISTERS): Define. | |
140 | * m68klinux-nat.c: Update ptrace interface for fetching/storing | |
141 | registers and add support for PTRACE_GETREGS. | |
142 | ||
7072a954 AC |
143 | 2002-01-24 Andrew Cagney <ac131313@redhat.com> |
144 | ||
145 | GDB 5.1.1 released from 5.1 branch. | |
146 | * NEWS: Add 5.1.1 news. | |
147 | * README: Sync with 5.1 branch. | |
148 | ||
86f902e0 FF |
149 | 2002-01-23 Fred Fish <fnf@redhat.com> |
150 | ||
151 | * mdebugread.c (parse_partial_symbols): Only copy stabstring1 to | |
152 | stabstring on initial malloc. Reallocing will copy it for us, | |
153 | if necessary. | |
154 | ||
8af51c36 EZ |
155 | 2002-01-23 Elena Zannoni <ezannoni@redhat.com> |
156 | ||
157 | * Makefile.in (hpread_h): Delete. | |
158 | (HFILES_NO_SRCDIR): Remove hpread.h. | |
159 | (ALLDEPFILES): Remove hp-psymtab-read.c and hp-symtab-read.c. | |
160 | (hpread.o): Update dependencies. | |
161 | (hp-psymtab-read.o, hp-symtab-read.o): Remove. | |
162 | ||
163 | * hp-psymtab-read.c: Remove file. | |
164 | * hp-symtab-read.c: Remove file. | |
165 | * hpread.h: Remove file. | |
166 | ||
167 | * hpread.c: Merge all contents of hp-psymtab-read.c, | |
168 | hp-symtab-read.c and hpread.h into this file, as it was prior to | |
169 | January 1999. | |
170 | ||
171 | * config/pa/hpux11w.mh, config/pa/hpux11.mh, | |
172 | config/pa/hpux1020.mh, config/pa/hppaosf.mh, | |
173 | config/pa/hppahpux.mh, config/pa/hppabsd.mh (NATDEPFILES): | |
174 | Remove hp-psymtab-read.o and hp-symtab-read.o, add hpread.o. | |
175 | ||
dc5cfeb6 EZ |
176 | 2002-01-23 Elena Zannoni <ezannoni@redhat.com> |
177 | ||
178 | * ppc-linux-nat.c (ppc_register_u_addr, supply_gregset, | |
179 | fill_gregset): Call gdbarch_tdep() just once, assign result to | |
180 | variable and use that, instead of calling the function several | |
181 | times. | |
182 | ||
ea87b71b AO |
183 | 2002-01-24 Alexandre Oliva <aoliva@redhat.com> |
184 | ||
185 | * configure.host: Accept sparcv9 as alias for sparc64. | |
186 | * configure.tgt: Likewise. | |
187 | ||
13fc0c2f KB |
188 | 2002-01-22 Kevin Buettner <kevinb@redhat.com> |
189 | ||
190 | * solib-aix5.c (build_so_list_from_mapfile) | |
191 | (aix5_relocate_main_executable): Fix xcalloc() calls so order of | |
192 | arguments is not reversed. | |
193 | * solib-sunos.c (sunos_relocate_main_executable): Likewise. | |
194 | * solib-svr4.c (svr4_relocate_main_executable): Likewise. | |
195 | ||
7bd872fe EZ |
196 | 2002-01-22 Elena Zannoni <ezannoni@redhat.com> |
197 | ||
198 | * sh-tdep.c (sh_pseudo_register_read): New function. Renamed and | |
199 | modified version of obsolete sh_fetch_pseudo_register. | |
200 | (sh_fetch_pseudo_register): Rename to sh_pseudo_register_read. | |
201 | (sh4_register_read): New function. | |
202 | (sh_pseudo_register_write): New function. Renamed and modified | |
203 | version of obsolete sh_store_pseudo_register. | |
204 | (sh_store_pseudo_register): Rename to sh_pseudo_register_write. | |
205 | (sh4_register_write): New function. | |
206 | (sh_gdbarch_init): Remove setting of gdbarch function | |
207 | fetch_pseudo_register and store_pseudo_register. Remove setting of | |
208 | register_convert_to_raw, register_convert_to_virtual, | |
209 | register_convertible. | |
210 | (sh_sh4_register_convertible): Delete. No longer needed. All is | |
211 | taken care by architecture specific functions | |
212 | register_read/register_write. | |
213 | (sh_sh4_register_convert_to_virtual): Make static. | |
214 | (sh_sh4_register_convert_to_raw): Ditto. | |
215 | ||
069e84fd AC |
216 | 2002-01-22 Andrew Cagney <ac131313@redhat.com> |
217 | ||
218 | * doublest.c (floatformat_is_negative): Assert FMT is non NULL. | |
219 | (floatformat_is_nan, floatformat_mantissa): Ditto. | |
220 | ||
221 | * gdbtypes.c (_initialize_gdbtypes): Initialize TYPE_FLOATFORMAT | |
222 | for builtin_type_ieee_single_little, builtin_type_ieee_double_big, | |
223 | builtin_type_ieee_double_little, | |
224 | builtin_type_ieee_double_littlebyte_bigword, | |
225 | builtin_type_m68881_ext, builtin_type_i960_ext, | |
226 | builtin_type_m88110_ext, builtin_type_m88110_harris_ext, | |
227 | builtin_type_arm_ext_big, builtin_type_arm_ext_littlebyte_bigword, | |
228 | builtin_type_ia64_spill_big, builtin_type_ia64_spill_little and | |
229 | builtin_type_ia64_quad_big, builtin_type_ia64_quad_little. | |
230 | ||
211a4f69 CV |
231 | 2002-01-22 Corinna Vinschen <vinschen@redhat.com> |
232 | ||
233 | * xstormy16-tdep.c (xstormy16_scan_prologue): Add frameless | |
234 | parameter. Set frameless flag if it exists and depended of | |
235 | whether the scanned function is frameless or not. | |
236 | (xstormy16_skip_prologue): If function is frameless, return | |
237 | result of xstormy16_scan_prologue(). | |
238 | (xstormy16_frame_init_saved_regs): Adjust xstormy16_scan_prologue() | |
239 | call. | |
240 | ||
f81353e4 EZ |
241 | 2002-01-21 Elena Zannoni <ezannoni@redhat.com> |
242 | ||
243 | * sh-tdep.c (sh_fp_frame_init_saved_regs, sh_push_arguments, | |
244 | sh_generic_show_regs, sh3_show_regs, sh3e_show_regs, | |
245 | sh3_dsp_show_regs, sh4_show_regs, sh_dsp_show_regs, | |
246 | sh_sh4_register_byte, sh_sh4_register_raw_size, | |
247 | sh_sh3e_register_virtual_type, sh_sh4_register_virtual_type, | |
248 | sh_sh4_register_convertible, sh_sh4_register_convert_to_virtual, | |
249 | sh_sh4_register_convert_to_raw, sh_fetch_pseudo_register, | |
250 | sh_store_pseudo_register, sh_do_pseudo_register): Call | |
251 | gdbarch_tdep() just once, assign result to variable and use that, | |
252 | instead of calling the function several times. | |
253 | ||
63c73a17 MK |
254 | 2002-01-20 Mark Kettenis <kettenis@gnu.org> |
255 | ||
256 | * go32-nat.c (fetch_register): Use FP_REGNUM_P and FPC_REGNUM_P | |
257 | macros instead of LAST_FPU_CTRL_REGNUM. | |
258 | (store_register): Likewise. | |
259 | ||
39ad761d JB |
260 | 2002-01-21 Jim Blandy <jimb@redhat.com> |
261 | ||
262 | * infcmd.c (run_command): Check that the `exec' target layer's BFD | |
263 | is up-to-date before running the program, not just when a program | |
264 | exits. | |
265 | ||
3d74b771 FF |
266 | 2002-01-21 Fred Fish <fnf@redhat.com> |
267 | ||
268 | * arm-tdep.c (thumb_skip_prologue): Quit scanning prologue | |
269 | when we have found all instructions we are looking for. | |
270 | ||
966fbf70 RE |
271 | 2002-01-21 Richard Earnshaw <rearnsha@arm.com> |
272 | ||
273 | * arm-tdep.c (arm_register_name): New function. | |
274 | (arm_registers_names): Make static. | |
275 | * config/arm/tm-arm.h (arm_register_names): Delete declaration. | |
276 | (arm_register_name): Declare. | |
277 | (REGISTER_NAME): Use it. | |
278 | ||
c3b4394c RE |
279 | 2002-01-21 Richard Earnshaw <rearnsha@arm.com> |
280 | Kevin Buettner <kevinb@redhat.com> | |
281 | ||
282 | Convert arm targets to new FRAME interface. | |
283 | * arm-tdep.c (struct frame_extra_info): Remove fsr. | |
284 | (arm_frame_find_save_regs): Delete. | |
285 | (arm_frame_init_saved_regs): New. | |
286 | (arm_init_extra_frame_info): Alloacte saved_regs as required. | |
287 | Allocate extra_info as required. Convert all uses of fsr.regs | |
288 | to use saved_regs, similarly all uses of EXTRA_FRAME_INFO fields | |
289 | to use extra_info. | |
290 | (thumb_scan_prologue, arm_scan_prologue, arm_find_callers_reg) | |
291 | (arm_frame_chain, arm_frame_saved_pc, arm_pop_frame): Likewise. | |
292 | (check_prologue_cache, save_prologue_cache): Likewise. | |
293 | (_initialize_arm_tdep): Ensure prologue_cache is correctly set up. | |
294 | * config/arm/tm-arm.h (EXTRA_FRAME_INFO): Delete. | |
295 | (FRAME_FIND_SAVED_REGS): Delete. | |
296 | (arm_frame_find_saved_regs): Delete prototype. | |
297 | (arm_frame_init_saved_regs): New prototype. | |
298 | (FRAME_INIT_SAVED_REGS): Define. | |
299 | ||
61d99182 AC |
300 | 2002-01-20 Andrew Cagney <ac131313@redhat.com> |
301 | ||
302 | * config/arc/tm-arc.h (IEEE_FLOAT): Delete. | |
303 | ||
6aaea291 AC |
304 | 2002-01-20 Andrew Cagney <ac131313@redhat.com> |
305 | ||
306 | From Jeff Law <law@redhat.com>: | |
307 | * infttrace.c: Include <sys/pstat.h>. | |
308 | (child_pid_to_exec_file): Revamp. Use pstat call to get the | |
309 | exec file if the ttrace equivalent fails. | |
310 | ||
15f698d2 AC |
311 | 2002-01-20 Andrew Cagney <ac131313@redhat.com> |
312 | ||
313 | * rdi-share/devsw.c (openLogFile): Delete unused ``struct tm lt''. | |
314 | (closeLogFile): Ditto. | |
315 | ||
f86ddd7c MC |
316 | 2002-01-20 Michael Chastain <mec@shout.net> |
317 | ||
318 | * top.c (print_gdb_version): Bump copyright year to 2002. | |
319 | ||
904507ce AC |
320 | 2002-01-20 Andrew Cagney <ac131313@redhat.com> |
321 | ||
322 | * MAINTAINERS (Blanket Write Privs): Add Kevin Buettner, Elena | |
323 | Zannoni and Eli Zaretskii. | |
324 | ||
d7f0b9ce DJ |
325 | 2002-01-20 Daniel Jacobowitz <drow@mvista.com> |
326 | ||
327 | * buildsym.c: Update copyright years. | |
328 | * c-typeprint.c: Likewise. | |
329 | * dwarf2read.c: Likewise. | |
330 | * f-typeprint.c: Likewise. | |
331 | * gdbtypes.c: Likewise. | |
332 | * gdbtypes.h: Likewise. | |
333 | * hp-symtab-read.c: Likewise. | |
334 | * hpread.c: Likewise. | |
335 | * mdebugread.c: Likewise. | |
336 | * p-typeprint.c: Likewise. | |
337 | ||
3fd3d7d2 AC |
338 | 2002-01-20 Andrew Cagney <ac131313@redhat.com> |
339 | ||
340 | * remote-sim.c (gdbsim_open): Simplify code testing the macro | |
341 | TARGET_BYTE_ORDER_SELECTABLE_P. Assume the target is always | |
342 | byte-order selectable. | |
343 | * sparc-tdep.c (sparc_target_architecture_hook): Ditto. | |
344 | * arch-utils.c: Ditto. | |
345 | (set_endian): Ditto. | |
346 | (set_endian_from_file): Ditto. | |
347 | * gdbserver/low-sim.c (create_inferior): Ditto. | |
348 | * gdbarch.sh: Ditto. | |
349 | * gdbarch.h: Re-generate. | |
350 | * config/powerpc/tm-ppc-eabi.h (TARGET_BYTE_ORDER_SELECTABLE_P): | |
351 | * config/sparc/tm-sparclite.h (TARGET_BYTE_ORDER_SELECTABLE): | |
352 | * config/sparc/tm-sparclet.h (TARGET_BYTE_ORDER_SELECTABLE): | |
353 | * config/mcore/tm-mcore.h (TARGET_BYTE_ORDER_SELECTABLE_P): | |
354 | * config/arm/tm-wince.h (TARGET_BYTE_ORDER_SELECTABLE_P): | |
355 | * config/arm/tm-linux.h (TARGET_BYTE_ORDER_SELECTABLE_P): | |
356 | * config/arc/tm-arc.h (TARGET_BYTE_ORDER_SELECTABLE): | |
357 | * config/arm/tm-arm.h (TARGET_BYTE_ORDER_SELECTABLE_P): Delete | |
358 | macro definition. | |
359 | * config/mips/tm-wince.h: Remove #undef of macro | |
360 | TARGET_BYTE_ORDER_SELECTABLE. | |
361 | * config/sh/tm-wince.h: Ditto. | |
362 | ||
b02dede2 DJ |
363 | 2002-01-20 Daniel Jacobowitz <drow@mvista.com> |
364 | ||
365 | * gdbtypes.h (struct cplus_struct_type): Add is_artificial to | |
366 | member function fields. Add accessor macro | |
367 | TYPE_FN_FIELD_ARTIFICIAL. | |
368 | * dwarf2read.c (dwarf2_add_member_fn): Check for artificial methods. | |
369 | * c-typeprint.c (c_type_print_base): Skip artificial member | |
370 | functions. | |
371 | ||
c3643761 DJ |
372 | 2002-01-20 Daniel Jacobowitz <drow@mvista.com> |
373 | ||
374 | * f-typeprint.c: Delete unused function f_type_print_args. | |
375 | * p-typeprint.c: Delete unused function pascal_type_print_args. | |
376 | ||
8176bb6d DJ |
377 | 2002-01-20 Daniel Jacobowitz <drow@mvista.com> |
378 | ||
379 | * gdbtypes.h (struct type): Fix whitespace. Remove obsolete | |
380 | comment. Add ``artificial'' to ``union field_location''. | |
381 | ||
382 | * dwarf2read.c: Remove ad-hoc TYPE_FIELD_ARTIFICIAL. | |
383 | ||
384 | * buildsym.c (finish_block): Initialize TYPE_FIELD_ARTIFICIAL to 0. | |
385 | * mdebugread.c (parse_symbol): Likewise. | |
386 | * stabsread.c (define_symbol): Likewise. | |
387 | * hp-symtab-read.c (hpread_function_type): Likewise, instead of | |
388 | initializing TYPE_FIELD_BITPOS to n (obsolete). | |
389 | (hpread_doc_function_type): Likewise. | |
390 | * hpread.c (hpread_function_type): Likewise. | |
391 | ||
7fd60527 AC |
392 | 2002-01-20 Andrew Cagney <ac131313@redhat.com> |
393 | ||
394 | * configure.in (host_makefile_frag): Only require a host makefile | |
395 | fragment when a native build. | |
396 | * configure: Re-generate. | |
397 | ||
c2f05ac9 AC |
398 | 2002-01-20 Andrew Cagney <ac131313@redhat.com> |
399 | ||
400 | * doublest.h (floatformat_from_type): Declare. | |
401 | * doublest.c (floatformat_from_type): New function. | |
402 | (convert_typed_floating): Use. | |
403 | ||
404 | * valprint.c (print_floating): Replace checks for IEEE_FLOAT with | |
405 | call to function floatformat_from_type. | |
406 | ||
407 | * gdbarch.sh (IEEE_FLOAT): Delete. | |
408 | * gdbarch.h, gdbarch.c: Re-generate. | |
409 | * config/i960/tm-i960.h (IEEE_FLOAT): Delete macro. | |
410 | * config/i386/tm-i386.h (IEEE_FLOAT): Ditto. | |
411 | * config/z8k/tm-z8k.h (IEEE_FLOAT): Ditto. | |
412 | * config/sparc/tm-sparc.h (IEEE_FLOAT): Ditto. | |
413 | * config/pa/tm-hppa.h (IEEE_FLOAT): Ditto. | |
414 | * config/m88k/tm-m88k.h (IEEE_FLOAT): Ditto. | |
415 | * config/m68k/tm-m68k.h (IEEE_FLOAT): Ditto. | |
416 | * config/h8500/tm-h8500.h (IEEE_FLOAT): Ditto. | |
417 | * config/h8300/tm-h8300.h (IEEE_FLOAT): Ditto. | |
418 | * config/fr30/tm-fr30.h (IEEE_FLOAT): Ditto. | |
419 | * config/arm/tm-arm.h (IEEE_FLOAT): Ditto. | |
c2f05ac9 AC |
420 | * config/alpha/tm-alpha.h (IEEE_FLOAT): Ditto. |
421 | ||
422 | * s390-tdep.c (s390_gdbarch_init): Do not set ieee_float. | |
423 | * x86-64-tdep.c (i386_gdbarch_init): Ditto. | |
424 | * sparc-tdep.c (sparc_gdbarch_init): Ditto. | |
425 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
426 | * mips-tdep.c (mips_gdbarch_init): Ditto. | |
427 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
428 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
429 | ||
abf22e64 AJ |
430 | 2002-01-20 Jiri Smid <smid@suse.cz> |
431 | ||
432 | * configure.host, configure.tgt: Support x86-64. | |
433 | * NEWS: Note new target x86-64. | |
434 | ||
b7c4cbf8 AJ |
435 | * config/i386/x86-64linux.mh (NATDEPFILES): x86-64-nat.o removed. |
436 | * x86-64-linux-nat.c (x86_64_register_u_addr): New function. | |
437 | * config/i386/nm-x86-64.h (ATTACH_LWP): Removed. | |
438 | * Makefile.in (x86-64-tdep.o, x86-64-linux-tdep.o, | |
439 | x86-64-linux-nat.o): Fix dependencies. | |
440 | ||
82600034 AC |
441 | 2002-01-19 Andrew Cagney <ac131313@redhat.com> |
442 | ||
443 | * utils.c: Remove #ifndef MALLOC_INCOMPATIBLE. | |
444 | * config/sparc/xm-sun4os4.h (PTRACE_ARG3_TYPE): Move macro .... | |
445 | * config/sparc/nm-sun4os4.h (PTRACE_ARG3_TYPE): ... to here. | |
446 | * config/sparc/xm-sun4os4.h: Delete file. | |
447 | * config/sparc/sun4os4.mh (XM_FILE): Delete makefile variable. | |
abf22e64 | 448 | |
bbe5c628 AC |
449 | 2002-01-19 Andrew Cagney <ac131313@redhat.com> |
450 | ||
451 | * config/sparc/sparclynx.mh (XM_FILE): Delete. | |
452 | * config/rs6000/rs6000lynx.mh (XM_FILE): Delete. | |
453 | * config/m68k/m68klynx.mh (XM_FILE): Delete. | |
454 | * config/i386/i386lynx.mh (XM_FILE): Delete. | |
455 | * config/rs6000/xm-rs6000ly.h: Delete file. | |
456 | * config/sparc/xm-sparclynx.h: Delete file. | |
457 | * config/m68k/xm-m68klynx.h: Delete file. | |
458 | * config/i386/xm-i386lynx.h: Delete file. | |
459 | * config/xm-lynx.h: Delete file. | |
460 | * config/djgpp/fnchange.lst: Update. | |
461 | ||
f8453e34 JT |
462 | 2002-01-19 Jason Thorpe <thorpej@wasabisystems.com> |
463 | ||
464 | * alpha-tdep.c (alpha_register_byte): New function. | |
465 | (alpha_register_raw_size): Ditto. | |
466 | (alpha_register_virtual_size): Ditto. | |
467 | (alpha_skip_prologue_internal): Renamed from | |
468 | alpha_skip_prologue. | |
469 | (alpha_skip_prologue): New version that calls | |
470 | alpha_skip_prologue_internal. | |
471 | (alpha_in_lenient_prologue): Use alpha_skip_prologue_internal. | |
472 | * config/alpha/tm-alpha.h (SKIP_PROLOGUE): Remove | |
473 | second argument from alpha_skip_prologue. | |
474 | (REGISTER_BYTE): Use alpha_register_byte. | |
475 | (REGISTER_RAW_SIZE): Use alpha_register_raw_size. | |
476 | (REGISTER_VIRTUAL_SIZE): Use alpha_register_virtual_size. | |
477 | (FRAMELESS_FUNCTION_INVOCATION): Use | |
478 | generic_frameless_function_invocation_not. | |
479 | (FRAME_NUM_ARGS): Use frame_num_args_unknown. | |
480 | (COERCE_FLOAT_TO_DOUBLE): Use standard_coerce_float_to_double. | |
481 | ||
52d9e613 AC |
482 | 2002-01-19 Andrew Cagney <ac131313@redhat.com> |
483 | ||
484 | * config/mips/xm-news-mips.h: Delete file. | |
485 | * config/mips/news-mips.mh (XM_FILE): Delete makefile variable. | |
486 | ||
487 | * config/m88k/xm-m88k.h: Delete file. | |
488 | * config/m88k/xm-dgux.h: Do not include xm-m88k.h. | |
489 | * config/m88k/xm-delta88v4.h: Ditto. | |
490 | * config/m88k/xm-delta88.h: Ditto. | |
491 | ||
492 | * config/alpha/xm-fbsd.h: Delete file. | |
493 | * config/alpha/fbsd.mh (XM_FILE): Delete makefile variable. | |
494 | ||
495 | * config/sparc/xm-sparc.h: Delete file. | |
496 | * Makefile.in (xm-sun4os4.h): Delete dependency. | |
497 | * config/sparc/xm-sun4sol2.h: Do not include xm-sparc.h. | |
498 | * config/sparc/xm-sun4os4.h: Ditto. | |
499 | * config/sparc/xm-linux.h: Ditto. | |
500 | ||
501 | * config/i386/xm-windows.h: Delete file. | |
502 | ||
2d1b2124 AC |
503 | 2002-01-19 Andrew Cagney <ac131313@redhat.com> |
504 | ||
505 | * utils.c: Include <sys/param.h> for MAXPATHLEN. | |
506 | (gdb_realpath): Use MAXPATHLEN when PATH_MAX is not defined. | |
507 | ||
ee1f65f0 JT |
508 | 2002-01-19 Jason Thorpe <thorpej@wasabisystems.com> |
509 | ||
510 | * alpha-tdep.c (alpha_call_dummy_words): New. | |
511 | * config/alpha/tm-alpha.h (CALL_DUMMY): Remove. | |
512 | (CALL_DUMMY_P): Define. | |
513 | (CALL_DUMMY_WORDS): Define. | |
514 | (SIZEOF_CALL_DUMMY_WORDS): Define. | |
515 | ||
98081e55 PB |
516 | 2002-01-19 Per Bothner <per@bothner.com> |
517 | ||
518 | * gnu-v3-abi.c (gnuv3_rtti_type): Guard that vtable_symbol_name | |
519 | isn't NULL, which can happen with some gcj-3.x-produced code. | |
520 | ||
0d056799 JT |
521 | 2002-01-19 Jason Thorpe <thorpej@wasabisystems.com> |
522 | ||
523 | * alpha-tdep.c (alpha_register_virtual_type): New function. | |
524 | (alpha_init_frame_pc_first): Ditto. | |
525 | (alpha_fix_call_dummy): Ditto. | |
526 | (alpha_store_struct_return): Ditto. | |
527 | (alpha_extract_struct_value_address): Ditto. | |
528 | * config/alpha/tm-alpha.h (REGISTER_VIRTUAL_TYPE): Use | |
529 | alpha_register_virtual_type. | |
530 | (STORE_STRUCT_RETURN): Use alpha_store_struct_return. | |
531 | (EXTRACT_STRUCT_VALUE_ADDRESS): Use | |
532 | alpha_extract_struct_value_address. | |
533 | (FIX_CALL_DUMMY): Use alpha_fix_call_dummy. | |
534 | (INIT_FRAME_PC): Use init_frame_pc_noop. | |
535 | (INIT_FRAME_PC_FIRST): Use alpha_init_frame_pc_first. | |
536 | ||
4604bcad MK |
537 | 2002-01-19 Mark Kettenis <kettenis@gnu.org> |
538 | ||
539 | * i386gnu-nat.c: Include "i386-tdep.h". | |
540 | (fetch_fpregs): Simplify code dealing with uninitialized floating | |
541 | point states such that it doesn't require FP7_REGNUM. | |
542 | ||
140f9984 JT |
543 | 2002-01-18 Jason Thorpe <thorpej@wasabisystems.com> |
544 | ||
abf22e64 AJ |
545 | * alpha-tdep.c (frame_extra_info): New. |
546 | (alpha_find_saved_regs): Make static. Use | |
140f9984 JT |
547 | frame->extra_info. |
548 | (alpha_frame_init_saved_regs): New function. | |
abf22e64 AJ |
549 | (alpha_frame_saved_pc): Use frame->extra_info. |
550 | (temp_saved_regs): Don't declare as struct frame_saved_regs. | |
551 | (heuristic_proc_desc): Adjust for temp_saved_regs changes. | |
140f9984 JT |
552 | (init_extra_frame_info): Rename to... |
553 | (alpha_init_extra_frame_info): ...this. Use frame->extra_info. | |
abf22e64 | 554 | (alpha_print_extra_frame_info): New function. |
140f9984 JT |
555 | (alpha_frame_locals_address): Ditto. |
556 | (alpha_frame_args_address): Ditto. | |
abf22e64 | 557 | (alpha_pop_frame): Use frame->extra_info. |
140f9984 JT |
558 | * config/alpha/tm-alpha.h (FRAME_ARGS_ADDRESS): Use |
559 | alpha_frame_args_address. | |
abf22e64 | 560 | (FRAME_LOCALS_ADDRESS): Use alpha_frame_locals_address. |
140f9984 | 561 | (alpha_find_saved_regs): Remove prototype. |
abf22e64 AJ |
562 | (FRAME_INIT_SAVED_REGS): Use alpha_frame_init_saved_regs. |
563 | (EXTRA_FRAME_INFO): Remove. | |
140f9984 JT |
564 | (INIT_EXTRA_FRAME_INFO): Use alpha_init_extra_frame_info. |
565 | (PRINT_EXTRA_FRAME_INFO): Use alpha_print_extra_frame_info. | |
566 | ||
d734c450 JT |
567 | 2002-01-18 Jason Thorpe <thorpej@wasabisystems.com> |
568 | ||
569 | * alpha-tdep.c (alpha_osf_in_sigtramp): New function. | |
570 | (alpha_cannot_fetch_register): Ditto. | |
571 | (alpha_cannot_store_register): Ditto. | |
572 | (alpha_register_convertible): Ditto. | |
573 | (alpha_use_struct_convention): Ditto. | |
574 | * config/alpha/tm-alpha.h: Update copyright years. | |
575 | (IN_SIGTRAMP): Use alpha_osf_in_sigtramp. | |
576 | (INNER_THAN): Use core_addr_lessthan. | |
577 | (CANNOT_FETCH_REGISTER): Use alpha_cannot_fetch_register. | |
578 | (CANNOT_STORE_REGISTER): Use alpha_cannot_store_register. | |
579 | (REGISTER_CONVERTIBLE): Use alpha_register_convertible. | |
580 | (USE_STRUCT_CONVENTION): Use alpha_use_struct_convention. | |
581 | (FRAME_CHAIN): Remove unnecessary cast. | |
582 | ||
b4ceaee6 AC |
583 | 2002-01-18 Andrew Cagney <ac131313@redhat.com> |
584 | ||
585 | * NEWS: Document that testsuite/gdb.hp/gdb.threads-hp/ is | |
586 | obsolete. | |
587 | ||
0a65a603 AC |
588 | 2002-01-18 Andrew Cagney <ac131313@redhat.com> |
589 | ||
590 | * infptrace.c: Remove ATTRIBUTE_UNUSED. Update copyright. | |
591 | * monitor.c, remote-array.c, remote-bug.c: Ditto. | |
592 | * remote-e7000.c, remote-es.c, remote-mips.c: Ditto. | |
593 | * remote-nindy.c, remote-os9k.c, remote-rdi.c: Ditto. | |
594 | * remote-rdp.c, remote-sds.c, remote-sim.c: Ditto. | |
595 | * remote-st.c, remote-vx.c, remote.c, win32-nat.c: Ditto. | |
596 | * x86-64-linux-nat.c: Ditto. | |
597 | ||
636a6dfc JT |
598 | 2002-01-18 Jason Thorpe <thorpej@wasabisystems.com> |
599 | ||
abf22e64 | 600 | * alpha-tdep.c (alpha_register_name): New function. |
636a6dfc JT |
601 | * config/alpha/tm-alpha.h (REGISTER_NAMES): Remove. |
602 | (REGISTER_NAME): Define. | |
603 | ||
acceddb6 JT |
604 | 2002-01-18 Jason Thorpe <thorpej@wasabisystems.com> |
605 | ||
606 | * config/nm-nbsd.h (KERNEL_U_ADDR): Remove. | |
607 | ||
ec32e4be JT |
608 | 2002-01-18 Jason Thorpe <thorpej@wasabisystems.com> |
609 | ||
610 | * alpha-tdep.c: Update copyright years. | |
611 | (alpha_next_pc): New function. | |
612 | (alpha_software_single_step): Ditto. | |
613 | * config/alpha/tm-alpha.h: Add prototype for | |
614 | alpha_software_single_step. | |
615 | ||
e771a871 JT |
616 | 2002-01-18 Jason Thorpe <thorpej@wasabisystems.com> |
617 | ||
618 | * alphabsd-nat.c: Update copyright years. | |
619 | (fill_gregset): Use regcache_collect. | |
620 | (fill_fpregset): Likewise. | |
621 | (fetch_inferior_registers): Only fetch integer registers | |
622 | if requested to do so. | |
623 | (store_inferior_registers): Only store integer registers | |
624 | if requested to do so. | |
625 | ||
7708fa01 AC |
626 | 2002-01-17 Andrew Cagney <ac131313@redhat.com> |
627 | ||
628 | * config/alpha/alpha-osf3.mh (XDEPFILES): Delete. | |
629 | * config/alpha/alpha-osf2.mh (XDEPFILES): Delete. | |
630 | * config/alpha/alpha-osf1.mh (XDEPFILES): Delete. | |
631 | * config/alpha/alpha-linux.mh (XDEPFILES): Delete. | |
632 | * config/alpha/fbsd.mh (XDEPFILES): Delete. | |
633 | * config/arm/linux.mh (XDEPFILES): Delete. | |
634 | * config/arm/nbsd.mh (XDEPFILES): Delete. | |
635 | * config/i386/i386dgux.mh (XDEPFILES): Delete. | |
636 | * config/i386/i386sol2.mh (XDEPFILES): Delete. | |
637 | * config/i386/i386m3.mh (XDEPFILES): Delete. | |
638 | (NATDEPFILES): Move i387-tdep.o and core-aout.o to here. | |
639 | * config/i386/i386gnu.mh (XDEPFILES): Delete. | |
640 | * config/i386/fbsd.mh (XDEPFILES): Delete. | |
641 | * config/i386/i386bsd.mh (XDEPFILES): Delete. | |
642 | * config/i386/i386sco5.mh (XDEPFILES): Delete. | |
643 | * config/i386/i386v4.mh (XDEPFILES): Delete. | |
644 | * config/i386/i386v42mp.mh (XDEPFILES): Delete. | |
645 | * config/i386/i386sco4.mh (XDEPFILES): Delete. | |
646 | * config/i386/i386aix.mh (XDEPFILES): Delete. | |
647 | * config/i386/go32.mh (XDEPFILES): Delete. | |
648 | * config/i386/cygwin.mh (XDEPFILES): Delete. | |
649 | * config/i386/i386lynx.mh (XDEPFILES): Delete. | |
650 | * config/i386/i386mach.mh (XDEPFILES): Delete. | |
651 | * config/i386/i386v32.mh (XDEPFILES): Delete. | |
652 | * config/i386/linux.mh (XDEPFILES): Delete. | |
653 | * config/i386/nbsdelf.mh (XDEPFILES): Delete. | |
654 | * config/i386/ncr3000.mh (XDEPFILES): Delete. | |
655 | * config/i386/i386mk.mh (NATDEPFILES): Rename XDEPFILES. | |
656 | * config/i386/i386sco.mh (XDEPFILES): Delete. | |
657 | * config/i386/i386v.mh (XDEPFILES): Delete. | |
658 | * config/i386/nbsd.mh (XDEPFILES): Delete. | |
659 | * config/i386/ptx.mh (NATDEPFILES): Rename XDEPFILES. | |
660 | * config/i386/ptx4.mh (NATDEPFILES): Rename XDEPFILES. | |
661 | * config/i386/symmetry.mh (XDEPFILES): Delete. | |
662 | * config/i386/obsd.mh (XDEPFILES): Delete. | |
663 | * config/i386/x86-64linux.mh (XDEPFILES): Delete. | |
664 | * config/ia64/linux.mh (XDEPFILES): Delete. | |
665 | * config/ia64/aix.mh (XDEPFILES): Delete. | |
666 | * config/m68k/apollo68b.mh (XDEPFILES): Delete. | |
667 | * config/m68k/dpx2.mh (XDEPFILES): Delete. | |
668 | * config/m68k/3b1.mh (NATDEPFILES): Rename XDEPFILES. | |
669 | * config/m68k/apollo68v.mh (XDEPFILES): Delete. | |
670 | * config/m68k/hp300bsd.mh (XDEPFILES): Delete. | |
671 | * config/m68k/linux.mh (XDEPFILES): Delete. | |
672 | * config/m68k/m68klynx.mh (XDEPFILES): Delete. | |
673 | * config/m68k/m68kv4.mh (XDEPFILES): Delete. | |
674 | * config/m68k/nbsd.mh (XDEPFILES): Delete. | |
675 | * config/m68k/sun2os3.mh (XDEPFILES): Delete. | |
676 | * config/m68k/sun2os4.mh (XDEPFILES): Delete. | |
677 | * config/m68k/sun3os3.mh (XDEPFILES): Delete. | |
678 | * config/m68k/sun3os4.mh (XDEPFILES): Delete. | |
679 | * config/m88k/delta88.mh (XDEPFILES): Delete. | |
680 | * config/m88k/delta88v4.mh (XDEPFILES): Delete. | |
681 | * config/m88k/m88k.mh (XDEPFILES): Delete. | |
682 | * config/mips/littlemips.mh (NATDEPFILES): Rename XDEPFILES. | |
683 | * config/mips/linux.mh (XDEPFILES): Delete. | |
684 | * config/mips/irix6.mh (XDEPFILES): Delete. | |
685 | * config/mips/irix5.mh (XDEPFILES): Delete. | |
686 | * config/mips/irix4.mh (XDEPFILES): Delete. | |
687 | * config/mips/irix3.mh (XDEPFILES): Delete. | |
688 | * config/mips/decstation.mh (XDEPFILES): Delete. | |
689 | * config/mips/mipsm3.mh (XDEPFILES): Delete. | |
690 | (NATDEPFILES): Move core-aout.o to here. | |
691 | * config/ns32k/nbsd.mh (XDEPFILES): Delete. | |
692 | * config/pa/hpux1020.mh (XDEPFILES): Delete. | |
693 | * config/pa/hppabsd.mh (XDEPFILES): Delete. | |
694 | * config/pa/hppahpux.mh (XDEPFILES): Delete. | |
695 | * config/pa/hpux11w.mh (XDEPFILES): Delete. | |
696 | * config/pa/hppaosf.mh (XDEPFILES): Delete. | |
697 | * config/pa/hpux11.mh (XDEPFILES): Delete. | |
698 | * config/powerpc/aix.mh (XDEPFILES): Delete. | |
699 | * config/powerpc/nbsd.mh (XDEPFILES): Delete. | |
700 | * config/powerpc/linux.mh (XDEPFILES): Delete. | |
701 | * config/romp/rtbsd.mh: Rename XDEPFILES. | |
702 | * config/rs6000/rs6000lynx.mh (XDEPFILES): Delete. | |
703 | * config/rs6000/aix4.mh (XDEPFILES): Delete. | |
704 | * config/rs6000/rs6000.mh (XDEPFILES): Delete. | |
705 | * config/s390/s390.mh (XDEPFILES): Delete. | |
706 | * config/vax/vaxbsd.mh (NATDEPFILES): Rename XDEPFILES. | |
707 | * config/sparc/sun4sol2.mh (XDEPFILES): Delete. | |
708 | * config/sparc/sun4os4.mh (XDEPFILES): Delete. | |
709 | * config/sparc/sparclynx.mh (XDEPFILES): Delete. | |
710 | * config/sparc/nbsdelf.mh (XDEPFILES): Delete. | |
711 | * config/sparc/nbsd.mh (XDEPFILES): Delete. | |
712 | * config/sparc/linux.mh (XDEPFILES): Delete. | |
713 | * config/vax/vaxult.mh (XDEPFILES): Delete. | |
714 | * config/vax/vaxult2.mh (XDEPFILES): Delete. | |
715 | * Makefile.in (DEPFILES): Remove XDEPFILES. | |
716 | ||
375fc983 AC |
717 | 2002-01-17 Andrew Cagney <ac131313@redhat.com> |
718 | ||
719 | * utils.c (internal_verror): Fix comments, default is yes not no. | |
720 | Update queries to match. Default to quit and dump core. | |
721 | ||
8926118c AC |
722 | 2002-01-17 Andrew Cagney <ac131313@redhat.com> |
723 | ||
724 | * breakpoint.c: Update assuming #if UI_OUT is always true. Update | |
725 | copyright. | |
726 | * defs.h, event-top.c, gdbcmd.h: Ditto. | |
727 | * infcmd.c, infrun.c, main.c, printcmd.c, remote.c: Ditto. | |
728 | * source.c, stack.c, symfile.c, symtab.c, thread.c: Ditto. | |
729 | * top.c, cli/cli-cmds.c, cli/cli-decode.c: Ditto. | |
730 | * cli/cli-script.c, cli/cli-script.h, cli/cli-setshow.c: Ditto. | |
731 | * mi/ChangeLog, mi/mi-cmd-break.c, mi/mi-cmd-stack.c: Ditto. | |
732 | * mi/mi-main.c:Ditto. | |
733 | ||
734 | * stack.c, symfile.c: Update copyright. | |
735 | ||
45b7b345 DJ |
736 | 2002-01-17 Daniel Jacobowitz <drow@mvista.com> |
737 | ||
db728ff7 DJ |
738 | * gdbserver/low-hppabsd.c, gdbserver/low-lynx.c, |
739 | gdbserver/low-nbsd.c, gdbserver/low-sim.c, | |
740 | gdbserver/low-sparc.c, gdbserver/low-sun3.c, | |
741 | gdbserver/low-linux.c, gdbserver/server.c: Correct copyright notices. | |
45b7b345 | 742 | |
db728ff7 DJ |
743 | 2002-01-17 Daniel Jacobowitz <drow@mvista.com> |
744 | ||
745 | * gdbserver/low-hppabsd.c (myattach): New function, returning -1. | |
746 | * gdbserver/low-lynx.c (myattach): Likewise. | |
747 | * gdbserver/low-nbsd.c (myattach): Likewise. | |
748 | * gdbserver/low-sim.c (myattach): Likewise. | |
749 | * gdbserver/low-sparc.c (myattach): Likewise. | |
750 | * gdbserver/low-sun3.c (myattach): Likewise. | |
751 | ||
752 | * gdbserver/low-linux.c (myattach): New function. | |
45b7b345 | 753 | |
db728ff7 | 754 | * gdbserver/server.c (attach_inferior): New function. |
45b7b345 DJ |
755 | (main): Handle "--attach". |
756 | ||
8de3c354 AC |
757 | 2002-01-16 Andrew Cagney <ac131313@redhat.com> |
758 | ||
759 | * MAINTAINERS (language support): Daniel Jacobwitz is C++ | |
760 | maintainer. | |
761 | ||
b0129042 DJ |
762 | 2002-01-15 Daniel Jacobowitz <drow@mvista.com> |
763 | ||
764 | * c-typeprint.c (is_type_conversion_operator): Add additional | |
765 | check for non-conversion operators. | |
766 | ||
ba8679fb | 767 | 2002-01-15 Michael Snyder <msnyder@redhat.com> |
2bf543a6 MS |
768 | |
769 | * linux-proc.c: Add "info proc" command, a la procfs.c. | |
770 | (read_mapping): New function, abstract and re-use code. | |
771 | (linux_find_memory_regions): Use new func read_mapping. | |
772 | (linux_info_proc_cmd): New function, implement "info proc". | |
773 | (_initialize_linux_proc): Add new command "info proc". | |
774 | ||
e4f9b4d5 MS |
775 | 2002-01-15 Michael Snyder <msnyder@redhat.com> |
776 | ||
777 | * symfile.c (generic_load): Use bfd_map_over_sections method | |
778 | instead of manipulating bfd structure members directly. | |
779 | (add_section_size_callback): New function, bfd sections callback | |
780 | used by generic_load. | |
781 | (load_sections_callback): New function, bfd sections callback | |
782 | used by generic_load. | |
783 | ||
08cf96df EZ |
784 | 2002-01-15 Elena Zannoni <ezannoni@redhat.com> |
785 | ||
abf22e64 | 786 | [Based on work by Jim Blandy] |
08cf96df EZ |
787 | * gdbtypes.h (builtin_type_v16qi, builtin_type_v8hi): Export. |
788 | (builtin_type_vec128): Export. | |
789 | * gdbtypes.c (builtin_type_v16qi, builtin_type_v8hi): New SIMD | |
790 | types. | |
791 | (builtin_type_vec128): New builtin type for 128 bit vector | |
792 | registers. | |
793 | (build_gdbtypes): Initialize builtin_type_v16qi and | |
794 | builtin_type_v8hi. Create the vec128 register builtin type | |
795 | structure. | |
796 | (build_builtin_type_vec128): New function. | |
abf22e64 | 797 | (_initialize_gdbtypes): Register builtin_type_v16qi and |
08cf96df EZ |
798 | builtin_type_v8hi with gdbarch. Same for builtin_type_vec128. |
799 | * rs6000-tdep.c (rs6000_register_virtual_type): Change type of | |
800 | AltiVec register to new builtin type. | |
801 | ||
d7242108 DJ |
802 | 2001-01-15 Daniel Jacobowitz <drow@mvista.com> |
803 | ||
804 | * stabsread.c (read_type): Pass dbx_lookup_type (typenums) | |
805 | to make_cv_type. | |
806 | ||
4ee3352d AC |
807 | 2002-01-14 Andrew Cagney <ac131313@redhat.com> |
808 | ||
809 | * config/pa/tm-hppa.h (DEPRECATED_CLEAN_UP_REGISTER_VALUE): Rename | |
810 | CLEAN_UP_REGISTER_VALUE. | |
811 | * regcache.c (supply_register): Update only call. | |
812 | ||
f015b2e7 AC |
813 | 2002-01-14 Andrew Cagney <ac131313@redhat.com> |
814 | ||
815 | * configure.tgt: Mark a29k-*-aout*, a29k-*-coff*, a29k-*-elf*, | |
816 | a29k-*-ebmon*, a29k-*-kern*, a29k-*-none*, a29k-*-udi* and | |
817 | a29k-*-vxworks* targets as obsolete. | |
818 | ||
356ae49d MS |
819 | 2002-01-14 Michael Snyder <msnyder@redhat.com> |
820 | ||
821 | * linux-proc.c (linux_do_thread_registers): Ignore fpxregs | |
822 | until we can resolve portability issues. | |
823 | * gregset.h: Remove references to fpxregs. | |
824 | * gcore.c (gcore_command): Initialize note_sec to NULL. | |
825 | ||
ade8f45e AC |
826 | 2002-01-13 Andrew Cagney <ac131313@redhat.com> |
827 | ||
828 | * signals.c (target_signal_to_name): Rewrite. Only use | |
829 | signals[].name when in bounds and non-NULL. | |
abf22e64 | 830 | |
89c49e7a AC |
831 | 2002-01-13 Andrew Cagney <ac131313@redhat.com> |
832 | ||
833 | From Petr Ledvina <ledvinap@kae.zcu.cz>: | |
834 | * signals.c (target_signal_to_name): Verify that SIG is within the | |
835 | bounds of the signals array. | |
836 | ||
4daa9f9f AC |
837 | 2002-01-13 Andrew Cagney <ac131313@redhat.com> |
838 | ||
839 | * MAINTAINERS: Remove arm-coff and arm-pe from target list. | |
840 | ||
ba4bbdcb KS |
841 | 2002-01-13 Keith Seitz <keiths@redhat.com> |
842 | ||
843 | * stack.c (print_frame_info_base): Print the frame's pc | |
844 | only if when print_frame_info_listing_hook is not defined. | |
845 | ||
575bbeb6 KS |
846 | 2002-01-13 Keith Seitz <keiths@redhat.com> |
847 | ||
848 | * varobj.c (varobj_set_value): Make sure that there were no | |
849 | errors evaluating the object before attempting to set its | |
850 | value. | |
851 | value_cast now properly adjusts VALUE_ADDRESS for baseclasses, | |
852 | so this offset adjustment is no longer necessary. | |
853 | (create_child): Don't set the error flag if the child is | |
854 | a CPLUS_FAKE_CHILD. | |
855 | (value_of_child): If value_fetch_lazy fails, return NULL | |
856 | so that callers will be notified that an error occurred. | |
857 | (c_value_of_variable): Delay check of variable's validity | |
858 | until later. We actually want all structs and unions to have | |
859 | the value "{...}". | |
860 | Do not return "???" for variables which could not be evaluated. | |
861 | This error condition must be returned to the caller so that it | |
862 | can get the error condition from gdb. | |
863 | (cplus_name_of_child): Adjust index for vptr before figuring | |
864 | out the name of the child. | |
865 | (cplus_value_of_child): If a child's (real) parent is not valid, | |
866 | don't even bother trying to give a value for it. Just return | |
867 | an error. Change all instances in this function. | |
868 | (cplus_type_of_child): If our parent is one of the "fake" | |
869 | parents, we need to get at the type of the real parent, and | |
870 | derive the child's true type using this information. | |
871 | ||
b76898ab AC |
872 | 2002-01-13 Andrew Cagney <ac131313@redhat.com> |
873 | ||
874 | From 2002-01-09 John Marshall <johnm@falch.net>: | |
875 | * CONTRIBUTE, README, TODO: Change sourceware.cygnus.com to | |
876 | sources.redhat.com, and tweak some related URLs which had | |
877 | suffered from linkrot. | |
878 | ||
b6649e88 AC |
879 | 2002-01-13 Andrew Cagney <ac131313@redhat.com> |
880 | ||
881 | From Jeff law: | |
882 | * hppa-tdep.c (hppa_push_arguments): Correct handling of 5-7 byte | |
883 | structures passed in registers. | |
884 | ||
82cc5033 EZ |
885 | 2002-01-13 Eli Zaretskii <eliz@is.elta.co.il> |
886 | ||
887 | * go32-nat.c (save_npx) [__DJGPP_MINOR__ < 3]: Remove extraneous | |
888 | white space which prevented compilation. Reported by DSK | |
889 | <dsk@student.unsw.edu.au>. | |
890 | ||
ba5f2f8a MS |
891 | 2002-01-11 Michael Snyder <msnyder@redhat.com> |
892 | ||
fbd35540 MS |
893 | * symfile.c (build_section_addr_info_from_section_tab): |
894 | Use bfd access method instead of manipulating bfd directly. | |
895 | (syms_from_objfile): Ditto. | |
896 | (simple_overlay_update_1): Ditto. | |
897 | (simple_overlay_update): Ditto. | |
898 | (generic_load): Ditto. | |
899 | (overlay_unmapped_address): FIXME comment, bfd access methods. | |
900 | (sections_overlap): FIXME comment, bfd access methods. | |
901 | (pc_in_mapped_range): FIXME comment, bfd access methods. | |
902 | (pc_in_unmapped_range): FIXME comment, bfd access methods. | |
903 | (section_is_mapped): FIXME comment, bfd access methods. | |
904 | (section_is_overlay): FIXME comment, bfd access methods. | |
905 | ||
ba5f2f8a MS |
906 | * symfile.c (generic_load): Whitespace and long line cleanups. |
907 | Remove duplicate variable, change several local variables to | |
908 | more appropriate data types. | |
909 | (print_transfer_performance): Use %lu instead of %ld for ulongs. | |
910 | ||
17df2af6 AC |
911 | 2002-01-12 Andrew Cagney <ac131313@redhat.com> |
912 | ||
913 | From Peter Schauer: | |
914 | * language.c (longest_local_hex_string_custom): Use phex_nz to | |
915 | convert NUM to a hex string. | |
916 | ||
ec920329 EZ |
917 | 2002-01-12 Elena Zannoni <ezannoni@redhat.com> |
918 | ||
919 | * sh-tdep.c (sh_gdbarch_init): Move setting of long_bit earlier in | |
920 | the function. | |
538a76d6 | 921 | Update Copyright year. |
ec920329 | 922 | |
3abd2e01 AC |
923 | 2002-01-12 Andrew Cagney <ac131313@redhat.com> |
924 | ||
925 | * language.c (longest_raw_hex_string): Delete unused function. | |
926 | ||
b21b22e0 PS |
927 | 2002-01-11 Petr Sorfa <petrs@caldera.com> |
928 | ||
929 | * MAINTAINERS (write-after-approval): Add myself. | |
930 | * dwarf2read.c (read_tag_string_type): Handling of | |
931 | DW_AT_byte_size. | |
932 | (read_tag_string_type): FORTRAN fix to prevent propagation of | |
933 | first string size. | |
934 | (set_cu_language): Handling of DW_LANG_Fortran95 | |
935 | ||
747fe712 RE |
936 | 2002-01-11 Richard Earnshaw <rearnsha@arm.com> |
937 | ||
938 | * armnbsd-nat.c (fetch_inferior_registers): Change inferior_pid -> | |
939 | GETPID(inferior_ptid). | |
940 | (store_inferior_registers): Likewise. | |
941 | ||
f1bea926 JM |
942 | 2002-01-10 Jason Merrill <jason@redhat.com> |
943 | ||
944 | * dwarf2read.c (decode_locdesc): Implement DW_OP_litn, DW_OP_dup. | |
945 | Fix DW_OP_minus. | |
946 | ||
ae940673 AC |
947 | 2002-01-10 Andrew Cagney <ac131313@redhat.com> |
948 | ||
949 | * config/djgpp/fnchange.lst: Add renames for bfd/ChangeLog-0001 | |
950 | and bfd/elf32-sh-nbsd.c. | |
951 | ||
00546b04 MS |
952 | 2002-01-10 Michael Snyder <msnyder@redhat.com> |
953 | ||
352ed7b4 MS |
954 | * NEWS: Mention --pid and corefile/proc-id behavior change. |
955 | ||
c18be923 MS |
956 | * Makefile.in: Add rules for gcore.o and linux-proc.o. |
957 | * gcore.c: Include cli/cli-decode.h instead of command.h. | |
958 | ||
00546b04 MS |
959 | * main.c (captured_main): Add new command line option "--pid". |
960 | If the second command line argument (following the symbol-file) | |
961 | begins with a digit, try to attach to it before trying to open | |
962 | it as a corefile. | |
963 | (print_gdb_help): Document the "--pid" argument. | |
964 | ||
db60ec62 EZ |
965 | 2002-01-10 Eli Zaretskii <eliz@is.elta.co.il> |
966 | ||
967 | * completer.c (command_completer): New function. | |
968 | ||
969 | * completer.h <command_completer>: Add prototype. | |
970 | ||
971 | * cli/cli-cmds.c (init_cli_cmds): Make command_completer be the | |
972 | completer for the "help" command. | |
973 | ||
39c22d1a JM |
974 | 2002-01-09 Jason Merrill <jason@redhat.com> |
975 | ||
976 | * c-typeprint.c (is_type_conversion_operator): Fix thinko. | |
977 | ||
c564377f MS |
978 | 2002-01-09 Michael Snyder <msnyder@redhat.com> |
979 | ||
975aec09 MS |
980 | * i386-linux-nat.c (fill_fpxregset): Make global. |
981 | (store_fpxregset): Ditto. | |
982 | ||
db4a10fa MS |
983 | * gregset.h (gdb_fpxregset_t): Define. |
984 | (supply_fpxregset): Prototype. | |
985 | (fill_fpxregset): Prototype. | |
986 | ||
c564377f MS |
987 | * exec.c (exec_make_note_section): Don't call elfcore_write_prpsinfo. |
988 | ||
c3d45d70 RE |
989 | 2002-01-09 Richard Earnshaw <rearnsha@arm.com> |
990 | ||
991 | * config/arm/arm-tdep.h (arm_software_single_step): Remove PARAMS. | |
992 | * config/arm/nm-nbsd.h (arm_register_u_addr): Likewise. | |
993 | * config/arm/tm-nbsd.h (get_longjmp_target): Likewise. | |
994 | ||
fcc87af1 AC |
995 | 2002-01-09 Andrew Cagney <ac131313@redhat.com> |
996 | ||
997 | * MAINTAINERS: Update target maintainer rules so that any | |
998 | Maintainer can approve a tested patch for a maintenance-only | |
999 | target. | |
1000 | ||
dd96c05b RE |
1001 | 2002-01-09 Richard Earnshaw <rearnsha@arm.com> |
1002 | ||
d4297db9 | 1003 | * MAINTAINERS (write-after-approval): Add myself. |
dd96c05b | 1004 | |
d4297db9 | 1005 | * arm-tdep.c (arm_init_extra_frame_info): Cast NULL argument to |
dd96c05b RE |
1006 | IN_SIGTRAMP. |
1007 | ||
145fdc6e MS |
1008 | 2002-01-08 Michael Snyder <msnyder@redhat.com> |
1009 | ||
1010 | * linux-proc.c (child_pid_to_exec_file): Use readlink to get the | |
1011 | real name of the executable, rather than the /proc name. | |
1012 | ||
be4d1333 MS |
1013 | 2002-01-03 Michael Snyder <msnyder@redhat.com> |
1014 | ||
1015 | Implement a "generate-core-file" command in gdb, save target state. | |
1016 | * gcore.c: New file. Implement new command 'generate-core-file'. | |
1017 | Save a corefile image of the current state of the inferior. | |
1018 | * linux-proc.c: Add linux-specific code for saving corefiles. | |
1019 | * target.h (struct target_ops): Add new target vectors for saving | |
1020 | corefiles; to_find_memory_regions and to_make_corefile_notes. | |
1021 | (target_find_memory_regions): New macro. | |
1022 | (target_make_corefile_notes): New macro. | |
1023 | * target.c (update_current_target): Inherit new target methods. | |
1024 | (dummy_find_memory_regions): New place-holder method. | |
1025 | (dummy_make_corefile_notes): New place-holder method. | |
1026 | (init_dummy_target): Initialize new dummy target vectors. | |
1027 | * exec.c (exec_set_find_memory_regions): New function. | |
1028 | Allow the exec_ops vector for memory regions to be taken over. | |
1029 | (exec_make_note_section): New function, target vector method. | |
1030 | * defs.h (exec_set_find_memory_regions): Export prototype. | |
1031 | * procfs.c (proc_find_memory_regions): New function, corefile method. | |
1032 | (procfs_make_note_section): New function, corefile method. | |
1033 | (init_procfs_ops): Set new target vector pointers. | |
1034 | (find_memory_regions_callback): New function. | |
1035 | (procfs_do_thread_registers): New function. | |
1036 | (procfs_corefile_thread_callback): New function. | |
1037 | * sol-thread.c (sol_find_memory_regions): New function. | |
1038 | (sol_make_note_section): New function. | |
1039 | (init_sol_thread_ops): Initialize new target vectors. | |
1040 | * inftarg.c (inftarg_set_find_memory_regions): New function. | |
1041 | Allow to_find_memory_regions vector to be taken over. | |
1042 | (inftarg_set_make_corefile_notes): New function. | |
1043 | Allow to_make_corefile_notes vector to be taken over. | |
1044 | * thread-db.c (thread_db_new_objfile): Don't activate thread-db | |
1045 | interface layer if not target_has_execution (may be a corefile). | |
1046 | * config/i386/linux.mh: Add gcore.o to NATDEPFILES. | |
1047 | * config/sparc/sun4sol2.mh: Ditto. | |
1048 | * config/alpha/alpha-linux.mh: Ditto. | |
1049 | * config/arm/linux.mh: Ditto. | |
1050 | * config/i386/x86-64linux.mh: Ditto. | |
1051 | * config/ia64/linux.mh: Ditto. | |
1052 | * config/m68k/linux.mh: Ditto. | |
1053 | * config/mips/linux.mh: Ditto. | |
1054 | * config/powerpc/linux.mh: Ditto. | |
1055 | * config/sparc/linux.mh: Ditto. | |
1056 | ||
c6b92abd MS |
1057 | 2002-01-07 Michael Snyder <msnyder@redhat.com> |
1058 | ||
1059 | * arm-linux-nat.c: Remove references to regcache.c internal data | |
1060 | (registers[] and register_valid[]). | |
1061 | ||
4b09dc8c MS |
1062 | 2002-01-07 Michael Snyder <msnyder@redhat.com> |
1063 | ||
abf22e64 AJ |
1064 | * linux-proc.c: New file. Implement child_pid_to_exec_file, |
1065 | so that attaching to a pid will automatically read the process's | |
4b09dc8c MS |
1066 | symbol file and shlibs. |
1067 | * Makefile.in: Add rule for linux-proc.o. | |
1068 | * config/nm-linux.h: Define CHILD_PID_TO_EXEC_FILE. | |
1069 | * config/alpha/alpha-linux.mh: Add linux-proc.o to NATDEPFILES. | |
1070 | * config/arm/linux.mh: Ditto. | |
1071 | * config/i386/linux.mh: Ditto. | |
1072 | * config/i386/x86-64linux.mh: Ditto. | |
1073 | * config/ia64/linux.mh: Ditto. | |
1074 | * config/m68k/linux.mh: Ditto. | |
1075 | * config/mips/linux.mh: Ditto. | |
1076 | * config/powerpc/linux.mh: Ditto. | |
1077 | * config/sparc/linux.mh: Ditto. | |
1078 | ||
c25b74ac PM |
1079 | 2002-01-06 Pierre Muller <muller@ics.u-strasbg.fr> |
1080 | ||
1081 | * win32-nat.c: Add i386-tdep.h dependency. | |
1082 | ||
94cd915f MS |
1083 | 2002-01-07 Michael Snyder <msnyder@redhat.com> |
1084 | ||
c7cccb76 MS |
1085 | * solib.c (info_sharedlibrary_command): Use TARGET_PTR_BIT |
1086 | instead of bfd_get_arch_size. Don't bail out just because | |
1087 | there's no exec_bfd. | |
abf22e64 | 1088 | |
34c0bd93 MS |
1089 | * cp-valprint.c (cp_print_value): FIXME comment, alloca size. |
1090 | * p-valprint.c (pascal_object_print_value): Ditto. | |
1091 | * somread.c (som_symtab_read): Ditto. | |
1092 | * symfile.c (simple_free_overlay_region_table): Ditto. | |
1093 | * valops.c (value_assign): Ditto. | |
1094 | ||
21c1c920 MS |
1095 | * tracepoint.c (tracepoint_save_command): From Klee Dienes -- |
1096 | use tilde_expand and strerror for opening save-tracepoints file. | |
1097 | ||
5bbd998e MS |
1098 | * thread-db.c (thread_db_new_objfile): Indendation fix. |
1099 | ||
94cd915f MS |
1100 | * infptrace.c (GDB_MAX_ALLOCA): New define. |
1101 | (child_xfer_memory): Use xmalloc/xfree instead of alloca if the | |
abf22e64 | 1102 | size of the buffer exceeds GDB_MAX_ALLOCA (default 1 megabyte, |
94cd915f MS |
1103 | can be overridden with whatever value is appropriate to the host). |
1104 | * infttrace.c (child_xfer_memory): Add FIXME warning about use of | |
1105 | alloca to allocate potentially large buffer. | |
1106 | * rs6000-nat.c (child_xfer_memory): Ditto. | |
1107 | * symm-nat.c (child_xfer_memory): Ditto. | |
1108 | * x86-64-linux-nat.c (child_xfer_memory): Ditto. | |
1109 | ||
494e8a93 JSC |
1110 | 2002-01-07 Jackie Smith Cashion <jsmith@redhat.com> |
1111 | ||
1112 | From Nick Clifton <nickc@redhat.com> | |
1113 | * d10v-tdep.c: Set STACK_START to 0x200bffe. | |
1114 | ||
d0e1d48e MS |
1115 | 2002-01-07 Michael Snyder <msnyder@redhat.com> |
1116 | ||
abf22e64 | 1117 | * solib-legacy.c (legacy_svr4_fetch_link_map_offsets): |
d0e1d48e MS |
1118 | Don't use exec_bfd if it's NULL. |
1119 | ||
290b2c7a MK |
1120 | 2002-01-06 Mark Kettenis <kettenis@gnu.org> |
1121 | ||
abf22e64 | 1122 | * valops.c (value_arg_coerce): Fix formatting. |
290b2c7a | 1123 | |
aef21287 AC |
1124 | 2002-01-06 Andrew Cagney <ac131313@redhat.com> |
1125 | ||
1126 | * hp-psymtab-read.c: Include "gdb_string.h" instead of <string.h>. | |
1127 | * gnu-nat.c: Ditto. | |
1128 | ||
30efa627 AC |
1129 | 2002-01-06 Andrew Cagney <ac131313@redhat.com> |
1130 | ||
1131 | * MAINTAINERS: Note that alpha-dec-osf4.0a, arc-elf, arm-coff, | |
1132 | arm-elf, arm-pe, d30v-elf, fr30-elf, h8300hms, h8500hms, | |
1133 | i960-coff, m32r-elf, m68k-elf, m88k, mcore-elf, mn10200-elf, | |
1134 | ns32k-netbsd, hppa1.1-hp-proelf, v850-elf, vax-dec-vms5.5 and | |
1135 | z8k-coff have not been multi-arched. Update z8k-coff build | |
1136 | status. | |
1137 | ||
9b4ff276 AC |
1138 | 2002-01-06 Andrew Cagney <ac131313@redhat.com> |
1139 | ||
1140 | * MAINTAINERS: Mark a29k target as obsolete. | |
1141 | * Makefile.in (a29k-tdep.o, remote-adapt.o, remote-eb.o) | |
1142 | (remote-mm.o, remote-udi.o): Obsolete. Remove references in | |
1143 | comments. | |
1144 | * NEWS: Note that a29k targets are obsolete. | |
1145 | * a29k-tdep.c: Mark as obsolete. | |
1146 | * configure.tgt: Mark a29k-*-aout*, a29k-*-coff*, a29k-*-elf*, | |
1147 | a29k-*-ebmon*, a29k-*-kern*, a29k-*-none*, a29k-*-udi* and | |
1148 | a29k-*-vxworks* targets as obsolete. | |
1149 | * remote-adapt.c: Obsolete. | |
1150 | * remote-eb.c: Obsolete. | |
1151 | * remote-mm.c: Obsolete. | |
1152 | * remote-udi.c: Obsolete. | |
1153 | * config/a29k/a29k-udi.mt: Obsolete. | |
1154 | * config/a29k/a29k.mt: Obsolete. | |
1155 | * config/a29k/tm-a29k.h: Obsolete. | |
1156 | * config/a29k/tm-vx29k.h: Obsolete. | |
1157 | * config/a29k/vx29k.mt: Obsolete. | |
1158 | ||
a9011d31 AC |
1159 | 2002-01-05 Andrew Cagney <ac131313@redhat.com> |
1160 | ||
1161 | * rs6000-tdep.c (rs6000_do_registers_info): Replace BIG_ENDIAN | |
1162 | with BFD_ENDIAN_BIG. | |
1163 | ||
9299404e AC |
1164 | 2002-01-05 Andrew Cagney <ac131313@redhat.com> |
1165 | ||
1166 | * configure.in (AC_CHECK_HEADERS): Do not check for <endian.h>. | |
1167 | * configure, config.in: Re-generate. | |
1168 | * config/vax/xm-vaxbsd.h: Do not include <machine/endian.h>. | |
1169 | * defs.h: Do not include <endian.h>. | |
1170 | ||
7e89e357 JT |
1171 | 2002-01-05 Jason Thorpe <thorpej@wasabisystems.com> |
1172 | ||
1173 | * acconfig.h (HAVE_PT_GETXMMREGS): New. | |
1174 | * config.in: Regenerate. | |
1175 | * configure.in: Update copyright years. | |
1176 | Add test for PT_GETXMMREGS supplied by <sys/ptrace.h>. | |
1177 | * configure: Regenerate. | |
1178 | * i386bsd-nat.c: Update copyright years. | |
1179 | (fill_gregset): Use regcache_collect. | |
1180 | (fetch_inferior_registers): Only fetch integer registers | |
1181 | if requested to do so. Add support for XMM registers | |
1182 | using PT_GETXMMREGS. | |
1183 | (store_inferior_registers): Only store integer registers | |
1184 | if requested to do so. Add support for XMM registers | |
1185 | using PT_SETXMMREGS. | |
1186 | * i386nbsd-nat.c (fetch_inferior_registers): Remove. | |
1187 | (store_inferior_registers): Remove. | |
1188 | (fetch_core_registers): Use supply_gregset and i387_supply_fsave. | |
1189 | (fetch_elfcore_registers): New function. | |
1190 | (i386nbsd_elfcore_fns): New. | |
1191 | (_initialize_i386nbsd_nat): Register i386nbsd_elfcore_fns. | |
1192 | * config/i386/nbsd.mh (NATDEPFILES): Add i387-nat.o and | |
1193 | i386bsd-nat.o. | |
1194 | * config/i386/nbsdelf.mh (NATDEPFILES): Likewise. | |
1195 | * config/i386/nbsd.mt (TDEPFILES): Add i386bsd-nat.o. | |
1196 | * config/i386/nbsdelf.mt (TDEPFILES): Likewise. | |
1197 | * config/i386/tm-nbsd.h: Update copyright years. | |
1198 | (HAVE_SSE_REGS): Define. | |
1199 | (IN_SIGTRAMP): Define as i386bsd_in_sigtramp. | |
1200 | (SIGTRAMP_START): Redefine as i386bsd_sigtramp_start. | |
1201 | (SIGTRAMP_END): Redefine as i386bsd_sigtramp_end. | |
1202 | (SIGCONTEXT_PC_OFFSET): Remove. | |
1203 | (FRAME_SAVED_PC): Define as i386bsd_frame_saved_pc. | |
1204 | ||
a752853e AC |
1205 | 2002-01-05 Andrew Cagney <ac131313@redhat.com> |
1206 | ||
1207 | * configure.tgt: Remove powerpc-*-macos* target. | |
1208 | * config/m68k/xm-mpw.h: Delete file. | |
1209 | * config/xm-mpw.h: Delete file. | |
1210 | * ser-mac.c: Delete file. | |
1211 | * mpw-make.sed: Delete file. | |
1212 | * mpw-config.in: Delete file. | |
1213 | * mac-xdep.c: Delete file. | |
1214 | * mac-gdb.r: Delete file. | |
1215 | * mac-defs.h: Delete file. | |
1216 | * mac-nat.c: Delete file. | |
1217 | * config/powerpc/macos.mh: Delete file. | |
1218 | * config/powerpc/macos.mt: Delete file. | |
1219 | * config/powerpc/nm-macos.h: Delete file. | |
1220 | * config/powerpc/tm-macos.h: Delete file. | |
1221 | * source.c (openp, open_source_file): Remove obsolete code. | |
1222 | * top.c (gdb_readline): Ditto. | |
1223 | * utils.c (query): Ditto. | |
1224 | * event-top.c (display_gdb_prompt): Ditto. | |
1225 | * Makefile.in (ser-mac.o): Delete obsolete target. | |
1226 | * NEWS: Update. | |
1227 | ||
d7449b42 AC |
1228 | 2002-01-04 Andrew Cagney <ac131313@redhat.com> |
1229 | ||
1230 | * defs.h (BIG_ENDIAN): Delete macro definition. | |
1231 | * a29k-tdep.c, arch-utils.c, arm-tdep.c, ax-gdb.c, ch-exp.c, | |
1232 | coffread.c, cris-tdep.c, d10v-tdep.c, d30v-tdep.c, defs.h, | |
1233 | findvar.c, infcmd.c, mem-break.c, mips-tdep.c, mn10300-tdep.c, | |
1234 | printcmd.c, remote-os9k.c, remote-rdi.c, remote-rdp.c, | |
1235 | remote-sim.c, remote.c, rs6000-tdep.c, sh-tdep.c, sparcl-tdep.c, | |
1236 | stabsread.c, valops.c, valprint.c, config/a29k/tm-a29k.h, | |
1237 | config/a29k/tm-vx29k.h, config/arm/tm-arm.h, | |
1238 | config/d30v/tm-d30v.h, config/fr30/tm-fr30.h, | |
1239 | config/h8300/tm-h8300.h, config/h8500/tm-h8500.h, | |
1240 | config/m32r/tm-m32r.h, config/m68k/tm-m68k.h, | |
1241 | config/m88k/tm-m88k.h, config/mips/tm-mips.h, config/pa/tm-hppa.h, | |
1242 | config/sparc/tm-sparc.h, config/z8k/tm-z8k.h, mi/mi-cmd-disas.c, | |
1243 | mi/mi-main.c: Replace BIG_ENDIAN with BFD_ENDIAN_BIG. | |
1244 | * gdbarch.sh: Replace BIG_ENDIAN with BFD_ENDIAN_BIG. | |
1245 | * gdbarch.c: Re-generate. | |
1246 | ||
356374e8 DJ |
1247 | 2002-01-04 Daniel Jacobowitz <drow@mvista.com> |
1248 | ||
1249 | * thread-db.c (thread_db_new_objfile): Do not enable thread_db | |
1250 | for core files. | |
1251 | ||
a2b8f8f8 JT |
1252 | 2002-01-04 Jason Thorpe <thorpej@wasabisystems.com> |
1253 | ||
1254 | * config/arm/nbsd.mh (XDEPFILES): Remove ser-tcp.o. | |
1255 | ||
12466af9 AC |
1256 | 2002-01-04 Andrew Cagney <ac131313@redhat.com> |
1257 | ||
1258 | * value.h (value_ptr): Delete typedef. | |
1259 | ||
3549ab40 JT |
1260 | 2002-01-04 Jason Thorpe <thorpej@wasabisystems.com> |
1261 | ||
1262 | * i386nbsd-nat.c: Update copyright years. | |
1263 | Include i386-tdep.h. | |
1264 | ||
fedbd091 EZ |
1265 | 2002-01-04 Elena Zannoni <ezannoni@redhat.com> |
1266 | ||
1267 | * stabsread.c: Update copyright years. | |
1268 | ||
1269 | From Debashis Mahata <debashis.mahata@wipro.com>: | |
1270 | (read_struct_fields): Deal with Sun C compiler erroneous stab | |
1271 | output for structs and unions. | |
fec8b34f | 1272 | Fix PR gdb/269. |
fedbd091 | 1273 | |
eb43544b DJ |
1274 | 2002-01-04 Daniel Jacobowitz <drow@mvista.com> |
1275 | ||
1276 | * p-valprint.c: Include "cp-abi.h" for baseclass_offset | |
1277 | prototype. | |
1278 | ||
1514d34e DJ |
1279 | 2002-01-04 Daniel Jacobowitz <drow@mvista.com> |
1280 | ||
1281 | * cp-abi.c: Fix whitespace. | |
1282 | (baseclass_offset): New wrapper function. | |
1283 | * cp-abi.h (baseclass_offset): Add prototype. | |
1284 | (struct cp_abi_ops): Add baseclass_offset pointer. | |
1285 | ||
1286 | * valops.c (vb_match): Move to... | |
1287 | * gnu-v2-abi.c (vb_match): here. | |
1288 | * valops.c (baseclass_offset): Move to... | |
1289 | * gnu-v2-abi.c (gnuv2_baseclass_offset): here, and rename. | |
1290 | ||
1291 | * gnu-v3-abi.c (gnuv3_baseclass_offset): New function. | |
1292 | ||
1293 | * gnu-v2-abi.c (init_gnuv2_ops): Initialize baseclass_offset. | |
1294 | * gnu-v3-abi.c (init_gnuv3_ops): Likewise. | |
1295 | * hpacc-abi.c (init_hpacc_ops): Likewise. | |
1296 | ||
7f8c9282 DJ |
1297 | 2002-01-04 Daniel Jacobowitz <drow@mvista.com> |
1298 | ||
1299 | * valops.c (find_overload_match): Accept obj as a | |
1300 | reference parameter. Update it before returning. | |
1301 | * value.h (find_overload_match): Update prototype. | |
1302 | * eval.c (evaluate_subexp_standard): Pass object to | |
1303 | find_overload_match by reference. | |
1304 | ||
f23631e4 AC |
1305 | 2002-01-03 Andrew Cagney <ac131313@redhat.com> |
1306 | ||
1307 | * valarith.c: Replace value_ptr with struct value pointer. Remove | |
1308 | register attribute from value declarations. | |
1309 | * valops.c: Ditto. | |
1310 | * value.h: Ditto. | |
1311 | * scm-lang.c (scm_lookup_name): Ditto. | |
1312 | ||
79e10fab | 1313 | 2002-01-03 Michael Snyder <msnyder@redhat.com> |
abf22e64 | 1314 | |
79e10fab AC |
1315 | Abstract the functionality of iterating over mapped memory |
1316 | regions into a general purpose iterator function. | |
abf22e64 | 1317 | * procfs.c (iterate_over_mappings): New function, general purpose |
79e10fab AC |
1318 | iterator for memory sections. |
1319 | (proc_iterate_over_mappings): Reimplement using iterate_over_mappings. | |
1320 | (solib_mappings_callback): New function, callback for above. | |
1321 | (info_proc_mappings): Reimpliment using iterate_over_mappings. | |
1322 | (info_mappings_callback): New function, callback for above. | |
1323 | ||
1324 | * procfs.c (proc_set_watchpoint): Add cast to suppress warning. | |
1325 | ||
c5ad026a MK |
1326 | 2002-01-01 Mark Kettenis <kettenis@gnu.org> |
1327 | ||
d2a7c97a MK |
1328 | * i386-tdep.h (struct gdbarch_tdep): Add `os_ident' member. |
1329 | * i386-tdep.c: Include "elf-bfd.h". | |
1330 | (process_note_abi_tag_sections): New function. | |
1331 | (i386_gdbarch_init): Add code to recognize various OS/ABI | |
1332 | combinations. | |
1333 | ||
c5ad026a MK |
1334 | * maint.c (_initialize_maint_cmds): Add missing \ in |
1335 | string-literal. | |
1336 | ||
a1a5b71e | 1337 | For older changes see ChangeLog-2001 |
c906108c SS |
1338 | \f |
1339 | Local Variables: | |
1340 | mode: change-log | |
1341 | left-margin: 8 | |
1342 | fill-column: 74 | |
1343 | version-control: never | |
1344 | End: |