Commit | Line | Data |
---|---|---|
44f45770 EZ |
1 | 2000-03-22 Elena Zannoni <ezannoni@kwikemart.cygnus.com> |
2 | ||
3 | From Philippe De Muyter <phdm@macqel.be> | |
4 | ||
5 | * event-loop.c (sys/types.h): File now included unconditionally. | |
6 | (use_poll): New variable.. | |
7 | (gdb_notifier): poll- and select-versions merged. | |
8 | (add_file_handler): If HAVE_POLL, check whether poll is usable, | |
9 | and reset `use_poll' if not. | |
10 | (create_file_handler): Select poll- or select-version according to | |
11 | `use_poll'. | |
12 | (delete_file_handler, handle_file_event): Likewise. | |
13 | (gdb_wait_for_event, poll_timers): Likewise. | |
14 | ||
593de6a6 PS |
15 | 2000-03-22 Peter Schauer <pes@regent.e-technik.tu-muenchen.de> |
16 | ||
17 | * printcmd.c (print_scalar_formatted): Truncate addresses to the | |
18 | size of a target pointer before passing them to print_address. | |
19 | ||
1a309862 MK |
20 | 2000-03-22 Mark Kettenis <kettenis@gnu.org> |
21 | ||
22 | * config/i386/tm-i386aix.h (I386_AIX_TARGET): Remove. | |
23 | * config/i386/tm-linux.h (LOW_RETURN_REGNUM, HIGH_RETURN_REGNUM): | |
24 | Remove | |
25 | * i386-tdep.c (LOW_RETURN_REGNUM, HIGH_RETURN_REGNUM): New defines. | |
26 | (i386_extract_return_value): Rewritten. Correctly support all | |
27 | floating-point types and large integer types on targets that use | |
28 | the standard i386 GDB register layout and return floating-point | |
29 | values in the FPU. | |
30 | ||
6a08e74c AC |
31 | Wed Mar 22 15:09:34 2000 Andrew Cagney <cagney@b1.cygnus.com> |
32 | ||
33 | * configure.in (CONFIG_INITS): Do not append remote-nrom.c | |
34 | ||
5f04ac3d C |
35 | 2000-03-21 J.T. Conklin <jtc@redback.com> |
36 | ||
37 | * i386/nbsd.mh (NATDEPFILES): Change i386b-nat.o to i386nbsd-nat.o. | |
38 | * i386nbsd-nat.c: New file. | |
39 | ||
40 | * i386/tm-nbsd.h (NUM_REGS): Removed. | |
41 | (HAVE_I387_REGS): Defined. | |
42 | * i386/nm-nbsd.h (FLOAT_INFO): Removed. | |
43 | ||
44 | * tm-nbsd.h (IN_SOLIB_CALL_TRAMPOLINE): Define if not | |
45 | SVR4_SHARED_LIBS. | |
46 | ||
f09cffe3 AC |
47 | Wed Mar 22 11:18:59 2000 Andrew Cagney <cagney@b1.cygnus.com> |
48 | ||
49 | * MAINTAINERS: Add Jim Blandy to breakpoint maintainers. David | |
50 | taylor is the Solaris/SPARC maintainer. Add Jonathan Larmour to | |
51 | the write after approval list. | |
52 | ||
62557bbc KB |
53 | 2000-03-21 Kevin Buettner <kevinb@redhat.com> |
54 | ||
55 | * symtab.h (MAX_SECTIONS, struct section_addr_info, | |
56 | symbol_file_add): Move declarations from here... | |
57 | * symfile.h: ...to here. | |
58 | ||
59 | * solib.c (symbol_add_stub): Make symbol_file_add () aware of | |
60 | all section addresses, not just .text. | |
61 | * symfile.h, symfile.c (free_section_addr_info, | |
62 | build_section_addr_info_from_section_table): New functions. | |
63 | ||
64 | * symfile.h (MAX_SECTIONS): Increase value to 40. | |
65 | * symfile.c (syms_from_objfile): Add bounds check prior to | |
66 | accessing ``other'' array in a section_addr_info_struct. | |
67 | Remove unused variable section_offsets. | |
68 | (add_symbol_file_command): Remove unused variable text_addr. | |
69 | ||
99e5c1c8 MS |
70 | 2000-03-21 Eli Zaretskii <eliz@is.elta.co.il> |
71 | ||
72 | * breakpoint.c (bpstat_stop_status): Don't stop if a read | |
73 | watchpoint appears to break, but the watched value changed. | |
74 | ||
333a782f JB |
75 | 2000-03-21 Jim Blandy <jimb@redhat.com> |
76 | ||
77 | * gdbarch.sh: Emit a definition and declaration for gdbarch_free, | |
78 | a companion to gdbarch_alloc, which allows a gdbarch init function | |
79 | to free partially-built gdbarch structures. | |
80 | * gdbarch.c, gdbarch.h: Regenerated. | |
81 | ||
eafb8301 KB |
82 | 2000-03-20 Kevin Buettner <kevinb@redhat.com> |
83 | ||
84 | * configure.host, configure.tgt (ia64-*-linux*): New entry. | |
85 | ||
86 | * gdbserver/low-linux.c (u_offsets, ia64_register_u_addr, | |
87 | initialize_arch): Define for IA-64. | |
88 | (initialize_arch): Add declaration. | |
89 | ||
2e70b7b9 MS |
90 | 2000-03-20 Eli Zaretskii <eliz@is.elta.co.il> |
91 | ||
92 | * breakpoint.c (insert_breakpoints, remove_breakpoint) | |
93 | (bpstat_stop_status, can_use_hardware_watchpoint): Don't insert, | |
94 | remove, or check status of hardware watchpoints for entire structs | |
95 | and arrays unless the user explicitly asked to watch that struct | |
96 | or array. | |
97 | (insert_breakpoints): Try to insert watchpoints for all the values | |
98 | on the value chain, even if some of them fail to insert. | |
99 | ||
100 | * values.c (value_primitive_field): Set the offset in struct value | |
101 | we return when the field is a packed bitfield. | |
102 | ||
9d1f7ab2 MS |
103 | 2000-03-20 Michael Snyder <msnyder@cleaver.cygnus.com> |
104 | ||
105 | * remote.c (remote_threads_extra_info): new function. | |
106 | Implement the extra thread info query for "info threads". | |
107 | (remote_threads_info): clean up a bit. | |
108 | (use_threadinfo_query, use_threadextra_query): new variables. | |
109 | Control whether GDB will use the new or old protocol for | |
110 | thread info queries. | |
111 | (remote_open_1): initialize new variables. | |
112 | (remote_async_open_1): ditto. | |
113 | (remote_cisco_open): ditto. | |
114 | ||
16461d7d KB |
115 | 2000-03-20 Kevin Buettner <kevinb@redhat.com> |
116 | ||
117 | * ia64-linux-nat.c, ia64-tdep.c, config/ia64/linux.mh, | |
118 | config/ia64/linux.mt, config/ia64/nm-linux.h, config/ia64/tm-ia64.h, | |
119 | config/ia64/tm-linux.h, config/ia64/xm-linux.h: New files. | |
120 | ||
ba8966d6 KB |
121 | 2000-03-20 Kevin Buettner <kevinb@redhat.com> |
122 | ||
123 | * utils.c (floatformat_from_doublest): Don't assume that a long | |
124 | will be exactly 32 bits in length. Also... make sure space | |
125 | that we're writing the float to is completely initialized to | |
126 | zeroes, even when the number of bits in the float is not | |
127 | evenly divisible by FLOATFORMAT_CHAR_BIT. | |
128 | ||
e7ee86a9 JB |
129 | 2000-03-20 Jim Blandy <jimb@redhat.com> |
130 | ||
131 | * i386-linux-nat.c: No need to #include "frame.h" any more. | |
132 | (LINUX_SIGTRAMP_INSN0, LINUX_SIGTRAMP_OFFSET0, | |
133 | LINUX_SIGTRAMP_INSN1, LINUX_SIGTRAMP_OFFSET1, | |
134 | LINUX_SIGTRAMP_INSN2, LINUX_SIGTRAMP_OFFSET2, linux_sigtramp_code, | |
135 | LINUX_SIGTRAMP_LEN, i386_linux_sigtramp_start, | |
136 | LINUX_RT_SIGTRAMP_INSN0, LINUX_RT_SIGTRAMP_OFFSET0, | |
137 | LINUX_RT_SIGTRAMP_INSN1, LINUX_RT_SIGTRAMP_OFFSET1, | |
138 | linux_rt_sigtramp_code, LINUX_RT_SIGTRAMP_LEN, | |
139 | i386_linux_rt_sigtramp_start, i386_linux_in_sigtramp, | |
140 | i386_linux_sigcontext_addr, LINUX_SIGCONTEXT_PC_OFFSET, | |
141 | i386_linux_sigtramp_saved_pc, LINUX_SIGCONTEXT_SP_OFFSET, | |
142 | i386_linux_sigtramp_saved_sp): Deleted. Folks rightly pointed | |
143 | out that these are target-dependent, and useful in non-native | |
144 | configurations. Moved to... | |
145 | * i386-linux-tdep.c: ... Here, a new file. | |
146 | * Makefile.in (ALLDEPFILES): Add i386-linux-tdep.c. | |
147 | (i386-linux-tdep.o): New rule. | |
148 | (i386-linux-nat.o): We no longer depend on frame.h. | |
149 | * config/i386/linux.mt (TDEPFILES): Add i386-linux-tdep.o. | |
150 | ||
58a2c44a EZ |
151 | 2000-03-04 Eli Zaretskii <eliz@is.elta.co.il> |
152 | ||
153 | * event-loop.c (top-level) [NO_FD_SET]: Deprecate this branch. | |
154 | Print an error at compile time if we are to use select, but FD_SET | |
155 | is not available. | |
156 | (SELECT_MASK, NBBY, FD_SETSIZE, NFDBITS, MASK_SIZE): Define only | |
157 | if HAVE_POLL is not defined and NO_FD_SET *is* defined. | |
158 | (create_file_handler) [!HAVE_POLL]: Use FD_SET and FD_CLR. | |
159 | (delete_file_handler) [!HAVE_POLL]: Use FD_CLR and FD_ISSET. | |
160 | (gdb_wait_for_event) [!HAVE_POLL]: Copy fd_set sets directly | |
161 | instead of using memcpy and memset. Use FD_ISSET. | |
162 | ||
163 | * config/i386/xm-go32.h (fd_mask): Remove typedef. | |
164 | ||
acd46a93 AC |
165 | Mon Mar 20 19:58:45 2000 Andrew Cagney <cagney@b1.cygnus.com> |
166 | ||
167 | * command.c (_initialize_command): Document requirements for ``!'' | |
168 | command. | |
169 | ||
b71896da AC |
170 | Mon Mar 20 18:12:46 2000 Andrew Cagney <cagney@b1.cygnus.com> |
171 | ||
172 | From Fri 10 Mar 2000 Robert | |
173 | <robert.melchers@drives.eurotherm.co.uk>: | |
174 | * sh-tdep.c (sh_processor_type_table): Add entry for sh2. | |
175 | ||
4397a6ab AC |
176 | Mon Mar 20 17:33:32 2000 Andrew Cagney <cagney@b1.cygnus.com> |
177 | ||
178 | From Thu Mar 16 16:49:27 EST 2000 John David Anglin | |
179 | <dave@hiauly1.hia.nrc.ca>: | |
180 | * configure.in (CONFIG_INITS): Don't include hpux-thread.c. Stops | |
181 | _initialize_hpux_thread being called twice. | |
182 | * configure: Regenerated. | |
183 | ||
c5201926 EZ |
184 | 2000-03-19 Eli Zaretskii <eliz@is.elta.co.il> |
185 | ||
186 | * event-top.c (_initialize_event_loop): If instream is not | |
187 | connected to a terminal device, turn editing off. | |
188 | ||
ded59a1e EZ |
189 | 2000-03-19 Eli Zaretskii <eliz@is.elta.co.il> |
190 | ||
191 | Support for building GDB with DJGPP, and running the test suite on | |
192 | it: | |
193 | * config/djgpp/djconfig.sh: New file. | |
194 | * config/djgpp/config.sed: New file. | |
195 | * config/djgpp/README: New file. | |
196 | * config/djgpp/fnchange.lst: New file. | |
197 | * config/djgpp/djcheck.sh: New file. | |
198 | ||
615b480f EZ |
199 | 2000-03-19 Eli Zaretskii <eliz@is.elta.co.il> |
200 | ||
201 | * ser-go32.c (ports): Make the initializers complete, to pacify | |
202 | GCC 2.9X. | |
203 | ||
1cc26dd0 JB |
204 | 2000-03-17 Jim Blandy <jimb@redhat.com> |
205 | ||
9f81f4aa JB |
206 | * i386v-nat.c (i386_insert_nonaligned_watchpoint): Use a |
207 | two-dimensional array, instead of faking it with explicit index | |
208 | arithmetic. | |
209 | ||
210 | * linux-thread.c (linuxthreads_attach, linuxthreads_detach, | |
211 | linuxthreads_create_inferior): Fix typo in variable name: it's | |
212 | linuxthreads_exit_status, not linux_exit_status. | |
213 | ||
214 | * gdb_wait.h (WSETSTOP): Pass the appropriate number of arguments | |
215 | to W_STOPCODE. | |
216 | ||
1cc26dd0 JB |
217 | * solib.c (solib_add): Delete debugging code. |
218 | ||
ca9c33a5 MS |
219 | 2000-03-17 Mark Kettenis <kettenis@gnu.org> |
220 | ||
221 | * gdb_wait.h: add definitions of WSETSTOP and WSETEXIT for Linux. | |
222 | * linux-thread.c: Use WSETSTOP instead of W_STOPCODE. | |
223 | ||
ccdaf797 PDM |
224 | Fri Mar 17 11:06:59 2000 Philippe De Muyter <phdm@macqel.be> |
225 | ||
226 | * language.c (set_lang_str): Do not call `free' for a null pointer. | |
227 | (set_type_str, set_range_str): Ditto. | |
228 | ||
7f869e41 JB |
229 | 2000-03-16 Jim Blandy <jimb@redhat.com> |
230 | ||
17f9defb JB |
231 | * i386-linux-nat.c (i386_linux_saved_pc_after_call): Lost in the |
232 | merge; reinstated. | |
233 | ||
7f869e41 JB |
234 | * solib.c (current_sos): Be more careful about freeing the new |
235 | so_list node if an error occurs. | |
236 | ||
11708b95 JB |
237 | * i386-tdep.c (LINUX_SIGTRAMP_INSN0, LINUX_SIGTRAMP_OFFSET0, |
238 | LINUX_SIGTRAMP_INSN1, LINUX_SIGTRAMP_OFFSET1, | |
239 | LINUX_SIGTRAMP_INSN2, LINUX_SIGTRAMP_OFFSET2, linux_sigtramp_code, | |
240 | LINUX_SIGTRAMP_LEN, i386_linux_sigtramp_start, | |
241 | LINUX_RT_SIGTRAMP_INSN0, LINUX_RT_SIGTRAMP_OFFSET0, | |
242 | LINUX_RT_SIGTRAMP_INSN1, LINUX_RT_SIGTRAMP_OFFSET1, | |
243 | linux_rt_sigtramp_code, LINUX_RT_SIGTRAMP_LEN, | |
244 | i386_linux_rt_sigtramp_start, i386_linux_in_sigtramp, | |
245 | i386_linux_sigcontext_addr, LINUX_SIGCONTEXT_PC_OFFSET, | |
246 | i386_linux_sigtramp_saved_pc, LINUX_SIGCONTEXT_SP_OFFSET, | |
17f9defb JB |
247 | i386_linux_sigtramp_saved_sp): Deleted. These all implement |
248 | Linux-specific signal trampoline detection, and should be moved | |
249 | to... | |
11708b95 JB |
250 | * i386-linux-nat.c: ... here. |
251 | * config/i386/tm-linux.h (I386_LINUX_SIGTRAMP): No need to define | |
252 | this any more, since we're not enabling OS-specific code in a | |
253 | OS-independent file. | |
254 | ||
3a95698a EZ |
255 | 2000-03-16 Eli Zaretskii <eliz@is.elta.co.il> |
256 | ||
2c33cc30 | 257 | * Makefile.in (go32-nat.o): Add prerequisites. |
3a95698a EZ |
258 | (ALLDEPFILES): Add go32-nat.c. |
259 | ||
0a83117a MS |
260 | 2000-03-15 Michael Snyder <msnyder@cleaver.cygnus.com> |
261 | ||
262 | From "Peter.Schauer" <Peter.Schauer@regent.e-technik.tu-muenchen.de> | |
263 | * symfile.c (reread_symbols): Clear msymbol hash table. | |
264 | ||
07cd4b97 JB |
265 | 2000-03-15 Jim Blandy <jimb@redhat.com> |
266 | ||
267 | Deal with the inferior unloading shared objects. | |
268 | * solib.c (current_sos): New function, replacing find_solib. | |
269 | (find_solib): Deleted. | |
270 | (free_so): New function. | |
271 | (clear_solib): Call free_so, instead of writing it out. | |
272 | (solib_add): Rewritten: compare the inferior's current list of | |
273 | shared objects with GDB's list, and do the required loads and | |
274 | unloads. | |
275 | (info_sharedlibrary_command, solib_address): Don't use find_solib | |
276 | to walk the list of shared libraries: call solib_add, and then | |
277 | walk the list at so_list_head normally. | |
278 | * objfiles.c (free_objfile): Don't call CLEAR_SOLIB, and don't | |
279 | detach the core target. These tasks are taken care of elsewhere. | |
280 | * target.c (remove_target_sections): New function. | |
281 | * target.h (remove_target_sections): New declaration. | |
282 | ||
283 | * solib.c (symbol_add_stub): Check whether we've already created | |
284 | an objfile for this shared object first, before doing all that | |
285 | work to compute section addresses, etc. | |
286 | ||
287 | * objfiles.c (unlink_objfile): Report an internal error if objfile | |
288 | doesn't occur in the object_files list. | |
289 | ||
290 | * solib.c (special_symbol_handling): Delete argument; it's not | |
291 | used. | |
292 | ||
293 | Changes from Peter Schauer <pes@regent.e-technik.tu-muenchen.de>: | |
294 | ||
295 | * solib.c (SOLIB_EXTRACT_ADDRESS): New macro to extract addresses | |
296 | from solib structures. Use it throughout solib.c, get rid of all | |
297 | CORE_ADDR casts. | |
298 | (struct so_list): Change type of lmaddr to CORE_ADDR. | |
299 | (first_link_map_member): Change return value type to CORE_ADDR, | |
300 | update callers. | |
301 | (solib_add_common_symbols): Change parameter type to CORE_ADDR, | |
302 | update callers. | |
303 | (open_symbol_file_object, find_solib): Change type of lm variable | |
304 | to CORE_ADDR. | |
305 | ||
afbae4e3 EZ |
306 | 2000-03-15 Eli Zaretskii <eliz@is.elta.co.il> |
307 | ||
308 | * ser-go32.c (dos_noop, dos_raw, dos_noflush_set_tty_state) | |
309 | (dos_print_tty_state, dos_info, _initialize_ser_dos): Convert | |
310 | to ISO C. Use ATTRIBUTE_UNUSED to avoid compiler warnings. | |
311 | (dos_info): Avoid compiler warning when printing a ptrdiff_t. | |
312 | ||
313 | * ser-go32.c (dos_get_tty_state): Fail if the (fake) handle was | |
314 | not opened by dos_open, but let the 3 standard handles go through | |
315 | unharmed. | |
316 | ||
751a959b EZ |
317 | 2000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com> |
318 | ||
319 | * eval.c (evaluate_subexp_with_coercion): Add call to | |
320 | check_typedef, to handle typedeffed vars correctly. | |
321 | ||
1a0559af AC |
322 | Mon Mar 13 21:21:41 2000 Andrew Cagney <cagney@b1.cygnus.com> |
323 | ||
324 | * defs.h (STREQ, STRCMP, STREQN): Document that these macros are | |
325 | somewhat redundant. | |
326 | (QUIT): Note that this can probably be replaced by a function. | |
327 | ||
73a93a32 JI |
328 | 2000-03-13 James Ingham <jingham@leda.cygnus.com> |
329 | ||
330 | Add support for a variable object that tries to evaluate itself in | |
331 | the currently selected frame, rather than in a fixed frame. | |
332 | ||
333 | * wrapper.c,h (gdb_parse_exp_1): Added a wrapper for | |
334 | gdb_parse_exp_1. | |
335 | * varobj.h: Added USE_CURRENT_FRAME to varobj_type & changed def'n | |
336 | of varobj_create. | |
337 | * varobj.c (varobj_list): Return type indicates whether the | |
338 | variable's type has changed (for current frame variables). | |
339 | (varobj_update): Handle the case where the variable's type has | |
340 | changed. | |
341 | (delete_variable_1): Allow for deletion of variables that have not | |
342 | been installed yet. | |
343 | (new_root_variable): Initialize use_selected_frame variable. | |
344 | (value_of_root): This is where most of the work to handle "current | |
345 | frame" variables was added. Most of the complexity involves | |
346 | handling the case where the type of the variable has changed. | |
347 | (varobj_create): Add a "type" argument, to tell if the | |
348 | variable is one of these "current frame" variables. Also protect | |
349 | call to parse_exp_1 from long jumping. | |
350 | ||
0fff5247 EZ |
351 | 2000-03-13 Eli Zaretskii <eliz@is.elta.co.il> |
352 | ||
353 | * go32-nat.c (struct env387): Remove declaration. | |
354 | (print_387_status, i386_go32_float_info): Remove redundant | |
355 | functions. | |
356 | (regno_mapping, sig_map, excepn_map): Add braces around inner | |
357 | initializers. | |
358 | (many functions): Use ATTRIBUTE_UNUSED to shut up the compiler; | |
359 | fix code which mixed signed with unsigned. | |
360 | (go32_resume): Use TARGET_SIGNAL_LAST instead of -1. | |
361 | (go32_wait): Initialize INT3_addr. | |
362 | (go32_fetch_registers): Extend all FP registers that are shorter | |
363 | than 4 bytes to 32 bits. Support 32 standard FP registers defined | |
364 | on config/i386/tm-i386.h. | |
365 | (store_register): Support 32 FP registers. | |
366 | (go32_create_inferior): Don't crash if handed a NULL pointer | |
367 | instead of exec file name. | |
368 | (ignore): Remove unused function. | |
369 | (go32_insert_hw_breakpoint): Remove unused variables. | |
370 | (init_go32_ops): Set value of processing_gcc_compilation to 2. | |
371 | ||
db577aea AC |
372 | Mon Mar 13 18:54:42 2000 Andrew Cagney <cagney@b1.cygnus.com> |
373 | ||
374 | From 2000-03-10 Daniel Berlin <dan@cgsoftware.com> Fix C++ | |
375 | overloading, add support for seeing through references: | |
376 | * valops.c (find_overload_match): Handle STABS overloading for | |
377 | C++. | |
378 | (find_overload_match): Look in right place for function arguments | |
379 | in the debug info. | |
380 | (find_overload_match): Rather than giving up when we have >1 | |
381 | perfect match, just choose one, especially since the | |
382 | recommendation GDB gives ("disambiguate it by specifying function | |
383 | signature"), is basically impossible. | |
384 | (check_field_in): STREQ->strcmp_iw | |
385 | (search_struct_field): STREQ->strcmp_iw | |
386 | (find_method_list): STREQ->strcmp_iw | |
387 | * gdbtypes.c (rank_one_type): Add ability to see through | |
388 | references. | |
389 | (rank_one_type): strcmp->strcmp_iw, because the whitespace could | |
390 | be different. | |
391 | (rank_function): Rank function properly (was doing it wrong | |
392 | before, comparing the wrong parts of the arrays) | |
393 | (rank_one_type): Change #if 0 to #ifdef DEBUG_OLOAD. | |
394 | * gdbtypes.h: Add REFERENCE_CONVERSION_BADNESS for "badness" | |
395 | associated with converting a non-reference to a reference. | |
396 | ||
397 | * gdbtypes.c (rank_one_type): Add comment on how to eliminate the | |
398 | #ifdef DEBUG_OLOAD. | |
399 | ||
f75c77fc MK |
400 | 2000-03-11 Mark Kettenis <kettenis@gnu.org> |
401 | ||
402 | * gnu-nat.c: Fix the formatting where indent misinterpreted `&' as | |
403 | a binary operator. | |
404 | (gnu_attach): Change error message for missing | |
405 | argument to be identical to the corresponding message in | |
406 | `inftarg.c'. This makes the testsuite happy. | |
407 | ||
fb557744 MK |
408 | 2000-03-11 Mark Kettenis <kettenis@gnu.org> |
409 | ||
410 | * i386gnu-nat.c (gnu_store_registers): Make sure the T bit in the | |
411 | %eflags isn't modified. This fixes a bug where every call to a | |
412 | function in the program beyond the first call would fail. | |
413 | ||
36c2118f AC |
414 | Fri Mar 10 11:44:55 2000 Andrew Cagney <cagney@b1.cygnus.com> |
415 | ||
416 | * MAINTAINERS: Devolve responsibility for domain maintenance. | |
417 | ||
a79dea61 EZ |
418 | 2000-03-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com> |
419 | ||
420 | * minsyms.c (prim_record_minimal_symbol_and_info): Add comment. | |
421 | ||
f1a6b754 SB |
422 | 2000-02-25 Scott Bambrough <scottb@netwinder.org> |
423 | ||
424 | * gdb.base/long_long.exp: Correct test suite failure when printing | |
425 | a long long value as a double on ARM platforms. | |
426 | ||
513d6eba AC |
427 | Thu Mar 9 14:21:07 2000 Andrew Cagney <cagney@b1.cygnus.com> |
428 | ||
429 | * MAINTAINERS (Core): Anthony Green is the Java - including | |
7b83ea04 AC |
430 | testsuite - maintainer. Reformat testsuite and language support |
431 | sections | |
513d6eba | 432 | |
4cc24188 MK |
433 | 2000-03-08 Mark Kettenis <kettenis@gnu.org> |
434 | ||
435 | * i386-tdep.c (i386_linux_saved_pc_after_call): New function. | |
436 | * config/i386/tm-linux.h (SAVED_PC_AFTER_CALL): Define to call | |
437 | i386_linux_saved_pc_after_call. | |
438 | ||
9227b5eb JB |
439 | 2000-03-06 Jim Blandy <jimb@redhat.com> |
440 | ||
441 | From Tom Tromey <tromey@cygnus.com> and Keith Seitz <?>: | |
442 | ||
443 | * minsyms.c: #include <ctype.h>, for msymbol_hash_iw. | |
444 | (compact_minimal_symbols): Added `objfile' argument. | |
445 | Put symbols in the objfile's hash table. | |
446 | (install_minimal_symbols): Put symbols in the objfile's demangled | |
447 | hash table. | |
448 | (lookup_minimal_symbol): Use hash table to find symbol in | |
449 | objfile. | |
450 | (msymbol_hash_iw, msymbol_hash, add_minsym_to_hash_table): New | |
451 | functions. | |
452 | (prim_record_minimal_symbol_and_info): Initialize the | |
453 | hash link fields of the new minimal symbol. | |
454 | * symtab.h (struct minimal_symbol): New fields `hash_next', | |
455 | `demangled_hash_next'. | |
456 | (msymbol_hash_iw, msymbol_hash, add_minsym_to_hash_table): Declare. | |
457 | * objfiles.h (MINIMAL_SYMBOL_HASH_SIZE): New define. | |
458 | (struct objfile): New fields `msymbol_hash', | |
459 | `msymbol_demangled_hash'. | |
460 | ||
ef7904ee JB |
461 | 2000-03-06 Jim Blandy <jimb@redhat.com> |
462 | ||
463 | * solib.c (first_link_map_member): Doc fix. | |
464 | ||
2f16bb32 EZ |
465 | 2000-03-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com> |
466 | ||
7b83ea04 | 467 | From Eli Zaretskii <eliz@is.elta.co.il>: |
2f16bb32 EZ |
468 | |
469 | * event-loop.c (poll_timers): Don't compare delta.tv_sec with | |
470 | zero, since time_t might be unsigned. | |
471 | ||
b948cda9 MK |
472 | 2000-03-06 Mark Kettenis <kettenis@gnu.org> |
473 | ||
474 | * i386-linux-nat.c (supply_fpregset): Mask off the reserved bits | |
475 | in *FPREGSETP. | |
476 | (convert_to_fpregset): Don't touch the reserved bits in *FPREGSETP. | |
477 | ||
9eaaac16 MK |
478 | 2000-03-05 Mark Kettenis <kettenis@gnu.org> |
479 | ||
480 | Allow GDB to run on Linux 2.0 again. | |
481 | * config.in: Add HAVE_PTRACE_GETREGS. | |
482 | * configure.in: Check if <sys/ptrace.h> defines PTRACE_GETREGS. | |
483 | * configure: Regenerated. | |
484 | * config/i386/nm-linux.h (CANNOT_FETCH_REGISTER, | |
485 | CANNOT_STORE_REGISTER): New defines. | |
486 | * i386-linux-nat.c (have_ptrace_getregs): New variable. | |
487 | (PTRACE_XFER_TYPE, CANNOT_FETCH_REGISTER, fetch_register, | |
488 | old_fetch_inferior_registers, CANNOT_STORE_REGISTER, | |
489 | store_register, old_store_inferior_registers): Copied over from | |
490 | `inptrace.c' as a temporary measure. | |
491 | (fetch_regs, store_regs, fetch_fpregs, store_fpregs): | |
492 | Conditionalize on HAVE_PTRACE_GETREGS. Define stubs if | |
493 | HAVE_PTRACE_GETREGS isn't defined. | |
494 | (fetch_regs): Reset `have_ptrace_getregs' if ptrace call fails | |
495 | with EIO. | |
496 | (fetch_inferior_registers, store_inferior_registers): Fall back on | |
497 | the method use in `infptrace.c' (by calling | |
498 | old_fetch_inferior_registers and old_store_inferior_registers) if | |
499 | `have_ptrace_getregs' isn't set. | |
500 | ||
04cd15b6 MK |
501 | 2000-03-05 Mark Kettenis <kettenis@gnu.org> |
502 | ||
503 | * i386-linux-nat.c: Use elf_gregset_t and elf_fpregset_t instead | |
504 | of gregset_t and fpregset_t. Those are the only names that are | |
505 | guaranteed to specify the right types for all supported Linux | |
506 | systems out there. | |
507 | Various doc fixes and gratitious local variable renames, all in an | |
508 | attempt to stress similarities between the code and unify the | |
509 | terminology used. Use ISO-C all over. | |
510 | (regmap): Remove trailing comma. | |
511 | (FPREG_ADDR): Renamed from FPREGSET_T_FPREG_ADDR. | |
512 | (convert_to_gregset): Make static. Remove GDB_REGS argument. It | |
513 | is unnecessary and wasn't used anyway. All callers changed. | |
514 | (convert_to_fpregset, convert_to_xfpregset): Likewise. | |
515 | (fetch_regs, store_regs): Remove unused variable `regno'. | |
516 | (fill_fpregs): If REGNO is not -1, only update the specified | |
517 | register. | |
518 | (fetch_core_registers): Renamed from | |
519 | i386_linux_fetch_core_registers. There is no need for a unique | |
520 | name since the function is static anyway. | |
521 | (linux_elf_core_fns): Renamed from i386_linux_nat_core_functions | |
522 | since it is more descriptive. | |
523 | ||
9ec7faef AC |
524 | Sun Mar 5 19:40:27 2000 Andrew Cagney <cagney@b1.cygnus.com> |
525 | ||
526 | * MAINTAINERS (readline/): Expand to include host maintainers. | |
527 | ||
45a816d9 MK |
528 | 2000-03-04 Mark Kettenis <kettenis@gnu.org> |
529 | ||
530 | Fix support for Linux/i386 signal trampolines. The old approach | |
531 | didn't work for Linux 2.2 and beyond, and didn't work with recent | |
532 | versions of the GNU C library. | |
533 | * i386-tdep.c (LINUX_RT_SIGTRAMP_INSN0, LINUX_RT_SIGTRAMP_OFFSET0, | |
534 | LINUX_RT_SIGTRAMP_INSN1, LINUX_RT_SIGTRAMP_OFFSET1): New defines. | |
535 | (linux_rt_sigtramp_code): New variable. | |
536 | (LINUX_RT_SIGTRAMP_LEN): New define. | |
537 | (i386_linux_rt_sigtramp_start): New function. Detect start of | |
538 | signal trampolines for RT signals. | |
539 | (i386_linux_sigtramp): Removed. | |
540 | (i386_linux_in_sigtramp): New function. | |
541 | (i386_linux_sigcontext_addr): New function. Recognize the names | |
542 | of the signal tranmpolines used by recent versions of the GNU C | |
543 | library, and add support for RT signals. | |
7b83ea04 | 544 | (LINUX_SIGCONTEXT_PC_OFFSET, LINUX_SIGCONTEXT_SP_OFFSET): New |
45a816d9 MK |
545 | defines. Moved here from config/i386/tm-linux.h. |
546 | (i386_linux_sigtramp_saved_pc, i386_linux_sigtramp_saved_sp): | |
547 | Reimplement in terms of i386_linux_sigcontext_addr. | |
548 | * config/i386/tm-linux.h (LINUX_SIGCONTEXT_SIZE): Removed. | |
7b83ea04 AC |
549 | (LINUX_SIGCONTEXT_PC_OFFSET, LINUX_SIGCONTEXT_SP_OFFSET): |
550 | Moved to i386-tdep.c. | |
45a816d9 MK |
551 | (IN_SIGTRAMP): Redefine to call i386_linux_in_sigtramp. |
552 | ||
109213fc | 553 | Sat Mar 4 19:38:11 2000 Andrew Cagney <cagney@b1.cygnus.com> |
b70bc471 | 554 | |
109213fc | 555 | By: Sat Mar 4 04:08:58 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br> |
b70bc471 AO |
556 | * Makefile.in (all-gdbtk): Fix $srcdir to ${srcdir}. |
557 | ||
7158fd7f AC |
558 | Sat Mar 4 17:23:06 2000 Andrew Cagney <cagney@b1.cygnus.com> |
559 | ||
560 | * MAINTAINERS: Frank Ch. Eigler and Andrew Cagney co-ordinate the | |
7b83ea04 | 561 | sim directory. |
7158fd7f | 562 | |
e7411eaa AC |
563 | Sat Mar 4 16:19:31 2000 Andrew Cagney <cagney@b1.cygnus.com> |
564 | ||
565 | * MAINTAINERS: Add Michael Snyder and Peter Schauer to list of | |
7b83ea04 | 566 | ``Blanket Write Privs'' maintainers. |
e7411eaa | 567 | |
392746e5 AC |
568 | Sat Mar 4 15:58:40 2000 Andrew Cagney <cagney@b1.cygnus.com> |
569 | ||
9ec7faef | 570 | From Sun 20 Feb 2000 Robert Lipe <robertl@sco.com>: |
392746e5 | 571 | * language.c (longest_local_hex_string_custom): Don't compile |
7b83ea04 | 572 | 'long long' section if host doesn't have 'long long'. |
392746e5 | 573 | |
7acb79c8 AC |
574 | Sat Mar 4 15:45:38 2000 Andrew Cagney <cagney@b1.cygnus.com> |
575 | ||
576 | * language.c (longest_raw_hex_string): Comment out. Appears | |
7b83ea04 | 577 | unused. |
7acb79c8 | 578 | |
082faf24 AC |
579 | Sat Mar 4 13:02:09 2000 Andrew Cagney <cagney@b1.cygnus.com> |
580 | ||
581 | * utils.c (mcalloc), defs.h (mcalloc): Keep consistent with | |
7b83ea04 | 582 | "mmalloc.h" which means using PTRs. |
082faf24 AC |
583 | (init_malloc, msavestring, mstrsave): Convert to PTR free ISO-C. |
584 | ||
a9ac8f51 AC |
585 | Sat Mar 4 11:49:21 2000 Andrew Cagney <cagney@b1.cygnus.com> |
586 | ||
587 | * defs.h (store_address, store_unsigned_integer, store_address): | |
7b83ea04 | 588 | Replace PTR with void* in delcaration. |
a9ac8f51 | 589 | * findvar.c (extract_signed_integer, extract_unsigned_integer, |
7b83ea04 AC |
590 | extract_long_unsigned_integer, extract_address, |
591 | store_signed_integer, store_unsigned_integer, store_address): | |
592 | Convert definition to ISO-C. Replace PTR with void*. | |
a9ac8f51 | 593 | |
e4005526 AC |
594 | Sat Mar 4 10:57:25 2000 Andrew Cagney <cagney@b1.cygnus.com> |
595 | ||
596 | * defs.h (make_cleanup_func): Document as deprecated. | |
597 | (make_cleanup_ftype): New typedef. Make signature consistent with | |
7b83ea04 AC |
598 | other function typedefs. Document as not be used out side of |
599 | make_cleanup code. Use in make_cleanup declarations. | |
e54a9244 | 600 | (null_cleanup): Replace PTR with void*. |
7b83ea04 | 601 | |
e4005526 | 602 | * utils.c (make_cleanup, make_final_cleanup, make_run_cleanup, |
7b83ea04 AC |
603 | make_exec_cleanup, make_exec_error_cleanup, make_my_cleanup, |
604 | null_cleanup): Change K&R definition to ISO-C using void* and | |
605 | make_cleanup_fytpe. | |
e4005526 AC |
606 | (discard_my_cleanups): Don't cast argument to free. |
607 | ||
97bb9d91 EZ |
608 | 2000-03-03 Elena Zannoni <ezannoni@kwikemart.cygnus.com> |
609 | ||
610 | * defs.h (struct continuation_arg): Change type of field 'data' | |
7b83ea04 | 611 | from PTR to void *. |
97bb9d91 EZ |
612 | |
613 | * event-loop.h: Eliminate uses of PTR, use 'void *' instead. | |
614 | ||
615 | * event-top.c: Ditto. | |
616 | ||
b3a90332 AC |
617 | Fri Mar 3 15:39:34 2000 Andrew Cagney <cagney@b1.cygnus.com> |
618 | ||
619 | * Makefile.in (CONFIG_CLEAN, CONFIG_ALL, LN_S): Defined by | |
7b83ea04 | 620 | configure. |
b3a90332 | 621 | (SUBDIR_MI_CLEAN, SUBDIR_GDBTK_CLEAN, SUBDIR_MI_ALL, |
7b83ea04 | 622 | SUBDIR_GDBTK_ALL): Define. |
b3a90332 AC |
623 | (all-gdbtk, clean-gdbtk): New targets. |
624 | (all): Add CONFIG_ALL as dependency. | |
625 | (clean): Add CONFIG_CLEAN as dependency. | |
7b83ea04 | 626 | |
b3a90332 AC |
627 | * configure.in (CONFIG_ALL, CONFIG_CLEAN): Define. |
628 | (LN_S): Define. Delete GDBtk's link code. | |
629 | ||
379d6434 AC |
630 | Fri Mar 3 13:12:34 2000 Andrew Cagney <cagney@b1.cygnus.com> |
631 | ||
632 | * configure.in (ENABLE_GDBTK): Delete variable. | |
633 | (enable-gdbtk): Only enable gdbtk when there is a GDBTK directory. | |
634 | * Makefile.in: Update. | |
635 | * configure: Regenerate | |
636 | ||
7b64ac2f EZ |
637 | 2000-03-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com> |
638 | ||
639 | * config/alpha/alpha-linux.mh: Remove core-regset.o fron the | |
7b83ea04 | 640 | NATDEPFILES list. |
7b64ac2f | 641 | |
667620fa MK |
642 | 2000-03-02 Mark Kettenis <kettenis@gnu.org> |
643 | ||
644 | * config/i386/tm-i386aix.h (NUM_FPREGS, NUM_REGS, REGISTER_BYTES): | |
645 | Override definitions to include the normal FPU registers. | |
646 | (REGISTER_CONVERTIBLE, REGISTER_CONVERT_TO_VIRTUAL, | |
647 | REGISTER_CONVERT_TO_RAW): Removed. The default definitions are | |
648 | fine for AIX/i386. | |
649 | (i387_to_double, double_to_i387): Remove prototypes. | |
650 | ||
3db87ba3 KB |
651 | 2000-03-02 Kevin Buettner <kevinb@redhat.com> |
652 | ||
653 | * findvar.c (extract_floating, store_floating): Use target | |
654 | floating point type sizes rather host sizes to determine | |
655 | which conversion needs to be done. | |
656 | ||
6c7e601e ND |
657 | 2000-03-02 Nick Duffek <nsd@cygnus.com> |
658 | ||
659 | * uw-thread.c: Apply GNU conventions to comment formatting. | |
660 | (deactivate_uw_thread): Call remove_thread_event_breakpoints(). | |
661 | (uw_thread_mourn_inferior): Move remove_thread_event_breakpoints() | |
662 | call to deactivate_uw_thread(). | |
663 | ||
a09e9d09 AC |
664 | Thu Mar 2 09:04:46 2000 Andrew Cagney <cagney@b1.cygnus.com> |
665 | ||
7b83ea04 | 666 | * MAINTAINERS: Daniel Berlin is C++ maintainer. |
a09e9d09 | 667 | |
ef7b4488 AC |
668 | Thu Mar 2 08:55:35 2000 Andrew Cagney <cagney@b1.cygnus.com> |
669 | ||
670 | * MAINTAINERS: Mark Kettenis is the x86 architcture maintainer and | |
7b83ea04 AC |
671 | a joint GNU/Linux/x86 maintainer. Nick Duffeck and Robert Lipe |
672 | share SCO/Unixware. Nick Duffek and Peter Schauer share | |
673 | Solaris/x86. | |
a09e9d09 | 674 | |
75660bc0 | 675 | Wed Mar 1 22:12:35 2000 Andrew Cagney <cagney@b1.cygnus.com> |
7b83ea04 | 676 | |
75660bc0 AC |
677 | From Wed 23 Feb 2000 Fernando Nasser <fnasser@redhat.com>: |
678 | * remote-sim.c (gdbsim_close): Call generic_mourn_inferior. | |
7b83ea04 | 679 | * remote-rdi.c (arm_rdi_close): Ditto. |
75660bc0 | 680 | |
15db4a06 AC |
681 | Wed Mar 1 19:31:32 2000 Andrew Cagney <cagney@b1.cygnus.com> |
682 | ||
683 | * CONTRIBUTE (configure.in): Note that patches to configure are | |
7b83ea04 | 684 | not needed. |
15db4a06 | 685 | |
80582566 MK |
686 | 2000-03-01 Mark Kettenis <kettenis@gnu.org> |
687 | ||
688 | * MAINTAINERS: Correct my own mail address. | |
689 | ||
dfe25b3a AC |
690 | Wed Mar 1 11:26:07 2000 Andrew Cagney <cagney@b1.cygnus.com> |
691 | ||
692 | * MAINTAINERS: Document people with paperwork pending. | |
693 | ||
05e28a7b AC |
694 | Wed Mar 1 00:49:06 2000 Andrew Cagney <cagney@b1.cygnus.com> |
695 | ||
696 | From 2000-02-28 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>: | |
697 | Make NEW_PROC_ABI interface functional on Solaris x86. | |
698 | * sol-thread.c (ps_lgetLDT): Rewrite to use new | |
7b83ea04 AC |
699 | procfs_find_LDT_entry function from procfs.c, mostly copied from |
700 | lin-thread.c. | |
05e28a7b | 701 | * inferior.h, procfs.c (procfs_get_pid_fd): Removed, no longer |
7b83ea04 | 702 | needed. |
05e28a7b | 703 | |
b241ba8e AC |
704 | Wed Mar 1 00:34:55 2000 Andrew Cagney <cagney@b1.cygnus.com> |
705 | ||
706 | From 2000-02-26 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>: | |
707 | * config/i386/tm-i386sol2.h (MERGEPID): Define. | |
708 | ||
1211c4e4 AC |
709 | Wed Mar 1 00:06:19 2000 Andrew Cagney <cagney@b1.cygnus.com> |
710 | ||
711 | From 1999-08-13 J.T. Conklin <jtc@redback.com>: | |
7b83ea04 AC |
712 | * config/i386/tm-i386.h (FRAME_INIT_SAVED_REGS): Replace |
713 | FRAME_FIND_SAVED_REGS. | |
714 | (i386_frame_init_saved_regs): Replace i386_frame_find_saved_regs. | |
715 | * i386-tdep.c (i386_frame_init_saved_regs, i386_pop_frame): | |
716 | Update. | |
1211c4e4 | 717 | |
2fc18c15 AC |
718 | Tue Feb 29 23:56:41 2000 Andrew Cagney <cagney@b1.cygnus.com> |
719 | ||
720 | From 2000-02-23 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>: | |
721 | * objfiles.c (open_mapped_file): Fix obsolete references to `mapped' | |
722 | parameter. | |
723 | ||
02409499 AC |
724 | Tue Feb 29 18:47:58 2000 Andrew Cagney <cagney@b1.cygnus.com> |
725 | ||
726 | From 2000-02-23 Eli Zaretskii <eliz@is.elta.co.il>: | |
727 | * config/i386/nm-go32.h (FLOAT_INFO): Remove macro definition. | |
728 | (top level): Add prototypes for go32_* functions. | |
729 | * config/i386/tm-go32.h (I386_DJGPP_TARGET): Define. | |
730 | (FRAME_CHAIN, FRAMELESS_FUNCTION_INVOCATION, FRAME_SAVED_PC): | |
731 | Override definitions from tm-i386.h. | |
732 | (REGISTER_VIRTUAL_TYPE): Remove macro definition. | |
733 | * i386-tdep.c (i386_extract_return_value) | |
734 | [I386_AIX_TARGET || I386_GNULINUX_TARGET]: Add I386_DJGPP_TARGET | |
735 | to the list of targets which return FP values in FP registers. | |
736 | ||
737 | * i386-tdep.c (i386_extract_return_value): Add FIXME recommending | |
7b83ea04 | 738 | that this function be re-implemented using multi-arch. |
02409499 | 739 | |
9d271fd8 AC |
740 | Tue Feb 29 18:40:08 2000 Andrew Cagney <cagney@b1.cygnus.com> |
741 | ||
742 | From 2000-02-23 Eli Zaretskii <eliz@is.elta.co.il>: | |
743 | * utils.c [__GO32__]: Include pc.h, for prototypes of ScreenCols | |
744 | and ScreenRows. | |
745 | * ser-go32.c: Include string.h, for prototype of strncasecmp. | |
746 | (dpmi_regs, dpmi_sregs): Remove unused variables. | |
747 | (dos_flush_input): Return a value, to prevent compiler warning. | |
748 | * expprint.c (dump_prefix_expression): Use %ld in format and cast | |
749 | sizeof(union exp_element) to long, to prevent GCC from complaining | |
750 | about format/argument mismatch. | |
751 | (dump_postfix_expression): Likewise. | |
752 | ||
30f6df08 AC |
753 | Tue Feb 29 18:09:46 2000 Andrew Cagney <cagney@b1.cygnus.com> |
754 | ||
755 | * arm-tdep.c: Include <ctype.h>. | |
756 | ||
d082b2bb AC |
757 | Tue Feb 29 17:33:49 2000 Andrew Cagney <cagney@b1.cygnus.com> |
758 | ||
759 | From Wed, 23 Feb 2000 Fernando Nasser <fnasser@redhat.com>: | |
760 | * stack.c (backtrace_command_1), infrun.c (normal_stop): Check | |
7b83ea04 | 761 | that the target's stack was valid. |
d082b2bb | 762 | |
244106e8 AC |
763 | Tue Feb 29 15:14:56 2000 Andrew Cagney <cagney@b1.cygnus.com> |
764 | ||
765 | From 2000-02-22 Stephane Carrez <stcarrez@worldnet.fr>: | |
7b83ea04 | 766 | * dwarf2read.c (read_address): Read 16-bits addresses. |
244106e8 | 767 | |
56624b0a SB |
768 | 2000-02-28 Scott Bambrough <scottb@netwinder.org> |
769 | ||
770 | * arm-linux-nat.c (fetch_nw_fpe_*): | |
7b83ea04 | 771 | Renamed to fetch_nwfpe_* to use the same naming convention |
56624b0a SB |
772 | as in the Linux kernel. Modified prototype to get rid of |
773 | unused parameters. | |
774 | (store_nw_fpe_*): Renamed to store_nwfpe_* to use the same | |
7b83ea04 | 775 | naming convention as in the Linux kernel. Fixed calls to |
56624b0a SB |
776 | fetch_nwfpe_*. |
777 | (store_fpregs): Fixed calls to store_nwfpe_*. Removed | |
7b83ea04 | 778 | unused variable. |
56624b0a | 779 | |
388c1733 AC |
780 | Mon Feb 28 18:24:32 2000 Andrew Cagney <cagney@b1.cygnus.com> |
781 | ||
782 | * MAINTAINERS: Transfer d30v maintainership to David Taylor. | |
783 | ||
f0d42432 CF |
784 | 2000-02-28 Christopher Faylor <cgf@cygnus.com> |
785 | ||
786 | * win32-nat.c: Remove unneeded header. | |
787 | * wince.c: Ditto. | |
788 | ||
c322964e AC |
789 | Mon Feb 28 13:34:54 2000 Andrew Cagney <cagney@b1.cygnus.com> |
790 | ||
791 | * wince.c: Include "gdb_wait.h" and not "wait.h". | |
792 | ||
8860ff2e AC |
793 | Mon Feb 28 10:58:45 2000 Andrew Cagney <cagney@b1.cygnus.com> |
794 | ||
795 | * MAINTAINERS: Mention mmalloc. Expand Host/Native and | |
7b83ea04 | 796 | Target/Architecture maintainers descriptions. |
8860ff2e | 797 | |
942fd805 MK |
798 | 2000-02-26 Mark Kettenis <kettenis@gnu.org> |
799 | ||
800 | * gnu-nat.c: Include "gdbthread.h". Include <hurd.h>. | |
801 | Reorder headers a bit. Overall cleanup and minor reformatting. | |
802 | (MIG_SERVER_DIED): Remove define. | |
803 | (proc_update_sc): Add braces to silence compiler warning. | |
804 | (proc_steal_exc_port): Initialize err to zero. | |
805 | (make_proc): Add braces to silence compiler warning. | |
806 | (inf_validate_task_sc): Add cast to silence compiler warning. | |
807 | (inf_set_traced): Reorganize a bit to silence compiler warning. | |
808 | (inf_validate_procs): Use mach_msg_type_number_t for all thread | |
809 | numbers and add braces to silence compiler warning. | |
810 | (gnu_wait): Add prototypes for server functions and add braces to | |
811 | silence compiler warnings. | |
812 | (S_exception_raise_request): Pass subcode to inf_debug call. | |
813 | (gnu_write_inferior): Remove unused variable `protection_changed'. | |
814 | (gnu_xfer_memory): Remove unused variable `result'. | |
815 | (set_sig_thread_cmd): Remove unused varible `tid'. | |
816 | (set_signals_cmd): Remve unused variable `trace'. | |
817 | (add_task_commands): Provide complete prototype. Reformat help | |
818 | strings a bit to make sure the first line is a full sentence. | |
819 | Call info_port_rights_cmd instead of info_send_rights_cmd for the | |
820 | "info port-rights" command. | |
821 | (add_thread_commands): Provide complete prototype. Make static. | |
822 | Reformat help strings a bit to make sure the first line is a full | |
823 | sentence. | |
824 | (_initialize_gnu_nat): Provide complete prototype. | |
825 | ||
75c6e08a MK |
826 | 2000-02-26 Mark Kettenis <kettenis@gnu.org> |
827 | ||
828 | Make cross-compilation for the Hurd more friendly. | |
829 | From Jeff Bailey <jbailey@gnu.org>: | |
830 | * configure.in: Use AC_CHECK_TOOL to find MiG. | |
831 | * Makefile.in (MIG): New variable. | |
832 | * config/i386/i386gnu.mh (MIG): Remove. | |
833 | * configure: Regenerated. | |
834 | ||
ddb20c56 KB |
835 | 2000-02-26 Kevin Buettner <kevinb@redhat.com> |
836 | ||
837 | * ppc-linux-tdep.c (ppc_linux_memory_remove_breakpoint): Add | |
838 | comment explaining motivation behind this function and why | |
839 | the generic facilities won't work for this platform. | |
840 | * rs6000-tdep.c (skip_prologue): Always test to make sure | |
841 | that an instruction is read successfully from the target's | |
842 | memory. Introduce notion of instructions which may appear in | |
843 | the prologue, but may not end the prologue. Added explicit | |
844 | check for nop instruction. Use memset() to zero the frame | |
845 | data instead of assignment from a statically allocated, | |
846 | uninitialized structure. | |
847 | ||
2a20d068 AC |
848 | Sat Feb 26 17:15:16 2000 Andrew Cagney <cagney@b1.cygnus.com> |
849 | ||
850 | * MAINTAINERS: Chris Faylor is responsible for all MS Windows | |
7b83ea04 AC |
851 | systems. Note that Jim Blandy as maintainer for ``tracing |
852 | bytecode stuff'' | |
2a20d068 | 853 | |
608d5915 FN |
854 | 2000-02-25 Fernando Nasser <fnasser@cygnus.com> |
855 | ||
856 | From: Thomas Zenker <thz@Lennartz-electronic.DE> | |
857 | * rdi-share/hsys.c: to compile under 4.4BSD derived systems (FreeBSD, | |
858 | NetBSD...) sys_errlist should not be declared in hsys.c. | |
859 | NEED_SYSERRLIST is set already by configure, so we can use it. | |
860 | * rdi-share/unixcomm.c: 4.4BSD derived systems define BSD, but are | |
861 | posix compliant and we should not work with the old compatibility | |
862 | stuff. Because of that I undef BSD in case of FBSD etc and include | |
863 | sys/ioctl to get the flags. | |
864 | * rdi-share/unixcomm.c: If the TIOCEXCL flags exists set serial line | |
865 | for exclusive use. | |
866 | ||
482ca3f5 KB |
867 | 2000-02-24 Kevin Buettner <kevinb@redhat.com> |
868 | ||
869 | * ppc-linux-tdep.c (ppc_sysv_abi_push_arguments): Put address | |
870 | of return structure in r3 if necessary. | |
871 | (ppc_linux_memory_remove_breakpoints): New function. | |
872 | * rs6000-tdep.c (skip_prologue): Make sure that the cases | |
873 | for storing either cr or lr to the stack only handle those | |
874 | cases. (I.e, don't let these cases match 0x00000000 which is | |
875 | found found in the shared library trampoline prior to the | |
876 | loading of the shared library.) | |
877 | * config/powerpc/tm-linux.h (ppc_linux_memory_remove_breakpoint): | |
878 | Declare. | |
879 | (MEMORY_REMOVE_BREAKPOINT): Define. | |
880 | ||
a526d713 AC |
881 | Wed Feb 23 23:27:48 2000 Andrew Cagney <cagney@behemoth.cygnus.com> |
882 | ||
883 | * hppah-nat.c: Include "gdb_wait.h" instead of <wait.h>. | |
884 | ||
e56ac5c3 AC |
885 | Thu Feb 24 18:42:15 2000 Andrew Cagney <cagney@b1.cygnus.com> |
886 | ||
887 | * configure.in (CONFIG_INSTALL, CONFIG_UNINSTALL): Set to | |
7b83ea04 | 888 | $(SUBDIR_*_INSTALL) when so configured. |
e56ac5c3 | 889 | * configure: Regenerate. |
7b83ea04 | 890 | |
e56ac5c3 | 891 | * Makefile.in (CONFIG_INSTALL, CONFIG_UNINSTALL): Define using |
7b83ea04 | 892 | configure. |
e56ac5c3 | 893 | (install-only): Add dependency on $(CONFIG_INSTALL). Delete code |
7b83ea04 | 894 | installing GDBtk. |
e56ac5c3 AC |
895 | (uninstall): Add dependency on $(CONFIG_UNINSTALL). |
896 | (SUBDIR_MI_INSTALL, SUBDIR_MI_UNINSTALL, SUBDIR_GDBTK_UNINSTALL, | |
7b83ea04 | 897 | SUBDIR_GDBTK_INSTALL): Define. |
e56ac5c3 AC |
898 | (install-gdbtk): New target. |
899 | ||
b0b1b869 AC |
900 | Thu Feb 24 18:19:52 2000 Andrew Cagney <cagney@b1.cygnus.com> |
901 | ||
902 | * configure.in (SUBDIR_MI_CFLAGS): Fix typo, wrong brace. | |
903 | * configure: Regenerate. | |
7b83ea04 | 904 | |
091be84d CF |
905 | 2000-02-24 Christopher Faylor <cgf@cygnus.com> |
906 | ||
907 | * configure.tgt: Add arm, mips, sh wince targets. | |
908 | * config/arm/tm-wince.h: New file. | |
33ee05bc | 909 | * config/arm/wince.mt: New file. |
091be84d | 910 | * config/sh/tm-wince.h: New file. |
33ee05bc | 911 | * config/sh/wince.mt: New file. |
091be84d | 912 | * config/mips/tm-wince.h: New file. |
33ee05bc | 913 | * config/mips/wince.mt: New file. |
091be84d CF |
914 | * wince.c: New file. |
915 | * wince-stub.c: New file. | |
916 | * wince-stub.h: New file. | |
917 | * sh-tdep.c: Use correct register names for Windows CE. | |
918 | ||
99eeeb0f ND |
919 | Wed Feb 23 19:01:45 EST 2000 Nicholas Duffek <nsd@cygnus.com> |
920 | ||
921 | * top.c (SIGJMP_BUF, SIGSETJMP, SIGLONGJMP): Update comments. | |
922 | (error_return, quit_return): Merge into catch_return pointer. | |
923 | (return_to_top_level): Update comment. Longjmp to *catch_errors, | |
924 | and communicate reason to catch_errors via setjmp return value. | |
925 | (catch_errors): Always catch both quit and error, and if a catch | |
926 | wasn't requested by caller, throw it to the next catch_error. | |
927 | Replace dual longjmp buffer memcpy with single pointer change. | |
928 | Add FIXME for possibly adding new interface to tell caller what | |
929 | event was caught. Add extensive comments. | |
930 | * defs.h (enum return_reason): Reserve 0 for use as initial | |
931 | setjmp() return value. | |
932 | (RETURN_MASK): New public macro to generate RETURN_MASK_* from | |
933 | enum return_reason. | |
934 | (RETURN_MASK_QUIT, RETURN_MASK_ERROR): Define using RETURN_MASK. | |
935 | ||
242bfc55 FN |
936 | 2000-02-23 Fernando Nasser <fnasser@cygnus.com> |
937 | ||
938 | * infcmd.c (run_stack_dummy): Do not pop frame on random signal. | |
939 | * valops.c (_initialize_valops): Add command "set unwindonsignal". | |
940 | (hand_function_call): Test for unwind_on_signal and act accordingly. | |
941 | ||
ff844c8d AC |
942 | Wed Feb 23 12:58:46 2000 Andrew Cagney <cagney@b1.cygnus.com> |
943 | ||
944 | * gdbarch.sh (dis_asm_read_memory): Change LEN to unsigned long. | |
7b83ea04 | 945 | Match ../include/dis-asm.h change. |
ff844c8d AC |
946 | * gdbarch.h: Regenerate. |
947 | * corefile.c (dis_asm_read_memory): Update. | |
948 | ||
fb40c209 AC |
949 | Mon Feb 21 13:57:27 2000 Andrew Cagney <cagney@b1.cygnus.com> |
950 | ||
951 | * configure.in (CONFIG_INITS): Fix typo, was CONFIG_INIT. | |
952 | (ENABLE_CFLAGS): Move initialization to start of file. | |
953 | (enable-gdbmi): Add new configure option --enable-gdbmi. When | |
7b83ea04 AC |
954 | selected and an ${srcdir}/mi directory is present enable MI |
955 | interface. | |
fb40c209 AC |
956 | |
957 | * configure: Regenerate. | |
7b83ea04 | 958 | |
fb40c209 | 959 | * Makefile.in (SUBDIR_MI_OBS, SUBDIR_MI_SRCS, SUBDIR_MI_DEPS, |
7b83ea04 | 960 | SUBDIR_MI_INITS, SUBDIR_MI_LDFLAGS, SUBDIR_MI_CFLAGS): New macros. |
fb40c209 | 961 | (CONFIG_OBS, CONFIG_SRCS, CONFIG_DEPS, CONFIG_INITS, |
7b83ea04 AC |
962 | CONFIG_LDFLAGS): New macros. Initialized by autoconf via |
963 | @CONFIG...@. | |
fb40c209 | 964 | (INTERNAL_LDFLAGS, CDEPS, LINTFILES, DEPFILES, SOURCES, |
7b83ea04 | 965 | INIT_FILES): Use $(CONFIG_...) instead of @CONFIG...@. |
fb40c209 AC |
966 | |
967 | * mi: New directory. MI interface to GDB. | |
968 | ||
969 | * defs.h (interpreter_p): Declare when UI_OUT. | |
970 | * top.c (gdb_init): When interpreter_p, check that the interpreter | |
7b83ea04 | 971 | was recognized by one of the linked in interpreters. |
fb40c209 AC |
972 | * main.c (interpreter_p): Define. |
973 | (captured_main): When UI_OUT, check for ``-i <interpreter>'' option. | |
974 | * event-top.c (display_gdb_prompt): When interpreter_p, assume | |
7b83ea04 | 975 | interpreter displays prompt. |
fb40c209 AC |
976 | |
977 | * breakpoint.c (print_it_typical, watchpoint_check, | |
7b83ea04 | 978 | print_one_breakpoint, mention): When MI include additional |
fb40c209 AC |
979 | target status information. |
980 | * infrun.c (print_stop_reason, normal_stop): Ditto. | |
981 | ||
14e0eb3b JB |
982 | 2000-02-22 Jim Blandy <jimb@redhat.com> |
983 | ||
984 | * gdbarch.sh: Make the `default' field really default to zero, as | |
7b83ea04 | 985 | documented. |
14e0eb3b JB |
986 | |
987 | Bring COERCE_FLOAT_TO_DOUBLE under gdbarch's control. | |
988 | * valops.c (COERCE_FLOAT_TO_DOUBLE): Rework definition to be | |
989 | more function-like. | |
990 | (default_coerce_float_to_double, standard_coerce_float_to_double): | |
991 | New functions. | |
992 | (value_arg_coerce): Adjust for new definition. | |
993 | * value.h (default_coerce_float_to_double, | |
994 | standard_coerce_float_to_double): New declarations for the above. | |
995 | * gdbarch.sh (coerce_float_to_double): New entry, replacing macro. | |
996 | * gdbarch.c, gdbarch.h: Regenerated. | |
997 | * tm-alpha.h, tm-fr30.h, tm-m32r.h, tm-mips.h, tm-hppa.h, | |
7b83ea04 AC |
998 | tm-rs6000.h, tm-sh.h, tm-sparc.h (COERCE_FLOAT_TO_DOUBLE): Change |
999 | definitions. | |
14e0eb3b JB |
1000 | * mips-tdep.c (mips_coerce_float_to_double): Supply our own custom |
1001 | function here. | |
1002 | (mips_gdbarch_init): Install that as our coerce_float_to_double | |
1003 | function. | |
1004 | ||
50c9bd31 KB |
1005 | 2000-02-22 Kevin Buettner <kevinb@redhat.com> |
1006 | ||
1007 | * ppc-linux-nat.c (supply_gregset, supply_fpregset): Add return | |
1008 | type. | |
1009 | * ppc-linux-tdep.c (ppc_linux_at_sigtramp_return_path): Add | |
1010 | forward declaration. | |
1011 | ||
1012 | * ppc-linux-tdep.c (ppc_linux_frame_saved_pc): Handle case | |
1013 | where the next frame is a signal handler caller. | |
1014 | ||
1015 | * config/powerpc/tm-linux.h (PUSH_ARGUMENTS): Remove extraneous | |
1016 | undef. | |
1017 | (tm-linux.h): Include. | |
1018 | (tm-sysv4.h): Don't include (directly). config/tm-linux.h will | |
1019 | include this file for us. | |
1020 | (REALTIME_LO, REALTIME_HI): Don't define. These are defined by | |
1021 | config/tm-linux.h for us. | |
1022 | (SOFUN_ADDRESS_MAYBE_MISSING): Define. | |
1023 | ||
223b8554 KB |
1024 | 2000-02-21 Kevin Buettner <kevinb@redhat.com> |
1025 | ||
1026 | * Makefile.in (ppc-linux-nat.c, ppc-linux-tdep.c): New files. | |
1027 | (ppc-linux-nat.o, ppc-linux-tdep.o): Add dependencies. | |
1028 | * configure.tgt (powerpc-*-linux*): Separate from powerpc-*-eabi | |
1029 | and like targets. | |
1030 | ||
1031 | * ppc-linux-nat.c, ppc-linux-tdep.c, config/powerpc/linux.mt, | |
1032 | config/powerpc/nm-linux.h, config/powerpc/tm-linux.h: New files. | |
1033 | * config/powerpc/xm-linux.h: Substantially revised for native | |
1034 | port. | |
8883511e KB |
1035 | * config/powerpc/linux.mh (NAT_FILE): Redefine to be nm-linux.h. |
1036 | (NATDEPFILES): Update list to reflect the fact that we can | |
1037 | now debug natively. | |
223b8554 KB |
1038 | |
1039 | * rs6000-tdep.c, config/rs6000/tm-rs6000.h | |
1040 | (rs6000_frameless_function_invocation, rs6000_frame_saved_pc): | |
1041 | Renamed; The former names were lacking the rs6000_ prefix. | |
1042 | * rs6000-tdep.c (rs6000_frame_saved_pc): Call FRAME_CHAIN | |
1043 | instead of rs6000_frame_chain. | |
1044 | (rs6000_frame_chain): Call FRAMELESS_FUNCTION_INVOCATION instead | |
1045 | of rs6000_frameless_function_invocation. | |
1046 | ||
750334d7 EZ |
1047 | 2000-02-21 Elena Zannoni <ezannoni@kwikemart.cygnus.com> |
1048 | ||
1049 | From Philippe De Muyter <phdm@macqel.be> | |
1050 | ||
1051 | * event-loop.c (handle_file_event): In case of poll, enable | |
7b83ea04 AC |
1052 | printing of informational message if an error/exception is |
1053 | detected on the file descriptor. | |
750334d7 | 1054 | |
2403ff6f JK |
1055 | 2000-02-21 Jim Kingdon <kingdon@redhat.com> |
1056 | ||
1057 | * MAINTAINERS (Misc): Clarify that yes, anyone can edit web pages. | |
1058 | ||
f7cb3ef8 AC |
1059 | Mon Feb 21 12:50:57 2000 Andrew Cagney <cagney@b1.cygnus.com> |
1060 | ||
91b9ff21 | 1061 | * buildsym.c: Include "language.h" and "expression.h" for |
7b83ea04 | 1062 | longest_local_hex_string_custom. |
f7cb3ef8 | 1063 | |
0596389c AC |
1064 | Mon Feb 21 11:17:18 2000 Andrew Cagney <cagney@b1.cygnus.com> |
1065 | ||
1066 | * gdbarch.sh: Include <gdb_wait.h> instead of <wait.h>. | |
1067 | * gdbarch.c: Already updated by Wed Feb 9 18:59:16 2000 Andrew | |
7b83ea04 | 1068 | Cagney <cagney@b1.cygnus.com>. |
0596389c | 1069 | |
f5bca8e7 AC |
1070 | Mon Feb 21 11:03:01 2000 Andrew Cagney <cagney@b1.cygnus.com> |
1071 | ||
1072 | * MAINTAINERS: Update: IA-64 - Kevin Buettner; ARM - Fernando | |
7b83ea04 AC |
1073 | nasser, Jim Ingham and Scott Bambrough; GNU/Linux ARM - Scott |
1074 | Bambrough; event loop - Elena Zannoni; SDS and RDI/APD protocol - | |
1075 | to Fernando Nasser and Jim Ingham; KOD - Fernando Nasser; MI - | |
1076 | Andrew Cagney, Elena Zannoni and Fernando Nasser; Web pages - Jim | |
1077 | Kingdon. | |
f5bca8e7 | 1078 | * MAINTAINERS: Add Nick Clifton to write after approval list. |
7b83ea04 | 1079 | |
538aae9d AC |
1080 | Mon Feb 21 10:30:39 2000 Andrew Cagney <cagney@b1.cygnus.com> |
1081 | ||
1082 | * MAINTAINERS: Add note on multiple maintainers. | |
1083 | ||
55555bbc FN |
1084 | 2000-02-19 Philippe De Muyter <phdm@macqel.be> |
1085 | ||
7b83ea04 AC |
1086 | * cli-out.c (cli_table_header): Type of parameter `alignment' is |
1087 | `enum ui_align', not `int'. | |
1088 | (cli_field_string, cli_field_skip): Likewise. | |
55555bbc | 1089 | |
dea753cd | 1090 | 2000-02-18 Jim Blandy <jimb@redhat.com> |
9a90a845 | 1091 | |
dea753cd | 1092 | From Jimmy Guo <guo@cup.hp.com>: |
9a90a845 JB |
1093 | * buildsym.h (add_free_pendings): Declare. |
1094 | * buildsym.c (add_free_pendings): New function. | |
1095 | (make_blockvector): 32x64 fix using longest_local_hex_string(). | |
1096 | (start_subfile): initialize variable 'subfile'. | |
1097 | ||
cca728d0 EZ |
1098 | 2000-02-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com> |
1099 | ||
1100 | * remote.c (remote_async_detach): Use target_mourn_inferior(), to | |
7b83ea04 AC |
1101 | make sure that all is cleaned up after we disconnect from the |
1102 | target. | |
cca728d0 EZ |
1103 | (remote_detach): Ditto. |
1104 | ||
e8b09175 FN |
1105 | 2000-02-17 Fernando Nasser <fnasser@totem.to.cygnus.com> |
1106 | ||
b8d86de3 FN |
1107 | From Rodney Brown <RodneyBrown@pmsc.com> |
1108 | * ui-out.c (ui_out_set_flags): Fix typo, removing warning and | |
1109 | potentially harming mistake. | |
1110 | ||
41815666 FN |
1111 | 2000-02-17 Fernando Nasser <fnasser@totem.to.cygnus.com> |
1112 | ||
e8b09175 FN |
1113 | * arm-tdep.c: Use header file instead of extern declarations for |
1114 | the {get,set}_arm_regname* functions. | |
1115 | ||
d45b9300 FN |
1116 | 2000-02-16 Fernando Nasser <fnasser@totem.to.cygnus.com> |
1117 | ||
1118 | * configure.in: Replaces obsolete gdbtk-variable.c with | |
1119 | gdbtk-varobj.c. | |
1120 | * configure: Regenerate. | |
1121 | * Makefile.in: Remove obsolete/extraneous references to | |
1122 | gdbtk-var* files. | |
1123 | ||
e95a43ad MK |
1124 | 2000-02-16 Mark Kettenis <kettenis@gnu.org> |
1125 | ||
1126 | * target.c (do_target_signal_to_host): Do not use REALTIME_LO in | |
1127 | the conversion of the signal number. TARGET_SIGNAL_REALTIME_33 is | |
1128 | 33 by definition, whereas REALTIME_LO might be 32 on systems that | |
1129 | have SIG32 such as Linux. Make sure that the signal number | |
1130 | returned is within the range specified by REALTIME_LO and | |
1131 | REALTIME_HI. | |
1132 | ||
7433da22 MK |
1133 | 2000-02-16 Mark Kettenis <kettenis@gnu.org> |
1134 | ||
1135 | * configure: Regenerated. | |
1136 | ||
bc90b915 FN |
1137 | 2000-02-16 Fernando Nasser <fnasser@totem.to.cygnus.com> |
1138 | ||
1139 | * arm-tdep.c (set_disassembly_flavor, arm_othernames, | |
1140 | _initialize_arm_tdep): Allows the user to choose between any of | |
1141 | the flavors available for the disassembly to be used in the "info | |
1142 | reg" command and elsewhere in gdb. It prevents having to maintain | |
1143 | this information in two places by using the data kept in the | |
1144 | opcodes directory. | |
1145 | ||
83d37ec8 MK |
1146 | 2000-02-09 Mark Kettenis <kettenis@gnu.org> |
1147 | ||
1148 | * configure.in: Check for lwpid_t, psaddr_t, prgregset_t and | |
1149 | prfpregset_t in <sys/procfs.h>. | |
1150 | * config.in: Add HAVE_LWPID_T, HAVE_PSADDR_T, HAVE_PRGREGSET_T, | |
1151 | HAVE_PRFPREGSET_T. | |
1152 | * gdb_proc_service.h: Only provide typedefs for lwpid_t, psaddr_t, | |
1153 | prgregset_t and prfpregset_t if they are not already present. | |
1154 | ||
eeefac92 AC |
1155 | Wed Feb 16 19:00:02 2000 Andrew Cagney <cagney@b1.cygnus.com> |
1156 | ||
1157 | From 2000-01-26 Rodney Brown <RodneyBrown@pmsc.com>: | |
7b83ea04 | 1158 | * procfs.c: Define MERGEPID if not defined. For osf4.0e. |
eeefac92 | 1159 | |
1a645206 JM |
1160 | 2000-02-15 Jason Molenda (jsm@bugshack.cygnus.com) |
1161 | ||
1162 | * Makefile.in (diststuff): Run 'diststuff' in doc/ subdir, not | |
1163 | 'do-doc'. | |
1164 | ||
f6077098 KB |
1165 | 2000-02-15 Kevin Buettner <kevinb@redhat.com> |
1166 | ||
1167 | Changes for AIX 4.3: | |
1168 | * rs6000-tdep.c (rs6000_fix_call_dummy): Set TOC register | |
1169 | to correct value for generic dummy frames. When using | |
1170 | generic dummy frames, don't attempt to write TOC value or | |
1171 | function to call into the call dummy. | |
7b83ea04 | 1172 | (rs6000_push_arguments): Adapt USE_GENERIC_DUMMY_FRAMES |
f6077098 KB |
1173 | code to also handle the PowerOpen ABI. |
1174 | (ppc_push_return_address): Enable for all ports. | |
1175 | * config/powerpc/tm-ppc-aix.h (USE_GENERIC_DUMMY_FRAMES, | |
7b83ea04 | 1176 | PUSH_DUMMY_FRAME, PUSH_RETURN_ADDRESS, GET_SAVED_REGISTER, |
f6077098 KB |
1177 | CALL_DUMMY_BREAKPOINT_OFFSET, CALL_DUMMY_LOCATION, |
1178 | CALL_DUMMY_ADDRESS, CALL_DUMMY_START_OFFSET): Override defaults | |
1179 | provided by generic RS6000 definitions so that call dummies | |
1180 | are implemented using generic dummy frames instead. | |
1181 | ||
1182 | * rs6000-nat.c (store_inferior_registers): Call exec_one_dummy_insn() | |
1183 | prior to changing the stack pointer via ptrace(). Also, ignore | |
1184 | attempts to store to undefined registers that are less than | |
1185 | NUM_REGS. | |
1186 | ||
1187 | * rs6000-tdep.c (DUMMY_FRAME_SIZE): Change size of the dummy | |
1188 | frame from 436 to 448 to account for alignment padding. | |
1189 | (rs6000_push_arguments): Obtain actual register size instead | |
1190 | of assuming the register is 4 bytes long. [There's still | |
1191 | more work to be done to totally remove the 4 byte assumption, | |
1192 | however.] Make sure the stack is 16 byte aligned as required | |
1193 | by the PowerOpen ABI. Also, make sure that small structures | |
1194 | passed in registers are properly aligned within the register. | |
1195 | ||
1196 | 2000-02-15 Jesper Skov <jskov@cygnus.co.uk> | |
1197 | ||
1198 | Patch applied by Kevin Buettner <kevinb@redhat.com> | |
7b83ea04 | 1199 | |
f6077098 KB |
1200 | * rs6000-tdep.c (skip_prologue): skip copying of argument |
1201 | registers to local variable registers. | |
1202 | ||
70d5406d JK |
1203 | 2000-02-14 Jim Kingdon <kingdon@redhat.com> |
1204 | ||
1205 | * elfread.c (elf_symtab_read): Revert changes by Amit S. Kale. A | |
1206 | sym->section->index number is not a SECT_OFF_* code. | |
1207 | ||
168770df AC |
1208 | Tue Feb 15 12:07:30 2000 Andrew Cagney <cagney@b1.cygnus.com> |
1209 | ||
1210 | * MAINTAINERS (write after approval): Add H.J. Lu. | |
1211 | ||
031d1bf1 NC |
1212 | 2000-02-14 Nick Clifton <nickc@cygnus.com> |
1213 | ||
1214 | * sh-tdep.c: Remove extraneous code. | |
1215 | ||
2bc8a457 JK |
1216 | 2000-02-14 Amit S. Kale <akale@veritas.com> |
1217 | ||
1218 | * elfread.c (elf_symtab_read): Move the use of sym to after where | |
1219 | it is set. | |
1220 | Checked in by Jim Kingdon <kingdon@redhat.com> | |
1221 | ||
0c566c2e AC |
1222 | Mon Feb 14 15:39:01 2000 Andrew Cagney <cagney@b1.cygnus.com> |
1223 | ||
1224 | * MAINTAINERS: Make Nick Duffek the UnixWare threads maintainer. | |
1225 | ||
3ca72b44 AC |
1226 | Mon Feb 14 15:20:26 2000 Andrew Cagney <cagney@b1.cygnus.com> |
1227 | ||
1228 | From 1999-11-24 Jason Merrill <jason@casey.cygnus.com>: | |
1229 | * dwarf2read.c: (die_is_declaration): New fn. | |
1230 | (read_structure_scope): Use it. | |
1231 | ||
1232 | * dwarf2read.c: (die_is_declaration): Convert to ISO-C. | |
1233 | ||
d6e9fb05 JK |
1234 | 2000-02-10 J.T. Conklin <jtc@redback.com> |
1235 | ||
1236 | * config/i386/nbsd.mt (GDBSERVER_DEPFILES): Add low-nbsd.o | |
1237 | * configure.tgt (i[3456]86-*-netbsd*): add gdbserver to | |
7b83ea04 | 1238 | configdirs. |
d6e9fb05 | 1239 | * gdbserver/low-nbsd.c: New file. |
7b83ea04 | 1240 | |
d6e9fb05 JK |
1241 | * gdbserver/Makefile.in: convert to autoconf. |
1242 | * gdbserver/configure.in: likewise. | |
1243 | * gdbserver/configure: generate. | |
1244 | ||
41c8e009 AC |
1245 | Sun Feb 13 11:21:00 2000 Andrew Cagney <cagney@b1.cygnus.com> |
1246 | ||
1247 | * CONTRIBUTE: New file. How to contribute to GDB. | |
1248 | ||
15929d05 AC |
1249 | Sun Feb 13 10:34:48 2000 Andrew Cagney <cagney@b1.cygnus.com> |
1250 | ||
1251 | * MAINTAINERS: Add Eli Zaretskii to djgpp maintiners. Add Kevin | |
7b83ea04 AC |
1252 | Buettner to powerpc maintainers. Make Kevin Buettner the |
1253 | GNU/LINUX PPC native maintainer. Add J.T. Conklin, Jim Kingdon | |
1254 | and Jason Molenda to write after aproval list. | |
15929d05 | 1255 | |
5185fdd7 AC |
1256 | Sun Feb 13 10:18:44 2000 Andrew Cagney <cagney@b1.cygnus.com> |
1257 | ||
1258 | * MAINTAINERS: Reformat. Separate into check-in categories. | |
1259 | ||
f086451a ND |
1260 | Sat Feb 12 01:08:21 EST 2000 Nicholas Duffek <nsd@cygnus.com> |
1261 | ||
1262 | * uw-thread.c: Remove __FUNCTION__ GNUism. | |
1263 | ||
fa292f23 JK |
1264 | 2000-01-17 Amit S. Kale <akale@veritas.com> |
1265 | ||
1266 | * elfread.c (elf_symtab_read): Use offset for the section in which a | |
1267 | symbol resides, instead of .text section for calculating address of a | |
1268 | symbol. | |
1269 | Checked in by Jim Kingdon <kingdon@redhat.com> | |
1270 | ||
e18ef0bd JK |
1271 | 2000-02-10 Mark Kettenis <kettenis@gnu.org> |
1272 | ||
1273 | * gnu-nat.c: Remove hackery to include <bits/waitflags.h>. It is | |
1274 | no longer necessary now we have gdb_wait.h. | |
1275 | ||
f90b2b1d JK |
1276 | 2000-02-09 Mark Kettenis <kettenis@gnu.org> |
1277 | ||
1278 | * gnu-nat.c (proc_string): Make global. | |
1279 | (do_mach_notify_dead_name): Suppress dead name notifications if we | |
1280 | know that the task is dead. | |
1281 | ||
1282 | 1999-12-13 Mark Kettenis <kettenis@gnu.org> | |
1283 | ||
1284 | * gnu-nat.c (inf_validate_task_sc): Get task info via proc server | |
1285 | instead of directly from the kernel. Add some hackery to make | |
1286 | sure that the info isn't influenced by suspension of the task in | |
1287 | the proc server itself. | |
1288 | ||
09f99d3f JK |
1289 | 2000-02-10 Jim Kingdon <kingdon@redhat.com> |
1290 | ||
1291 | * defs.h (MERGEPID): Added. Patch submitted by Andrew Hobson and | |
1292 | approved by Michael Snyder. | |
1293 | ||
203051af AC |
1294 | 2000-02-09 Mark Kettenis <kettenis@gnu.org> |
1295 | ||
7b83ea04 | 1296 | * linux-thread.c: Include defs.h before gdb_wait.h. |
203051af | 1297 | |
03f2053f AC |
1298 | Wed Feb 9 18:59:16 2000 Andrew Cagney <cagney@b1.cygnus.com> |
1299 | ||
1300 | * Makefile.in (wait_h): Delete macro. Update all dependencies | |
7b83ea04 | 1301 | specifying gdb_wait.h instead. |
03f2053f AC |
1302 | |
1303 | * ser-unix.c, ser-pipe.c, remote.c, remote-udi.c, remote-sds.c, | |
7b83ea04 AC |
1304 | remote-os9k.c, remote-es.c, remote-rdp.c, remote-vx960.c, |
1305 | remote-vx.c, remote-st.c, remote-nindy.c, remote-mm.c, | |
1306 | convex-xdep.c, convex-tdep.c, target.c, win32-nat.c, standalone.c, | |
1307 | remote-vxmips.c, remote-vxsparc.c, remote-vx68.c, remote-vx29k.c, | |
1308 | remote-sim.c, remote-rdi.c, remote-mips.c, remote-eb.c, | |
1309 | remote-e7000.c, remote-bug.c, remote-array.c, remote-adapt.c, | |
1310 | ppc-bdm.c, ocd.c, monitor.c, m3-nat.c, linux-thread.c, | |
1311 | infttrace.c, lin-thread.c, infptrace.c, gnu-nat.c, gdbarch.c, | |
1312 | fork-child.c, command.c: Include "gdb_wait.h" instead of <wait.h> | |
1313 | or <sys/wait.h>. | |
145679a8 | 1314 | * nindy-share/nindy.c, nindy-share/Onindy.c: Ditto. |
03f2053f AC |
1315 | |
1316 | * gdb_wait.h: New file. Based on ../include/wait.h. Include | |
7b83ea04 | 1317 | <sys/wait.h> or <wait.h> and then define any missing WIF macros. |
03f2053f | 1318 | |
489137c0 AC |
1319 | Wed Feb 9 01:14:54 2000 Andrew Cagney <cagney@amy.cygnus.com> |
1320 | ||
1321 | * config/d10v/tm-d10v.h (NO_EXTRA_ALIGNMENT_NEEDED): Define. | |
1322 | * config/d10v/tm-d10v.h (STACK_ALIGN): Define. | |
1323 | (d10v_stack_align): Declare. | |
1324 | * d10v-tdep.c (d10v_stack_align): Define. | |
1325 | ||
ce808e91 AC |
1326 | 1999-08-23 J.T. Conklin <jtc@redback.com> |
1327 | ||
7b83ea04 AC |
1328 | * top.c (remote_timeout): Change default to 2. Add comment |
1329 | explaining history of changes to the default value. | |
1330 | * remote.c (_initialize_remote): Remove code that adds set/ | |
1331 | show remotetimeout, as that's also done in top.c | |
ce808e91 | 1332 | |
e9277ae8 AC |
1333 | 1999-10-18 J.T. Conklin <jtc@redback.com> |
1334 | ||
7b83ea04 AC |
1335 | * m32r-stub.c, sparcl-stub.c, sparclet-stub.c (handle_exception): |
1336 | Return E01 instead of P01 when 'P' command fails. | |
e9277ae8 | 1337 | |
1216fa2c AC |
1338 | 2000-02-05 J.T. Conklin <jtc@redback.com> |
1339 | ||
1340 | * remote.c (putpkt_binary): Handle NAK from target stub. | |
1341 | ||
f2c4d933 EZ |
1342 | 2000-02-08 Elena Zannoni <ezannoni@kwikemart.cygnus.com> |
1343 | ||
1344 | * configure.in: Remove the addition of sol-thread.c to the | |
1345 | CONFIG_INITS list. This caused problems with init.c, because | |
1346 | sol-thread.c would be grepped twice for _initialize_* functions. | |
1347 | * configure: Ditto. | |
1348 | * Makefile.in: Add FIXME for init.c. | |
1349 | ||
745b8ca0 JK |
1350 | 2000-02-07 Jim Kingdon <kingdon@redhat.com> |
1351 | ||
1352 | Clean up compiler warnings: | |
1353 | * bcache.h, bcache.c, c-valprint.c, coffread.c, stabsread.c, | |
1354 | stack.c, valprint.c: Change variables to unsigned. | |
1355 | * bcache.c: Rearrange to avoid warnings about variables not being set. | |
1356 | * c-lang.c, ch-lang.c, f-lang.c, m2-lang.c: Include valprint.h | |
1357 | rather than declaring print_max and repeat_count_threashold | |
1358 | ourselves (incorrectly). | |
1359 | * valprint.h: Do declare repeat_count_threashold. | |
1360 | * ch-exp.c: Use default case for internal error. | |
1361 | * findvar.c: Don't omit argument type. | |
1362 | * symtab.c: Remove unused variable. | |
1363 | ||
4d9ab7f6 JK |
1364 | 2000-02-04 Jim Blandy <jimb@redhat.com> |
1365 | ||
1366 | * c-typeprint.c (remove_qualifiers): New function. | |
1367 | (c_type_print_base): Use it to remove qualifiers from C++ | |
1368 | qualified names, not strrchr. | |
1369 | ||
1370 | * c-typeprint.c (c_type_print_base): Recognize type conversion | |
1371 | operators by calling is_type_conversion_operator. | |
1372 | (is_type_conversion_operator): New function. | |
1373 | ||
dfcd3bfb JM |
1374 | 2000-02-04 Nick Clifton <nickc@cygnus.com> |
1375 | ||
1376 | * config/arm/tm-arm.h (LOWEST_PC): Define. | |
1377 | ||
1378 | 2000-02-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com> | |
1379 | ||
1380 | * infrun.c (resume): Make just one call to target_resume(), instead | |
7b83ea04 AC |
1381 | of four: set up correct parameters in all the cases ahead of time, |
1382 | and do call at the end. | |
dfcd3bfb JM |
1383 | |
1384 | 2000-02-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com> | |
1385 | ||
1386 | * config/powerpc/tm-ppc-eabi.h: Define | |
7b83ea04 | 1387 | SOFUN_ADDRESS_MAYBE_MISSING. |
dfcd3bfb JM |
1388 | |
1389 | 2000-02-04 Fernando Nasser <fnasser@totem.to.cygnus.com> | |
1390 | ||
1391 | * arm-tdep.c (arm_pc_is_thumb_dummy): Account for large dummy | |
1392 | frames (revisited). | |
1393 | ||
1394 | Fri Feb 4 22:42:36 2000 Andrew Cagney <cagney@b1.cygnus.com> | |
1395 | ||
1396 | * Makefile.in (INIT_FILES): Append CONFIG_INITS | |
1397 | * configure.in (CONFIG_INIT): Initialize. | |
3fc11d3e JM |
1398 | (links): Link srcdir/gdbtk/library to gdbtcl2. |
1399 | * gdbtcl2: Moved to gdbtk/library. | |
1400 | ChangeLog-gdbtk, gdbtk-cmds.c, gdbtk-hooks.c, gdbtk-variable.c, | |
7b83ea04 AC |
1401 | gdbtk-varobj.c, gdbtk-wrapper.c, gdbtk-wrapper.h, gdbtk.c, |
1402 | gdbtk.h: Moved to gdbtk/generic. | |
dfcd3bfb JM |
1403 | |
1404 | 2000-02-03 Elena Zannoni <ezannoni@kwikemart.cygnus.com> | |
1405 | ||
1406 | * printcmd.c (build_address_symbolic): New function. Returns all | |
7b83ea04 AC |
1407 | the parts that are necessary to print an address in a symbolic |
1408 | form. | |
dfcd3bfb | 1409 | (print_address_symbolic): Split into a printing part and an |
7b83ea04 | 1410 | information building part, build_address_symbolic(). |
dfcd3bfb JM |
1411 | |
1412 | * defs.h (build_address_symbolic): Export. | |
1413 | ||
1414 | 2000-02-03 Jim Blandy <jimb@redhat.com> | |
1415 | ||
1416 | * dwarf2read.c (decode_locdesc): Add support for the DW_OP_bregx | |
1417 | opcode. | |
1418 | ||
8b93c638 JM |
1419 | 2000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com> |
1420 | ||
1421 | * arm-tdep.c (arm_push_arguments): Fix passing of floating point | |
1422 | arguments on dummy frames. | |
1423 | ||
1424 | 2000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com> | |
1425 | ||
1426 | * arm-tdep.c (arm_pc_is_thumb_dummy): Account for large dummy frames. | |
1427 | (arm_pop_frame): Account fr dummy frames (as opposed to real ones). | |
1428 | ||
d9fcf2fb JM |
1429 | 2000-02-01 Elena Zannoni <ezannoni@kwikemart.cygnus.com> |
1430 | ||
1431 | * remote.c (getpkt_sane): New function. It is the old getpkt(), | |
7b83ea04 | 1432 | which now returns a timeout indication. |
d9fcf2fb | 1433 | (getpkt): New function. Wrapper for getpkt_sane(), so that return |
7b83ea04 | 1434 | value can still be ignored. |
d9fcf2fb | 1435 | |
8b93c638 JM |
1436 | Tue Feb 1 18:47:31 2000 Andrew Cagney <cagney@b1.cygnus.com> |
1437 | ||
1438 | * top.c (print_gdb_version): Print ``UI_OUT'' when configured with | |
7b83ea04 | 1439 | UI_OUT. |
8b93c638 | 1440 | |
d9fcf2fb JM |
1441 | Tue Feb 1 00:17:12 2000 Andrew Cagney <cagney@b1.cygnus.com> |
1442 | ||
1443 | * ui-file.c, ui-file.h: Rename gdb-file.h, gdb-file.c. Rename | |
7b83ea04 AC |
1444 | ``struct gdb_file'' to ``struct ui_file''. Delete typedef |
1445 | GDB_FILE. | |
1446 | ||
d9fcf2fb JM |
1447 | * Makefile.in: Update. |
1448 | ||
1449 | * ax-gdb.c, ax-general.c, ax.h, buildsym.c, c-lang.c, c-lang.h, | |
7b83ea04 AC |
1450 | c-typeprint.c, c-valprint.c, ch-lang.c, ch-lang.h, ch-typeprint.c, |
1451 | ch-valprint.c, command.c, command.h, convex-tdep.c, corefile.c, | |
1452 | cp-valprint.c, d10v-tdep.c, d30v-tdep.c, defs.h, expprint.c, | |
1453 | expression.h, f-lang.c, f-lang.h, f-typeprint.c, f-valprint.c, | |
1454 | frame.h, gdb-events.sh, gdb-file.c, gdb-file.h, gdbcmd.h, | |
1455 | gdbtypes.h, hppa-tdep.c, jv-lang.c, jv-lang.h, jv-typeprint.c, | |
1456 | jv-valprint.c, language.c, language.h, m2-lang.c, m2-lang.h, | |
1457 | m2-typeprint.c, m2-valprint.c, m3-nat.c, main.c, monitor.c, | |
1458 | printcmd.c, pyr-tdep.c, remote-mips.c, remote-sim.c, remote-udi.c, | |
1459 | remote.c, scm-lang.c, scm-lang.h, scm-valprint.c, ser-e7kpc.c, | |
1460 | ser-go32.c, ser-mac.c, ser-ocd.c, ser-unix.c, ser-unix.h, | |
1461 | serial.c, serial.h, stack.c, symfile.c, symmisc.c, tahoe-tdep.c, | |
1462 | target.c, target.h, top.c, top.h, typeprint.c, typeprint.h, | |
1463 | utils.c, v850ice.c, valprint.c, valprint.h, value.h, | |
1464 | config/pa/tm-hppa.h: Update. | |
8b93c638 | 1465 | * cli-out.c, cli-out.h, ui-out.c, ui-out.h, varobj.c: Update. |
d9fcf2fb | 1466 | |
da59e081 JM |
1467 | 2000-01-31 Jason Molenda (jsm@bugshack.cygnus.com) |
1468 | ||
a9e0ce2c JM |
1469 | * config/alpha/alpha-osf2.mh, config/alpha/alpha-osf3.mh, |
1470 | config/i386/i386dgux.mh, config/i386/i386sol2.mh, | |
1471 | config/i386/i386v4.mh, config/i386/i386v42mp.mh, | |
1472 | config/i386/ncr3000.mh, config/m68k/m68kv4.mh, | |
1473 | config/m88k/delta88v4.mh, config/mips/irix4.mh, | |
1474 | config/mips/irix5.mh, config/mips/mipsv4.mh, | |
da59e081 | 1475 | config/powerpc/solaris.mh (NATDEPFILES): Change references to |
a9e0ce2c | 1476 | proc_api.o, proc_events.o, proc_flags.o, and proc_why.o to |
da59e081 JM |
1477 | proc-api.o, proc-events.o, proc-flags.o, and proc-why.o. |
1478 | ||
1479 | Mon Jan 31 17:14:52 2000 Andrew Cagney <cagney@b1.cygnus.com> | |
1480 | ||
1481 | * top.c (fputs_unfiltered_hook): Moved to tui/tui-file.c. | |
1482 | ||
1483 | * main.c (captured_main): Only use the legacy tui_file code when | |
7b83ea04 | 1484 | linking in older code such as the TUI. |
da59e081 JM |
1485 | |
1486 | * gdb-file.h, gdb-file.c: New files. | |
1487 | * utils.c, defs.h (struct gdb_file, gdb_file_new, gdb_file_delete, | |
7b83ea04 AC |
1488 | null_file_isatty, null_file_rewind, null_file_put, |
1489 | null_file_flush, null_file_write, null_file_fputs, | |
1490 | null_file_delete, gdb_file_data, gdb_flush, gdb_file_isatty, | |
1491 | gdb_file_rewind, gdb_file_put, gdb_file_write, fputs_unfiltered, | |
1492 | set_gdb_file_flush, set_gdb_file_isatty, set_gdb_file_rewind, | |
1493 | set_gdb_file_put, set_gdb_file_write, set_gdb_file_fputs, | |
1494 | set_gdb_file_data, struct accumulated_gdb_file, | |
1495 | do_gdb_file_xstrdup, gdb_file_xstrdup, struct mem_file): | |
1496 | mem_file_new, mem_file_delete, mem_fileopen, mem_file_rewind, | |
1497 | mem_file_put, mem_file_write, struct stdio_file): stdio_file_new, | |
1498 | stdio_file_delete, stdio_file_flush, stdio_file_write, | |
1499 | stdio_file_fputs, stdio_file_isatty, stdio_fileopen, gdb_fopen): | |
1500 | Moved to gdb-file.h and gdb-file.c. | |
da59e081 | 1501 | * utils.c (enum streamtype, struct tui_stream, tui_file_new, |
7b83ea04 AC |
1502 | tui_file_delete, tui_fileopen, tui_sfileopen, tui_file_isatty, |
1503 | tui_file_rewind, tui_file_put, tui_file_fputs, | |
1504 | tui_file_get_strbuf, tui_file_adjust_strbuf, tui_file_flush, | |
da59e081 | 1505 | fputs_unfiltered_hook): |
7b83ea04 AC |
1506 | Moved to tui/tui-file.c and tui/tui-file.h. |
1507 | ||
da59e081 JM |
1508 | * Makefile.in (COMMON_OBS): Add gdb-file.o, tui-file.o. |
1509 | (tui-file.o, gdb-file.o): Add dependencies. | |
1510 | (corefile.o, main.o, utils.o, simmisc.o): Update dependencies. | |
1511 | * main.c: #include tui/tui-file.h. | |
1512 | ||
1513 | 2000-01-28 Fred Fish <fnf@cygnus.com> | |
1514 | ||
1515 | * findvar.c (value_from_register): Special case handling of D10V | |
1516 | pointer values fetched from registers. | |
1517 | ||
1518 | 2000-01-28 Fernando Nasser <fnasser@totem.to.cygnus.com> | |
1519 | ||
1520 | * arm-tdep.c (thumb_skip_prologue, thumb_scan_prologue): Add | |
b55cf2e4 | 1521 | support for new style thumb prologues. |
da59e081 JM |
1522 | |
1523 | 2000-01-28 Nick Clifton <nickc@redhat.com> | |
1524 | ||
1525 | * arm-tdep.c: Remove extraneous dash at start of strings | |
1526 | introduced in previous delta. | |
1527 | ||
1528 | 2000-01-27 Nick Clifton <nickc@redhat.com> | |
1529 | ||
1530 | * arm-tdep.c: Replace uses of arm_toggle_renames() with | |
b55cf2e4 | 1531 | parse_arm_disassembler_option(). |
da59e081 JM |
1532 | |
1533 | 2000-01-27 Jim Blandy <jimb@cygnus.com> | |
1534 | ||
1535 | * symtab.c (decode_line_1): Don't let commas that are within | |
7b83ea04 AC |
1536 | quotes or parenthesis terminate the line spec. Don't use pp when |
1537 | removing the final double quote of a double-quoted string. Don't | |
1538 | forget to skip the opening double quote. I have no clue whether | |
1539 | this change is correct; probably we've just moved this function | |
1540 | from one buggy place to another buggy place, and never came within | |
1541 | an outhouse whiff of correctness. | |
da59e081 JM |
1542 | (find_toplevel_char): New function. |
1543 | ||
1544 | 2000-01-27 Fernando Nasser <fnasser@totem.to.cygnus.com> | |
1545 | ||
1546 | * arm-tdep.c (arm_push_arguments): Set the thumb mode bit when | |
7b83ea04 | 1547 | passing the pointer to a thumb function as an argument. |
da59e081 JM |
1548 | |
1549 | 2000-01-27 Fernando Nasser <fnasser@totem.to.cygnus.com> | |
1550 | ||
1551 | * remote-rdi.c (arm_rdi_mourn_inferior): Make sure breakpoints | |
1552 | are reinserted for another run. | |
1553 | ||
8b93c638 JM |
1554 | 2000-01-27 Fernando Nasser <fnasser@totem.to.cygnus.com> |
1555 | ||
1556 | * cli-out.c (cli_filed_string): Test for NULL string. | |
1557 | ||
da59e081 JM |
1558 | 2000-01-27 Fernando Nasser <fnasser@totem.to.cygnus.com> |
1559 | ||
1560 | * infcmd.c (run_stack_dummy): Account for a random signal stopping | |
1561 | the inferior as well as breakpoints being hit while performing an | |
1562 | inferior function call. | |
1563 | * valops.c (hand_function_call): Ditto. | |
1564 | ||
1565 | 2000-01-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com> | |
1566 | ||
1567 | From Mark Kettenis <kettenis@gnu.org> | |
1568 | ||
1569 | * config/i386/tm-i386gnu.h (THREAD_STATE_FLAVOR): Define to | |
1570 | i386_REGS_SEGS_STATE. | |
1571 | (HAVE_I387_REGS): Define. | |
1572 | (FLOAT_INFO): Remove. | |
1573 | * i386gnu-nat.c: Almost completely rewritten to use new i386 | |
1574 | register layout and `float info' implementation. | |
1575 | * gnu-nat.c (inf_update_procs, proc_get_state, proc_string): | |
1576 | Move prototypes from here. | |
1577 | * gnu-nat.h: To here. | |
1578 | ||
0fda6bd2 JM |
1579 | 2000-01-24 Kevin Buettner <kevinb@redhat.com> |
1580 | ||
1581 | * utils.c (get_field, put_field): Fix buffer underruns and | |
1582 | overruns. Also, handle case where total_len is not evenly | |
1583 | divisible by 8. | |
1584 | (getfield): Make sure zeroing of unwanted bits occurs even | |
1585 | when bit field to extract does not straddle two or more | |
1586 | bytes. | |
1587 | ||
1588 | 2000-01-23 Christopher Faylor <cgf@cygnus.com> | |
1589 | ||
1590 | * defs.h: Add gdb_thread_select declaration. | |
1591 | ||
1592 | 2000-01-23 Kevin Buettner <kevinb@redhat.com> | |
1593 | ||
1594 | * linux-thread.c (_initialize_linuxthreads): Make sure that | |
1595 | linuxthreads_block_mask does not block SIGCHLD. | |
1596 | ||
1597 | 2000-01-20 Fernando Nasser <fnasser@totem.to.cygnus.com> | |
1598 | ||
1599 | * rdi-share/devsw.c (openLogFile): On cygwin, set the log mode to | |
1600 | text so that new lines work properly. | |
1601 | ||
1602 | 2000-01-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com> | |
1603 | ||
1604 | * proc-utils.h: New file. Export functions from proc-*.c. | |
1605 | ||
1606 | * proc_api.c: Rename to: | |
1607 | * proc-api.c: New file. Add include of proc-utils.h. | |
1608 | ||
1609 | * proc_events.c: Rename to: | |
1610 | * proc-events.c: New file. | |
1611 | ||
1612 | * proc_flags.c: Rename to: | |
1613 | * proc-flags.c: New file. | |
1614 | ||
1615 | * proc_why.c: Rename to: | |
1616 | * proc-why.c: New file. Add include of proc-utils.h. | |
1617 | ||
1618 | * procfs.c: Add includes of gdbthread.h, sys/wait.h, signal.h, | |
7b83ea04 | 1619 | ctype.h, proc-utils.h. |
0fda6bd2 JM |
1620 | (find_procinfo_or_die): Add braces to avoid ambiguous else clause. |
1621 | (open_procinfo_files): Conditionalize local variable tmp, to avoid | |
7b83ea04 | 1622 | compiler warnings. |
0fda6bd2 | 1623 | (proc_iterate_over_mappings): Conditionalize local vars mapfd and |
7b83ea04 | 1624 | pathname. |
0fda6bd2 | 1625 | (procfs_wait): Adjust format in some printf_filetered calls to |
7b83ea04 | 1626 | avoid compiler warnings. |
0fda6bd2 | 1627 | (make_signal_thread_runnable): Ifdef 0. The calls to this function |
7b83ea04 | 1628 | are also ifdef'd 0 . |
0fda6bd2 JM |
1629 | (procfs_resume): Add parentheses around '&&' operation. |
1630 | (procfs_set_exec_trap): Remove unused variable. | |
1631 | (info_proc_cmd): Add braces to avoid ambiguous else clause. | |
1632 | ||
1633 | * Makefile.in (procfs.o, proc-api.o, proc-events.o, proc-flags.o, | |
7b83ea04 | 1634 | proc-why.o): Update dependencies. |
0fda6bd2 JM |
1635 | |
1636 | * config/sparc/sun4sol2.mh (NATDEPFILES): Change proc_*.o files to | |
1637 | proc-*.o. | |
1638 | ||
c5394b80 JM |
1639 | 2000-01-17 Jason Molenda (jsm@bugshack.cygnus.com) |
1640 | ||
1641 | * configure.in (NEW_PROC_API): Fix Unixware-matching regexp. | |
1642 | Fix from Robert Lipe <robertl@sco.com>. | |
1643 | * configure: Regenerated. | |
1644 | ||
1645 | 2000-01-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com> | |
1646 | ||
1647 | * stack.c (print_frame_info_base): Break up into the frame info | |
7b83ea04 | 1648 | (location) printing part and the rest (source line printing). |
c5394b80 | 1649 | (print_frame): New function. Take care of printing the location |
7b83ea04 | 1650 | information. |
c5394b80 JM |
1651 | Update copyright. |
1652 | ||
1653 | * infrun.c (normal_stop): Use enum values rather than integers for the | |
1654 | source_flag to be passed to show_and_print_stack_frame(). | |
7b83ea04 AC |
1655 | Update copyright. |
1656 | ||
c5394b80 | 1657 | * frame.h (print_what): New enum for 'source' argument to |
7b83ea04 | 1658 | print_frame_info_base(). Use this instead of obscure numbers. |
c5394b80 | 1659 | Update copyright. |
7b83ea04 | 1660 | |
c5394b80 JM |
1661 | Sun Jan 16 17:58:00 2000 David Taylor <taylor@texas.cygnus.com> |
1662 | ||
1663 | * event-top.c (stdin_event_handler): call quit_command rather than | |
7b83ea04 AC |
1664 | exit -- run cleanups, give target code a chance to say goodbye to |
1665 | the target. Fixes bug where the inferior processes were left | |
1666 | around on Solaris (and probably elsewhere) by the testsuite. | |
c5394b80 JM |
1667 | |
1668 | 2000-01-14 Mark Salter <msalter@cygnus.com> | |
1669 | ||
1670 | * v850-tdep.c (v850_target_architecture_hook): Setup correct | |
7b83ea04 | 1671 | machine id for disassembly. |
c5394b80 | 1672 | |
0fda6bd2 JM |
1673 | 2000-01-13 Jim Blandy <jimb@cygnus.com> |
1674 | ||
1675 | * i386-linux-nat.c (fill_gregset): Pass the correct arguments to | |
1676 | convert_to_regset, when regno indicates a specific register. | |
1677 | ||
c5394b80 JM |
1678 | Thu Jan 13 23:34:17 EST 2000 Nicholas Duffek <nsd@cygnus.com> |
1679 | ||
1680 | * uw-thread.c: Document libthread.so debugging interface. Minor | |
1681 | comment and formatting tweaks. | |
1682 | (DEBUG): #define as 0 instead of 1. | |
1683 | (CALL_BASE): Include function name in error msg. | |
1684 | (libthread_stub): Adjust inferior_pid after thread exit. | |
1685 | (uw_thread_create_inferior): Deactivate uw_thread_ops before | |
1686 | asking procfs_ops to create inferior. | |
1687 | (libthread_init): Don't return nonlocally on error. | |
1688 | ||
1689 | 2000-01-12 Fernando Nasser <fnasser@totem.to.cygnus.com> | |
1690 | ||
1691 | * rdi-share/ardi.c (negotiate_params): Fix initialization of static | |
1692 | variable. | |
1693 | ||
1694 | 2000-01-12 Fernando Nasser <fnasser@totem.to.cygnus.com> | |
1695 | ||
1696 | * remote-rdi.c (arm_rdi_open): Call arm-rdi-close() to make sure | |
1697 | both sides are on the same state. | |
1698 | ||
1699 | 2000-01-12 Fernando Nasser <fnasser@totem.to.cygnus.com> | |
1700 | ||
1701 | * rdi-share/serdrv.c (find_baud_rate): Fix entries for 57600 and | |
1702 | 115200 (minor syntax mistake). | |
1703 | ||
1704 | 2000-01-12 Jim Blandy <jimb@cygnus.com> | |
1705 | ||
1706 | * config/sparc/tm-sun4sol2.h (MERGEPID): Provide a definition for | |
1707 | this here, to go along with the definitions of PIDGET and TIDGET. | |
1708 | ||
1709 | 2000-01-12 Elena Zannoni <ezannoni@kwikemart.cygnus.com> | |
1710 | ||
1711 | * thread.c (do_captured_thread_select): New function. Switch | |
7b83ea04 | 1712 | current thread, safely from within catch_errors(). |
c5394b80 JM |
1713 | (gdb_thread_select): New function. Switch threads safely. |
1714 | (thread_command): Use gdb_thread_select(). | |
8b93c638 JM |
1715 | Include ui-out.h. |
1716 | (do_captured_list_thread_ids): New function. | |
1717 | (gdb_list_thread_ids): New function. | |
1718 | ||
1719 | * defs.h (gdb_thread_select, gdb_list_thread_ids): Export. | |
c5394b80 JM |
1720 | |
1721 | 2000-01-11 Christopher Faylor <cgf@cygnus.com> | |
1722 | ||
1723 | * configure.in: Avoid linking -limagehlp unless it's a native build. | |
1724 | * configure: Regenerate. | |
1725 | * thread.cc (add_thread): Clear private data pointer here or suffer | |
1726 | strange behavior when it is checked for NULL later. | |
1727 | ||
0d06e24b JM |
1728 | 2000-01-09 Christopher Faylor <cgf@cygnus.com> |
1729 | ||
1730 | * win32nat.c (handle_exceptions): Handle various arithmetic exceptions. | |
1731 | * configure.in: Add an additional library to cygwin link. | |
1732 | * configure: Regenerate. | |
1733 | ||
1734 | Patch from Egor Duda <deo@logos-m.ru>: | |
1735 | * coffread.c (coff_symfile_read): Reinstate ability to recognize "pe" | |
1736 | type. | |
1737 | ||
1738 | 2000-01-07 Michael Snyder <msnyder@cleaver.cygnus.com> | |
1739 | ||
1740 | * uw-thread.c: New file to support UnixWare user-mode threads: | |
aa47baa9 | 1741 | contributed by Nickolas Duffek <nsd@cygnus.com>. |
0d06e24b JM |
1742 | * target.h (struct target_ops): New vector, to_extra_thread_info, |
1743 | allows back-ends to give extra details in info thread display. | |
1744 | (target_extra_thread_info): define new macro. | |
1745 | (target_find_new_threads): simplify macro. Cleanup comments. | |
1746 | * target.c (to_extra_thread_info): default and inherit new vector. | |
1747 | (cleanup_target): eliminate PARAMS, break up long lines, | |
1748 | provide default definition for to_extra_thread_info, and | |
1749 | to_find_new_threads. Default to_thread_alive and to_query | |
1750 | to return_zero, not target_ignore (they each return int not void). | |
1751 | (debug_to_find_new_threads): new debug entry. | |
1752 | (setup_target_debug): add debug_to_find_new_threads. | |
1753 | * gdbthread.h: export struct thread_info, find_thread_pid, and | |
1754 | iterate_over_threads. Add comments. Eliminate PARAMS. Update | |
1755 | copyright. Add new private data pointer for use by target back-ends. | |
1756 | * thread.c (struct thread_info): move definition to gdbthread.h. | |
1757 | (find_thread_pid): new exported function for thread lookup. | |
2b266721 | 1758 | (iterate_over_threads): new exported function for applying |
0d06e24b JM |
1759 | arbitrary operations to threads. Update copyright to 2000. |
1760 | (info_threads_command): use new target_extra_thread_info vector | |
1761 | to display extra information about each thread (if implemented). | |
1762 | * config/i386/tm-i386v42mp.h: remove obsolete #defines for procfs. | |
1763 | Add defines for PIDGET, etc. | |
1764 | * config/i386/tm-i386sol2.h: ditto. | |
1765 | * config/sparc/tm-sun4sol2.h: ditto. | |
1766 | * config/i386/i386v42mp.mh: add uw-thread.o to NATDEPFILES. | |
1767 | * testsuite/gdb.threads/pthreads.exp: Try to link with -lthread | |
1768 | if -lpthread and -lpthreads fail. | |
1769 | ||
1770 | * procfs.c: (PIDGET, TIDGET, MERGEPID): change default to no-op. | |
1771 | (proc_flags): combine flags that UnixWare splits into two locations. | |
1772 | (proc_modify_flag): add support for PR_KLC (kill on last close). | |
1773 | (proc_[un]set_kill_on_last_close): new functions. | |
7b83ea04 | 1774 | |
8b93c638 JM |
1775 | 2000-01-07 Elena Zannoni <ezannoni@kwikemart.cygnus.com> |
1776 | ||
1777 | * infrun.c (normal_stop): Print out thread id when we stop. | |
1778 | ||
0d06e24b JM |
1779 | 2000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com> |
1780 | ||
1781 | * remote.c (remote_open_1): Fix message so it does not imply a | |
2b266721 | 1782 | specific syntax for serial ports, as it is OS dependent. |
0d06e24b JM |
1783 | (remote_async_open_1): Ibid. |
1784 | (init_remote_ops): Ibid. | |
1785 | ||
1786 | 2000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com> | |
1787 | ||
1788 | * rdi-share/serdrv.c (SerialOpen): Use speed from "-b" argument or | |
1789 | "set remotebaud" command (if set) when no speed is specified on | |
1790 | the "target rdi" command. | |
1791 | ||
1792 | 2000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com> | |
1793 | ||
1794 | * rdi-share/serdrv.c (find_baud_rate): Add entries for 57600 and | |
1795 | 115200. | |
1796 | (baud_options[]): Ibid. | |
1797 | ||
1798 | 2000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com> | |
1799 | ||
1800 | * rdi-share/unixcomm.c: Fix SERIAL_PREFIX so it matches the prefix | |
1801 | used by each operating system. | |
1802 | ||
1803 | 2000-01-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com> | |
1804 | ||
1805 | * breakpoint.c (until_break_command): Add an argument for the | |
7b83ea04 AC |
1806 | continuation, the beginning of the cleanups set up by this |
1807 | command. | |
0d06e24b | 1808 | (until_break_command_continuation): Do cleanups until the one |
7b83ea04 | 1809 | passed in as argument instead of doing all of them. |
0d06e24b JM |
1810 | |
1811 | * infcmd.c (finish_command_continuation): Expect a new argument, | |
7b83ea04 AC |
1812 | which indicates up to where to do cleanups. Update calls to |
1813 | do_exec_cleanups to use this marker, instead of ALL_CLEANUPS. | |
0d06e24b JM |
1814 | (finish_command): Add another argument for the continuation: the |
1815 | starting cleanup for this command. | |
1816 | ||
c3f6f71d | 1817 | 2000-01-05 Fernando Nasser <fnasser@totem.to.cygnus.com> |
ed9a39eb | 1818 | |
c3f6f71d JM |
1819 | From Grant Edwards <grante@visi.com> (original patch from Thomas |
1820 | Zenker ): | |
1821 | * rdi-share/ardi.c: Allow interruption of interruptible | |
1822 | targets with a <CNTL-C>. | |
ed9a39eb | 1823 | |
c3f6f71d | 1824 | 2000-01-04 Fernando Nasser <fnasser@totem.to.cygnus.com> |
ed9a39eb | 1825 | |
c3f6f71d JM |
1826 | * rdi-share/etherdrv.c (fetch_ports): Send extra words on request |
1827 | to control port to accommodate some versions of Angel. | |
ed9a39eb | 1828 | |
c3f6f71d | 1829 | 2000-01-04 Fernando Nasser <fnasser@totem.to.cygnus.com> |
ed9a39eb | 1830 | |
c3f6f71d JM |
1831 | * rdi-share/devsw.c (dumpPacket): Fix source of channel information. |
1832 | Add interpretation for C Support Library packets. | |
ed9a39eb | 1833 | |
c3f6f71d | 1834 | 2000-01-04 Fernando Nasser <fnasser@totem.to.cygnus.com> |
ed9a39eb | 1835 | |
c3f6f71d JM |
1836 | * rdi-share/devsw.c (DevSW_Close): Remove const from argument that |
1837 | is now being modified. | |
1838 | * rdi-share/devsw.h: Adjust declaration of the above funtion. | |
ed9a39eb | 1839 | |
c3f6f71d | 1840 | For older changes see ChangeLog-99 |
c906108c SS |
1841 | \f |
1842 | Local Variables: | |
1843 | mode: change-log | |
1844 | left-margin: 8 | |
1845 | fill-column: 74 | |
1846 | version-control: never | |
1847 | End: |